:root {
    --brand-50: #f4f7fa;
    --brand-100: #e6ecf4;
    --brand-200: #c6d3e7;
    --brand-300: #9bb2d4;
    --brand-500: #486fa8;
    --brand-600: #3b5b8a;
    --brand-700: #314b72;
    --brand-800: #263b59;
    --brand-900: #1b2a40;
    --accent: #cfe0f0;
    --ink: #172233;
    --muted: #5b6b80;
    --line: #e3e9f1;
    --bg: #ffffff;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(23, 34, 51, .06), 0 12px 32px -12px rgba(23, 34, 51, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.2; margin: 0; color: var(--brand-900); }
p { margin: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 24px; border-radius: 12px;
    font-weight: 600; font-size: 15px;
    transition: background .2s, color .2s, box-shadow .2s, transform .2s;
    border: 1px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(59, 91, 138, .7); }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: #fff; color: var(--brand-700); border-color: var(--brand-200); }
.btn-ghost:hover { border-color: var(--brand-500); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: var(--brand-50); }

.eyebrow {
    display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand-600); background: var(--brand-100); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.accent { color: var(--brand-500); }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.scrolled .nav { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(23, 34, 51, .2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-icon { width: 38px; height: 38px; }
.nav-logo { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--brand-600); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--brand-800); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
        display: none;
    }
    .nav-links a { padding: 12px 4px; }
    .nav-links .btn { margin-top: 8px; }
    .menu-open .nav-links { display: flex; }
    .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% -10%, var(--accent) 0%, transparent 60%),
        radial-gradient(700px 400px at -10% 110%, var(--brand-100) 0%, transparent 60%),
        var(--brand-50);
    padding: 64px 0 80px;
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 992px) { .hero-inner { grid-template-columns: 1fr 1.15fr; gap: 56px; } .hero { padding: 96px 0 112px; } }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.02em; }
.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--muted); font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-500); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; }
.hero-visual .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
@media (max-width: 991px) { .hero-visual .browser { transform: none; } }

/* Browser frame */
.browser {
    background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(27, 42, 64, .35), 0 0 0 1px rgba(27, 42, 64, .03);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f6fa; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dee8; }
.browser-bar i:nth-child(1) { background: #f28b82; }
.browser-bar i:nth-child(2) { background: #f7c56b; }
.browser-bar i:nth-child(3) { background: #7fcf94; }
.browser-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; }
.shot-placeholder {
    aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    background: linear-gradient(135deg, var(--brand-50), var(--accent)); color: var(--brand-600); font-weight: 600;
}
.shot-placeholder img { width: 72px; height: 72px; opacity: .85; }

/* Stats strip */
.strip { background: var(--brand-800); color: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-top: 32px; padding-bottom: 32px; text-align: center; }
@media (min-width: 768px) { .strip-inner { grid-template-columns: repeat(4, 1fr); } }
.strip strong { display: block; font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 700; color: var(--accent); }
.strip span { font-size: 14px; color: var(--brand-200); }

/* Sections */
.section { padding: 80px 0; }
@media (min-width: 992px) { .section { padding: 104px 0; } }
.section-alt { background: var(--brand-50); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.01em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.feature-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; background: var(--brand-100); margin-bottom: 18px; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* Screenshot tabs */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.tab {
    font: inherit; font-size: 14px; font-weight: 600; color: var(--muted);
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer;
    transition: all .2s;
}
.tab:hover { color: var(--brand-600); border-color: var(--brand-300); }
.tab.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.gallery { max-width: 1040px; margin: 0 auto; }
.shot { display: none; margin: 0; }
.shot.is-active { display: block; animation: fade .35s ease; }
.shot figcaption { text-align: center; margin-top: 20px; color: var(--muted); font-size: 15px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px dashed var(--brand-200); }
.steps span {
    display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--brand-600); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; margin-bottom: 16px;
}
.steps h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 992px) { .about { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.about-visual {
    border-radius: 28px; aspect-ratio: 1; max-width: 420px; margin: 0 auto; width: 100%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 30% 30%, #fff 0%, var(--accent) 55%, var(--brand-200) 100%);
    box-shadow: var(--shadow);
}
.about-visual img { width: 58%; }
.about-copy h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; margin-bottom: 20px; }
.about-copy p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.about-copy p strong, .about-copy p em { color: var(--brand-700); }
.about-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #fff; border: 1px solid var(--line); fill: none; stroke: var(--brand-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-list strong { display: block; color: var(--brand-900); }
.about-list span { color: var(--muted); font-size: 14px; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); color: #fff; padding: 72px 0; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.cta p { margin: 12px 0 28px; color: var(--brand-100); font-size: 17px; }

/* Footer */
.footer { background: var(--brand-900); color: var(--brand-300); padding: 28px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.footer-logo { height: 20px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
