/* TradeCam AI website
   Brand: navy #000F3F, lime #9DE102, gold for PRO. Heavy type, high contrast. */
:root {
  --navy: #000f3f;
  --navy-deep: #000a2c;
  --navy-2: #0a1a52;
  --navy-3: #16287a;
  --lime: #9de102;
  --lime-bright: #c9fb28;
  --lime-soft: #eefbd0;
  --lime-ink: #4f7a00;
  --ink: #0a1433;
  --muted: #55607a;
  --line: #e3e7ef;
  --bg: #f5f7fb;
  --card: #ffffff;
  --gold: linear-gradient(135deg, #a97a2c 0%, #d7ae4e 30%, #fbdb7a 52%, #d2a649 75%, #a97a2c 100%);
  --radius: 24px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --shadow: 0 1px 2px rgba(0,15,63,.04), 0 12px 32px rgba(0,15,63,.08);
  --wrap: 1200px;
  --header: 76px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.04; margin: 0 0 .5em; letter-spacing: -0.035em; font-weight: 800; }
h1 { font-size: clamp(42px, 6vw, 84px); font-weight: 900; }
h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 900; }
h3 { font-size: 23px; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--lime); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s; }
.site-header.solid, .site-header.scrolled { background: rgba(0, 12, 50, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: -0.03em; white-space: nowrap; }
.brand img { width: 50px; height: 50px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand .ai { color: var(--lime); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 650; font-size: 16px; padding: 10px 14px; border-radius: 999px; color: rgba(255,255,255,.78); transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--lime); }
.nav .btn { margin-left: 10px; color: var(--navy); }
.nav .btn:hover { color: var(--navy); background: var(--lime-bright); }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
.menu-btn path { transition: transform .35s var(--ease), opacity .2s; transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: fixed; top: var(--header); left: 0; right: 0; height: calc(100dvh - var(--header)); background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 32px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 18px 4px; font-size: 24px; font-weight: 800; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
  .nav a:hover { background: none; }
  .nav .btn { margin: 24px 0 0; justify-content: center; border: 0; font-size: 18px; padding: 18px; border-radius: 999px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--navy); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; border-radius: 999px; padding: 15px 26px; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lime { background: var(--lime); color: var(--navy); box-shadow: 0 8px 24px rgba(157,225,2,.25); }
.btn-lime:hover { background: var(--lime-bright); box-shadow: 0 12px 30px rgba(157,225,2,.35); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { padding: 10px 20px; font-size: 15px; }
.arrow { transition: transform .25s var(--ease); }
a:hover > .arrow { transform: translateX(4px); }

/* App Store badge */
.appstore { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none; border-radius: 16px; padding: 11px 24px 11px 18px; border: 1.5px solid rgba(255,255,255,.35); line-height: 1.05; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.appstore::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); }
.appstore:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.7); box-shadow: 0 16px 36px rgba(0,0,0,.4); }
.appstore:hover::after { animation: shine 1s var(--ease); }
.appstore svg { width: 32px; height: 32px; flex: none; }
.appstore small { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .01em; }
.appstore strong { display: block; font-size: 25px; font-weight: 600; letter-spacing: -0.02em; }
.appstore.lg { padding: 14px 30px 14px 22px; border-radius: 18px; }
.appstore.lg svg { width: 38px; height: 38px; }
.appstore.lg strong { font-size: 29px; }
.on-light .appstore { border-color: #000; }
@keyframes shine { to { transform: translateX(120%); } }

/* Google Play badge (coming soon, not a link yet) */
.playstore { position: relative; display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border-radius: 16px; padding: 11px 24px 11px 18px; border: 1.5px solid rgba(255,255,255,.35); line-height: 1.05; cursor: default; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.playstore svg { width: 28px; height: 28px; flex: none; opacity: .55; filter: saturate(.6); }
.playstore > span { opacity: .6; }
.playstore small { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.playstore strong { display: block; font-size: 25px; font-weight: 600; letter-spacing: -0.02em; }
.playstore.lg { padding: 14px 30px 14px 22px; border-radius: 18px; }
.playstore.lg svg { width: 34px; height: 34px; }
.playstore.lg strong { font-size: 29px; }
.playstore .soon { position: absolute; top: -11px; right: -10px; font-style: normal; background: var(--lime); color: var(--navy); font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.25); white-space: nowrap; animation: soonPulse 2.6s var(--ease) infinite; }
@keyframes soonPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.on-light .playstore { border-color: #000; }
.site-footer .playstore { margin-top: 18px; }
@media (max-width: 560px) {
  .playstore strong { font-size: 23px; }
  .playstore.lg strong { font-size: 25px; }
  .store-row .appstore, .store-row .playstore { min-width: 230px; justify-content: flex-start; }
}

.store-row { display: flex; flex-wrap: wrap; gap: 18px 14px; align-items: center; }
.rating-line span { white-space: nowrap; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; font-size: 15px; color: rgba(255,255,255,.7); }
.rating-line .dotsep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; min-height: 100svh; display: flex; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20%; z-index: -1; background:
  radial-gradient(40% 50% at 78% 40%, rgba(30, 99, 214, .45), transparent 70%),
  radial-gradient(30% 40% at 70% 85%, rgba(157, 225, 2, .16), transparent 70%),
  radial-gradient(50% 60% at 10% 0%, rgba(22, 40, 122, .9), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent); }
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) rotate(4deg); } }
.hero > .wrap { width: 100%; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-top: calc(var(--header) + 24px); padding-bottom: 40px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { color: rgba(255,255,255,.78); max-width: 540px; margin-bottom: 34px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; color: rgba(255,255,255,.85); margin-bottom: 26px; }
.hero-badge .tag-pro { font-size: 11px; }
.hero-badge .live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(157,225,2,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(157,225,2,0); } 100% { box-shadow: 0 0 0 0 rgba(157,225,2,0); } }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; --pw: min(330px, calc((100svh - var(--header) - 90px) * .47)); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero entrance */
.intro { opacity: 0; transform: translateY(28px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero h1 .line > span.intro { transform: translateY(105%); opacity: 1; }
@keyframes rise { to { opacity: 1; transform: none; } }
.phone-intro { opacity: 0; transform: translateY(60px) rotate(4deg) scale(.96); animation: phoneIn 1.4s var(--ease) .35s forwards; }
@keyframes phoneIn { to { opacity: 1; transform: none; } }

/* ---------- Phone mockup ---------- */
.phone { position: relative; width: var(--pw, 320px); aspect-ratio: 9 / 19.2; border-radius: calc(var(--pw, 320px) * .15); background: #070b1d; padding: calc(var(--pw, 320px) * .035); box-shadow: 0 50px 100px -20px rgba(0,0,0,.6), 0 30px 60px -30px rgba(0,0,0,.5), inset 0 0 0 2px #2b3566, inset 0 0 0 5px #0b1130; flex: none; }
.phone::before { content: ""; position: absolute; top: calc(var(--pw, 320px) * .065); left: 50%; transform: translateX(-50%); width: 30%; height: calc(var(--pw, 320px) * .085); background: #000; border-radius: 99px; z-index: 6; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw, 320px) * .118); overflow: hidden; background: #1a1f33; isolation: isolate; font-size: calc(var(--pw, 320px) * .042); }
.cam { position: absolute; overflow: hidden; transition: top .9s var(--ease-io), left .9s var(--ease-io), width .9s var(--ease-io), height .9s var(--ease-io), border-radius .9s var(--ease-io), opacity .6s, border-width .6s; }
.cam img { width: 100%; height: 100%; object-fit: cover; }
.cam-job { inset: 0; top: 0; left: 0; width: 100%; height: 100%; }
.cam-job img { animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.12) translate(-2%, 1%); } }
.cam-me { top: 13%; left: 59%; width: 36%; height: 17%; border-radius: 999px; border: 3px solid var(--lime); z-index: 2; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.cam-me img { object-position: 50% 16%; }
.screen[data-layout="split"] .cam-job { height: 50%; }
.screen[data-layout="split"] .cam-me { top: 50%; left: 0; width: 100%; height: 50%; border-radius: 0; border-width: 3px 0 0; }
.screen[data-layout="job"] .cam-me { opacity: 0; width: 10%; height: 5%; top: 18%; left: 75%; }
.screen .chip { position: absolute; top: 12.5%; left: 6%; z-index: 4; display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-weight: 800; font-size: .78em; padding: .45em .85em; border-radius: 99px; }
.screen .chip .dot { width: .6em; height: .6em; border-radius: 50%; background: #e5252a; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.screen .layout-chip { top: auto; left: auto; right: 6%; top: 12.5%; background: var(--lime); color: var(--navy); }
.screen[data-layout="bubble"] .layout-chip { top: 32%; }
.subs { position: absolute; left: 6%; right: 6%; bottom: 21%; z-index: 4; text-align: center; font-weight: 800; font-size: 1.05em; line-height: 1.45; min-height: 3em; display: flex; align-items: flex-end; justify-content: center; }
.subs p { margin: 0; display: inline; background: rgba(0,0,0,.74); padding: .12em .35em; border-radius: .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.subs span.w { color: rgba(255,255,255,.5); transition: color .18s; }
.subs span.w.on { color: #fff; }
.subs span.w.hl { color: var(--lime); }
.brandbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; color: #fff; display: flex; align-items: center; gap: .7em; padding: .9em 1em 1.5em; background: linear-gradient(90deg, #000f3f, #1e63d6); background-size: 200% 100%; animation: barshift 8s ease-in-out infinite alternate; }
@keyframes barshift { to { background-position: 100% 0; } }
.brandbar .logo-box { width: 2.6em; height: 2.6em; border-radius: .7em; background: var(--lime); color: var(--navy); font-weight: 900; display: grid; place-items: center; flex: none; }
.brandbar b { display: block; font-size: .95em; font-weight: 900; line-height: 1.2; }
.brandbar small { display: block; font-size: .72em; opacity: .85; line-height: 1.3; }

.float-card { position: absolute; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: 0 20px 50px rgba(0,0,0,.3); font-size: 14px; font-weight: 750; display: flex; align-items: center; gap: 12px; z-index: 7; white-space: nowrap; opacity: 0; animation: pop .8s var(--ease) forwards, float 6s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + .8s); }
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: var(--lime); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.one { left: 0; top: 24%; }
.float-card.two { right: -2%; top: 52%; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero > .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: calc(var(--header) + 28px); padding-bottom: 0; align-content: start; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .store-row, .hero .rating-line { justify-content: center; }
  .hero-visual { --pw: 260px; align-items: flex-start; height: max(200px, calc(100svh - 470px)); min-height: 200px; overflow: visible; }
  .hero { min-height: 100svh; }
  .scroll-cue { display: none; }
  .float-card.one { left: max(0px, calc(50% - 230px)); }
  .float-card.two { right: max(0px, calc(50% - 230px)); bottom: auto; top: 46%; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 44px; margin-bottom: 16px; }
  .hero .lead { font-size: 17.5px; margin-bottom: 24px; }
  .hero-badge { margin-bottom: 16px; font-size: 14px; }
  .hero-visual { --pw: 240px; }
  .hero .rating-line { margin-top: 14px; font-size: 13.5px; gap: 8px; }
  .hero .rating-line .hide-sm { display: none; }
  .float-card { font-size: 12.5px; padding: 8px 12px 8px 8px; border-radius: 14px; gap: 8px; }
  .float-card small { display: none; }
  .float-card .ic { width: 30px; height: 30px; border-radius: 9px; }
  .float-card .ic svg { width: 16px; height: 16px; }
  .float-card.one { left: -6px; top: 20%; }
  .float-card.two { right: -6px; top: 52%; }
}

/* ---------- Sections ---------- */
section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { font-size: 20px; color: var(--muted); max-width: 620px; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--lime); }
.dark { background: var(--navy); color: #fff; }
.dark .section-head p, .dark .muted { color: rgba(255,255,255,.7); }
.dark .eyebrow { color: var(--lime); }
.white { background: #fff; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Trades marquee ---------- */
.marquee-section { background: var(--navy-deep); color: #fff; padding: 56px 0 64px; overflow: hidden; }
.marquee-section p { text-align: center; font-weight: 700; color: rgba(255,255,255,.6); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 28px; }
.marquee { display: flex; width: max-content; gap: 18px; animation: marquee 48s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.trade { position: relative; width: 230px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; flex: none; background: var(--navy-2); }
.trade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.trade:hover img { transform: scale(1.06); }
.trade::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,10,44,.85)); }
.trade span { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.marquee-fade { position: relative; }
.marquee-fade::before, .marquee-fade::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee-fade::before { left: 0; background: linear-gradient(90deg, var(--navy-deep), transparent); }
.marquee-fade::after { right: 0; background: linear-gradient(-90deg, var(--navy-deep), transparent); }
@media (max-width: 560px) { .trade { width: 170px; } .marquee-fade::before, .marquee-fade::after { width: 40px; } }

/* ---------- How it works (sticky story) ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.story-phone { position: sticky; top: calc(var(--header) + 40px); height: calc(100svh - var(--header) - 80px); display: flex; align-items: center; justify-content: center; --pw: min(300px, calc((100svh - var(--header) - 100px) * .47)); }
.story-steps { padding: 6vh 0; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.story-step.active { opacity: 1; }
.story-step .num { font-size: 15px; font-weight: 900; letter-spacing: .1em; color: var(--lime-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.story-step .num::after { content: ""; height: 2px; width: 60px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.story-step.active .num::after { background: linear-gradient(90deg, var(--lime) 0 100%) no-repeat 0 0 / 100% 100%, var(--line); }
.story-step h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.035em; font-weight: 900; margin-bottom: 16px; }
.story-step p { font-size: 20px; color: var(--muted); max-width: 460px; }
.story-step .ticks { margin-top: 8px; }

.state { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.state.show { opacity: 1; }
.state-record .cam-job { inset: 0; }
.prompter { position: absolute; top: 12%; left: 6%; right: 6%; z-index: 4; background: rgba(0,15,63,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; border-radius: 1em; padding: .9em 1em; font-weight: 700; font-size: .95em; line-height: 1.35; border: 1px solid rgba(157,225,2,.4); }
.prompter small { display: block; color: var(--lime); font-weight: 900; font-size: .7em; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .3em; }
.rec-btn { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 3.6em; height: 3.6em; border-radius: 50%; border: .28em solid #fff; z-index: 4; display: grid; place-items: center; }
.rec-btn::after { content: ""; width: 1.3em; height: 1.3em; border-radius: .3em; background: #e5252a; }
.rec-btn::before { content: ""; position: absolute; inset: -.6em; border-radius: 50%; border: 2px solid rgba(229,37,42,.7); animation: ring 1.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.state-record .cam-me { top: 36%; }

.state-make { background: radial-gradient(80% 60% at 50% 30%, var(--navy-3), var(--navy)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 10%; text-align: center; }
.state-make img { width: 34%; margin-bottom: 1.2em; animation: spinIn 3s var(--ease) infinite; }
@keyframes spinIn { 0% { transform: scale(.9) rotate(-6deg); } 50% { transform: scale(1) rotate(0); } 100% { transform: scale(.9) rotate(-6deg); } }
.state-make b { font-size: 1.2em; font-weight: 900; }
.progress { width: 100%; height: .5em; border-radius: 99px; background: rgba(255,255,255,.12); margin: 1em 0 1.3em; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 99px; }
.state-make.show .progress i { animation: fill 3.2s var(--ease) forwards; }
@keyframes fill { to { width: 100%; } }
.checklist { list-style: none; padding: 0; margin: 0; width: 100%; text-align: left; font-weight: 700; font-size: .95em; }
.checklist li { display: flex; align-items: center; gap: .6em; padding: .45em 0; opacity: .3; transition: opacity .4s; }
.checklist li::before { content: "✓"; width: 1.4em; height: 1.4em; border-radius: 50%; display: grid; place-items: center; font-size: .8em; background: rgba(255,255,255,.12); color: transparent; transition: background .3s, color .3s; }
.state-make.show .checklist li { animation: tick .4s var(--ease) forwards; animation-delay: var(--d); }
.state-make.show .checklist li::before { animation: tickDot .4s var(--ease) forwards; animation-delay: var(--d); }
@keyframes tick { to { opacity: 1; } }
@keyframes tickDot { to { background: var(--lime); color: var(--navy); } }

.state-share { background: #f2f4f9; color: var(--ink); padding: 18% 6% 6%; display: flex; flex-direction: column; gap: .8em; }
.state-share .thumb { position: relative; border-radius: 1em; overflow: hidden; aspect-ratio: 9/11; flex: none; }
.state-share .thumb img { width: 100%; height: 100%; object-fit: cover; }
.state-share .thumb .play { position: absolute; inset: 0; margin: auto; width: 3em; height: 3em; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; }
.state-share .thumb .play::after { content: ""; border-left: 1em solid var(--navy); border-top: .62em solid transparent; border-bottom: .62em solid transparent; margin-left: .25em; }
.state-share .thumb .mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(90deg, #000f3f, #1e63d6); }
.state-share .post { background: #fff; border-radius: .9em; padding: .7em .8em; font-size: .82em; line-height: 1.4; font-weight: 600; box-shadow: 0 2px 8px rgba(0,15,63,.06); }
.state-share .post em { font-style: normal; color: #1e63d6; }
.share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; margin-top: auto; }
.share-btns span { text-align: center; font-weight: 800; font-size: .85em; border-radius: 99px; padding: .75em 0; background: #fff; border: 1px solid var(--line); }
.share-btns span:last-child { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.state-share.show .post, .state-share.show .share-btns { animation: pop .7s var(--ease) both; }
.state-share.show .share-btns { animation-delay: .25s; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 24px; }
  .story-phone { position: sticky; top: var(--header); height: auto; padding: 12px 0; z-index: 3; --pw: 170px; background: linear-gradient(var(--bg) 85%, transparent); }
  .story-steps { padding: 0; }
  .story-step { min-height: 0; padding: 28px 0 48vh; }
  .story-step:last-child { padding-bottom: 20px; }
  .story-step h3 { font-size: 30px; }
  .story-step p { font-size: 18px; }
}

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; border-radius: 28px; padding: 32px; overflow: hidden; background: var(--navy-2); color: #fff; border: 1px solid rgba(255,255,255,.07); min-height: 280px; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(157,225,2,.35); }
.tile h3 { font-size: 26px; margin-bottom: 10px; position: relative; z-index: 2; }
.tile p { color: rgba(255,255,255,.7); font-size: 17px; margin: 0; position: relative; z-index: 2; max-width: 420px; }
.tile .visual { margin-top: auto; padding-top: 26px; position: relative; z-index: 1; }
.t-cams { grid-column: span 4; grid-row: span 2; min-height: 580px; padding: 0; }
.t-cams .copy { padding: 36px 36px 0; position: relative; z-index: 2; }
.t-cams .bg { position: absolute; inset: 0; }
.t-cams .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.t-cams:hover .bg img { transform: scale(1.04); }
.t-cams .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,82,.96) 0%, rgba(10,26,82,.55) 38%, rgba(10,26,82,0) 65%); }
.t-cams .me { position: absolute; right: 36px; bottom: 36px; width: 30%; max-width: 200px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid var(--lime); box-shadow: 0 20px 40px rgba(0,0,0,.4); z-index: 2; animation: float 6s ease-in-out infinite; }
.t-cams .me img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.t-cams .rec { position: absolute; left: 36px; bottom: 36px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 800; font-size: 15px; padding: 8px 14px; border-radius: 99px; }
.t-cams .rec i { width: 9px; height: 9px; border-radius: 50%; background: #e5252a; animation: blink 1.2s steps(2) infinite; }
.t-subs, .t-brand { grid-column: span 2; }
.t-lang, .t-high, .t-help { grid-column: span 2; }

.sub-demo { background: #000; border-radius: 16px; padding: 18px; text-align: center; font-weight: 800; font-size: 17px; line-height: 1.5; min-height: 92px; display: flex; align-items: center; justify-content: center; }
.sub-demo span { color: rgba(255,255,255,.35); transition: color .2s; }
.sub-demo span.on { color: #fff; }
.sub-demo span.hl { color: var(--lime); }

.bar-demo { border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; color: #fff; transition: background 1s var(--ease); background: linear-gradient(90deg, #000f3f, #1e63d6); }
.bar-demo .logo-box { width: 36px; height: 36px; border-radius: 9px; background: #fff; color: var(--navy); font-weight: 900; display: grid; place-items: center; font-size: 13px; flex: none; }
.bar-demo b { display: block; font-size: 14px; line-height: 1.2; }
.bar-demo small { display: block; font-size: 11.5px; opacity: .85; }
.swatches { display: flex; gap: 8px; margin-top: 14px; }
.swatches i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; transition: transform .3s var(--ease), border-color .3s; cursor: pointer; }
.swatches i.on { border-color: #fff; transform: scale(1.15); }

.lang-demo { display: grid; gap: 10px; }
.lang-demo .from, .lang-demo .to { border-radius: 14px; padding: 12px 16px; font-weight: 750; font-size: 16px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.lang-demo .from { background: rgba(255,255,255,.07); }
.lang-demo .to { background: var(--lime); color: var(--navy); }
.lang-demo small { font-size: 12px; font-weight: 800; opacity: .65; letter-spacing: .06em; text-transform: uppercase; flex: none; }
.lang-demo .swap { display: inline-block; transition: opacity .35s, transform .35s var(--ease); }
.lang-demo .swap.out { opacity: 0; transform: translateY(8px); }

.reel { position: relative; height: 54px; border-radius: 12px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 22px, rgba(255,255,255,.05) 22px 24px); overflow: hidden; }
.reel i { position: absolute; top: 0; bottom: 0; background: var(--gold); border-radius: 8px; opacity: .95; animation: clip 5s var(--ease) infinite; }
.reel i:nth-child(1) { left: 6%; width: 12%; }
.reel i:nth-child(2) { left: 36%; width: 9%; animation-delay: .3s; }
.reel i:nth-child(3) { left: 61%; width: 14%; animation-delay: .6s; }
.reel i:nth-child(4) { left: 86%; width: 8%; animation-delay: .9s; }
.reel .head { position: absolute; top: -4px; bottom: -4px; width: 3px; background: #fff; border-radius: 2px; animation: playhead 5s linear infinite; }
@keyframes clip { 0%, 15% { transform: scaleY(.2); opacity: .3; } 30%, 85% { transform: scaleY(1); opacity: .95; } 100% { transform: scaleY(.2); opacity: .3; } }
@keyframes playhead { from { left: 0; } to { left: 100%; } }
.reel-meta { display: flex; justify-content: space-between; font-size: 13px; font-weight: 750; color: rgba(255,255,255,.6); margin-top: 10px; }
.reel-meta b { color: #fbdb7a; }

.help-demo { display: grid; gap: 8px; }
.help-demo span { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 14px; font-size: 15px; font-weight: 650; border-left: 3px solid var(--lime); opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d); }
.in .help-demo span, .help-demo.in span { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .t-cams { grid-column: 1 / -1; min-height: 520px; }
  .t-subs, .t-brand, .t-lang, .t-high, .t-help { grid-column: span 3; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .t-cams, .t-subs, .t-brand, .t-lang, .t-high, .t-help { grid-column: auto; }
  .t-cams { min-height: 480px; }
  .t-cams .copy { padding: 28px 24px 0; }
  .t-cams .me { right: 24px; bottom: 24px; width: 38%; }
  .t-cams .rec { left: 24px; bottom: 24px; }
  .tile { padding: 26px 24px; min-height: 0; }
}

.tag-pro { display: inline-block; background: var(--gold); background-size: 200% 200%; color: #fff; font-weight: 900; font-size: 12px; letter-spacing: .08em; padding: 3px 8px; border-radius: 7px; text-shadow: 0 1px 1px rgba(0,0,0,.25); vertical-align: middle; animation: goldshift 4s ease-in-out infinite alternate; }
@keyframes goldshift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Layout switcher ---------- */
.layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.layout { text-align: center; }
.mini { position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #111; max-width: 240px; margin: 0 auto 22px; border: 7px solid #070b1d; box-shadow: 0 30px 60px -20px rgba(0,15,63,.35); transition: transform .6s var(--ease); }
.layout:hover .mini { transform: translateY(-8px) rotate(-1.5deg); }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini .mini-bubble { position: absolute; top: 12px; right: 12px; width: 40%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--lime); animation: float 5s ease-in-out infinite; }
.mini .mini-bubble img { object-position: 50% 15%; }
.mini.split { display: grid; grid-template-rows: 1fr 1fr; }
.mini.split img { min-height: 0; }
.mini.split img:last-child { object-position: 50% 15%; border-top: 3px solid var(--lime); }
.mini .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 13%; background: linear-gradient(90deg, #000f3f, #1e63d6); }
.layout h3 { margin-bottom: 6px; }
.layout p { color: var(--muted); font-size: 17px; max-width: 280px; margin: 0 auto; }
@media (max-width: 760px) {
  .layouts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 12px; margin: 0 -16px; scrollbar-width: none; }
  .layouts::-webkit-scrollbar { display: none; }
  .layout { scroll-snap-align: center; }
}

/* ---------- Split block ---------- */
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 38px; margin-bottom: 14px; font-weight: 650; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000F3F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
@media (max-width: 900px) { .split-block { grid-template-columns: 1fr; gap: 40px; } }

/* AI output card */
.ai-card { background: #fff; color: var(--ink); border-radius: 26px; padding: 10px 28px; box-shadow: 0 40px 80px -30px rgba(0,15,63,.35), 0 0 0 1px var(--line); position: relative; }
.ai-card::before { content: ""; position: absolute; inset: -1px; border-radius: 27px; padding: 1px; background: linear-gradient(135deg, var(--lime), transparent 40%, transparent 60%, #1e63d6); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ai-card .row { border-bottom: 1px solid var(--line); padding: 20px 0; }
.ai-card .row:last-child { border-bottom: 0; }
.ai-card .label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--lime-ink); margin-bottom: 6px; }
.ai-card p { margin: 0; font-size: 16.5px; min-height: 1.6em; }
.ai-card .tags { color: #1e63d6; font-weight: 700; font-size: 15px; margin-top: 6px; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--lime-ink); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }

/* Privacy */
.privacy-band { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; background: var(--lime); color: var(--navy); border-radius: 32px; padding: 52px 56px; overflow: hidden; position: relative; }
.privacy-band .shield { width: 104px; height: 104px; border-radius: 30px; background: var(--navy); color: var(--lime); display: grid; place-items: center; position: relative; }
.privacy-band .shield::after { content: ""; position: absolute; inset: -10px; border-radius: 38px; border: 2px solid rgba(0,15,63,.25); animation: ring 2.4s var(--ease) infinite; }
.privacy-band .shield svg { width: 56px; height: 56px; }
.privacy-band h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; }
.privacy-band p { margin: 0; font-size: 19px; font-weight: 550; max-width: 640px; }
.privacy-band .btn { background: var(--navy); color: #fff; white-space: nowrap; }
@media (max-width: 900px) { .privacy-band { grid-template-columns: 1fr; padding: 36px 28px; gap: 22px; } }

/* ---------- Pricing ---------- */
.billing-toggle { position: relative; display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 0 auto 40px; }
.billing-toggle button { position: relative; z-index: 1; font: inherit; font-weight: 800; font-size: 16px; border: 0; background: none; padding: 11px 22px; border-radius: 999px; cursor: pointer; color: var(--muted); transition: color .3s; }
.billing-toggle button[aria-pressed="true"] { color: #fff; }
.billing-toggle .pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--navy); transition: transform .45s var(--ease), width .45s var(--ease); }
.billing-toggle .save { color: var(--lime-ink); font-size: 13px; margin-left: 4px; transition: color .3s; }
.billing-toggle button[aria-pressed="true"] .save { color: var(--lime); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin: 0 auto; align-items: stretch; }
.plan { background: #fff; border-radius: 30px; padding: 40px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.pro { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; box-shadow: 0 40px 80px -30px rgba(0,15,63,.55); overflow: hidden; }
.plan.pro::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(157,225,2,.25), transparent 70%); }
.plan .plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; position: relative; }
.plan h3 { font-size: 26px; display: flex; align-items: center; gap: 10px; margin: 0; }
.plan .ribbon { background: var(--lime); color: var(--navy); font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan .price { font-size: 64px; font-weight: 900; letter-spacing: -0.045em; line-height: 1; margin: 18px 0 8px; position: relative; }
.plan .price small { font-size: 18px; font-weight: 700; letter-spacing: 0; opacity: .7; }
.plan .price-note { font-size: 15.5px; color: var(--muted); min-height: 48px; position: relative; }
.plan.pro .price-note { color: rgba(255,255,255,.72); }
.plan .ticks { margin: 26px 0 32px; flex: 1; position: relative; }
.plan .ticks li { font-weight: 550; font-size: 17px; }
.plan .ticks li.no::before { background: #e8ebf2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355607A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan .btn, .plan .appstore { justify-content: center; position: relative; }
.plan .appstore { align-self: stretch; }
.fine { font-size: 15px; color: var(--muted); text-align: center; max-width: 720px; margin: 32px auto 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan { padding: 32px 24px; } .plan .price { font-size: 56px; } }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); font-size: 17px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-weight: 800; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover { background: var(--bg); }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: #1b8a4b; font-weight: 900; }
.no-mark { color: #a0a8bb; font-weight: 900; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) { .compare { font-size: 15px; } .compare th, .compare td { padding: 13px 10px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 64px 26px 0; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; position: relative; transition: color .2s; }
.faq summary:hover { color: var(--lime-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000F3F' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--lime); }
.faq .answer { overflow: hidden; color: var(--muted); font-size: 18px; }
.faq .answer > div { padding: 0 64px 26px 0; }
.faq .answer p:last-child { margin: 0; }
.faq .answer a { color: var(--navy); font-weight: 700; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.faq-group { margin-bottom: 64px; }
.faq-group h2 { font-size: 30px; margin-bottom: 18px; }
@media (max-width: 560px) { .faq summary { font-size: 18px; padding-right: 54px; } .faq .answer > div { padding-right: 0; } }

/* ---------- Download CTA ---------- */
.download { background: var(--navy); color: #fff; border-radius: 40px; padding: 80px 72px 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; overflow: hidden; position: relative; isolation: isolate; }
.download::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 80% 100%, rgba(30,99,214,.5), transparent 70%), radial-gradient(40% 50% at 0% 0%, rgba(157,225,2,.14), transparent 70%); }
.download .copy { padding-bottom: 80px; align-self: center; }
.download h2 { margin-bottom: 18px; }
.download p { color: rgba(255,255,255,.75); font-size: 20px; max-width: 520px; margin-bottom: 32px; }
.download .phone-wrap { display: flex; justify-content: center; --pw: 290px; margin-bottom: -150px; }
.download .phone { transform: rotate(-6deg); }
.download .reqs { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,.6); }
@media (max-width: 900px) {
  .download { grid-template-columns: 1fr; padding: 56px 28px 0; border-radius: 30px; text-align: center; }
  .download .copy { padding-bottom: 0; }
  .download p { margin-left: auto; margin-right: auto; }
  .download .store-row { justify-content: center; }
  .download .phone-wrap { --pw: 230px; margin-bottom: -160px; }
}

/* Mobile download bar */
.dl-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: none; align-items: center; gap: 12px; background: rgba(0,12,50,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border-radius: 20px; padding: 10px 10px 10px 12px; box-shadow: 0 20px 40px rgba(0,0,0,.35); transform: translateY(140%); transition: transform .5s var(--ease); }
.dl-bar.show { transform: none; }
.dl-bar img { width: 42px; height: 42px; flex: none; }
.dl-bar div { flex: 1; line-height: 1.2; min-width: 0; }
.dl-bar b { display: block; font-size: 15px; }
.dl-bar small { font-size: 12.5px; opacity: .7; }
.dl-bar .btn { padding: 11px 18px; font-size: 15px; flex: none; }
@media (max-width: 760px) { .dl-bar { display: flex; } }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--navy); color: #fff; padding: calc(var(--header) + 80px) 0 88px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 60% at 85% 30%, rgba(30,99,214,.4), transparent 70%), radial-gradient(30% 40% at 10% 100%, rgba(157,225,2,.12), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 72px); margin-bottom: 18px; max-width: 900px; }
.page-hero p { font-size: 21px; color: rgba(255,255,255,.75); max-width: 680px; margin: 0; }
.page-hero .store-row { margin-top: 32px; }
@media (max-width: 560px) { .page-hero { padding: calc(var(--header) + 48px) 0 64px; } .page-hero p { font-size: 18px; } }

/* Feature rows (features page) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row.flip > :first-child { order: 2; }
.feature-row h2 { font-size: clamp(30px, 3.6vw, 46px); }
.feature-row p { font-size: 19px; color: var(--muted); }
.feature-row .visual-box { border-radius: 32px; background: var(--navy); min-height: 420px; display: grid; place-items: center; padding: 40px; overflow: hidden; position: relative; isolation: isolate; color: #fff; }
.feature-row .visual-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 70% 30%, rgba(30,99,214,.45), transparent 70%); }
.feature-row .visual-box .phone { --pw: 220px; }
.feature-row .visual-box > div:not(.phone) { width: 100%; max-width: 400px; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .feature-row.flip > :first-child { order: 0; }
  .feature-row .visual-box { min-height: 320px; padding: 28px; border-radius: 26px; }
}

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.mini-grid > div { background: #fff; padding: 30px; }
.mini-grid h3 { font-size: 20px; margin-bottom: 8px; }
.mini-grid p { color: var(--muted); font-size: 16.5px; margin: 0; }
.mini-grid .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--navy); color: var(--lime); display: grid; place-items: center; margin-bottom: 16px; }
.mini-grid .ic svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mini-grid { grid-template-columns: 1fr; } .mini-grid > div { padding: 24px; } }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 28px; margin-top: 2em; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose p, .prose li { color: #2a3350; font-size: 17.5px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: #1e63d6; }
.prose .updated { color: var(--muted); font-size: 15px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; margin-bottom: 1em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #fff; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; margin-bottom: 40px; }
.toc b { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.toc li { font-size: 16px; margin-bottom: 6px; }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.draft-note { background: #fff8e1; border: 1px solid #f5d06f; border-radius: 14px; padding: 14px 18px; font-size: 15px; margin-bottom: 32px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ---------- Support ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-card { background: #fff; border-radius: 26px; padding: 34px; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.support-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.support-card .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--lime); display: grid; place-items: center; margin-bottom: 20px; }
.support-card .ic svg { width: 26px; height: 26px; }
.support-card h3 { margin-bottom: 8px; }
.support-card p { color: var(--muted); font-size: 17px; }
.support-card .go { margin-top: auto; font-weight: 800; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.support-card .go:hover { color: var(--lime-ink); }
.email-big { font-weight: 900; font-size: clamp(26px, 4vw, 44px); letter-spacing: -0.03em; color: var(--navy); text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 6px no-repeat; transition: background-size .4s var(--ease); word-break: break-word; }
.email-big:hover { background-size: 100% 100%; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-list li { counter-increment: s; position: relative; padding: 0 0 22px 56px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: var(--lime); font-weight: 900; display: grid; place-items: center; }
.steps-list b { display: block; }
.steps-list span { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 96px 0 40px; font-size: 16px; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin: 0; max-width: 620px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--lime); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } .site-footer { padding: 72px 0 110px; } }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 18px; }
  .appstore strong { font-size: 23px; }
  .appstore.lg strong { font-size: 25px; }
}

/* ---------- Reduced motion ---------- */
/* Hero tagline written by hand: letters appear left to right, then a lime underline is drawn */
.hero-badge.hand { position: relative; display: inline-block; padding-bottom: 10px; }
.hand-text { display: inline-block; font-family: "Bradley Hand", "Segoe Print", "Noteworthy", "Comic Neue", cursive; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: .01em; line-height: 1.1; transform: rotate(-2deg); clip-path: inset(-20% 100% -20% 0); animation: handwrite 1.8s cubic-bezier(.45,.05,.4,1) .35s forwards; }
.hand-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 12px; overflow: visible; }
.hand-line path { fill: none; stroke: var(--lime); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 230; stroke-dashoffset: 230; animation: handline .7s var(--ease) 2.1s forwards; }
@keyframes handwrite { to { clip-path: inset(-20% 0 -20% 0); } }
@keyframes handline { to { stroke-dashoffset: 0; } }
@media (max-width: 560px) { .hand-text { font-size: 25px; } }

@media (prefers-reduced-motion: reduce) {
  .hand-text { clip-path: none; animation: none; }
  .hand-line path { stroke-dashoffset: 0; animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .intro, .phone-intro, .float-card, .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; }
  .marquee { animation: none !important; }
}

/* Branding matches the app: round logo on the right of the bar, TradeCam AI logo top-left of every video */
.brandbar .logo-box, .bar-demo .logo-box { order: 2; margin-left: auto; border-radius: 50%; }
.screen .tc-mark { position: absolute; top: 11%; left: 6%; z-index: 4; width: 13%; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }

/* Compact SaaS layout: shorter banners, calmer type, content on the first screen */
h1 { font-size: clamp(40px, 5.2vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 48px); }
section { padding: 96px 0; }
.section-head { margin-bottom: 44px; }
.section-head p { font-size: 18.5px; }
.page-hero { padding: calc(var(--header) + 56px) 0 64px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 58px); margin: 0 auto 14px; max-width: 820px; }
.page-hero p { font-size: 19px; margin: 0 auto; max-width: 620px; }
.page-hero .store-row { justify-content: center; margin-top: 26px; }
.page-hero.pricing-hero { padding-bottom: 150px; }
.pricing-hero .billing-toggle { margin: 28px auto 0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.pricing-hero .billing-toggle button { color: rgba(255,255,255,.8); }
.pricing-hero .billing-toggle button[aria-pressed="true"] { color: var(--navy); }
.pricing-hero .billing-toggle .pill { background: #fff; }
.pricing-hero .billing-toggle .save { color: #4f8a00; }
.pricing-hero .billing-toggle button[aria-pressed="false"] .save { color: var(--lime); }
.plans-pull { padding-top: 0; margin-top: -116px; position: relative; z-index: 2; }
.plans-pull .plan { box-shadow: 0 24px 60px -24px rgba(0,15,63,.35); }
.feature-row { padding: 60px 0; gap: 64px; }
.site-footer { padding-top: 80px; }
@media (max-width: 560px) {
  section { padding: 72px 0; }
  .page-hero { padding: calc(var(--header) + 36px) 0 48px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero p { font-size: 17px; }
  .page-hero.pricing-hero { padding-bottom: 120px; }
  .plans-pull { margin-top: -92px; }
}
