﻿@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
    --blue: #1A56DB;
    --blue2: #2563EB;
    --blue-lt: #EFF6FF;
    --blue-md: #BFDBFE;
    --teal: #0D9488;
    --teal-lt: #F0FDFA;
    --navy: #0F172A;
    --slate: #1E293B;
    --body: #F8FAFF;
    --surf: #FFFFFF;
    --surf2: #F1F5FD;
    --bdr: #E2E8F6;
    --bdr2: #CBD5E8;
    --text: #0F172A;
    --sub: #475569;
    --muted: #64748B;
    --light: #94A3B8;
    --green: #059669;
    --green-lt: #ECFDF5;
    --orange: #D97706;
    --orange-lt: #FFFBEB;
    --red: #DC2626;
    --red-lt: #FEF2F2;
    --r: 12px;
    --rs: 8px;
    --xl: 20px;
    --sh: 0 1px 3px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.06);
    --sh-lg: 0 4px 6px rgba(15,23,42,.05), 0 16px 48px rgba(15,23,42,.12);
    --sh-blue: 0 4px 16px rgba(26,86,219,.25);
    --font: 'Plus Jakarta Sans', sans-serif;
    --serif: 'Instrument Serif', serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--body);
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
    font-size: 1.15rem;
}

p {
    color: var(--sub);
}

a {
    text-decoration: none;
    color: var(--blue);
    transition: color .2s;
}

    a:hover {
        color: var(--blue2);
    }

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 64px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--bdr);
    transition: box-shadow .3s;
}

    .navbar.scrolled {
        box-shadow: var(--sh);
    }

.nav-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.nav-logo {
    width: 34px;
    height: 34px;
    background: var(--blue2);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.nav-name {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.3px;
}

    .nav-name span {
        color: var(--blue2);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

    .nav-links a {
        color: var(--sub);
        font-size: .88rem;
        font-weight: 500;
        transition: color .2s;
    }

        .nav-links a:hover, .nav-links a.active {
            color: var(--blue2);
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.ham {
    display: none;
    background: none;
    border: 1px solid var(--bdr);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--bdr);
    padding: 1.25rem 5%;
    z-index: 998;
    flex-direction: column;
    gap: .75rem;
    box-shadow: var(--sh-lg);
}

    .mobile-nav.open {
        display: flex;
        animation: fadeDown .2s ease;
    }

    .mobile-nav a {
        color: var(--sub);
        font-size: .9rem;
        font-weight: 500;
        padding: .4rem 0;
        border-bottom: 1px solid var(--bdr);
    }

        .mobile-nav a:last-child {
            border-bottom: none;
        }

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--rs);
    font-family: var(--font);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-blue {
    background: var(--blue2);
    color: #fff;
    box-shadow: var(--sh-blue);
}

    .btn-blue:hover {
        background: var(--blue);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(26,86,219,.35);
        color: #fff;
    }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--bdr2);
    color: var(--text);
}

    .btn-outline:hover {
        border-color: var(--blue2);
        color: var(--blue2);
        background: var(--blue-lt);
    }

.btn-white {
    background: #fff;
    color: var(--blue2);
    border: none;
}

    .btn-white:hover {
        background: var(--blue-lt);
        transform: translateY(-1px);
        color: var(--blue2);
    }

.btn-ghost {
    background: transparent;
    color: var(--sub);
    padding: 10px 16px;
    border: none;
}

    .btn-ghost:hover {
        color: var(--blue2);
        background: var(--blue-lt);
        border-radius: var(--rs);
    }

.btn-sm {
    padding: 7px 16px;
    font-size: .82rem;
}

.btn-lg {
    padding: 13px 30px;
    font-size: .95rem;
    border-radius: var(--r);
}

.btn-full {
    width: 100%;
}

.btn-teal {
    background: var(--teal);
    color: #fff;
}

    .btn-teal:hover {
        background: #0f766e;
        color: #fff;
        transform: translateY(-1px);
    }

/* ── LAYOUT ── */
.section {
    padding: 88px 5%;
}

.section-sm {
    padding: 60px 5%;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

    .text-center .section-sub {
        margin: 0 auto;
    }

/* ── LABELS ── */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--blue-lt);
    border: 1px solid var(--blue-md);
    color: var(--blue2);
    padding: 5px 13px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 1rem;
}

.pill-dot {
    width: 6px;
    height: 6px;
    background: var(--blue2);
    border-radius: 50%;
}

.pill-green {
    background: var(--green-lt);
    border-color: #A7F3D0;
    color: var(--teal);
}

    .pill-green .pill-dot {
        background: var(--teal);
    }

