*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #008cff;
  --blue-light: rgba(0, 140, 255, 0.12);
  --grey-hover: #f0f0f0;
  --white: #ffffff;
  --text: #0d0d0d;
  --muted: #6b7280;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── BLOBS ── */
.blob-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.13;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #008cff 0%, #00cfff 100%);
  top: -200px; left: -200px;
  animation-duration: 20s;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0050cc 0%, #008cff 100%);
  top: 30%; right: -150px;
  animation-duration: 24s;
  animation-delay: -6s;
}
.blob-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #008cff 0%, #66d9ff 100%);
  bottom: 10%; left: 20%;
  animation-duration: 28s;
  animation-delay: -12s;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -40px) scale(1.05); }
  66%  { transform: translate(-20px, 30px) scale(0.97); }
  100% { transform: translate(15px, -20px) scale(1.02); }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 48px);
  max-width: 900px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 4px 32px rgba(0,140,255,0.1), 0 1px 0 rgba(255,255,255,0.8) inset;
  border: 1px solid rgba(0,140,255,0.12);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 20px;
  width: auto;
  display: block;
}

/* pill track — desktop */
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  background: rgba(0,0,0,0.045);
  border-radius: 999px;
  padding: 4px;
}
.nav-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--blue);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 4px 16px rgba(0,140,255,0.38);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
    width     0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.nav-links li { position: relative; z-index: 1; }
.nav-links a {
  display: block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.22s, background 0.15s;
  white-space: nowrap;
}
.nav-links a:hover:not(.active) { background: rgba(255,255,255,0.65); }
.nav-links a.active { color: #fff; font-weight: 600; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.18s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(0,140,255,0.1); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.2s, width 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 89px;
  right: 24px;
  left: auto;
  transform: translateY(-8px) scale(0.97);
  width: 50%;
  max-width: 320px;
  z-index: 199;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  border: 1px solid rgba(0,140,255,0.12);
  box-shadow: 0 4px 32px rgba(0,140,255,0.1), 0 1px 0 rgba(255,255,255,0.8) inset;
  padding: 6px;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.nav-mobile a {
  display: block;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-mobile a:hover:not(.active) { background: rgba(255,255,255,0.65); }
.nav-mobile a.active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,140,255,0.38);
}

/* Tap backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 198;
  background: rgba(0,0,0,0.08);
}
.nav-backdrop.open { display: block; }

/* ── LAYOUT ── */
main { position: relative; z-index: 1; }
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── HERO ── */
#home { padding-top: 160px; }
.eyebrow {
  display: inline-flex;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
h1 {
  font-weight: 700;
  font-size: clamp(2.8rem, 4vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin-bottom: 28px;
}
h1 .accent { color: var(--blue); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 48px;
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 8px 28px rgba(0,140,255,0.35);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,140,255,0.45); }
.btn-secondary {
  padding: 14px 32px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid rgba(0,0,0,0.12);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--blue); background: var(--blue-light); }

.stats { display: flex; gap: 48px; margin-top: 72px; flex-wrap: wrap; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
}
.stat-num .blue { color: var(--blue); }
.stat-label { font-size: 0.8rem; font-weight: 400; color: var(--muted); margin-top: 2px; }

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,140,255,0.18), transparent);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── SERVICES ── */
#services h2, #contact h2 {
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 60px;
  max-width: 480px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.services-grid .card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,140,255,0.1);
  border-radius: 24px;
  padding: 36px 32px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,140,255,0.12);
  border-color: rgba(0,140,255,0.3);
}


.card-icon { margin-bottom: 20px; line-height: 1; }
.card-icon i { font-size: 2.4rem; color: var(--blue); }
.card h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { font-size: 0.88rem; font-weight: 400; color: var(--muted); line-height: 1.65; }

/* ── CONTACT ── */
#contact { min-height: 80vh; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-left p { font-size: 0.95rem; font-weight: 400; color: var(--muted); line-height: 1.75; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-detail .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-detail span { font-size: 0.88rem; color: var(--muted); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.form-group input, .form-group textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem; font-weight: 400; color: var(--text);
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 14px; padding: 12px 16px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  resize: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,140,255,0.1);
}
.form-group textarea { height: 120px; }
.form-feedback {
  min-height: 1.2em;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
  transition: color 0.2s;
}

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  text-align: center; padding: 40px 24px;
  font-size: 0.8rem; color: var(--muted);
  border-top: 1px solid rgba(0,0,0,0.06);
}
footer strong { color: var(--blue); font-weight: 700; }

/* ── THANK YOU OVERLAY ── */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.thankyou-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.thankyou-card {
  background: #fff;
  border: 1px solid rgba(0,140,255,0.15);
  border-radius: 28px;
  padding: 56px 48px;
  max-width: 440px;
  width: calc(100% - 48px);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,140,255,0.12);
  transform: translateY(12px);
  transition: transform 0.35s ease;
}
.thankyou-overlay.visible .thankyou-card { transform: translateY(0); }
.thankyou-icon {
  font-size: 2.4rem;
  width: 72px; height: 72px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
}
.thankyou-card h3 {
  font-weight: 700; font-size: 1.4rem;
  letter-spacing: -0.02em; margin-bottom: 12px; color: var(--text);
}
.thankyou-card p {
  font-size: 0.95rem; font-weight: 400;
  color: var(--muted); line-height: 1.65; margin-bottom: 32px;
}

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity   0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter    0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }

/* Hero animates on page load via CSS */
#home [data-reveal] {
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); filter: blur(0px); }
}
#home [data-reveal-delay="1"] { animation-delay: 0.10s; }
#home [data-reveal-delay="2"] { animation-delay: 0.22s; }
#home [data-reveal-delay="3"] { animation-delay: 0.36s; }
#home [data-reveal-delay="4"] { animation-delay: 0.52s; }
#home [data-reveal-delay="5"] { animation-delay: 0.62s; }
#home [data-reveal-delay="6"] { animation-delay: 0.72s; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  /* hide desktop pill nav, show hamburger */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .nav-inner { padding: 10px 10px 10px 16px; }
  .nav-logo img { height: 20px; }

  /* on very small screens, shrink link padding so they fit */
  .nav-mobile a { padding: 10px 10px; font-size: 0.8rem; }

  section { padding: 120px 24px 64px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], #home [data-reveal] {
    opacity: 1 !important; transform: none !important;
    filter: none !important; animation: none !important;
    transition: none !important;
  }
}
