
/* ── DARK THEME (DEFAULT) ── */
:root {
    --bg: #000000;
    --white: #121212;

    --primary: #39ff14;
    --primary-deep: #16a34a;
    --primary-soft: rgba(57, 255, 20, 0.1);

    --purple: #8B5CF6;
    --gold: #F59E0B;
    --red: #ff0055;

    --heading: #ffffff;
    --body: #a1a1aa;
    --muted: #52525b;

    --border: #27272a;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.8), 0 10px 20px -5px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 25px 50px -12px rgba(57, 255, 20, 0.15);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    --dot-color: rgba(255, 255, 255, 0.16);
    --dot-size: 1.2px;
    --dot-space: 26px;
    --line-color: rgba(255, 255, 255, 0.035);
    --grid-size: 130px;
    --vignette: radial-gradient(ellipse at 50% 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
    --noise-opacity: 0.035;
    --aurora-opacity: 0.55;

    --logo-url: url('/static/images/logo.png');
    --nav-h: 80px;
}

/* ── LIGHT THEME OVERRIDES ── */
html[data-theme="light"] {
    --bg: #f1f5f9;
    --white: #ffffff;
    --primary: #16a34a;
    --primary-deep: #15803d;
    --primary-soft: rgba(22, 163, 74, 0.1);
    --purple: #7c3aed;
    --gold: #d97706;
    --red: #ef4444;
    --heading: #0f172a;
    --body: #64748b;
    --muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 35px -10px rgba(22, 163, 74, 0.18);

    --dot-color: rgba(15, 23, 42, 0.14);
    --dot-size: 1.2px;
    --dot-space: 26px;
    --line-color: rgba(15, 23, 42, 0.045);
    --grid-size: 130px;
    --vignette: radial-gradient(ellipse at 50% 0%, transparent 45%, rgba(15,23,42,0.10) 100%);
    --noise-opacity: 0.025;
    --aurora-opacity: 0.7;

    --logo-url: url('/static/images/light-logo.png');
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior:smooth; }
body {
    font-family:"SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    background:var(--bg); color:var(--body); line-height:1.6;
    overflow-x:hidden; -webkit-font-smoothing:antialiased;
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
    position: relative;
}
::selection { background:var(--primary-soft); color:var(--primary); }
img { max-width:100%; height:auto; display:block; }

.premium-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0; pointer-events: none; overflow: hidden; background: var(--bg);
    transition: background 0.4s var(--ease);
}
.bg-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(var(--dot-color) var(--dot-size), transparent var(--dot-size));
    background-size: var(--dot-space) var(--dot-space);
    background-position: 0 0;
    animation: dotsPan 90s linear infinite;
}
@keyframes dotsPan {
    0% { background-position: 0 0; }
    100% { background-position: calc(var(--dot-space) * 20) calc(var(--dot-space) * 20); }
}
.bg-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 85%);
}
.bg-aurora { position: absolute; inset: 0; opacity: var(--aurora-opacity); }
.bg-aurora span { position: absolute; border-radius: 50%; filter: blur(120px); will-change: transform; }
.aurora-1 {
    top: -15%; left: -10%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
    background: var(--primary-soft); animation: auroraFloat1 18s ease-in-out infinite alternate;
}
.aurora-2 {
    top: 10%; right: -15%; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px;
    background: rgba(139, 92, 246, 0.18); animation: auroraFloat2 22s ease-in-out infinite alternate;
}
.aurora-3 {
    bottom: -25%; left: 25%; width: 60vw; height: 60vw; max-width: 780px; max-height: 780px;
    background: rgba(57, 255, 20, 0.10); animation: auroraFloat3 26s ease-in-out infinite alternate;
}
html[data-theme="light"] .aurora-2 { background: rgba(124, 58, 237, 0.14); }
html[data-theme="light"] .aurora-3 { background: rgba(22, 163, 74, 0.12); }
@keyframes auroraFloat1 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(8%,6%) scale(1.15)} }
@keyframes auroraFloat2 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-8%,8%) scale(1.12)} }
@keyframes auroraFloat3 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(6%,-8%) scale(1.18)} }
.bg-vignette { position: absolute; inset: 0; background: var(--vignette); }
.bg-noise {
    position: absolute; inset: 0; opacity: var(--noise-opacity);
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav {
    position:fixed; top:0; left:0; right:0; z-index:999;
    height:var(--nav-h); display:flex; align-items:center; justify-content:space-between;
    padding:0 clamp(24px, 5vw, 48px);
    background:color-mix(in srgb, var(--bg) 70%, transparent);
    backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
    border-bottom:1px solid transparent; transition:all .4s var(--ease);
}
.nav.scrolled { border-bottom-color:var(--border); background:color-mix(in srgb, var(--white) 95%, transparent); box-shadow:var(--shadow-sm); }
.nav-logo { display:flex; align-items:center; gap:12px; text-decoration:none; flex-shrink: 0; }
.nav-logo-icon {
    width:52px; height:52px; border-radius:12px;
    background-color: transparent;
    background-image: var(--logo-url);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display:flex; align-items:center; justify-content:center;
    transition: transform 0.4s var(--ease-bounce), background-image 0.3s var(--ease);
}
.nav-logo:hover .nav-logo-icon { transform: scale(1.1) rotate(5deg); }
.nav-logo-text { font-size:1.6rem; font-weight:800; color:var(--heading); letter-spacing:-.02em; }

.nav-center {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center;
}
.nav-links { display:flex; gap:28px; list-style:none; align-items: center; }
.nav-links a { text-decoration:none; color:var(--body); font-weight:600; font-size:1rem; transition:all .3s; position: relative; white-space: nowrap; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px;
    background: var(--primary); transition: width 0.3s var(--ease); border-radius: 2px;
}
.nav-links a:hover { color:var(--heading); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; flex-shrink: 0; gap: 8px; }
.hamburger {
    display:none; background: transparent;
    border: none;
    width: 40px; height: 40px;
    font-size: 1.3rem; color:var(--heading);
    cursor:pointer; align-items: center; justify-content: center;
    transition: color 0.25s var(--ease);
}
.hamburger:hover { color: var(--primary); }

.btn-theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: transparent; color: var(--heading);
    border-radius: 50%; border: 1px solid var(--border);
    font-size: 1.1rem; cursor: pointer;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}
