@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Mono:wght@300;400;500&display=swap');

/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  --bg:        #0A0F1E;   /* card dark navy */
  --bg2:       #0d1526;
  --bg3:       #111c30;
  --border:    #1E2D42;   /* card border */
  --accent:    #00C6FF;   /* card electric blue */
  --accent2:   #7ee8ff;   /* lighter blue highlight */
  --text:      #B0BEC5;   /* card body text */
  --muted:     #7A8FA6;   /* card muted text */
  --heading:   #ffffff;
  --card-bg:   #0d1525;
  --glow:      0 0 24px rgba(0, 198, 255, 0.18);
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 19px;
  line-height: 1.75;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,198,255,0.07) 0%, transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(0,198,255,0.03) 39px,
      rgba(0,198,255,0.03) 40px
    );
}

/* ── HEADER ──────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid var(--accent);
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 24px rgba(0,198,255,0.10);
}

/* Top row: title centered, nav right */
#header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.75rem 2.5rem;
}

header h1 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  grid-column: 2;
  text-align: center;
}

header h1 span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
  justify-content: flex-end;
  grid-column: 3;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 1px;
  background: var(--accent);
  transition: left 0.2s, right 0.2s;
}

nav a:hover { color: var(--accent); }
nav a:hover::after { left: 0.75rem; right: 0.75rem; }

/* Bottom bar: info + QR right-justified */
#header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.45rem 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(0,198,255,0.04);
  gap: 1rem;
}

#header-info {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

#header-info li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

#header-info li + li::before {
  content: '|';
  color: var(--border);
  margin-right: 0.75rem;
}

#header-info a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

#header-info a:hover { color: var(--accent); }

/* Brand colors for header icons */
.info-phone        { color: var(--muted); }
.info-email        { color: var(--muted); }
.info-linkedin,
.info-linkedin a   { color: #4a9fd4; }
.info-google,
.info-google a     { color: #e06c5a; }

.info-linkedin a:hover { color: var(--accent); }
.info-google a:hover   { color: var(--accent); }

#pay-btn,
#header-info #pay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--accent) !important;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  border: 1px solid var(--accent);
  transition: background 0.2s, color 0.2s;
}

#pay-btn:hover,
#header-info #pay-btn:hover {
  background: var(--accent);
  color: var(--bg) !important;
}

/* QR code */
#qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

#qr-img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 2px solid rgba(0,0,0,0.2);
  display: block;
}

#qr-label {
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 10vw;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(0,198,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(0,198,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '< IT />';
  position: absolute;
  right: 8vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Syne', sans-serif;
  font-size: clamp(5rem, 14vw, 16rem);
  font-weight: 600;
  color: rgba(0,229,192,0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.hero h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 700px;
  animation: fadeUp 0.8s ease both;
}

.hero h2 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  max-width: 580px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.85;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,229,192,0.08);
  border: 1px solid rgba(0,229,192,0.25);
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0s ease both;
}

.hero-badge::before { content: '▶'; font-size: 0.5rem; }

/* ── SECTION SHARED ──────────────────────────────────────── */
section {
  padding: 5rem 8vw;
}

section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
  margin-top: 0.6rem;
  border-radius: 2px;
}

/* ── SERVICES ─────────────────────────────────────────────── */
.services { background: var(--bg2); }

.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service:hover {
  border-color: rgba(0,229,192,0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.service:hover::before { opacity: 1; }

.service img {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  filter: hue-rotate(140deg) saturate(1.2);
}

.service h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.service p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about h2 { margin-bottom: 1.5rem; }

.about p {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact {
  background: var(--bg2);
  text-align: center;
}

.contact p {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact li {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s;
  min-width: 320px;
}

.contact li:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact strong { color: var(--accent); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
  font-size: 1.15rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  #header-top {
    padding: 0.6rem 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  header h1 { font-size: 1.4rem; white-space: normal; text-align: center; }

  nav { justify-content: center; flex-wrap: wrap; }
  nav a { font-size: 0.9rem; padding: 0.3rem 0.5rem; }

  #header-bar {
    padding: 0.4rem 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  #header-info { justify-content: center; font-size: 0.75rem; gap: 0.2rem 1rem; }
  #qr-wrap { display: none; }

  .hero { padding: 4rem 6vw; align-items: center; text-align: center; }
  .hero::after { display: none; }
  .hero h2 { font-size: 2rem; }

  .about { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 3.5rem 5vw; }
}

@media (max-width: 560px) {
  .service-container { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .contact li { min-width: unset; width: 100%; }
  #header-info li + li::before { display: none; }
}
