@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --color-primary:    #101827;
    --color-accent:     #F2BA00;
    --color-white:      #FFFFFF;
    --color-grey-light: #F5F6F8;
    --color-grey-mid:   #E8EAED;
    --color-text-muted: #6B7280;
    --color-text:       #1F2937;
    --radius:           12px;
    --radius-sm:        8px;
    --font:             'Manrope', sans-serif;
    --nav-height:       72px;
    --max-width:        1200px;
    --section-padding:  80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.section-heading {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subheading {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 580px;
    margin: 0 auto 48px;
}

.text-center {
    text-align: center;
}

.section-disclaimer {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.section-disclaimer a {
    color: var(--color-text-muted);
    text-decoration: underline;
}

.section-disclaimer a:hover {
    color: var(--color-primary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: #d9a800;
    border-color: #d9a800;
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-white);
}

.btn-dark {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-dark:hover {
    background: #1a2a3e;
    border-color: #1a2a3e;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-primary);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.nav-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 160px;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 16px;
}

.nav-menu .btn {
    flex: 0 0 150px;
    width: 150px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--color-white);
    background: rgba(255,255,255,0.08);
}

/* Hamburger */
.nav-toggle {
    display: none;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.nav-hamburger:hover {
    background: rgba(255,255,255,0.08);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16,24,39,0.88) 0%, rgba(16,24,39,0.65) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 80px;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
    font-size: clamp(32px, 5.5vw, 58px);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    color: #a8c5ff;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.78);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    flex: 0 0 180px;
    width: 180px;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.feature-card {
    background: var(--color-grey-light);
    border-radius: var(--radius);
    padding: 24px 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--color-grey-mid);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16,24,39,0.10);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-white);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.features-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* ============================================================
   BANNER / SPLIT
   ============================================================ */
.banner-split {
    background: var(--color-primary);
    padding: 72px 0;
}

.banner-split .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}

.banner-content h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.banner-content h2 span {
    color: #a8c5ff;
}

.banner-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto;
}

.banner-cta {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    background: var(--color-grey-light);
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-grey-mid);
}

.step-number-wrap {
    width: 52px;
    height: 52px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 800;
    border: 3px solid var(--color-grey-light);
    flex-shrink: 0;
}


.step-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    background: var(--color-white);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-grey-mid);
}

.faq-item input[type="checkbox"] {
    display: none;
}

.faq-item label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.2s;
    user-select: none;
}

.faq-item label:hover {
    color: #2563eb;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.3s;
    color: var(--color-primary);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    padding: 0 4px 12px;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.faq-answer ul {
    list-style: disc;
    padding: 0 4px 12px 20px;
}

.faq-answer ul li {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 6px;
}

.faq-answer ul li strong {
    color: var(--color-text);
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
    max-height: 300px;
}

.faq-item input[type="checkbox"]:checked ~ label .faq-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(180deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo,
.footer-logo img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
}

.footer-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 160px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 20px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.75);
    transition: background 0.2s, color 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social a:hover {
    background: rgba(255,255,255,0.16);
    color: var(--color-white);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.8);
}

/* ============================================================
   TERMS PAGE
   ============================================================ */
.terms-page {
    background: var(--color-grey-light);
    min-height: calc(100vh - var(--nav-height));
    padding: 60px 0 80px;
}

.terms-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 48px 56px;
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--color-grey-mid);
}

.terms-card h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.terms-card .last-updated {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-grey-mid);
}

.terms-card h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 32px 0 12px;
}

.terms-card p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.terms-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}

.terms-card ul li {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 6px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.7;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px;
    }

    /* Nav mobile */
    .nav-hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px 24px;
        gap: 4px;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-right: 0;
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-menu .btn {
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }

    .nav-toggle:checked ~ .nav-hamburger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked ~ .nav-hamburger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .nav-hamburger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Sections */
    .features-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }


    .steps-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .step-card {
        padding: 20px 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .terms-card {
        padding: 32px 24px;
    }
}