.btn-theme-toggle:hover {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-soft); transform: translateY(-2px) rotate(15deg);
}

.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 998;
    background: color-mix(in srgb, var(--bg) 75%, transparent);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px 0 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}
html[data-theme="light"] .mobile-menu { background: color-mix(in srgb, #ffffff 75%, transparent); }
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu a {
    display: block;
    padding: 14px 32px;
    text-decoration: none;
    color: var(--heading);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s var(--ease), padding 0.2s var(--ease);
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--primary); padding-left: 40px; }

.hero {
    position: relative; z-index: 1;
    padding: 140px clamp(24px, 5vw, 48px) 60px;
    display: flex; align-items: center;
}
.hero-inner {
    max-width: 1280px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: fadeUp 0.8s var(--ease) forwards; opacity: 0; }
.hero h1 { animation: fadeUp 0.8s var(--ease) 0.1s forwards; opacity: 0; }
.hero-sub { animation: fadeUp 0.8s var(--ease) 0.2s forwards; opacity: 0; }
.hero-buttons { animation: fadeUp 0.8s var(--ease) 0.3s forwards; opacity: 0; }
.hero-cards-wrapper { animation: fadeUp 1s var(--ease) 0.4s forwards; opacity: 0; }

.hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    background:var(--white); border:1px solid var(--border); padding:6px 16px;
    border-radius:50px; font-size:.8rem; font-weight:700; color:var(--primary);
    margin-bottom:20px; box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
    width:8px; height:8px; background:var(--primary); border-radius:50%;
    animation:blink 2s infinite; box-shadow: 0 0 8px var(--primary-soft);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
    font-size: clamp(2.6rem, 4.5vw, 3.8rem); font-weight:900; letter-spacing:-.04em;
    line-height:1.1; color:var(--heading); margin-bottom:20px;
}
.hero h1 em { font-style:normal; color:var(--primary); }
.hero-sub { font-size: clamp(1rem, 1.8vw, 1.15rem); color:var(--body); line-height:1.7; margin-bottom:32px; max-width:480px; }
.hero-buttons { display:flex; gap:16px; flex-wrap:wrap; align-items: center; }

.btn-google-play {
    display: inline-flex; align-items: center; gap: 14px;
    background: #ffffff; color: #5f6368; padding: 10px 28px 10px 24px;
    border-radius: 50px; border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none; transition: all 0.4s var(--ease);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4), 0 4px 10px -2px rgba(0, 0, 0, 0.2);
    position: relative; overflow: hidden;
    will-change: transform;
}
.btn-google-play:hover {
    background: #fdfdfd;
    box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.6), 0 8px 15px -3px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px) scale(1.02);
}
.btn-google-play .text-wrap { display: flex; flex-direction: column; text-align: left; line-height: 1; margin-top: 2px;}
.btn-google-play .small-text { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px; color: #5f6368; font-weight: 500; margin-bottom: 3px;}
.btn-google-play .large-text { font-size: 1.4rem; font-weight: 600; color: #5f6368; letter-spacing: -0.04em; font-family: "SF Pro Display", sans-serif; }

.btn-discord {
    display:inline-flex; align-items:center; gap:10px;
    background:#5865F2; color:#ffffff; padding:14px 32px;
    border-radius:100px; font-size:1rem; font-weight:800; text-decoration:none;
    box-shadow:0 10px 25px rgba(88, 101, 242, 0.15); transition:all .4s var(--ease);
    position: relative; overflow: hidden; border: 1px solid transparent;
}
.btn-discord::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg); transition: all 0.6s ease;
}
.btn-discord:hover { transform:translateY(-3px); box-shadow:0 15px 30px rgba(88, 101, 242, 0.3); background:#4752C4; color: #fff; }
.btn-discord:hover::after { left: 150%; }

.btn-hero-ghost {
    display:inline-flex; align-items:center; gap:10px;
    background:color-mix(in srgb, var(--white) 80%, transparent); color:var(--heading); padding:16px 36px;
    border-radius:100px; font-size:1.05rem; font-weight:700; text-decoration:none;
    border:1px solid var(--border); backdrop-filter: blur(10px); transition:all .4s var(--ease);
}
.btn-hero-ghost:hover { background:var(--white); transform:translateY(-3px); box-shadow: var(--shadow-sm); border-color:var(--heading); }

.platform-pills {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 24px; flex-wrap: wrap;
}
.platform-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: color-mix(in srgb, var(--white) 80%, transparent); color: var(--body);
    border: 1px solid var(--border); padding: 6px 14px;
    border-radius: 50px; font-size: 0.8rem; font-weight: 700;
    transition: all 0.3s var(--ease);
}
.platform-pill i { color: var(--primary); font-size: 0.85rem; }
.platform-pill:hover { border-color: var(--primary-soft); color: var(--heading); }

.ui-showcase {
    position: relative; width: 100%; display: flex; justify-content: center; align-items: center;
}
.ui-card {
    background: var(--white); padding: 6px;
    border-radius: 28px; border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
    position: relative; z-index: 2;
}
.ui-card img { width: 100%; height: auto; display: block; border-radius: 22px; }
.ui-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-hover); border-color: var(--primary-soft); }

.hero-cards-wrapper {
    position: relative; height: 450px; width: 100%; display: flex; align-items: center; justify-content: center;
}
@keyframes float-main { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-15px) rotate(-1deg); } }
@keyframes float-sec { 0%, 100% { transform: translateY(0) translateX(20px) rotate(4deg); } 50% { transform: translateY(10px) translateX(25px) rotate(5deg); } }

