/* CodeHunter site styles. No build step, no external fonts. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --fg: #0f172a;
  --muted: #5b6478;
  --line: #e4e7ef;
  --card: #ffffff;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --accent-ink: #ffffff;
  --danger: #dc2626;
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.06);
  --radius: 16px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d14;
    --bg-soft: #11141d;
    --fg: #e8ebf4;
    --muted: #9aa3b8;
    --line: #232838;
    --card: #141824;
    --accent: #818cf8;
    --accent-2: #22d3ee;
    --accent-ink: #0b0d14;
    --danger: #f87171;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--fg); background: var(--bg-soft); }
.nav-links a.btn { color: var(--accent-ink); margin-left: 8px; }
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, opacity .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; }
.btn.small { padding: 8px 16px; font-size: 0.9rem; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -15%; width: 640px; height: 640px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: var(--muted); font-size: 0.92rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone mockup */
.phone { justify-self: center; width: 270px; aspect-ratio: 9 / 19; border-radius: 42px; padding: 12px; background: #0f172a; box-shadow: 0 30px 60px -20px rgb(79 70 229 / .45), 0 0 0 1px rgb(255 255 255 / .06) inset; transform: rotate(-4deg); }
.phone-screen { height: 100%; border-radius: 32px; background: var(--grad); padding: 44px 20px 20px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 999px; background: #0f172a; }
.phone-time { color: rgb(255 255 255 / .9); font-weight: 700; font-size: 2.4rem; letter-spacing: -0.03em; }
.phone-date { color: rgb(255 255 255 / .75); font-size: .85rem; margin-top: -10px; }
.phone-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: auto; }
.phone-icons i { aspect-ratio: 1; border-radius: 14px; background: rgb(255 255 255 / .22); backdrop-filter: blur(4px); }
.phone-icons i:nth-child(1) { background: rgb(255 255 255 / .95); }
.phone-card { background: rgb(255 255 255 / .18); border-radius: 18px; padding: 14px; color: #fff; font-size: .85rem; }
.phone-card b { display: block; font-size: .95rem; }

/* Sections */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 18px; }
.icon-tile svg { width: 22px; height: 22px; }

/* App cards */
.app-card { display: flex; flex-direction: column; gap: 16px; transition: transform .2s ease, box-shadow .2s ease; }
.app-card:hover { transform: translateY(-3px); }
.app-top { display: flex; align-items: center; gap: 16px; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--grad); flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.5rem; box-shadow: 0 8px 20px -8px rgb(79 70 229 / .6); }
.app-icon img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.app-card h3 { margin: 0; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: color-mix(in srgb, var(--accent-2) 70%, var(--fg)); }
.app-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.app-links a { text-decoration: none; font-weight: 600; }
.app-links a:hover { text-decoration: underline; }
.app-card.placeholder { border-style: dashed; box-shadow: none; background: transparent; }
.app-card.placeholder .app-icon { background: var(--bg-soft); color: var(--muted); box-shadow: none; border: 1px dashed var(--line); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-size: 1.5rem; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* CTA band */
.cta { border-radius: 24px; padding: 48px; background: var(--grad); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; opacity: .9; }
.cta .btn { background: #fff; color: #1e1b4b; border-color: #fff; }
@media (max-width: 640px) { .cta { padding: 32px 24px; } }

/* Long-form pages (legal, support, app detail) */
.page-hero { padding: 64px 0 32px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 88px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 650; }
.notice { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--bg-soft); padding: 16px 18px; border-radius: 10px; }
.notice.warn { border-left-color: var(--danger); }
.hidden { display: none !important; }
.status { min-height: 1.6em; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg-soft); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { margin: 0 0 12px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 8px 0; }
.footer-grid a { color: var(--fg); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ===================== Motion layer ===================== */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* Mobile menu */
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .3s ease, background .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .nav-links a:not(.btn) { display: block; padding: 12px; font-size: 1.05rem; }
  .nav-links a.btn { margin: 8px 0 0; justify-content: center; }
  .menu-open .nav-links { opacity: 1; transform: none; visibility: visible; }
}

/* Video hero (always dark for contrast) */
.hero.hero-video { background: #070912; color: #f1f4ff; padding: 120px 0 128px; isolation: isolate; }
.hero.hero-video::before, .hero.hero-video::after { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(1200px 600px at 15% 40%, rgb(7 9 18 / .75), transparent 60%),
  linear-gradient(180deg, rgb(7 9 18 / .2) 0%, rgb(7 9 18 / .1) 78%, var(--bg) 100%); }
.hero-video .lead, .hero-video .hero-points { color: #b9c2dc; }
.hero-video .eyebrow { color: #a5b4fc; }
.hero-video .btn:not(.primary) { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .18); color: #fff; backdrop-filter: blur(8px); }
.hero-video .hero-points svg { color: #67e8f9; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); font-size: .85rem; color: #dbe2ff; margin-bottom: 22px; backdrop-filter: blur(8px); }
.hero-badge b { background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .75rem; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgb(52 211 153 / .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgb(52 211 153 / 0); } 100% { box-shadow: 0 0 0 0 rgb(52 211 153 / 0); } }
@media (max-width: 860px) { .hero.hero-video { padding: 72px 0 88px; } }

/* Shimmering gradient headline */
.shimmer { background: linear-gradient(90deg, #818cf8, #22d3ee, #c084fc, #818cf8); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: 300% 0; } }

/* Hero entrance */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.rise.d1 { animation-delay: .1s } .rise.d2 { animation-delay: .22s } .rise.d3 { animation-delay: .34s } .rise.d4 { animation-delay: .46s } .rise.d5 { animation-delay: .6s }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Primary button glow sweep */
.btn.primary { position: relative; overflow: hidden; background-size: 200% 100%; background-image: linear-gradient(110deg, var(--accent), var(--accent-2), var(--accent)); transition: background-position .6s ease, transform .15s ease, box-shadow .15s ease; }
.btn.primary:hover { background-position: 100% 0; box-shadow: 0 10px 30px -10px rgb(79 70 229 / .7); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%); transform: translateX(-120%); }
.btn.primary:hover::after { transform: translateX(120%); transition: transform .8s ease; }

/* Floating phone with animated app UI */
.phone { animation: float 7s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes float { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-14px); } }
.phone-glow { position: absolute; inset: 10% -10%; z-index: -1; background: conic-gradient(from var(--angle), #4f46e5, #06b6d4, #a855f7, #4f46e5); filter: blur(60px); opacity: .55; border-radius: 50%; animation: spin 10s linear infinite; }
@keyframes spin { to { --angle: 360deg; } }
.phone-wrap { position: relative; justify-self: center; }
.ui { position: absolute; inset: 0; padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #0f1222, #151a33); }
.ui-top { display: flex; justify-content: space-between; align-items: center; color: #e7ebff; font-weight: 700; font-size: .95rem; }
.ui-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); }
.ui-hero { border-radius: 18px; padding: 14px; background: linear-gradient(135deg, #4f46e5, #06b6d4); color: #fff; display: flex; align-items: center; gap: 12px; }
.ring { --p: 0; width: 54px; height: 54px; border-radius: 50%; flex: none; background: conic-gradient(#fff calc(var(--p) * 1%), rgb(255 255 255 / .25) 0); display: grid; place-items: center; animation: ring 8s ease-in-out infinite; }
.ring::after { content: ""; width: 40px; height: 40px; border-radius: 50%; background: #3f63d8; }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes ring { 0% { --p: 8 } 45%, 80% { --p: 78 } 100% { --p: 8 } }
.ui-hero small { display: block; opacity: .85; font-size: .72rem; }
.ui-hero b { font-size: 1.05rem; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; padding: 10px 12px; border-radius: 16px; background: rgb(255 255 255 / .05); }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #22d3ee, #6366f1); transform-origin: bottom; animation: bar 8s ease-in-out infinite; }
.bars i:nth-child(1) { height: 45%; animation-delay: .0s } .bars i:nth-child(2) { height: 70%; animation-delay: .1s }
.bars i:nth-child(3) { height: 55%; animation-delay: .2s } .bars i:nth-child(4) { height: 90%; animation-delay: .3s }
.bars i:nth-child(5) { height: 62%; animation-delay: .4s } .bars i:nth-child(6) { height: 80%; animation-delay: .5s }
@keyframes bar { 0%, 100% { transform: scaleY(.25) } 40%, 85% { transform: scaleY(1) } }
.ui-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgb(255 255 255 / .06); color: #dfe5ff; font-size: .78rem; opacity: 0; animation: row 8s ease infinite; }
.ui-row i { width: 26px; height: 26px; border-radius: 8px; flex: none; background: rgb(129 140 248 / .35); }
.ui-row:nth-of-type(2) i { background: rgb(34 211 238 / .35); }
.ui-row s { text-decoration: none; margin-left: auto; color: #34d399; font-weight: 700; }
.ui-row.r1 { animation-delay: .6s } .ui-row.r2 { animation-delay: 1s } .ui-row.r3 { animation-delay: 1.4s }
@keyframes row { 0% { opacity: 0; transform: translateX(24px) } 8%, 88% { opacity: 1; transform: none } 100% { opacity: 0; transform: translateX(-12px) } }
.toast { position: absolute; left: 12px; right: 12px; top: 40px; padding: 10px 12px; border-radius: 14px; background: rgb(255 255 255 / .92); color: #111827; font-size: .74rem; display: flex; gap: 8px; align-items: center; box-shadow: 0 10px 30px rgb(0 0 0 / .35); animation: toast 8s ease infinite; transform: translateY(-140%); }
.toast b { display: block; font-size: .78rem; }
.toast i { width: 22px; height: 22px; border-radius: 6px; background: var(--grad); flex: none; }
@keyframes toast { 0%, 52% { transform: translateY(-140%); opacity: 0 } 58%, 74% { transform: none; opacity: 1 } 80%, 100% { transform: translateY(-140%); opacity: 0 } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 650; white-space: nowrap; }
.marquee span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Scroll reveal (only hidden when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Animated gradient border on cards */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--angle), transparent 0 60%, var(--accent) 75%, var(--accent-2) 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; animation: spin 4s linear infinite; }
.glow:hover::before { opacity: 1; }
.card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgb(79 70 229 / .35), var(--shadow); }
.icon-tile { transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s; }
.card:hover .icon-tile { transform: rotate(-8deg) scale(1.1); background: var(--grad); color: #fff; }
.app-card.placeholder .app-icon { animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }

/* Animated CTA */
.cta { background: linear-gradient(120deg, #4f46e5, #06b6d4, #a855f7, #4f46e5); background-size: 300% 300%; animation: wave 12s ease infinite; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -120px; border-radius: 50%; background: rgb(255 255 255 / .12); animation: float 9s ease-in-out infinite; }
@keyframes wave { 50% { background-position: 100% 50%; } }

/* Stats */
.stat { transition: transform .3s; } .stat:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .rise { opacity: 1; transform: none; }
  .ui-row, .toast { opacity: 1; transform: none; }
  .toast { display: none; }
}
.phone-screen::before { z-index: 3; }
section[id], h2[id] { scroll-margin-top: 80px; }
@media (max-width: 860px) { .phone { width: 230px; } }