.section-sub {
    color: var(--muted);
    font-size: 1rem;
    max-width: 540px;
    margin-top: .6rem;
    line-height: 1.7;
}

/* ── CARDS ── */
.card {
    background: var(--surf);
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    padding: 1.75rem;
    transition: all .22s;
}

    .card:hover {
        box-shadow: var(--sh-lg);
        border-color: var(--bdr2);
        transform: translateY(-3px);
    }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* ── FEATURE ICON ── */
.fi {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.fi-blue {
    background: var(--blue-lt);
}

.fi-teal {
    background: var(--teal-lt);
}

.fi-green {
    background: var(--green-lt);
}

.fi-orange {
    background: var(--orange-lt);
}

.fi-red {
    background: var(--red-lt);
}

/* ── PRICING CARDS ── */
.p-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.p-card {
    background: var(--surf);
    border: 1px solid var(--bdr);
    border-radius: var(--xl);
    padding: 1.5rem;
    position: relative;
    transition: all .22s;
    display: flex;
    flex-direction: column;
}

    .p-card:hover {
        box-shadow: var(--sh-lg);
        border-color: var(--bdr2);
        transform: translateY(-4px);
    }

    .p-card.pop {
        border: 2px solid var(--blue2);
        background: linear-gradient(160deg, rgba(37,99,235,.03) 0%, #fff 60%);
    }

        .p-card.pop::before {
            content: 'Most Popular';
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--blue2);
            color: #fff;
            font-size: .65rem;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 100px;
            letter-spacing: .5px;
            white-space: nowrap;
        }

.p-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 7px;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .9rem;
}

.p-tag-free {
    background: var(--teal-lt);
    color: var(--teal);
}

.p-tag-start {
    background: var(--blue-lt);
    color: var(--blue2);
}

.p-tag-std {
    background: var(--slate);
    color: #fff;
}

.p-tag-pack {
    background: var(--green-lt);
    color: var(--green);
}

.p-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

    .p-price sub {
        font-size: 1rem;
        font-weight: 500;
        color: var(--muted);
        vertical-align: bottom;
    }

.p-period {
    font-size: .78rem;
    color: var(--muted);
    margin-top: 4px;
    margin-bottom: 1rem;
}

.p-line {
    height: 1px;
    background: var(--bdr);
    margin: .9rem 0;
}

.p-feat {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    font-size: .84rem;
    color: var(--sub);
}

    .p-feat::before {
        content: '';
        width: 18px;
        height: 18px;
        border-radius: 50%;
        flex-shrink: 0;
        background: var(--green-lt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9l4 4 6-6' stroke='%23059669' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain;
    }

    .p-feat.no {
        color: var(--light);
    }

        .p-feat.no::before {
            background: var(--surf2);
            background-image: none;
        }

.p-card-btn {
    margin-top: auto;
    padding-top: 1.25rem;
}

/* ── STEPS ── */
.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--blue2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    font-family: var(--font);
    box-shadow: var(--sh-blue);
}

/* ── RESULT CARD (hero preview) ── */
.result-card {
    background: var(--surf);
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    padding: 1.25rem;
    box-shadow: var(--sh-lg);
}

.r-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem .8rem;
    border-radius: var(--rs);
    margin-bottom: 5px;
    transition: background .15s;
}

    .r-row:hover {
        background: var(--surf2);
    }

.r-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 800;
    flex-shrink: 0;
}

.rk-1 {
    background: #FEF9C3;
    color: #A16207;
}

.rk-2 {
    background: #F1F5F9;
    color: #475569;
}

.rk-3 {
    background: #FFF7ED;
    color: #9A3412;
}

.rk-n {
    background: var(--surf2);
    color: var(--muted);
}

.r-name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
}

.r-exp {
    font-size: .72rem;
    color: var(--muted);
}

.r-score {
    font-size: .95rem;
    font-weight: 800;
    line-height: 1;
}

.r-badge {
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
}

.rb-strong {
    background: var(--green-lt);
    color: var(--green);
}

.rb-good {
    background: var(--blue-lt);
    color: var(--blue2);
}

.rb-part {
    background: var(--orange-lt);
    color: var(--orange);
}

.rb-not {
    background: var(--red-lt);
    color: var(--red);
}

/* ── SCORE BAR ── */
.score-bar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.score-track {
    flex: 1;
    height: 4px;
    background: var(--bdr);
    border-radius: 100px;
    overflow: hidden;
    min-width: 40px;
}

.score-fill {
    height: 100%;
    border-radius: 100px;
}