.hc-main {
    position: absolute; z-index: 2; width: 90%; max-width: 340px;
    animation: float-main 8s ease-in-out infinite; transition: all 0.5s var(--ease);
}
.hc-secondary {
    position: absolute; z-index: 3; width: 80%; max-width: 280px;
    right: -5%; bottom: 5%; opacity: 0.8; filter: brightness(0.85);
    animation: float-sec 9s ease-in-out infinite; transition: all 0.5s var(--ease);
}
.hero-cards-wrapper:hover .hc-main { animation-play-state: paused; transform: rotate(0deg) translateY(-10px) scale(1.03); }
.hero-cards-wrapper:hover .hc-secondary { animation-play-state: paused; transform: rotate(0deg) translateX(20px) translateY(10px) scale(1.03); opacity: 1; filter: brightness(1); }

.hero-float {
    position:absolute; background:color-mix(in srgb, var(--white) 95%, transparent); border-radius:16px; padding:12px 20px;
    box-shadow: var(--shadow-lg); border:1px solid var(--border); backdrop-filter:blur(10px);
    font-size:0.9rem; font-weight:800; color:var(--heading); z-index: 10;
    animation:floatY 5s ease-in-out infinite; white-space: nowrap;
}
.hero-float i { margin-right:8px; color: var(--primary); }
.hero-float-1 { top:5%; right:-10%; border-left: 4px solid var(--primary); }
.hero-float-2 { bottom:15%; left:-10%; animation-delay:2.5s; border-left: 4px solid var(--primary); }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.marquee { position: relative; z-index: 1; padding:40px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); overflow:hidden; background:color-mix(in srgb, var(--white) 60%, transparent); backdrop-filter: blur(10px); }
.marquee-label { text-align:center; font-size:.85rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.15em; margin-bottom:24px; }
.marquee-track { display:flex; gap:80px; align-items:center; animation:scroll 35s linear infinite; width:max-content; }
@keyframes scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.marquee-item { font-size:1.5rem; font-weight:800; color:var(--muted); opacity:.6; white-space:nowrap; transition: all 0.3s; }
.marquee-item:hover { opacity: 1; color: var(--heading); transform: scale(1.05); }
.marquee-item em { font-style:normal; font-weight:400; color:var(--heading); }

.wrap { max-width:1280px; margin:0 auto; padding:0 clamp(24px, 5vw, 48px); position: relative; z-index: 2; }
.sec { padding: clamp(100px, 12vw, 140px) 0; position:relative; }
.sec-alt { background: color-mix(in srgb, var(--white) 50%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow {
    display:inline-flex; align-items:center; gap:10px;
    font-size:.85rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; margin-bottom:20px;
    color:var(--primary);
}

.heading {
    font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight:900; color:var(--heading);
    letter-spacing:-.03em; line-height:1.15; margin-bottom:24px;
}
.heading em { font-style:normal; color: var(--primary); }
.desc { font-size: clamp(1.1rem, 2vw, 1.2rem); color:var(--body); max-width:560px; line-height:1.7; }

.split { display:grid; grid-template-columns:1fr 1fr; gap:clamp(60px, 8vw, 100px); align-items:center; }
.split.reverse .split-img { order:-1; }
.split-content { padding:20px 0; }

.split-number {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 12px;
    color: var(--white);
    -webkit-text-stroke: 2px var(--muted);
    opacity: 0.9;
    text-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.split-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight:800; color:var(--heading); letter-spacing:-.03em; margin-bottom:20px; line-height:1.2; }
.split-desc { font-size: 1.15rem; color:var(--body); line-height:1.7; margin-bottom:36px; }
.split-list { list-style:none; display:flex; flex-direction:column; gap:20px; }
.split-list li { display:flex; align-items:center; gap:16px; font-weight:600; font-size:1.1rem; color:var(--heading); transition: transform 0.3s ease;}
.split-list li:hover { transform: translateX(5px); }
.split-list li .dot { width:12px; height:12px; border-radius:50%; margin-top:0; flex-shrink:0; background:var(--primary); box-shadow: 0 0 10px var(--primary-soft); }

.split-img .ui-card { max-width: 280px; margin: 0 auto; }
.split-img .ui-card img { aspect-ratio: 9 / 16; object-fit: cover; width: 100%; height: auto; }

.cta-img .ui-card { max-width: 400px; margin: 0 auto; }
.cta-img .ui-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }

.pricing-header { text-align: center; margin-bottom: 60px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.price-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: 40px 32px;
    display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; position: relative;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--primary-soft); }
