:root {
  --bg: #05020a;
  --bg-soft: #0d0617;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #f7f3ff;
  --muted: #cdbfe2;
  --purple: #8b5cf6;
  --purple-dark: #4c1d95;
  --purple-bright: #d8b4fe;
  --pink: #ec4899;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 28px 100px rgba(76, 29, 149, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(139, 92, 246, 0.38), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(236, 72, 153, 0.2), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(76, 29, 149, 0.44), transparent 38rem),
    linear-gradient(135deg, #020104 0%, #080211 42%, #160323 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 20%), rgba(192, 132, 252, 0.16), transparent 22rem);
  pointer-events: none;
  z-index: -1;
}

.cursor-glow {
  width: 420px;
  height: 420px;
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139,92,246,0.18), transparent 62%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 250ms ease;
}

body:hover .cursor-glow { opacity: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 2, 10, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav, .section, .footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand img { width: 42px; height: 42px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a { transition: color 180ms ease, transform 180ms ease; }
.nav-links a:hover { color: var(--text); transform: translateY(-1px); }

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(216,180,254,0.35);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.13);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 800;
}

.section { padding: 94px 0; position: relative; }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 8vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h3 { margin-bottom: 10px; font-size: 1.16rem; }
p { color: var(--muted); line-height: 1.72; }
.hero-copy { max-width: 650px; font-size: 1.2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-3px); }
.button.primary { background: linear-gradient(135deg, #c084fc, #8b5cf6 45%, #4c1d95); box-shadow: 0 18px 46px rgba(139,92,246,0.38); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.065); }
.button.large { min-width: 170px; }

.trust-row, .mini-list { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); }
.trust-row span, .mini-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.045);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(216,180,254,0.42), transparent 30%, rgba(236,72,153,0.18));
  opacity: 0.85;
  pointer-events: none;
}

.hero-illustration { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 520px; object-fit: cover; }

.floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(5,2,10,0.72);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
  animation: float 5s ease-in-out infinite;
}

.floating-card span { color: var(--muted); font-size: 0.86rem; }
.card-one { left: 26px; bottom: 38px; }
.card-two { right: 26px; top: 34px; animation-delay: -2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.metrics {
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metrics div, .card, .team-panel, .team-card, .cta-section, .google-grid article, .mockup-card, .mockup-copy, .faq-list {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.metrics div {
  padding: 24px;
  border-radius: 24px;
}

.metrics strong { display: block; font-size: 2.45rem; line-height: 1; letter-spacing: -0.07em; }
.metrics span { color: var(--muted); font-weight: 700; font-size: 0.9rem; }

.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-heading.align-left { margin-left: 0; text-align: left; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .team-card { border-radius: 28px; padding: 28px; position: relative; overflow: hidden; }
.card::after {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 180px;
  height: 180px;
  background: rgba(139,92,246,0.18);
  border-radius: 50%;
  filter: blur(8px);
}
.card.highlighted { border-color: rgba(216,180,254,0.4); transform: translateY(-10px); }
.icon {
  display: inline-flex;
  margin-bottom: 34px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(139,92,246,0.22);
  color: var(--purple-bright);
  font-weight: 900;
}
ul { margin: 18px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.9; }

.google-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; align-items: start; }
.google-copy { position: sticky; top: 110px; }
.google-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.google-grid article { border-radius: 26px; padding: 26px; }
.google-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(139,92,246,0.16);
  color: var(--purple-bright);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.showcase-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: stretch; }
.mockup-card, .mockup-copy { border-radius: 30px; overflow: hidden; }
.mockup-card img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.mockup-copy { padding: 34px; display: flex; flex-direction: column; justify-content: center; }

.process { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; }
.timeline { display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.045);
}
.step > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-dark));
  font-weight: 900;
}
.step p { margin-bottom: 0; }

.faq-list { max-width: 860px; margin: 0 auto; border-radius: 30px; padding: 14px; }
.faq-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.faq-item strong { color: var(--purple-bright); font-size: 1.4rem; transition: transform 180ms ease; }
.faq-item.active strong { transform: rotate(45deg); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height 260ms ease; }
.faq-panel p { padding: 0 22px 22px; margin: 0; }

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 80px;
  padding: 46px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(236,72,153,0.2), transparent 24rem),
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045));
}
.cta-section p { margin-bottom: 0; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.footer p { margin: 0; }

.reveal { opacity: 1; transform: translateY(0); }
.js-enabled .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms ease, transform 700ms ease; }
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }
.magnetic { transition: transform 220ms ease, border-color 220ms ease; }
.magnetic:hover { transform: translateY(-8px); border-color: rgba(216,180,254,0.46); }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav { align-items: center; flex-wrap: wrap; padding: 16px 0; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .hero, .google-section, .showcase-grid, .process { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 70px; }
  .google-copy { position: static; }
  .cards, .metrics, .google-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .nav, .section, .footer { width: min(100% - 28px, 1160px); }
  .section { padding: 66px 0; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-actions, .button, .cta-section .button { width: 100%; }
  .cards, .metrics, .google-grid { grid-template-columns: 1fr; }
  .card.highlighted { transform: none; }
  .hero-visual, .hero-illustration { min-height: 390px; }
  .floating-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 12px; }
  .cta-section, .footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .js-enabled .reveal { opacity: 1; transform: none; }
}
