:root {
  --bg: #070b14;
  --bg-soft: #0d1220;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(148, 163, 184, 0.22);
  --text: #f4f6fb;
  --text-muted: #9aa4bd;
  --text-faint: #6b7488;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --fuchsia: #d946ef;
  --cyan: #22d3ee;
  --green: #34d399;
  --red: #fb7185;
  --amber: #fbbf24;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(2, 6, 23, 0.6);
  --grad: linear-gradient(120deg, #818cf8 0%, #a78bfa 45%, #e879f9 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Ambient background ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 12% -5%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(800px 500px at 88% 8%, rgba(217, 70, 239, 0.08), transparent 60%);
}

/* ---------- Icons ---------- */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border), 0 10px 30px rgba(99, 102, 241, 0.35);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  transition: color 0.15s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--grad);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

.inline-link {
  color: #a5b4fc;
  font-weight: 600;
}

.inline-link:hover {
  color: #c7d2fe;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 420px at 50% 0%, #000 30%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 88px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #dbe0f5;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  backdrop-filter: blur(6px);
  margin-bottom: 26px;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.25);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.08); }
}

.hero-copy h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-faint);
}

.hero-visual {
  position: relative;
}

.hero-art {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(2, 6, 23, 0.5));
  animation: float 6s ease-in-out infinite;
}

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

/* ---------- Trust / stats ---------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 24px;
  color: var(--text-faint);
  font-size: 13px;
}

.trust-logos {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}

.trust-logos span {
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.trust-logos span:hover {
  opacity: 1;
  color: var(--text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 20px;
  border-left: 2px solid rgba(129, 140, 248, 0.4);
}

.stat-num {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 60px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #a5b4fc;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.45);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.5);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
  color: #c7d2fe;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(217, 70, 239, 0.16));
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.22);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.service-link {
  font-size: 13px;
  font-weight: 700;
  color: #a5b4fc;
}

.service-card:hover .service-link {
  color: #c7d2fe;
}

/* ---------- AMC plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plans-note {
  text-align: center;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 14px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
}

.plan-card.featured {
  border-color: rgba(139, 92, 246, 0.55);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.25);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--grad);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.plan-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-for {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.plan-feats {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}

.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.plan-feats .icon-check {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--green);
  stroke-width: 2.6;
}

/* ---------- Product (the app) ---------- */
.product {
  padding-top: 88px;
  padding-bottom: 88px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.product-visual {
  position: relative;
}

.product-art {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(2, 6, 23, 0.5));
}

.product-copy h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.product-copy > p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.product-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.product-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--text-muted);
}

.product-list .icon-dot {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  stroke-width: 3;
}

.product-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.why-card {
  border-top: 2px solid rgba(129, 140, 248, 0.35);
  padding-top: 18px;
}

.why-num {
  display: inline-block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(165, 180, 252, 0.4);
  margin-bottom: 10px;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testi-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 22px;
}

.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  flex-shrink: 0;
}

.testi-foot strong {
  display: block;
  font-size: 14px;
}

.testi-foot div span {
  display: block;
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  padding-bottom: 96px;
}

.cta-panel {
  position: relative;
  text-align: center;
  padding: 72px 40px;
  border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(99, 102, 241, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.cta-panel h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cta-panel p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 30px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 12px;
  color: #c7d2fe;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(217, 70, 239, 0.16));
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  background: #05080f;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-note {
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-grid {
    padding-bottom: 64px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .services-grid,
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-visual {
    max-width: 540px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
    background: rgba(7, 11, 20, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
    text-align: center;
    font-size: 15px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .stats-grid,
  .services-grid,
  .plans-grid,
  .testi-grid,
  .contact-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .trust-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel {
    padding: 48px 24px;
  }

  .cta-panel h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}

/* ==========================================================================
   PREMIUM EFFECTS
   ========================================================================== */

/* ---------- Scrollbar & selection ---------- */
::selection {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #a855f7);
  border-radius: 999px;
  border: 2px solid var(--bg);
}

/* ---------- Animated aurora blobs ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite;
}
.aurora span:nth-child(1) {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -120px;
  background: #6366f1;
}
.aurora span:nth-child(2) {
  width: 440px;
  height: 440px;
  top: 30%;
  right: -160px;
  background: #d946ef;
  animation-delay: -7s;
}
.aurora span:nth-child(3) {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: 30%;
  background: #0ea5e9;
  animation-delay: -14s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.12); }
  66% { transform: translate(-40px, 50px) scale(0.94); }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 50% 0%, transparent 60%, rgba(2, 6, 23, 0.55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Hero entrance ---------- */
.hero-copy > * {
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.45s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* Animated gradient headline */
.gradient-text {
  background-size: 200% 200%;
  animation: hueShift 6s ease-in-out infinite;
}
@keyframes hueShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero art glow ring */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.35), transparent 70%);
  filter: blur(30px);
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* ---------- Trust marquee ---------- */
.trust {
  overflow: hidden;
}
.trust-label {
  padding: 22px 24px 6px;
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.marquee {
  position: relative;
  overflow: hidden;
  padding: 14px 0 26px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 70px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--text-faint);
  opacity: 0.9;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Shimmer buttons ---------- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 130%;
}

/* ---------- Mouse spotlight on cards ---------- */
.service-card,
.plan-card,
.testi-card,
.contact-card {
  position: relative;
  overflow: hidden;
}
.service-card::before,
.plan-card::before,
.testi-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.09),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::before,
.plan-card:hover::before,
.testi-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}
.service-card > *,
.plan-card > *,
.testi-card > *,
.contact-card > * {
  position: relative;
  z-index: 1;
}

/* ---------- Service icon tile glow ---------- */
.service-icon {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover .service-icon {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.45);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.service-link::after {
  content: "→";
}
.service-card:hover .service-link {
  gap: 10px;
}

/* ---------- Animated gradient border (featured plan) ---------- */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.plan-card.featured {
  overflow: hidden;
}
.plan-card.featured::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  padding: 2px;
  z-index: 0;
  background: conic-gradient(
    from var(--angle),
    #6366f1,
    #d946ef,
    #22d3ee,
    #34d399,
    #6366f1
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spinAngle 6s linear infinite;
}
.plan-card.featured > * {
  position: relative;
  z-index: 1;
}
@keyframes spinAngle {
  to { --angle: 360deg; }
}

/* ---------- Staggered reveal ---------- */
.stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger.visible > *.in {
  opacity: 1;
  transform: none;
}

/* ---------- Stat numbers ---------- */
.stat-num {
  display: inline-block;
}

/* ---------- Testimonial stars ---------- */
.testi-stars {
  color: #fbbf24;
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-shadow: 0 0 18px rgba(251, 191, 36, 0.45);
}

/* ---------- CTA panel gradient ring ---------- */
.cta-panel {
  position: relative;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1.5px;
  background: conic-gradient(
    from var(--angle),
    rgba(99, 102, 241, 0.7),
    rgba(217, 70, 239, 0.5),
    rgba(34, 211, 238, 0.6),
    rgba(99, 102, 241, 0.7)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spinAngle 9s linear infinite;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Section separators ---------- */
.section-alt {
  position: relative;
  background-image:
    radial-gradient(700px 400px at 15% -20%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(700px 400px at 90% 110%, rgba(217, 70, 239, 0.08), transparent 60%);
}

/* ---------- Nav blur layer ---------- */
.nav {
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.9), rgba(7, 11, 20, 0.72));
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.45);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.55);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 720px) {
  .marquee-track {
    gap: 44px;
  }
}