.price-card.popular { border-color: var(--primary); box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary); }
#pricing .feature-item i { color: var(--primary); }
.price-card.popular:hover { border-color: var(--primary-deep); box-shadow: var(--shadow-hover); }
.popular-badge {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff; font-size: 11px; font-weight: 800;
    padding: 6px 16px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;
    letter-spacing: 1px; text-transform: uppercase;
}
.tier-name { font-size: 1.8rem; font-weight: 800; color: var(--heading); margin-bottom: 8px; }
.tier-desc { font-size: 0.95rem; color: var(--body); margin-bottom: 24px; min-height: 44px; }
.price-box { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.currency { font-size: 1.5rem; font-weight: 700; color: var(--heading); }
.amount { font-size: 3.5rem; font-weight: 900; color: var(--heading); line-height: 1; letter-spacing: -1px; }
.billing-period { font-size: 1rem; color: var(--body); font-weight: 500; margin-bottom: 6px; }
.billing-subtext { font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-bottom: 28px; min-height: 20px; }

.p-features-list, #pricing .features-list { list-style: none; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.p-feature-item, #pricing .feature-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--heading); font-weight: 600; line-height: 1.5; }
.p-feature-item i, #pricing .feature-item i { margin-top: 3px; font-size: 1.1em; }

.btn-tier { display: block; width: 100%; text-align: center; padding: 14px 24px; border-radius: 100px; font-weight: 800; font-size: 1rem; transition: all 0.3s var(--ease); text-decoration: none; cursor: pointer; }
.btn-tier.ghost { background: transparent; color: var(--heading); border: 1px solid var(--border); }
.btn-tier.ghost:hover { background: var(--border); border-color: var(--heading); }
.btn-tier.filled { background: var(--primary); color: #fff; border: 1px solid transparent; }
.btn-tier.filled:hover { background: var(--primary-deep); box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.faq-container { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.faq-item:hover { border-color: var(--primary-soft); }
.faq-item details { width: 100%; }
.faq-item summary { font-size: 1.15rem; font-weight: 700; color: var(--heading); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform 0.3s; font-weight: 400; }
.faq-item details[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-item .faq-answer { padding-top: 16px; color: var(--body); font-size: 1.05rem; line-height: 1.6; border-top: 1px solid var(--border); margin-top: 16px;}

.cta-inner {
    display:grid; grid-template-columns:1fr 1fr; gap: 40px; align-items:center;
    background: var(--white); border: 1px solid var(--border); border-radius:32px;
    padding: clamp(30px, 5vw, 50px); box-shadow: var(--shadow-lg); overflow:hidden; position: relative;
    max-width: 960px; margin: 0 auto;
}
.cta-inner::before {
    content: ''; position: absolute; top: -50%; left: -10%;
    width: 500px; height: 500px; background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, transparent 70%); pointer-events: none;
}
.cta-heading { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight:900; color:var(--heading); letter-spacing:-.04em; line-height:1.1; margin-bottom:20px; position: relative; z-index: 1;}
.cta-desc { font-size: 1.05rem; color:var(--body); margin-bottom:30px; line-height:1.7; max-width:440px; position: relative; z-index: 1;}

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.support-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 40px 24px; text-align: center;
    transition: all 0.4s var(--ease); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; text-decoration: none;
}
.support-card:hover { transform: translateY(-10px); border-color: var(--primary-soft); box-shadow: var(--shadow-hover); }
.support-icon {
    width: 64px; height: 64px; border-radius: 16px; background: var(--primary-soft); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px;
    transition: transform 0.4s var(--ease-bounce);
}
.support-card:hover .support-icon { transform: scale(1.1) rotate(5deg); background: var(--primary); color: #fff; }
.support-title { font-size: 1.2rem; font-weight: 800; color: var(--heading); margin-bottom: 8px; }
.support-desc { font-size: 0.95rem; color: var(--body); margin-bottom: 0; }

.footer { border-top:1px solid var(--border); padding: 100px 0 40px; background:var(--white); position: relative; z-index: 2; }
.footer-grid { display:grid; grid-template-columns:2.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom:80px; }
.footer-brand-name { display:flex; align-items:center; gap:16px; margin-bottom:20px; }
.footer-brand-name span { font-size:1.8rem; font-weight:900; color:var(--heading); }
.footer-brand-name span em { font-style:normal; color:var(--heading); }
.footer-brand-desc { font-size:1.05rem; color:var(--body); max-width:340px; line-height:1.7; margin-bottom: 30px;}
.footer-col h2 { font-size:.9rem; font-weight:800; color:var(--heading); text-transform:uppercase; letter-spacing:.1em; margin-bottom:24px; }
.footer-col a { display:block; color:var(--body); text-decoration:none; font-size:1.05rem; font-weight:500; margin-bottom:16px; transition:color .3s; }
.footer-col a:hover { color:var(--primary); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:40px; border-top:1px solid var(--border); flex-wrap:wrap; gap:24px; }
.footer-copy { font-size:1rem; color:var(--muted); font-weight: 500;}
.footer-socials { display:flex; gap:16px; }
.footer-socials a {
    width:44px; height:44px; border-radius:12px; background:var(--bg);
    border:1px solid var(--border); display:flex; align-items:center; justify-content:center;
    color:var(--body); text-decoration:none; font-size:1.2rem;
    transition:all .3s var(--ease-bounce);
}
.footer-socials a:hover { color:#fff; border-color:var(--primary); background: var(--primary); transform:translateY(-5px) scale(1.1); box-shadow:var(--shadow-sm); }

.reveal { opacity: 0; transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-up { transform: translateY(50px) scale(0.98); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.show { opacity: 1; transform: translate(0) scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media(max-width:1100px) {
    .nav-center { display: none; }
    .hamburger { display: inline-flex; }
}
@media(max-width:960px) {
    .hero-inner { grid-template-columns:1fr; text-align:center; gap: 40px; }
    .hero-badge { margin: 0 auto 24px; }
    .hero-sub { margin:0 auto 36px; }
    .hero-buttons { justify-content:center; }
    .hero-cards-wrapper { height: 400px; padding: 20px 0; }
    .hc-main { position: relative; width: 100%; transform: none; max-width: 320px; margin: 0 auto; animation: none; }
    .hc-secondary { display: none; }
    .hero-float { display:none; }
    .hero-cards-wrapper:hover .hc-main { transform: translateY(-10px); }

    .split { grid-template-columns:1fr; gap:60px; text-align:center; }
    .split.reverse .split-img { order:0; }
    .split-content { padding:0; }
    .split-desc { margin:0 auto 36px; }
    .split-list li { justify-content:center; }

    .pricing-grid { grid-template-columns:1fr; max-width:450px; }
    .support-grid { grid-template-columns:1fr; }
    .cta-inner { grid-template-columns:1fr; text-align:center; }
    .cta-desc { margin:0 auto 40px; }
    .footer-grid { grid-template-columns:1fr 1fr; gap: 50px; }
}
@media(max-width:600px) {
    .hero { padding-top: 140px; }
    .footer-grid { grid-template-columns:1fr; gap:50px; }
    .cta-inner { padding: 40px 24px; border-radius: 24px; }
    .split-img .ui-card { max-width: 240px; }
    .cta-img .ui-card { max-width: 100%; }
}

.btn-web-app {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--primary); color: #fff;
    padding: 14px 32px; border-radius: 100px;
    font-size: 1.05rem; font-weight: 800; text-decoration: none;
    box-shadow: 0 10px 30px var(--primary-soft);
    transition: all .4s var(--ease);
    position: relative; overflow: hidden;
}
.btn-web-app::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg); transition: all 0.6s ease;
}
.btn-web-app:hover {
    transform: translateY(-3px); background: var(--primary-deep);
    box-shadow: 0 15px 35px var(--primary-soft);
}
.btn-web-app:hover::after { left: 150%; }
.btn-web-app i { font-size: 1.1rem; }

.interface-tabs-wrap { max-width: 1200px; margin: 60px auto 0; }
.interface-tabs {
    display: inline-flex; gap: 4px; padding: 6px;
    background: var(--white); border: 1px solid var(--border); border-radius: 100px;
    margin: 0 auto 50px; box-shadow: var(--shadow-sm); position: relative;
    left: 50%; transform: translateX(-50%);
}
.interface-tab {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 28px; border-radius: 100px; border: none; background: transparent;
    color: var(--body); font-weight: 700; font-size: 0.95rem; cursor: pointer;
    transition: all 0.3s var(--ease); font-family: inherit;
}
.interface-tab i { font-size: 1rem; }
.interface-tab.active {
    background: var(--primary); color: #fff;
    box-shadow: 0 8px 20px var(--primary-soft);
}
.interface-tab:not(.active):hover { color: var(--heading); background: color-mix(in srgb, var(--heading) 4%, transparent); }

.interface-panel { display: none; animation: fadeUp 0.6s var(--ease) forwards; }
.interface-panel.active { display: block; }

.browser-mockup {
    background: var(--white); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow-lg); overflow: hidden; max-width: 1000px; margin: 0 auto;
    transition: all 0.4s var(--ease);
}
.browser-mockup:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary-soft); }
.browser-bar {
    display: flex; align-items: center; gap: 12px; padding: 14px 20px;
    background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 8px; }
.browser-dot { width: 12px; height: 12px; border-radius: 50%; }
.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #febc2e; }
.browser-dot.green { background: #28c840; }
.browser-url {
    flex: 1; background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--border);
    border-radius: 8px; padding: 6px 14px; color: var(--body);
    font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.browser-url i { color: var(--primary); font-size: 0.75rem; }
.browser-actions { display: flex; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.browser-content { background: color-mix(in srgb, var(--bg) 95%, transparent); padding: 0; position: relative; }
.browser-content img { width: 100%; height: auto; display: block; }

.phone-mockup {
    background: var(--white); border: 1px solid var(--border); border-radius: 36px;
    padding: 10px; box-shadow: var(--shadow-lg); max-width: 280px; margin: 0 auto;
    transition: all 0.4s var(--ease);
}
.phone-mockup:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-hover); border-color: var(--primary-soft); }
.phone-screen {
    background: color-mix(in srgb, var(--bg) 95%, transparent); border-radius: 28px; overflow: hidden; position: relative;
}
.phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 100px; height: 22px; background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px; z-index: 5;
}
.phone-screen img { width: 100%; height: auto; display: block; }

.interface-callouts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px;
}
.callout {
    background: var(--white); border: 1px solid var(--border); border-radius: 16px;
    padding: 24px 20px; transition: all 0.3s var(--ease); box-shadow: var(--shadow-sm);
    text-align: left;
}
.callout:hover { border-color: var(--primary-soft); transform: translateY(-4px); }
.callout-icon {
    width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px;
}
.callout h3 { font-size: 1rem; font-weight: 800; color: var(--heading); margin-bottom: 8px; }
.callout p { font-size: 0.85rem; color: var(--body); line-height: 1.55; margin: 0; }

