@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --green:      #60ce59;
  --green-d:    #4ab344;
  --green-glow: rgba(96,206,89,.25);
  --navy:       #080e1a;
  --navy-2:     #0d1627;
  --navy-3:     #111e35;
  --surface:    #141f33;
  --surface-2:  #1a2844;
  --border:     rgba(255,255,255,.08);
  --border-lit: rgba(96,206,89,.35);
  --gray:       #64748b;
  --muted:      #8899b4;
  --text:       #e2e8f0;
  --text-dim:   #94a3b8;
  --white:      #ffffff;
  /* AI accent */
  --ai:         #7c3aed;
  --ai-2:       #6d28d9;
  --ai-glow:    rgba(124,58,237,.3);
  --ai-border:  rgba(124,58,237,.4);
  --radius:     10px;
  --radius-lg:  16px;
  --font:       'Inter', system-ui, sans-serif;
}

/* ── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--navy); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-d); }
ul    { list-style: none; }
p     { color: var(--text-dim); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Typography ────────────────────────────────────────── */
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--white); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--white); }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); }
h4 { font-size: .95rem; font-weight: 700; color: var(--white); }

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--green) 60%, #a8f5a2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-ai {
  background: linear-gradient(135deg, #fff 0%, #a78bfa 60%, var(--ai) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ────────────────────────────────────────────── */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.text-center { text-align: center; }

/* ── Section label ─────────────────────────────────────── */
.label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green);
  background: rgba(96,206,89,.1); border: 1px solid rgba(96,206,89,.25);
  padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.label-ai {
  color: #a78bfa;
  background: rgba(124,58,237,.12); border-color: rgba(124,58,237,.3);
}

/* ── Section heading ───────────────────────────────────── */
.section-heading { margin-bottom: 3.5rem; }
.section-heading.center { text-align: center; }
.section-heading.center p { margin: .75rem auto 0; max-width: 560px; }
.section-heading p { margin-top: .75rem; font-size: 1.05rem; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem; cursor: pointer;
  border: 1.5px solid transparent; transition: all .2s; line-height: 1;
}
.btn-primary {
  background: var(--green); color: #0a1a0a;
  box-shadow: 0 0 20px var(--green-glow);
}
.btn-primary:hover {
  background: var(--green-d); color: #0a1a0a;
  box-shadow: 0 0 30px rgba(96,206,89,.45); transform: translateY(-1px);
}
.btn-outline {
  border-color: var(--border-lit); color: var(--green);
  background: rgba(96,206,89,.06);
}
.btn-outline:hover {
  background: rgba(96,206,89,.14); color: var(--green);
  border-color: var(--green);
}
.btn-ghost { border-color: var(--border); color: var(--text-dim); }
.btn-ghost:hover { border-color: rgba(255,255,255,.2); color: var(--white); }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(8,14,26,.75);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo img { width: 36px; height: 36px; border-radius: 50%; }
.nav-logo span { color: var(--white); font-weight: 800; font-size: 1rem; letter-spacing: -.01em; }
.nav-links { display: flex; gap: .1rem; align-items: center; }
.nav-links a {
  color: var(--text-dim); font-size: .875rem; font-weight: 500;
  padding: .45rem .9rem; border-radius: var(--radius); transition: all .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.07); }
