:root {
    --brand: #465FFF;
    --brand-hover: #3641c9;
    --ink: #101828;
    --muted: #667085;
    --line: #eaecf0;
    --bg-alt: #f8f9fc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.1s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #eef1ff; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo { height: 34px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.nav-link { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav-link:hover { color: var(--brand); }
.lang-toggle {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* Hero */
.hero { padding: 72px 0 80px; text-align: center; }
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    font-weight: 700;
    max-width: 820px;
    margin: 0 auto 20px;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto 32px;
}
.hero-cta { margin-bottom: 14px; }
.hero-note { font-size: 0.9rem; color: var(--muted); margin-bottom: 52px; }

/* Browser frame */
.browser-frame {
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px -18px rgba(16, 24, 40, 0.25);
    background: #fff;
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f2f4f7;
    border-bottom: 1px solid var(--line);
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d0d5dd; }
.browser-bar .urlbar {
    margin-left: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 14px;
    font-size: 0.75rem;
    color: var(--muted);
}

/* Sections */
section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    text-align: center;
    margin-bottom: 44px;
    font-weight: 700;
}
.section-alt { background: var(--bg-alt); }
.features, .how, .shots { padding: 80px 0; }

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}
.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; font-weight: 700; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Screenshots */
.shot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.shot-grid figure { margin: 0; }
.browser-frame.small { box-shadow: 0 12px 32px -12px rgba(16, 24, 40, 0.2); border-radius: 10px; }
.browser-frame.small .browser-bar { padding: 7px 10px; }
.shot-grid figcaption {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

/* CTA band */
.cta-band {
    background: var(--brand);
    color: #fff;
    text-align: center;
    padding: 72px 0;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { opacity: 0.9; margin-bottom: 28px; font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--ink); color: #98a2b3; padding: 48px 0; }
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer-brand img { height: 30px; width: auto; }
.footer-mail { color: #98a2b3; text-decoration: none; font-size: 0.95rem; }
.footer-mail:hover { color: #fff; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #98a2b3; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.85rem; }

/* Responsive */
@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; }
    .hero { padding: 48px 0 56px; }
    .features, .how, .shots { padding: 56px 0; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
    .header-nav .nav-link { display: none; }
    .header-nav { gap: 12px; }
}