.get-started-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1100px; margin: 60px auto 0;
}
.get-started-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 28px;
    padding: 48px 40px; transition: all 0.4s var(--ease); box-shadow: var(--shadow-sm);
    position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.get-started-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--primary-soft); }
.get-started-card.web-card { border-color: var(--primary-soft); }
.get-started-card.web-card::before {
    content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px;
    background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%); pointer-events: none;
}
.get-started-card.mobile-card::before {
    content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%); pointer-events: none;
}
.get-started-icon {
    width: 64px; height: 64px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    margin-bottom: 24px; position: relative; z-index: 1;
}
.web-card .get-started-icon { background: var(--primary-soft); color: var(--primary); }
.mobile-card .get-started-icon { background: rgba(139, 92, 246, 0.1); color: var(--purple); }
.get-started-card h3 { font-size: 1.8rem; font-weight: 800; color: var(--heading); margin-bottom: 12px; position: relative; z-index: 1; }
.get-started-card p { font-size: 1rem; color: var(--body); line-height: 1.65; margin-bottom: 24px; position: relative; z-index: 1; }
.get-started-list { list-style: none; margin-bottom: 32px; position: relative; z-index: 1; }
.get-started-list li {
    display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 600;
    color: var(--heading); margin-bottom: 12px;
}
.get-started-list li i { color: var(--primary); font-size: 0.9rem; }
.get-started-cta {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 100px;
    font-weight: 800; font-size: 1rem; text-decoration: none; transition: all 0.3s var(--ease);
    margin-top: auto; position: relative; z-index: 1; align-self: flex-start;
}
.web-card .get-started-cta { background: var(--primary); color: #fff; }
.web-card .get-started-cta:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 10px 25px var(--primary-soft); }
.mobile-card .get-started-cta { background: var(--purple); color: #fff; }
.mobile-card .get-started-cta:hover { background: #7c4ef0; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3); }

.coming-soon-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 3px 10px;
    border-radius: 50px;
    margin-left: 10px;
    vertical-align: middle;
    position: relative;
    top: -3px;
}

.ui-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.hc-main img, .hc-secondary img { aspect-ratio: 3/4; object-fit: cover; }
.browser-content img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: color-mix(in srgb, var(--bg) 95%, transparent); }
.phone-screen img { width: 100%; aspect-ratio: 9/19.5; object-fit: cover; background: color-mix(in srgb, var(--bg) 95%, transparent); }

