:root {
  --bg: #07080D;
  --bg-soft: #0D111A;
  --surface: rgba(15, 20, 32, 0.75);
  --surface-strong: rgba(10, 15, 26, 0.92);
  --line: rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.06);
  --white: #FFFFFF;
  --text: #E2E8F0;
  --muted: #94A3B8;
  --green: #00FF66;
  --magenta: #FF007F;
  --rose: #E11D48;
  --purple: #8B5CF6;
  --violet: #7C3AED;
  --yellow: #FFD000;
  --orange: #FF7A00;
  --radius: 24px;
  --shadow-neon: 0 0 0 1px rgba(255,255,255,0.04), 0 0 30px rgba(139,92,246,0.12), 0 0 60px rgba(0,255,102,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(255,0,127,.12), transparent 25%),
    radial-gradient(circle at 80% 10%, rgba(0,255,102,.12), transparent 25%),
    radial-gradient(circle at 85% 80%, rgba(139,92,246,.11), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  overflow-x: hidden;
}

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

.bg-grid {
  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: 32px 32px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  opacity: .18;
}

.glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  pointer-events: none;
}
.glow-1 { top: -10rem; left: -8rem; background: var(--magenta); }
.glow-2 { top: 20rem; right: -8rem; background: var(--purple); }
.glow-3 { bottom: -12rem; left: 50%; transform: translateX(-50%); background: var(--green); }

.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 5rem 0; position: relative; }
.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-neon);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1rem 0 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-radius: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 16px rgba(255,255,255,.12);
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0,255,102,.28));
}

.primary-nav { display: flex; gap: 1.15rem; align-items: center; }
.primary-nav a { color: var(--muted); font-weight: 600; font-size: .94rem; transition: color .2s ease; }
.primary-nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--white); }

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .65rem .8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .62; cursor: wait; transform: none; }
.btn-primary {
  background: linear-gradient(90deg, rgba(0,255,102,.96), rgba(167,255,68,.95));
  color: #04110A;
  box-shadow: 0 0 24px rgba(0,255,102,.35);
}
.btn-primary:hover { box-shadow: 0 0 34px rgba(0,255,102,.52); }
.btn-outline {
  background: rgba(255,255,255,.02);
  color: var(--white);
  border-color: rgba(255,255,255,.18);
}
.btn-outline:hover { border-color: rgba(0,255,102,.48); box-shadow: 0 0 22px rgba(0,255,102,.18); }
.btn-full { width: 100%; }
.nav-cta { white-space: nowrap; }

.hero { padding-top: 3.5rem; padding-bottom: 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 2rem; align-items: center; }

.badge, .section-tag, .mini-badge, .plan-kicker, .featured-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .02em;
}

.badge {
  padding: .7rem 1rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.hero-copy h1, .section-heading h2, .diagnostic-copy h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
  color: var(--white);
  line-height: 1.03;
  margin: 0;
}

