:root {
    --primary: #3660AD; /* red #AC0732*/
    --secondary: #B38806; /* gold */
    --ink: #0b1020;
    --ink-2: #334155;
    --muted: #475569;
    --bg: #ffffff;
    --card: #ffffff;
    --border: #e5e7eb;
    --ring: rgba(172, 7, 50, .15);
    --ok: #16a34a;
    --warn: #d97706;
    --bad: #ef4444;
    --white: #fff;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6
}

a {
    color: var(--primary);
    text-decoration: none
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.15rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: .2s ease;
    cursor: pointer
}

.btn.primary {
    background: var(--primary);
    color: #fff
}

.btn.primary:hover {
    filter: brightness(1.05)
}

.btn.secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--border)
}

.btn.secondary:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--ring)
}

.badge {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    padding: .3rem .55rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .775rem;
    color: var(--ink-2);
    background: #fff
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(6px);
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(2, 6, 23, .06)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem
}

.brand img {
    height: 34px
}

.brand h1 {
    font-size: 1.05rem;
    margin: 0;
    letter-spacing: .3px;
    color: var(--ink)
}

.nav a.link {
    color: var(--ink);
    opacity: .85;
    font-weight: 600
}

.nav .links {
    display: flex;
    gap: 1.2rem
}

/* Hero */
.hero {
    padding: 72px 0 24px;
    background:linear-gradient(180deg, rgba(255,255,255,.56), rgba(255,255,255,.58)),
    url('/img/background.png') center/cover no-repeat
}

.hero .wrap {
    display: grid;
    grid-template-columns:1.2fr .8fr;
    gap: 32px;
    align-items: center
}

.hero h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.1;
    margin: .25rem 0 1rem;
    letter-spacing: .2px
}

.hero p.lead {
    color: #334155;
    font-size: 1.12rem;
    max-width: 60ch
}

.hero-card {
    border: 1px solid var(--border);
    background: #fff;
    padding: 18px;
    border-radius: 18px
}

.hero-stats {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px
}

.stat {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: center;
    background: #fff
}

.stat .num {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary)
}

.sub {
    color: #64748b;
    font-size: .92rem
}

/* Logos */
.logos {
    border-top: 1px solid rgba(2, 6, 23, .06);
    border-bottom: 1px solid rgba(2, 6, 23, .06);
    padding: 18px 0;
    margin: 22px 0 10px;
    background: #fff
}

.logos .strip {
    display: grid;
    grid-template-columns:repeat(6, 1fr);
    gap: 16px;
    align-items: center;
    filter: grayscale(100%);
    opacity: .85
}

.logo {
    height: 28px;
    border: 1px dashed rgba(2, 6, 23, .06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: .78rem
}

/* Section */
.section {
    padding: 64px 0
}

.section h3 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin: 0 0 .5rem
}

.section p.note {
    color: #334155;
    margin-top: .2rem
}

.toggle {
    display: flex;
    align-items: center;
    gap: .8rem;
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff
}

.switch {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    cursor: pointer
}

.switch span {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fff;
    transition: .25s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .06)
}

.switch.active span {
    left: 26px;
    background: linear-gradient(180deg, var(--primary), #7a061f)
}

/* Pricing */
.pricing-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 18px
}

.plan {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column
}

.plan.popular {
    box-shadow: 0 0 0 1px var(--primary), 0 12px 26px rgba(172, 7, 50, .15)
}

.plan .title {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.plan .price {
    margin: 10px 0 16px
}

.plan .amount {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--ink)
}

.plan .per {
    color: #64748b
}

.feat {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: .45rem 0;
    color: #0f172a;
    font-size: .95rem
}

.feat svg {
    flex: 0 0 18px
}

.muted {
    color: #64748b
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(2, 6, 23, .08), transparent);
    margin: 16px 0
}

/* Compare */
.table-wrap {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    background: #fff
}

th, td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(2, 6, 23, .06);
    text-align: left
}

th {
    position: sticky;
    top: 0;
    background: #f8fafc
}

tr:hover td {
    background: #f9fafb
}

.yes {
    color: var(--ok);
    font-weight: 700
}

.no {
    color: #93a0c4
}

/* FAQ */
.faq {
    max-width: 900px;
    margin: 0 auto
}

.qa {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 18px;
    margin: 10px 0;
    background: #fff
}

.qa summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600
}

.qa summary::-webkit-details-marker {
    display: none
}

/* CTA/Footer */
.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    background: linear-gradient(180deg, #fff, #fff)
}

footer {
    padding: 28px 0;
    color: #64748b;
    border-top: 1px solid rgba(2, 6, 23, .06)
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .logos .strip {
        grid-template-columns:repeat(3, 1fr)
    }

    .hero .wrap {
        grid-template-columns:1fr
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns:1fr
    }

    .nav .links {
        display: none
    }

    .logos .strip {
        grid-template-columns:repeat(2, 1fr)
    }
}