.ui-card img, .browser-content img, .phone-screen img, .cta-img img {
    background: linear-gradient(110deg, color-mix(in srgb, var(--bg) 90%, transparent) 8%, color-mix(in srgb, var(--bg) 85%, transparent) 18%, color-mix(in srgb, var(--bg) 90%, transparent) 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}
.ui-card img.loaded, .browser-content img.loaded, .phone-screen img.loaded, .cta-img img.loaded {
    animation: none; background: none;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.platform-pill {
    padding: 5px 12px; font-size: 0.72rem; gap: 6px;
    color: var(--muted); background: color-mix(in srgb, var(--white) 40%, transparent);
}
.platform-pill i { font-size: 0.7rem; }
.platform-pill:hover { color: var(--body); }

.get-started-list li { font-size: 0.9rem; margin-bottom: 10px; font-weight: 500; }
.get-started-list li i { font-size: 0.8rem; }

.btn-app-store {
    display: inline-flex; align-items: center; gap: 12px;
    background: #ffffff; color: #1d1d1f; padding: 8px 20px 8px 18px;
    border-radius: 50px; border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none; transition: all 0.4s var(--ease);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4), 0 4px 10px -2px rgba(0, 0, 0, 0.2);
    position: relative; overflow: hidden; will-change: transform;
}
.btn-app-store svg { flex-shrink: 0; }
.btn-app-store .text-wrap { display: flex; flex-direction: column; text-align: left; line-height: 1; margin-top: 2px;}
.btn-app-store .small-text { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px; color: #1d1d1f; font-weight: 500; margin-bottom: 3px;}
.btn-app-store .large-text { font-size: 1.1rem; font-weight: 600; color: #1d1d1f; letter-spacing: -0.04em; font-family: "SF Pro Display", sans-serif; }
.btn-app-store .coming-mini { font-size: 0.55rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #d97706; margin-top: 1px; }

.btn-app-store.coming-soon {
    opacity: 0.75;
    cursor: not-allowed;
}

@media(max-width:960px) {
    .interface-callouts { grid-template-columns: repeat(2, 1fr); }
    .get-started-grid { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
    .interface-callouts { grid-template-columns: 1fr; }
    .interface-tab { padding: 10px 18px; font-size: 0.85rem; }
    .get-started-card { padding: 36px 24px; }
    .browser-url { font-size: 0.7rem; }
    .platform-pills { gap: 6px; }
    .platform-pill { padding: 4px 10px; font-size: 0.68rem; }
    .btn-google-play, .btn-app-store { padding: 8px 16px 8px 14px !important; }
    .btn-google-play .large-text, .btn-app-store .large-text { font-size: 1rem !important; }
}

/* Live web access and real product screenshots. */
.btn-web-app,.btn-nav-weblogin { display:inline-flex; align-items:center; justify-content:center; gap:10px; color:var(--bg); background:var(--primary); padding:14px 24px; border-radius:12px; font-weight:750; text-decoration:none; transition:transform .2s,box-shadow .2s; }
.btn-web-app:hover,.btn-nav-weblogin:hover { transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.btn-nav-weblogin { padding:9px 16px; font-size:.8rem; }
.capability-strip { display:flex; flex-wrap:wrap; justify-content:center; gap:18px 36px; padding:10px 24px; color:var(--heading); font-weight:650; }
.anchor-target { scroll-margin-top:100px; }
#faqs { scroll-margin-top:80px; }
/* A shared device stage: laptop on the lower deck, phone on the raised deck. */
.screenshot-gallery,.hero-cards-wrapper {
    position:relative; isolation:isolate; display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,.411328125fr);
    align-items:end; gap:clamp(14px,2vw,24px); width:100%; max-width:600px;
    height:auto; margin:0 auto; padding:64px 28px 60px; border:1px solid var(--border);
    border-radius:28px; background:radial-gradient(ellipse at 75% 15%,var(--primary-soft),transparent 65%),var(--white);
}
.screenshot-gallery::before,.hero-cards-wrapper::before {
    content:""; position:absolute; inset:14px; border:1px solid var(--border);
    border-radius:20px; pointer-events:none; opacity:.45;
}
.screenshot-gallery::after,.hero-cards-wrapper::after {
    content:""; position:absolute; left:7%; right:7%; bottom:48px; height:1px;
    background:linear-gradient(90deg,transparent,var(--primary),transparent); opacity:.35;
}
.screenshot-figure { position:relative; min-width:0; padding:0; border:0; background:none; box-shadow:none; }
.screenshot-figure.desktop { grid-column:1; padding-bottom:0; }
.screenshot-figure.mobile { grid-column:2; margin-bottom:28px; }
.screenshot-figure.desktop::before {
    content:"●  ●  ●"; position:absolute; bottom:100%; left:0; width:100%; height:22px;
    border:1px solid #36383b; border-bottom:0; border-radius:10px 10px 0 0;
    padding:2px 9px; background:#202225; color:#92989d; font-size:8px; letter-spacing:2px;
}
.screenshot-figure.desktop::after {
    content:""; position:absolute; left:-3%; bottom:-8px; width:106%; height:9px;
    border-radius:1px 1px 12px 12px; background:linear-gradient(#697077,#292e34);
    box-shadow:0 12px 18px rgba(0,0,0,.28); pointer-events:none;
}
.screenshot-figure.mobile::before {
    content:""; position:absolute; z-index:2; top:5px; left:36%; width:28%; height:5px;
    border-radius:10px; background:#141414; pointer-events:none;
}
.screenshot-figure.mobile::after {
    content:""; position:absolute; left:22%; right:22%; bottom:-15px; height:5px;
    border-radius:50%; background:rgba(0,0,0,.3); filter:blur(3px); pointer-events:none;
}
.screenshot-figure figcaption {
    position:absolute; bottom:calc(100% + 32px); left:0; padding:0;
    color:var(--body); font-size:.65rem; font-weight:650; letter-spacing:.08em; text-transform:uppercase;
}
.screenshot-figure.mobile figcaption { bottom:calc(100% + 16px); }
.screenshot-preview { display:block; width:100%; padding:0; border:0; background:transparent; cursor:zoom-in; border-radius:4px; }
.capture-view { position:relative; width:100%; aspect-ratio:16 / 9; overflow:hidden; border-radius:4px; background:#000; box-shadow:0 20px 30px rgba(0,0,0,.2); outline:1px solid #36383b; }
.capture-view.mobile { aspect-ratio:9 / 16; border-radius:18px; outline:5px solid #303237; box-shadow:0 24px 30px rgba(0,0,0,.28); }
.capture-view img,.ui-card .capture-view img,.browser-content .capture-view img,.phone-screen .capture-view img { position:absolute; inset:0; width:100%; max-width:none; height:100%; aspect-ratio:auto; object-fit:contain; opacity:1; border-radius:0; }
.screenshot-note { position:absolute; left:16px; right:16px; bottom:17px; font-size:.65rem; color:var(--body); text-align:center; }
.hero-cards-wrapper { max-width:540px; opacity:1; animation:none; }
.sec:has(.screenshot-gallery) .reveal { opacity:1; transform:none; }
.screenshot-preview:focus-visible { outline:2px solid var(--primary); outline-offset:8px; }
.screenshot-preview:hover .capture-view { outline-color:var(--primary); }
.screenshot-lightbox { position:fixed; inset:0; margin:auto; padding:20px; max-width:min(1200px,94vw); max-height:92vh; border:1px solid var(--border); border-radius:20px; background:var(--white); color:var(--heading); box-shadow:var(--shadow-lg); }
.screenshot-lightbox::backdrop { background:rgba(0,0,0,.8); backdrop-filter:blur(8px); }
.screenshot-lightbox header { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:16px; }
.screenshot-lightbox h2 { font-size:1rem; }
.screenshot-lightbox button { padding:8px 14px; border:1px solid var(--border); border-radius:8px; background:var(--bg); color:var(--heading); cursor:pointer; }
.screenshot-lightbox img { width:auto; max-width:100%; max-height:72vh; margin:auto; object-fit:contain; }
@media(min-width:961px) { .sec:has(.screenshot-gallery) .wrap { max-width:1280px; } .split { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:48px; } .split.reverse { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); } }
@media(max-width:700px) {
    .screenshot-gallery,.hero-cards-wrapper { padding:54px 20px 56px; gap:14px; border-radius:22px; }
    .screenshot-figure.mobile { margin-bottom:18px; }
    .capture-view.mobile { border-radius:12px; outline-width:4px; }
    .screenshot-figure.mobile::before { height:3px; top:4px; }
    .screenshot-note { font-size:.6rem; }
}
/* Each feature has its own device selection; reserve space to prevent jumps. */
.screenshot-gallery { grid-template-columns:1fr; align-items:center; gap:24px; padding:0; border:0; border-radius:0; background:transparent; }
.screenshot-gallery::before,.screenshot-gallery::after { content:none; }
.screenshot-gallery .screenshot-note { position:static; margin:0; }
.feature-device-controls { display:flex; justify-self:center; gap:4px; padding:4px; border:1px solid var(--border); border-radius:12px; background:var(--bg); z-index:1; }
.feature-device-option { min-height:40px; padding:8px 20px; border:0; border-radius:8px; background:transparent; color:var(--body); font:inherit; font-size:.8rem; font-weight:650; cursor:pointer; }
.feature-device-option[aria-pressed="true"] { background:var(--primary); color:#051a08; }
.feature-device-option:hover { color:var(--heading); }
.feature-device-option[aria-pressed="true"]:hover { color:#051a08; }
.feature-device-views { display:grid; place-items:center; min-height:460px; width:100%; }
.feature-device-views .screenshot-figure { grid-area:1 / 1; margin:0; }
.feature-device-views .screenshot-figure.mobile { width:min(90%,240px); }
.feature-device-views .screenshot-figure.desktop { width:min(94%,580px); }
.feature-device-views figcaption { display:none; }
.feature-device-views .screenshot-figure::before,.feature-device-views .screenshot-figure::after { content:none; }
.feature-device-views .capture-view { border:0; border-radius:0; outline:0; box-shadow:none; background:transparent; }
.feature-device-views .screenshot-preview { border-radius:0; }
.screenshot-gallery .screenshot-note { display:none; }
@media(max-width:700px) { .screenshot-gallery { padding:0; } }
.browser-content .capture-view { aspect-ratio:16 / 9; }
.phone-screen .capture-view { aspect-ratio:9 / 16; }
.phone-notch { z-index:2; }
.available-tag { display:inline-block; vertical-align:middle; color:var(--primary); background:var(--primary-soft); border:1px solid var(--primary); border-radius:20px; padding:4px 9px; font-size:.6rem; text-transform:uppercase; letter-spacing:.5px; }
[hidden] { display:none!important; }
:focus-visible { outline:2px solid var(--primary); outline-offset:5px; }
html:not(.js-ready) .reveal { opacity:1; transform:none; }
@media(max-width:700px) { .nav-right .btn-nav-weblogin { padding:8px 11px; font-size:.7rem; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } .reveal { opacity:1; transform:none; } }

/* Free journaling and beginner onboarding. */
.skip-link { position:fixed; top:12px; left:12px; z-index:1000; transform:translateY(-200%); padding:12px 20px; border-radius:12px; color:var(--bg); background:var(--primary); }
.skip-link:focus { transform:translateY(0); }
.hero-free-note { margin:18px 0 0; color:var(--body); font-size:.82rem; line-height:1.6; }
.hero-buttons .btn-web-app { border-radius:50px; padding:16px 24px; }
.market-section { padding:48px 0 64px; text-align:center; border-block:1px solid var(--border); }
.market-section .eyebrow { justify-content:center; }
.market-section .desc { margin:0 auto; }
.market-tags { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; list-style:none; margin:28px 0 20px; padding:0; }
.market-tags li { padding:12px 20px; border:1px solid var(--border); border-radius:50px; background:var(--white); color:var(--heading); font-weight:650; }
.market-note { color:var(--body); font-size:.85rem; line-height:1.7; max-width:760px; margin:20px auto 0; }
#how-it-works { text-align:center; }
#how-it-works .eyebrow { justify-content:center; }
#how-it-works .desc { margin:0 auto; }
.beginner-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; list-style:none; padding:0; margin:36px 0; text-align:left; }
.beginner-steps li { background:var(--white); border:1px solid var(--border); border-radius:20px; padding:28px; }
.step-number { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:12px; color:var(--primary); background:var(--primary-soft); font-weight:800; margin-bottom:20px; }
.beginner-steps h3 { color:var(--heading); font-size:1.2rem; margin:0 0 12px; }
.beginner-steps p { color:var(--body); font-size:.95rem; line-height:1.7; margin:0; }
@media(max-width:700px) {
    .beginner-steps { grid-template-columns:1fr; gap:16px; }
    .beginner-steps li { padding:24px; }
    .hero-buttons .btn-web-app { width:100%; }
    .market-tags { gap:8px; }
    .market-tags li { font-size:.85rem; padding:10px 16px; }
}



.platform-pill{color:var(--heading)}
.hero h1,.hero-badge,.hero-sub,.hero-buttons,.platform-pills{animation:none;opacity:1}
.capture-view img{animation:none;background:none}
@media(max-width:700px){.bg-dots{animation:none}}
.fas,.fa-solid,.fab,.fa-brands{display:inline-block;min-width:1em}
.beginner-steps article{background:var(--white);border:1px solid var(--border);border-radius:20px;padding:28px}
.beginner-steps article a{color:var(--heading);text-decoration-thickness:1px;text-underline-offset:4px}

/* A single layered product scene beneath the hero copy. */
.hero-inner { grid-template-columns:1fr; gap:56px; text-align:center; max-width:1180px; }
.hero-content { width:100%; max-width:1040px; margin:0 auto; }
.hero-badge { margin:0 auto 24px; }
.hero h1 { font-size:clamp(2.6rem,4.5vw,3.8rem); }
.hero-sub { max-width:680px; margin:0 auto 28px; }
.hero-buttons,.platform-pills { justify-content:center; }
.hero-showcase { display:block; width:100%; max-width:1040px; border:0; border-radius:0; background:none; padding:0; animation:none; opacity:1; }
.hero-showcase::before,.hero-showcase::after { display:none; }
.hero-stage { position:relative; padding:30px 80px 96px 20px; text-align:left; }
.hero-orbit { position:absolute; inset:-40px -5% 0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at 50% 45%,var(--primary-soft),transparent 65%); }
.hero-stage .screenshot-figure.desktop { width:100%; margin:0; transform:perspective(1400px) rotateY(-5deg) rotateX(3deg); transition:transform .7s var(--ease); filter:drop-shadow(0 28px 40px rgba(0,0,0,.32)); }
.hero-stage .screenshot-figure.desktop:hover { transform:perspective(1400px) rotateY(0) rotateX(0); }
.hero-stage .capture-view.desktop { border:1px solid #343c37; border-radius:0 0 14px 14px; }
.hero-stage .screenshot-figure.mobile { position:absolute; z-index:3; width:19%; right:1%; bottom:38px; margin:0; transform:rotate(5deg); filter:drop-shadow(-12px 20px 30px rgba(0,0,0,.5)); animation:heroPhoneFloat 7s ease-in-out infinite; }
.hero-stage .capture-view.mobile { border:6px solid #242824; border-radius:24px; overflow:hidden; }
.hero-stage .capture-view img { width:100%; height:auto; display:block; }
.hero-device-label { display:block; position:absolute; bottom:20px; left:5%; font-size:.85rem; line-height:1.65; color:var(--body); letter-spacing:.01em; }
.hero-device-label strong { color:var(--heading); font-weight:600; }
.hero-view-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; margin-top:4px; }
.hero-view-controls button { cursor:pointer; font:inherit; font-size:.8rem; padding:10px 18px; border:1px solid var(--border); border-radius:30px; color:var(--body); background:var(--white); transition:color .2s,background .2s,border-color .2s; }
.hero-view-controls button[aria-pressed="true"]:not(.hero-play-toggle) { color:var(--primary); background:var(--primary-soft); border-color:var(--primary); }
.hero-view-controls button:focus-visible { outline:2px solid var(--primary); outline-offset:4px; }
.hero-view-controls .hero-play-toggle { border:0; background:none; padding:10px 12px; }
.hero-showcase .screenshot-note { position:static; margin:16px 0 0; text-align:center; }
@keyframes heroPhoneFloat { 0%,100% { transform:translateY(0) rotate(5deg); } 50% { transform:translateY(-10px) rotate(3deg); } }
@media(max-width:700px) {
 .hero { padding:120px 20px 40px; }
 .hero-inner { gap:32px; }
 .hero h1 { font-size:clamp(2.3rem,8vw,3.2rem); }
 .hero-stage { padding:20px 24px 90px 0; }
 .hero-stage .screenshot-figure.desktop { transform:none; }
 .hero-stage .screenshot-figure.mobile { width:25%; right:0; bottom:42px; }
 .hero-stage .capture-view.mobile { border-width:3px; border-radius:13px; }
 .hero-device-label { left:2%; bottom:20px; font-size:.72rem; }
 .hero-view-controls { gap:6px; }
 .hero-view-controls button { font-size:.72rem; padding:9px 12px; }
}
@media(prefers-reduced-motion:reduce) {
 .hero-stage .screenshot-figure.mobile { animation:none; }
 .hero-stage .screenshot-figure.desktop { transition:none; transform:none; }
}