/* ── BADGES ── */
.bdg {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 700;
}

.bdg-green {
    background: var(--green-lt);
    color: var(--green);
}

.bdg-blue {
    background: var(--blue-lt);
    color: var(--blue2);
}

.bdg-orange {
    background: var(--orange-lt);
    color: var(--orange);
}

.bdg-red {
    background: var(--red-lt);
    color: var(--red);
}

.bdg-gray {
    background: var(--surf2);
    color: var(--muted);
}

/* ── TRUST STRIP ── */
.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    color: var(--muted);
}

    .trust-item span {
        color: var(--green);
        font-size: .9rem;
    }

/* ── FORMS ── */
.form-box {
    background: var(--surf);
    border: 1px solid var(--bdr);
    border-radius: var(--xl);
    padding: 2.25rem;
    max-width: 460px;
    margin: 0 auto;
    box-shadow: var(--sh);
}

.fgrp {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

    label .req {
        color: var(--red);
        margin-left: 2px;
    }

input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select, textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--bdr);
    border-radius: var(--rs);
    font-family: var(--font);
    font-size: .88rem;
    color: var(--text);
    background: var(--surf2);
    outline: none;
    transition: all .2s;
}

input::placeholder {
    color: var(--light);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--blue2);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}

select option {
    background: #fff;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
}

.fhint {
    font-size: .73rem;
    color: var(--muted);
    margin-top: 4px;
}

.ferr {
    font-size: .73rem;
    color: var(--red);
    margin-top: 4px;
    display: none;
}

.pw-wrap {
    position: relative;
}

    .pw-wrap input {
        padding-right: 42px;
    }

.pw-eye {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: .95rem;
    padding: 0;
    transition: color .2s;
}

    .pw-eye:hover {
        color: var(--blue2);
    }

.chk-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .82rem;
    color: var(--sub);
}

    .chk-row input[type=checkbox] {
        width: 15px;
        height: 15px;
        margin-top: 2px;
        accent-color: var(--blue2);
        flex-shrink: 0;
    }

.divider-line {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.1rem 0;
}

    .divider-line::before, .divider-line::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--bdr);
    }

    .divider-line span {
        font-size: .75rem;
        color: var(--muted);
        white-space: nowrap;
    }

/* ── DETAILS/FAQ ── */
details {
    background: var(--surf);
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    transition: all .2s;
}

    details:hover {
        border-color: var(--blue2);
    }

    details[open] {
        border-color: var(--blue2);
    }

summary {
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .92rem;
}

    summary::after {
        content: '+';
        color: var(--blue2);
        font-size: 1.1rem;
        flex-shrink: 0;
        transition: transform .2s;
    }

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    margin-top: .75rem;
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    padding: 56px 5% 28px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.foot-brand p {
    color: #64748B;
    font-size: .85rem;
    margin-top: .6rem;
    max-width: 240px;
    line-height: 1.7;
}

.foot-col h4 {
    font-family: var(--font);
    font-size: .82rem;
    font-weight: 700;
    color: #CBD5E1;
    margin-bottom: .9rem;
    letter-spacing: .2px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.foot-col a {
    display: block;
    color: #64748B;
    font-size: .84rem;
    margin-bottom: .55rem;
    transition: color .2s;
}

    .foot-col a:hover {
        color: #fff;
    }

.foot-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
}

    .foot-bottom p {
        color: #475569;
        font-size: .8rem;
    }

/* ── ANIMATIONS ── */
.anim {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease, transform .55s ease;
}

    .anim.vis {
        opacity: 1;
        transform: translateY(0);
    }

.anim-delay-1 {
    transition-delay: .1s;
}

.anim-delay-2 {
    transition-delay: .2s;
}

.anim-delay-3 {
    transition-delay: .3s;
}

/* ── TOAST ── */
#toast-wrap {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.toast {
    padding: 11px 17px;
    border-radius: var(--r);
    font-size: .83rem;
    font-weight: 500;
    box-shadow: var(--sh-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: toastIn .28s ease;
    background: var(--navy);
    color: #fff;
    max-width: 280px;
}

    .toast.ok {
        border-left: 3px solid var(--green);
    }

    .toast.er {
        border-left: 3px solid var(--red);
    }

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ── RESPONSIVE ── */
@media(max-width:960px) {
    .nav-links {
        display: none;
    }

    .ham {
        display: flex;
    }

    .p-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:640px) {
    .section {
        padding: 60px 5%;
    }

    .p-grid, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-actions .btn-outline {
        display: none;
    }
}

.p-grid::after {
    content: "";
    display: block;
    clear: both;
}
