/* Landing page — animation-heavy by design, dark by default with a full light theme.
   Motion respects prefers-reduced-motion. Colours are tokens so both themes stay in sync. */
body.is-landing {
  --l-bg: #07080a; --l-card: #0d0f14; --l-card-2: #12141c; --l-card-hi: #151720; --l-well: #06070a;
  --l-glass: rgba(11, 12, 16, .95); --l-chip: rgba(38, 40, 50, .9); --l-line: rgba(55, 60, 75, .6);
  --l-head: #ffffff; --l-text: #e5e7eb; --l-muted: #9ca3af; --l-dim: #6b7280;
  --l-header: rgba(7, 8, 10, .72); --l-hover: rgba(255, 255, 255, .06); --l-cta: linear-gradient(135deg, #0c0e14, #090b10 50%, #07080c);
  --l-purple: #a855f7; --l-violet: #7c3aed; --l-indigo: #6366f1; --l-pink: #ec4899;
  --l-dot: 168, 85, 247; --l-orb: 1;
  background: var(--l-bg);
}
/* Light theme: chosen explicitly, or following the OS when the site default is "system". */
:root[data-theme="light"] body.is-landing {
  --l-bg: #f7f6fd; --l-card: #ffffff; --l-card-2: #f3f1fb; --l-card-hi: #ffffff; --l-well: #faf9ff;
  --l-glass: rgba(255, 255, 255, .92); --l-chip: #ece9f7; --l-line: rgba(120, 110, 170, .18);
  --l-head: #14111f; --l-text: #2b2640; --l-muted: #5d5873; --l-dim: #857f9c;
  --l-header: rgba(247, 246, 253, .8); --l-hover: rgba(20, 17, 31, .05); --l-cta: linear-gradient(135deg, #ffffff, #f4f0ff 50%, #fdf2f8);
  --l-dot: 124, 58, 237; --l-orb: .55;
}
@media (prefers-color-scheme: light) { :root:not([data-theme]) body.is-landing {
  --l-bg: #f7f6fd; --l-card: #ffffff; --l-card-2: #f3f1fb; --l-card-hi: #ffffff; --l-well: #faf9ff;
  --l-glass: rgba(255, 255, 255, .92); --l-chip: #ece9f7; --l-line: rgba(120, 110, 170, .18);
  --l-head: #14111f; --l-text: #2b2640; --l-muted: #5d5873; --l-dim: #857f9c;
  --l-header: rgba(247, 246, 253, .8); --l-hover: rgba(20, 17, 31, .05); --l-cta: linear-gradient(135deg, #ffffff, #f4f0ff 50%, #fdf2f8);
  --l-dot: 124, 58, 237; --l-orb: .55;
} }
body.is-landing .header { background: var(--l-header); border-bottom-color: var(--l-line); }
body.is-landing .header .brand, body.is-landing .nav a:hover, body.is-landing .nav a[aria-current="page"] { color: var(--l-head); }
body.is-landing .nav a { color: var(--l-muted); }
body.is-landing .nav a:hover { background: var(--l-hover); }
body.is-landing .btn:not(.btn-primary) { background: var(--l-hover); color: var(--l-text); border-color: var(--l-line); }
body.is-landing .menu-toggle { color: var(--l-head); border-color: var(--l-line); }
body.is-landing .footer { background: var(--l-bg); border-top-color: var(--l-line); color: var(--l-muted); }
body.is-landing .footer h4, body.is-landing .footer .brand { color: var(--l-head); }
body.is-landing .footer a { color: var(--l-muted); }
.landing { background: var(--l-bg); color: var(--l-text); position: relative; overflow: hidden; isolation: isolate; }
.landing .orb { opacity: var(--l-orb); }
.landing ::selection { background: rgba(168, 85, 247, .35); color: #f5f3ff; }
.landing .wrap { max-width: 1240px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 2; }
.l-muted { color: var(--l-muted); }
.grad-text { background: linear-gradient(90deg, #c084fc, #f472b6, #818cf8, #c084fc); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s linear infinite; }
@keyframes gradShift { to { background-position: 300% 0; } }

/* Background: particle canvas + breathing glow orbs + scroll progress */
/* Viewport-sized and fixed: a page-height canvas would be huge and can fail to composite. */
#l-particles { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; opacity: .6; }
.orb { position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; z-index: 0; }
.orb.o1 { width: 650px; height: 650px; top: -12%; right: 6%; background: rgba(147, 51, 234, .28); animation: breathe 11s ease-in-out infinite; }
.orb.o2 { width: 560px; height: 560px; top: 32%; left: -12%; background: rgba(79, 70, 229, .22); animation: breathe 13s ease-in-out infinite reverse; }
.orb.o3 { width: 480px; height: 480px; bottom: 6%; right: -8%; background: rgba(236, 72, 153, .14); animation: breathe 15s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.25); opacity: 1; } }

/* Reveal-on-scroll (JS adds .in) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* Pills / section heads */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pill .ic { width: 14px; height: 14px; }
.pill.amber { background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .25); color: #fbbf24; text-transform: none; letter-spacing: 0; font-size: .8rem; }
.pill.amber .ic { animation: pulse 1.6s ease-in-out infinite; }
.pill.purple { background: rgba(168, 85, 247, .1); border: 1px solid rgba(168, 85, 247, .25); color: #c084fc; }
.pill.rose { background: rgba(244, 63, 94, .1); border: 1px solid rgba(244, 63, 94, .25); color: #fb7185; }
@keyframes pulse { 50% { opacity: .45; transform: scale(.9); } }
.l-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 48px; }
.l-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 900; letter-spacing: -.03em; margin: 0; color: var(--l-head); }
.l-head h2 em { font-style: normal; color: #c084fc; }
.l-head p { color: var(--l-muted); max-width: 560px; margin: 0; font-weight: 500; }
.l-section { padding: 96px 0; position: relative; }
.l-section.alt { background: color-mix(in srgb, var(--l-bg) 60%, transparent); border-top: 1px solid var(--l-line); }

/* HERO */
.l-hero { padding: 90px 0 70px; }
.l-hero .grid-h { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.l-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; color: var(--l-head); margin: 22px 0; }
.l-hero h1 .tw { display: block; margin-top: 10px; min-height: 1.2em; }
.caret { display: inline-block; width: .09em; min-width: 4px; height: .95em; margin-left: 6px; vertical-align: -.08em; background: currentColor; border-radius: 3px; animation: blink 1s steps(1) infinite; background: #f472b6; }
@keyframes blink { 50% { opacity: 0; } }
.l-hero .sub { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--l-muted); max-width: 560px; font-weight: 500; line-height: 1.7; }
.l-search { position: relative; max-width: 580px; margin-top: 26px; }
.l-search::before { content: ''; position: absolute; inset: -4px; border-radius: 999px; background: linear-gradient(90deg, var(--l-violet), var(--l-indigo), var(--l-pink)); filter: blur(12px); opacity: .3; transition: opacity .4s; }
.l-search:hover::before, .l-search:focus-within::before { opacity: .7; }
.l-search form { position: relative; display: flex; align-items: center; gap: 8px; background: var(--l-card); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 7px 7px 7px 20px; }
.l-search .ic { width: 20px; height: 20px; color: var(--l-dim); flex: none; transition: color .2s; }
.l-search:focus-within .ic { color: var(--l-purple); }
.l-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--l-head); font: 500 .95rem var(--font); padding: 11px 4px; }
.l-search input:focus { outline: none; }
.l-search input::placeholder { color: var(--l-dim); }
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 800 .9rem var(--font); color: #fff; padding: 13px 24px; border-radius: 999px; background: linear-gradient(135deg, var(--l-violet), var(--l-indigo)); box-shadow: 0 8px 24px rgba(124, 58, 237, .35); transition: transform .2s, box-shadow .2s, filter .2s; white-space: nowrap; }
.l-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 34px rgba(124, 58, 237, .55); text-decoration: none; filter: brightness(1.08); }
.l-btn:active { transform: scale(.97); }
.l-btn .ic { width: 16px; height: 16px; color: #fff; }
.l-btn.lg { padding: 16px 32px; border-radius: 14px; font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.chips span.lbl { color: var(--l-dim); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.chip { background: var(--l-card-2); border: 1px solid var(--l-line); color: var(--l-text); font: 600 .78rem var(--font); padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--l-head); border-color: rgba(168,85,247,.55); background: rgba(168,85,247,.12); transform: translateY(-2px); }

/* AI simulator window */
.sim { position: relative; background: var(--l-glass); backdrop-filter: blur(20px); border: 1px solid rgba(168, 85, 247, .3); border-radius: 24px; padding: 24px; box-shadow: 0 0 60px rgba(147, 51, 234, .2), inset 0 1px 0 rgba(255,255,255,.04); animation: floatY 7s ease-in-out infinite; }
.sim::after { content: ''; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; background: linear-gradient(135deg, rgba(168,85,247,.6), transparent 40%, transparent 60%, rgba(236,72,153,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@keyframes floatY { 50% { transform: translateY(-10px); } }
.sim-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--l-line); flex-wrap: wrap; }
.dots { display: flex; align-items: center; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #ef4444cc; animation: pulse 2s infinite; } .dots i:nth-child(2) { background: #eab308cc; } .dots i:nth-child(3) { background: #22c55ecc; }
.dots b { margin-left: 8px; font: 500 .72rem var(--mono); color: var(--l-muted); display: inline-flex; gap: 6px; align-items: center; }
.dots b .ic { width: 13px; height: 13px; color: #c084fc; animation: spin 3s linear infinite; }
.sim-tabs { display: flex; gap: 6px; }
.sim-tabs button { border: 0; cursor: pointer; font: 700 .72rem var(--font); padding: 6px 12px; border-radius: 999px; background: var(--l-chip); color: var(--l-muted); transition: all .2s; }
.sim-tabs button[aria-pressed="true"] { background: var(--l-violet); color: #fff; box-shadow: 0 6px 18px rgba(124,58,237,.45); transform: scale(1.06); }
.sim-row { display: flex; gap: 10px; margin-bottom: 16px; }
.sim-row input { flex: 1; min-width: 0; background: var(--l-card-2); border: 1px solid var(--l-line); color: var(--l-head); border-radius: 12px; padding: 11px 14px; font: 500 .85rem var(--font); }
.sim-row input:focus { outline: none; border-color: var(--l-purple); }
.sim-row .l-btn { border-radius: 12px; padding: 11px 16px; font-size: .82rem; }
.sim-row .l-btn.busy .ic { animation: spin .8s linear infinite; }
.sim-out { position: relative; background: var(--l-well); border: 1px solid var(--l-line); border-radius: 16px; padding: 16px; min-height: 190px; font: .82rem/1.65 var(--mono); color: var(--l-text); white-space: pre-wrap; overflow: hidden; }
.sim-out .ph { color: #4b5563; font-style: italic; }
.sim-copy { position: absolute; top: 10px; right: 10px; display: inline-flex; gap: 6px; align-items: center; border: 0; cursor: pointer; background: var(--l-chip); color: var(--l-text); padding: 6px 10px; border-radius: 8px; font: 600 .72rem var(--font); }
.sim-copy .ic { width: 13px; height: 13px; }
.sim-foot { margin-top: 12px; font-size: .78rem; color: var(--l-dim); display: flex; justify-content: space-between; }
.sim-foot a { color: #c084fc; font-weight: 700; }

/* Stats */
.stats-card { background: var(--l-glass); border: 1px solid var(--l-line); border-radius: 32px; padding: 44px 28px; display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.stats-card > div { text-align: center; padding: 6px 12px; }
.stats-card > div + div { border-left: 1px solid var(--l-line); }
.stats-card strong { display: block; font-size: clamp(2.2rem, 4.6vw, 3.2rem); font-weight: 900; color: var(--l-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats-card span { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--l-dim); }

/* Platform carousel + tool tree */
.carousel { position: relative; height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.plat { position: absolute; top: 50%; display: flex; flex-direction: column; align-items: center; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; transition: transform .6s cubic-bezier(.34,1.3,.5,1), opacity .5s; will-change: transform; }
.plat .box { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; background: var(--l-card); border: 1px solid var(--l-line); transition: all .35s; }
.plat .box { position: relative; overflow: hidden; }
.plat .box .ic { position: relative; z-index: 1; width: 32px; height: 32px; color: #4b5563; transition: color .35s, filter .35s, opacity .35s, transform .35s; filter: grayscale(1) brightness(.55); opacity: .75; }
.plat.on .box { background: var(--l-card-hi); border: 2px solid var(--l-purple); box-shadow: 0 0 30px rgba(168,85,247,.45), 0 0 60px color-mix(in srgb, var(--pc) 35%, transparent); }
.plat.on .box .ic { color: var(--pc); filter: none; opacity: 1; transform: scale(1.06); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--pc) 70%, transparent)); }
/* Flash: a light sweep across the active logo, a burst when it becomes active, and a pulsing ring. */
.plat .flash { position: absolute; inset: -40%; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); transform: translateX(-120%); }
.plat.on .flash { animation: sweep 2.6s ease-in-out .35s infinite; }
@keyframes sweep { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
.plat::before { content: ''; position: absolute; left: 50%; top: 34px; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 18px; pointer-events: none; opacity: 0; }
.plat.on::before { border: 2px solid var(--pc); animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.plat.burst .box { animation: burst .55s ease-out; }
@keyframes burst { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.9), 0 0 0 0 color-mix(in srgb, var(--pc) 80%, transparent); background: #2a2440; } 100% { box-shadow: 0 0 30px rgba(168,85,247,.45), 0 0 60px color-mix(in srgb, var(--pc) 35%, transparent); } }
.plat .nm { position: absolute; top: calc(100% + 12px); white-space: nowrap; font-weight: 900; font-size: .9rem; opacity: 0; transform: translateY(6px); transition: all .35s .1s; }
.plat.on .nm { opacity: 1; transform: none; }
.tree { min-height: 260px; display: flex; flex-direction: column; align-items: center; margin-top: 30px; }
.branch { display: none; flex-direction: column; align-items: center; width: 100%; max-width: 1050px; }
.branch.on { display: flex; }
.stem { width: 2px; height: 0; background: rgba(168,85,247,.6); transition: height .3s; }
.branch.go .stem { height: 34px; }
.leaves { display: flex; justify-content: center; width: 100%; flex-wrap: wrap; }
.leaf { position: relative; display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 120px; max-width: 200px; padding: 0 8px; }
.leaf::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(168,85,247,.6); transform: scaleX(0); transform-origin: left; transition: transform .25s calc(.15s + var(--i) * .08s); }
.leaf:first-child::before { left: 50%; } .leaf:last-child::before { right: 50%; } .leaf:only-child::before { display: none; }
.leaf .drop { width: 2px; height: 0; background: rgba(168,85,247,.6); transition: height .2s calc(.25s + var(--i) * .08s); }
.leaf a { margin-top: 4px; width: 100%; min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 10px; text-align: center; color: var(--l-text); background: var(--l-card-2); border: 1px solid rgba(168,85,247,.3); border-radius: 18px; box-shadow: 0 0 16px rgba(168,85,247,.15); font-weight: 800; font-size: .78rem; line-height: 1.3; opacity: 0; transform: translateY(-10px) scale(.8); transition: opacity .35s calc(.35s + var(--i) * .08s), transform .45s cubic-bezier(.34,1.56,.64,1) calc(.35s + var(--i) * .08s), border-color .2s, box-shadow .2s; }
.leaf a:hover { text-decoration: none; color: var(--l-head); border-color: rgba(168,85,247,.7); box-shadow: 0 0 26px rgba(168,85,247,.35); translate: 0 -4px; }
.leaf a .ti { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; background: color-mix(in srgb, var(--pc) 16%, transparent); color: var(--pc); }
.branch.go .leaf::before { transform: scaleX(1); }
.branch.go .leaf .drop { height: 24px; }
.branch.go .leaf a { opacity: 1; transform: none; }
.tree .soon { color: var(--l-dim); padding: 40px 0; text-align: center; }

/* Tools grid with tabs + tilt cards */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.tab { border: 1px solid var(--l-line); background: var(--l-card-2); color: var(--l-muted); font: 800 .78rem var(--font); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: all .25s; }
.tab:hover { color: var(--l-head); }
.tab { display: inline-flex; align-items: center; gap: 8px; }
.tab .ic { width: 16px !important; height: 16px !important; flex: none; }
.tab[aria-pressed="true"] { background: var(--l-violet); border-color: var(--l-violet); color: #fff; box-shadow: 0 8px 24px rgba(124,58,237,.35); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; perspective: 1000px; }
.tcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; background: var(--l-card); border: 1px solid var(--l-line); border-radius: 18px; padding: 24px; color: inherit; transform-style: preserve-3d; transition: transform .25s ease-out, border-color .3s, box-shadow .3s, opacity .35s, scale .35s; }
.tcard:hover { text-decoration: none; border-color: color-mix(in srgb, var(--pc) 55%, transparent); box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--pc) 15%, transparent); }
.tcard::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(168,85,247,.14), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tcard:hover::after { opacity: 1; }
.tcard .ti { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 22px; background: color-mix(in srgb, var(--pc) 14%, transparent); color: var(--pc); transition: transform .3s; transform: translateZ(30px); }
.tcard:hover .ti { transform: translateZ(30px) scale(1.12) rotate(-4deg); }
.tcard h3 { color: var(--l-head); font-size: 1.08rem; margin-bottom: 8px; transform: translateZ(20px); transition: color .2s; }
.tcard:hover h3 { color: #d8b4fe; }
.tcard p { color: var(--l-muted); font-size: .8rem; margin: 0 0 22px; line-height: 1.6; }
.tcard .go { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--l-line); color: #c084fc; font-size: .78rem; font-weight: 800; }
.tcard .go .ic { width: 16px; height: 16px; transition: transform .25s; }
.tcard:hover .go .ic { transform: translateX(5px); }
.tcard .bdg { position: absolute; top: 16px; right: 16px; padding: 3px 10px; border-radius: 999px; font-size: .65rem; font-weight: 800; background: rgba(168,85,247,.2); border: 1px solid rgba(168,85,247,.4); color: #d8b4fe; }
.tcard.hide { display: none; }
.tcard.pop { animation: popIn .4s cubic-bezier(.34,1.56,.64,1) both; animation-delay: var(--d, 0s); }
@keyframes popIn { from { opacity: 0; scale: .9; } }
.nores { text-align: center; padding: 50px 0; color: var(--l-muted); display: none; }
.nores.on { display: block; }

/* Features */
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.fcard { background: var(--l-card); border: 1px solid var(--l-line); border-radius: 20px; padding: 32px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.fcard:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--pc) 45%, transparent); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.fcard .fi { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: color-mix(in srgb, var(--pc) 14%, transparent); color: var(--pc); }
.fcard .fi .ic { width: 24px; height: 24px; }
.fcard h3 { color: var(--l-head); font-size: 1.2rem; margin-bottom: 10px; }
.fcard p { color: var(--l-muted); font-size: .88rem; margin: 0; }

/* Testimonials */
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.qcard { display: flex; flex-direction: column; justify-content: space-between; background: var(--l-card); border: 1px solid var(--l-line); border-radius: 26px; padding: 32px; transition: transform .3s, box-shadow .3s; }
.qcard:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.stars { display: flex; gap: 4px; color: #fbbf24; margin-bottom: 22px; }
.stars .ic { width: 17px; height: 17px; opacity: 0; transform: scale(0) rotate(-45deg); transition: all .45s cubic-bezier(.34,1.8,.5,1); transition-delay: calc(.3s + var(--i) * .1s); }
.qcard.in .stars .ic { opacity: 1; transform: none; }
.quote { color: var(--l-text); font-style: italic; font-weight: 500; font-size: .92rem; line-height: 1.75; margin: 0 0 28px; min-height: 110px; }
.quote .w { opacity: 0; transition: opacity .25s; transition-delay: calc(.8s + var(--i) * .04s); }
.qcard.in .quote .w { opacity: 1; }
.who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--l-line); }
.who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(168,85,247,.35); }
.who .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: rgba(124,58,237,.3); color: #e9d5ff; }
.who b { display: block; color: var(--l-head); font-size: .9rem; }
.who small { color: var(--l-muted); font-size: .78rem; }

/* FAQ */
.l-faq { max-width: 820px; margin: 0 auto; }
.l-faq details { background: var(--l-card); border: 1px solid var(--l-line); border-radius: 16px; padding: 18px 22px; transition: border-color .25s; }
.l-faq details + details { margin-top: 12px; }
.l-faq details[open] { border-color: rgba(168,85,247,.45); }
.l-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 800; color: var(--l-head); }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: '+'; color: #c084fc; font-size: 1.3rem; line-height: 1; transition: transform .3s; }
.l-faq details[open] summary::after { transform: rotate(45deg); }
.l-faq p { color: var(--l-muted); margin: 12px 0 0; }

/* CTA with floating elements */
.cta { position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: 72px 26px; border: 1px solid rgba(168,85,247,.22); background: var(--l-cta); box-shadow: 0 30px 90px rgba(88,28,135,.15); }
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.cta::before { width: 480px; height: 480px; top: -30%; right: -10%; background: rgba(147,51,234,.16); }
.cta::after { width: 400px; height: 400px; bottom: -30%; left: -10%; background: rgba(79,70,229,.16); }
.cta h2 { position: relative; z-index: 1; font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 900; color: var(--l-head); letter-spacing: -.03em; margin-bottom: 14px; }
.cta p { position: relative; z-index: 1; color: var(--l-muted); max-width: 560px; margin: 0 auto 32px; }
.cta .l-btn { position: relative; z-index: 1; }
.fl { position: absolute; z-index: 0; display: grid; place-items: center; animation: bob var(--t, 4s) ease-in-out infinite; animation-delay: var(--dl, 0s); pointer-events: none; }
@keyframes bob { 0%, 100% { transform: translateY(-6px) rotate(calc(var(--r, 0deg) * -1)); } 50% { transform: translateY(6px) rotate(var(--r, 0deg)); } }
.fl.ig { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(45deg, #eab308, #ec4899, #9333ea); box-shadow: 0 16px 40px rgba(236,72,153,.25); color: #fff; }
.fl.yt { width: 58px; height: 58px; border-radius: 18px; background: #dc2626; box-shadow: 0 16px 40px rgba(239,68,68,.25); color: #fff; }
.fl.sm { width: 42px; height: 42px; border-radius: 12px; backdrop-filter: blur(6px); }
.fl .ic { width: 55%; height: 55%; }
.fl.stat { padding: 9px 16px; border-radius: 12px; background: var(--l-card); border: 1px solid var(--l-line); color: var(--l-head); font-weight: 800; font-size: .8rem; gap: 8px; grid-auto-flow: column; }
.fl.stat .ic { width: 16px; height: 16px; }
.fl.av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--l-bg); box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.fl.av img { width: 100%; height: 100%; object-fit: cover; }

/* Responsive */
@media (max-width: 1020px) {
  .l-hero .grid-h { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .qgrid { grid-template-columns: 1fr; }
  .fl { display: none; }
}
@media (max-width: 640px) {
  .l-hero { padding-top: 48px; }
  .l-section { padding: 70px 0; }
  .stats-card { grid-template-columns: repeat(2, 1fr); gap: 28px 0; padding: 32px 14px; }
  .stats-card > div:nth-child(3) { border-left: 0; }
  .fgrid { grid-template-columns: 1fr; }
  .l-search form { padding-left: 14px; }
  .l-search .l-btn { padding: 12px 16px; }
  .l-search .l-btn span { display: none; }
  .sim-row { flex-direction: column; }
  .leaf { min-width: 50%; flex: 0 0 50%; margin-bottom: 14px; }
  .leaf::before, .leaf .drop { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  #l-particles, .orb { display: none; }
  .sim, .fl, .grad-text, .caret, .plat .flash, .plat::before, .plat.burst .box { animation: none !important; }
}

/* Light-theme contrast tweaks for tinted pills and code-style panels. */
:root[data-theme="light"] .pill.amber { color: #b45309; background: rgba(245, 158, 11, .14); }
:root[data-theme="light"] .pill.purple { color: #6d28d9; }
:root[data-theme="light"] .pill.rose { color: #be123c; }
:root[data-theme="light"] .l-head h2 em, :root[data-theme="light"] .tcard .go { color: #7c3aed; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .pill.amber { color: #b45309; background: rgba(245, 158, 11, .14); }
  :root:not([data-theme]) .pill.purple { color: #6d28d9; }
  :root:not([data-theme]) .pill.rose { color: #be123c; }
  :root:not([data-theme]) .l-head h2 em, :root:not([data-theme]) .tcard .go { color: #7c3aed; }
}
body.is-landing .nav a.nav-cta { color: #fff; }