.nav-links a.btn-nav {
  margin-left: .5rem; background: var(--green); color: #0a1a0a;
  font-weight: 700; padding: .45rem 1.1rem;
  box-shadow: 0 0 16px var(--green-glow);
}
.nav-links a.btn-nav:hover { background: var(--green-d); box-shadow: 0 0 24px rgba(96,206,89,.45); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dim); margin: 5px 0; border-radius: 2px; transition: all .3s; }
.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); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
/* Animated mesh gradient */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(96,206,89,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(13,22,39,.8) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(124,58,237,.07) 0%, transparent 50%);
  animation: meshShift 12s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-2%, 1%); }
}
/* Dot grid */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content .hero-sub {
  font-size: 1.15rem; color: var(--text-dim); margin-bottom: 2.25rem; max-width: 520px;
}
.hero-actions { display: flex; gap: .875rem; flex-wrap: wrap; align-items: center; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: var(--muted); font-size: .75rem; font-weight: 500; letter-spacing: .08em;
}
.hero-scroll span { animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Floating decorative ring */
.hero-ring {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: min(480px, 45vw); height: min(480px, 45vw);
  border-radius: 50%;
  border: 1px solid rgba(96,206,89,.12);
  box-shadow: inset 0 0 80px rgba(96,206,89,.04), 0 0 80px rgba(96,206,89,.04);
  z-index: 1; pointer-events: none;
}
.hero-ring::before {
  content: '';
  position: absolute; inset: 20%;
  border-radius: 50%;
  border: 1px solid rgba(96,206,89,.1);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Bento grid ────────────────────────────────────────── */
.bento { display: grid; gap: 1rem; }
.bento-6 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}
.bento-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative; overflow: hidden;
}
.bento-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,206,89,.3), transparent);
  opacity: 0; transition: opacity .3s;
}
.bento-item:hover { border-color: rgba(96,206,89,.25); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 0 1px rgba(96,206,89,.1); }
.bento-item:hover::before { opacity: 1; }
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
.bento-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.bento-item h3 { margin-bottom: .5rem; }
.bento-item p  { font-size: .9rem; }

