:root {
    --bg: #F8FAFC;
    --surface: #FFFFFF;

    --text-main: #0F172A;
    --text-muted: #475569;

    --primary: #2563EB;
    --primary-soft: #DBEAFE;

    --border: #E2E8F0;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text-main);
}

/* GLOBAL */
.container {
    max-width: 1120px;
    margin: auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.header-inner {
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 20px;
}

nav a {
    margin-left: 24px;
    font-size: 15px;
    color: var(--text-muted);
}

.mobile-menu-button {
    display: none;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 12px;
    padding: 10px 12px;
    line-height: 0;
}

.hamburger {
    width: 20px;
    height: 14px;
    position: relative;
    display: inline-block;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-muted);
    border-radius: 999px;
}

.hamburger::before {
    top: 0;
    box-shadow: 0 6px 0 var(--text-muted);
}

.hamburger::after {
    bottom: 0;
}

.mobile-actions {
    display: none;
}

.mobile-menu {
    display: none;
}

.mobile-menu-backdrop {
    display: none;
}

/* HERO */
.hero {
    padding: 96px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.1;
}

.hero-sub {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 24px auto;
}

.hero-cta {
    margin-top: 40px;
}

/* BUTTONS */
.button {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 500;
    margin: 0 8px;
}

.button.primary {
    background: var(--primary);
    color: white;
}

.button.ghost {
    border: 1px solid var(--border);
    background: var(--surface);
}

/* TRUST */
.trust {
    background: var(--primary-soft);
    padding: 40px 0;
    text-align: center;
    font-size: 16px;
}

/* FEATURES */
.features {
    padding: 96px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* PRICING TOGGLE */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.billing-label {
    font-size: 14px;
    color: var(--text-muted);
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: 0.2s;
    border-radius: 999px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: 0.2s;
    border-radius: 999px;
}

.switch input:checked + .slider {
    background: var(--primary-soft);
    border-color: var(--primary);
}

.switch input:checked + .slider:before {
    transform: translate(24px, -50%);
    border-color: var(--primary);
}

/* CONTACT */
.contact {
    padding: 96px 0;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
}

.contact p {
    color: var(--text-muted);
    margin: 16px auto 32px;
    max-width: 520px;
}

/* FOOTER */
.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
}

/* MOBILE */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .header-inner {
        height: auto;
        padding: 12px 0;
        gap: 12px;
        flex-wrap: wrap;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-actions {
        display: flex;
        gap: 10px;
        margin-left: auto;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .mobile-actions .button {
        padding: 10px 14px;
        border-radius: 10px;
        margin: 0;
    }

    .mobile-menu-backdrop.open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.25);
        z-index: 5;
    }

    .mobile-menu.open {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
        padding: 8px 24px;
        z-index: 11;
    }

    .mobile-menu a {
        display: block;
        padding: 12px 0;
        color: var(--text-muted);
        border-top: 1px solid var(--border);
    }

    .mobile-menu a:first-child {
        border-top: none;
    }
}