.hero-copy h1 { font-size: clamp(2.8rem, 5vw, 5.2rem); max-width: 12ch; }
.hero-copy h1 span, .section-heading h2 span {
  background: linear-gradient(90deg, var(--white), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text { margin: 1.2rem 0 0; max-width: 62ch; color: var(--muted); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.7rem; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 1.6rem; }
.trust-pill { padding: 1rem; border-radius: 18px; }
.trust-pill strong { color: var(--white); display: block; margin-bottom: .2rem; }
.trust-pill span { color: var(--muted); font-size: .92rem; }

.hero-visual .visual-card { padding: 1rem; border-radius: 28px; position: relative; overflow: hidden; }
.visual-card-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.mini-badge { padding: .5rem .9rem; color: var(--magenta); background: rgba(255,0,127,.08); border: 1px solid rgba(255,0,127,.2); }
.status { font-size: .88rem; color: var(--yellow); }
.mockup-wrap { position: relative; min-height: 540px; display: flex; align-items: center; justify-content: center; }
.hero-mockup {
  width: min(330px, 80%);
  border-radius: 22px;
  box-shadow: 0 0 40px rgba(124,58,237,.25), 0 0 18px rgba(255,0,127,.18);
  border: 1px solid rgba(255,255,255,.09);
}

.metric-card { position: absolute; padding: .9rem 1rem; border-radius: 18px; min-width: 120px; }
.metric-card span { color: var(--muted); font-size: .82rem; display: block; }
.metric-card strong { color: var(--white); font-size: 1.55rem; }
.metric-card-a { top: 8%; left: 0; }
.metric-card-b { bottom: 10%; right: 0; }

.intro-strip { padding-top: 1rem; }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.2rem; border-radius: 24px; }
.intro-grid article { padding: 1rem; }
.intro-icon { display: inline-flex; margin-bottom: .4rem; font-size: 1.4rem; }
.intro-grid h3 { margin: 0 0 .5rem; color: var(--white); }
.intro-grid p { margin: 0; color: var(--muted); }

.section-heading { max-width: 840px; margin: 0 auto 2rem 0; }
.section-heading.narrow { max-width: 820px; margin-inline: auto; text-align: center; }
.section-heading.compact { margin-bottom: 1.4rem; }
.section-tag { padding: .55rem .9rem; background: rgba(139,92,246,.10); border: 1px solid rgba(139,92,246,.28); color: #C4B5FD; margin-bottom: .85rem; }
.small-tag { font-size: .82rem; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.section-heading h3 { margin: 0; color: var(--white); font-size: 1.6rem; }
.section-heading p { color: var(--muted); font-size: 1.04rem; max-width: 66ch; margin-top: 1rem; }

.ecosystem-shell { padding: 1.2rem; border-radius: 28px; position: relative; }
.flow-line {
  position: absolute;
  left: 3rem;
  right: 3rem;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,0,127,.45), rgba(0,255,102,.55));
  transform: translateY(-50%);
  filter: drop-shadow(0 0 10px rgba(0,255,102,.5));
}
.ecosystem-steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.step-card { position: relative; padding: 1.2rem; border-radius: 22px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.step-card:hover { transform: translateY(-3px); }
.step-card.active, .step-card:hover { border-color: rgba(0,255,102,.36); box-shadow: 0 0 24px rgba(0,255,102,.14); }
.step-icon { font-size: 1.6rem; display: inline-flex; margin-bottom: .8rem; }
.step-card h3 { margin: 0 0 .45rem; color: var(--white); font-size: 1rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.example-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1rem; margin-top: 1.2rem; }
.content-card { padding: 1.4rem; border-radius: 22px; }
.content-card h3 { margin-top: 0; color: var(--white); }
.content-card p { color: var(--muted); margin-bottom: 0; }
.accent-card { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(124,58,237,.09)); }
.text-link { display: inline-block; margin-top: 1rem; color: var(--green); font-weight: 700; }

.plans-section { padding-top: 6rem; }
.tabs-wrap { margin-top: 1rem; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: .6rem; padding: .7rem; border-radius: 22px; margin-bottom: 1.4rem; }
.tab-button { border: 1px solid transparent; background: transparent; color: var(--muted); padding: .85rem 1rem; border-radius: 16px; font-weight: 700; cursor: pointer; }
.tab-button.active { color: var(--white); border-color: rgba(0,255,102,.3); background: linear-gradient(90deg, rgba(0,255,102,.07), rgba(139,92,246,.10)); box-shadow: 0 0 18px rgba(0,255,102,.12); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-card { position: relative; padding: 1.4rem; border-radius: 24px; }
.price-card h4 { margin: .6rem 0; font-family: "Space Grotesk", Inter, sans-serif; color: var(--white); font-size: 1.5rem; }
.plan-kicker { padding: .35rem .7rem; background: rgba(255,255,255,.04); color: var(--muted); }
.featured { border-color: rgba(0,255,102,.34); box-shadow: 0 0 30px rgba(0,255,102,.10), 0 0 60px rgba(255,0,127,.07); }
.featured-tag { position: absolute; top: 1rem; right: 1rem; padding: .45rem .75rem; background: linear-gradient(90deg, rgba(255,0,127,.22), rgba(255,122,0,.18)); border: 1px solid rgba(255,0,127,.34); color: #FFD7EC; font-size: .8rem; }
.price { font-size: 1rem; color: var(--text); margin-bottom: .7rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: baseline; }
.price span { color: var(--green); font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.price small { color: var(--muted); width: 100%; }
.plan-summary, .disclaimer, .ideal { color: var(--muted); }
.price-card ul { margin: 1rem 0; padding-left: 1.1rem; display: grid; gap: .62rem; }
.price-card li::marker { color: var(--green); }
.disclaimer { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line-soft); font-size: .9rem; }
.ideal { font-size: .92rem; }

.diagnostic-card {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 1.4rem;
  padding: 1.5rem;
  border-radius: 28px;
  position: relative;
}
.diagnostic-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, rgba(255,0,127,.65), rgba(0,255,102,.65), rgba(139,92,246,.65));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.diagnostic-copy p { color: var(--muted); }
.diag-list { padding-left: 1.15rem; display: grid; gap: .5rem; }
.diag-list li::marker { color: var(--magenta); }
.diagnostic-form { display: grid; gap: .95rem; padding: 1rem; border-radius: 22px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.diagnostic-form label { display: grid; gap: .45rem; }
.diagnostic-form label > span { color: var(--white); font-weight: 600; }
.diagnostic-form input { min-height: 50px; border-radius: 14px; border: 1px solid rgba(255,255,255,.09); background: rgba(7,8,13,.55); color: var(--white); padding: 0 1rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.diagnostic-form input:focus { border-color: rgba(0,255,102,.44); box-shadow: 0 0 0 3px rgba(0,255,102,.12); }
.privacy-note, .form-status { margin: 0; color: var(--muted); font-size: .86rem; }
.form-status { min-height: 1.2rem; font-weight: 600; }
.form-status.success { color: var(--green); }
.form-status.error { color: #FF6B91; }

.site-footer { padding: 0 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr .7fr; gap: 1rem; padding: 1.4rem; border-radius: 24px; }
.footer-brand-row { margin-bottom: .8rem; }
.footer-grid h4 { margin-top: 0; color: var(--white); }
.footer-brand p, .footer-links { color: var(--muted); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.social-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--white); font-weight: 800; transition: border-color .2s ease, box-shadow .2s ease, color .2s ease; }
.social-icon:hover { border-color: rgba(0,255,102,.42); color: var(--green); box-shadow: 0 0 18px rgba(0,255,102,.16); }
.copyright { text-align: center; color: var(--muted); margin: 1rem 0 0; font-size: .9rem; }

@media (max-width: 1080px) {
  .hero-grid, .example-grid, .pricing-grid, .footer-grid, .intro-grid, .trust-row, .ecosystem-steps { grid-template-columns: 1fr; }
  .flow-line { display: none; }
  .diagnostic-card { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 14ch; }
}

@media (max-width: 900px) {
  .nav-shell { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { width: 100%; display: none; flex-direction: column; align-items: flex-start; padding-top: .6rem; }
  .primary-nav.open { display: flex; }
  .nav-cta { width: 100%; }
  .hero { padding-top: 2rem; }
  .mockup-wrap { min-height: 420px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1rem, 1180px); }
  .section { padding: 4rem 0; }
  .nav-shell { border-radius: 18px; }
  .brand-logo { width: 42px; height: 42px; }
  .hero-copy h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .tabs { display: grid; width: 100%; }
  .tab-button { width: 100%; }
  .visual-card, .ecosystem-shell, .content-card, .price-card, .diagnostic-card, .footer-grid { border-radius: 20px; }
  .metric-card { position: static; margin-top: .8rem; }
  .mockup-wrap { display: block; min-height: unset; }
  .hero-mockup { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