/* AI bento variant */
.bento-ai {
  background: linear-gradient(135deg, rgba(124,58,237,.15) 0%, rgba(8,14,26,1) 70%);
  border-color: var(--ai-border);
}
.bento-ai:hover { border-color: rgba(124,58,237,.6); box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 0 1px rgba(124,58,237,.2), 0 0 40px rgba(124,58,237,.08); }
.bento-ai::before { background: linear-gradient(90deg, transparent, rgba(124,58,237,.4), transparent); }
.bento-ai .bento-icon { filter: none; }
.bento-ai h3 { background: linear-gradient(135deg, #fff 0%, #a78bfa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ai-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #a78bfa; background: rgba(124,58,237,.15); border: 1px solid rgba(124,58,237,.3); padding: .2rem .6rem; border-radius: 999px; margin-bottom: .75rem; }

/* ── Stats strip ───────────────────────────────────────── */
.stats { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 900; letter-spacing: -.03em; color: var(--white); line-height: 1; }
.stat-num span { color: var(--green); }
.stat-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: .3rem; }

/* ── Cards ─────────────────────────────────────────────── */
.cards { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(96,206,89,.25); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.card-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card h4 { margin-bottom: .35rem; }
.card p  { font-size: .9rem; }
.card-sm { padding: 1.4rem; }

/* AI card */
.card-ai {
  background: linear-gradient(135deg, rgba(124,58,237,.12) 0%, var(--surface) 60%);
  border-color: var(--ai-border);
}
.card-ai:hover { border-color: rgba(124,58,237,.5); box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 30px rgba(124,58,237,.08); }
.card-ai h3 { background: linear-gradient(135deg, #fff, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Feature chip list ─────────────────────────────────── */
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip {
  font-size: .75rem; font-weight: 600; padding: .3rem .75rem;
  border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-dim); background: rgba(255,255,255,.04);
}
.chip-green { border-color: rgba(96,206,89,.3); color: var(--green); background: rgba(96,206,89,.07); }
.chip-ai    { border-color: rgba(167,139,250,.3); color: #a78bfa; background: rgba(124,58,237,.08); }

/* ── Two-col ───────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.two-col-img img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; max-height: 440px; border: 1px solid var(--border); }

/* ── Icon grid (service logos) ─────────────────────────── */
.icon-grid { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.icon-item { display: flex; flex-direction: column; align-items: center; gap: .4rem; width: 72px; text-align: center; }
.icon-item img { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius); background: var(--surface-2); padding: 4px; border: 1px solid var(--border); }
.icon-item span { font-size: .7rem; font-weight: 600; color: var(--muted); }

/* ── Steps ─────────────────────────────────────────────── */
.steps { display: grid; gap: 1.5rem; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step { text-align: center; padding: 2.5rem 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-d)); color: #0a1a0a; font-size: 1.4rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; box-shadow: 0 0 24px var(--green-glow); }
.step h3 { margin-bottom: .5rem; }

/* ── Contact ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 10px; background: rgba(96,206,89,.1); border: 1px solid rgba(96,206,89,.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-item h4 { margin-bottom: .2rem; }
.contact-item a, .contact-item span { color: var(--text-dim); font-size: .95rem; }
.contact-item a:hover { color: var(--green); }

/* ── Form ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .4rem; color: var(--text-dim); }
.form-group input, .form-group textarea {
  width: 100%; padding: .75rem 1rem;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--white);
  font-family: var(--font); font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: rgba(96,206,89,.5); box-shadow: 0 0 0 3px rgba(96,206,89,.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Page header ───────────────────────────────────────── */
.page-header {
  padding: 4.5rem 0 3.5rem;
  background: var(--navy-2);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 10% 50%, rgba(96,206,89,.06) 0%, transparent 60%);
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: .4rem; }
.page-header p { font-size: 1.05rem; }

/* ── Privacy hero ──────────────────────────────────────── */
.privacy-hero { text-align: center; padding: 5rem 0; background: var(--navy-2); border-bottom: 1px solid var(--border); }
.privacy-hero h1 { margin-bottom: .75rem; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: .75rem; overflow: hidden; transition: border-color .2s; }
details[open], details:hover { border-color: rgba(96,206,89,.2); }
details summary { padding: 1.2rem 1.5rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; user-select: none; color: var(--white); font-size: .95rem; }
details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; }
details summary::after { content: '+'; font-size: 1.2rem; color: var(--green); min-width: 20px; text-align: right; }
details[open] summary::after { content: '−'; }
details .faq-body { padding: 0 1.5rem 1.25rem; color: var(--text-dim); font-size: .95rem; }

/* ── Logo row ──────────────────────────────────────────── */
.logo-row { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.logo-row img { height: 42px; width: auto; object-fit: contain; opacity: .7; filter: grayscale(20%); transition: opacity .2s, filter .2s; border-radius: 6px; }
.logo-row img:hover { opacity: 1; filter: none; }

/* ── Footer ────────────────────────────────────────────── */
.footer { background: var(--navy-2); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand-logo { display: flex; align-items: center; gap: .75rem; }
.footer-brand-logo img { width: 36px; height: 36px; border-radius: 50%; }
.footer-brand-logo span { color: var(--white); font-weight: 800; font-size: 1rem; }
.footer-brand p { font-size: .875rem; }
.footer h4 { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 1.1rem; }
.footer ul li { margin-bottom: .6rem; }
.footer ul a { color: var(--text-dim); font-size: .9rem; transition: color .2s; }
.footer ul a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--green); }

/* ── Inline utilities ──────────────────────────────────── */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento-6 { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 1; }
}
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col  { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps-3  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 75vh; }
  .hero-ring { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .bento-6, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .bento-wide, .bento-tall { grid-column: span 1; grid-row: span 1; }
  .form-row  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 1.5rem; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(8,14,26,.97); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem; border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 1rem; }
  .nav-links a.btn-nav { margin: .5rem 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ── Back-compat for inner pages ── */
.section-light { background: var(--navy-2); }
.accent-line   { width: 40px; height: 3px; background: var(--green); border-radius: 2px; margin: .75rem 0 0; display: inline-block; }
.section-dark  { background: var(--navy-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ANIMATIONS & VISUAL EFFECTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
.reveal-d6 { transition-delay: .48s; }

/* ── Hero text entrance (CSS, no JS needed) ─────────────── */
.hero-content .label  { animation: slideUp .7s cubic-bezier(.16,1,.3,1) .1s both; }
.hero-content h1      { animation: slideUp .8s cubic-bezier(.16,1,.3,1) .2s both; }
.hero-content .hero-sub { animation: slideUp .8s cubic-bezier(.16,1,.3,1) .35s both; }
.hero-content .hero-actions { animation: slideUp .8s cubic-bezier(.16,1,.3,1) .5s both; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}

/* ── Floating hero shapes ───────────────────────────────── */
.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-shape {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(96,206,89,.1);
  animation: floatShape 10s ease-in-out infinite alternate;
}
.hero-shape-1 { width: 340px; height: 340px; top: 8%;  right: 8%;  animation-duration: 11s; }
.hero-shape-2 { width: 180px; height: 180px; bottom: 18%; right: 22%; animation-duration: 8s;  animation-delay: -3s; border-color: rgba(124,58,237,.1); }
.hero-shape-3 { width: 90px;  height: 90px;  top: 38%; right: 36%; animation-duration: 6s;  animation-delay: -5s; background: rgba(96,206,89,.03); }
.hero-shape-4 { width: 500px; height: 500px; top: -10%; right: 0%;  border-color: rgba(96,206,89,.04); animation-duration: 14s; animation-delay: -2s; }
@keyframes floatShape {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(-12px, 18px) rotate(3deg); }
  66%  { transform: translate(10px, -14px) rotate(-2deg); }
  100% { transform: translate(-6px, 8px) rotate(1deg); }
}

/* ── Grain overlay (hero premium feel) ──────────────────── */
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

/* ── Animated conic border on AI card ──────────────────── */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.bento-ai {
  background: linear-gradient(135deg, rgba(124,58,237,.15) 0%, var(--navy) 70%) padding-box,
              conic-gradient(from var(--border-angle), rgba(124,58,237,.1) 0%, rgba(167,139,250,.8) 25%, rgba(96,206,89,.3) 50%, rgba(167,139,250,.8) 75%, rgba(124,58,237,.1) 100%) border-box;
  border: 1px solid transparent;
  animation: rotateBorder 5s linear infinite;
}
@keyframes rotateBorder { to { --border-angle: 360deg; } }

/* Fallback for browsers without @property */
@supports not (background: conic-gradient(from 0deg, red, blue) border-box) {
  .bento-ai { border-color: var(--ai-border); background: linear-gradient(135deg, rgba(124,58,237,.15) 0%, var(--navy) 70%); }
}

/* ── Button shimmer ─────────────────────────────────────── */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { left: -75%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}

/* ── Cursor glow ────────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 380px; height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(96,206,89,.06) 0%, transparent 70%);
  transition: opacity .3s;
  will-change: transform;
}

/* ── Navbar scroll shadow ───────────────────────────────── */
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
  background: rgba(8,14,26,.92);
}

/* ── Card glow on hover (extra pop) ────────────────────── */
.bento-item, .card {
  will-change: transform;
}

/* ── Stats count-up number ──────────────────────────────── */
.stat-num[data-target] { font-variant-numeric: tabular-nums; }

/* ── Aurora blob (behind sections) ─────────────────────── */
.aurora {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; z-index: 0; opacity: .25;
  animation: auroraFloat 12s ease-in-out infinite alternate;
}
.aurora-green { background: radial-gradient(circle, var(--green) 0%, transparent 70%); }
.aurora-ai    { background: radial-gradient(circle, var(--ai) 0%, transparent 70%); }
@keyframes auroraFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

/* ── Page header aurora ─────────────────────────────────── */
.page-header { overflow: hidden; }
.page-header::after {
  content: '';
  position: absolute; width: 400px; height: 400px;
  right: -100px; top: -100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(96,206,89,.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Animated underline on nav links ────────────────────── */
.nav-links a:not(.btn-nav) {
  position: relative;
}
.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute; bottom: 2px; left: .9rem; right: .9rem;
  height: 1.5px; background: var(--green);
  transform: scaleX(0); transform-origin: right;
  transition: transform .2s ease;
  border-radius: 1px;
}
.nav-links a:not(.btn-nav):hover::after,
.nav-links a:not(.btn-nav).active::after {
  transform: scaleX(1); transform-origin: left;
}

/* ── Reduce motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
