/* CSS Reset & Variables */
:root {
    --primary-color: #CE3E00;
    /* Scapia Orange */
    --primary-hover: #B33600;
    --accent-color: #A3E635;
    /* Scapia Green */
    --bg-dark: #0A0A0A;
    /* Deep Black/Grey */
    --bg-light: #FFFFFF;
    --bg-soft: #F5F5F7;
    --text-on-dark: #FFFFFF;
    --text-muted-on-dark: #A1A1AA;
    --text-on-light: #000000;
    --text-muted-on-light: #52525B;
    --radius: 20px;
    --container-max: 1200px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    color: var(--text-on-light);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Sections Utility */
.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
}

.bg-light {
    background-color: var(--bg-light);
    color: var(--text-on-light);
}

.center-btn {
    text-align: center;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Header */
#main-header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    /* Or white if preferred, but primary pops on dark */
}

#nav-menu ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

#nav-menu a {
    color: #E4E4E7;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

#nav-menu a:hover {
    color: var(--primary-color);
}

#mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

#mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: 0.3s;
}

/* Hero Section (Dark Theme) */
.hero {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding-top: 160px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(163, 230, 53, 0.15);
    /* Accent Green tint */
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.sub-hero {
    font-size: 1.25rem;
    color: var(--text-muted-on-dark);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-micro {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted-on-dark);
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Referral Box (Floating on Dark/Light boundary) */
.referral-box-section {
    position: relative;
    margin-top: -50px;
    z-index: 10;
    padding-bottom: 80px;
}

.referral-card {
    background: white;
    color: var(--text-on-light);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #E4E4E7;
}

.code-display {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
}

#referral-code {
    background: #FFF7ED;
    /* Light orange tint */
    color: var(--primary-color);
    font-family: 'Inter', monospace;
    font-size: 2rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    border: 2px dashed rgba(206, 62, 0, 0.2);
    letter-spacing: 1px;
}

#copy-btn {
    background: var(--bg-dark);
    color: white;
    border: none;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#copy-btn:hover {
    background: #333;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    color: var(--text-muted-on-light);
    font-size: 0.95rem;
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.check-icon {
    color: var(--accent-color);
    font-weight: bold;
}

/* Benefits Section (Light) */
.benefits {
    padding: 80px 0;
    background: var(--bg-soft);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted-on-light);
    font-size: 1.1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: #FFF7ED;
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--text-muted-on-light);
}

/* How to Apply (Dark) */
.how-to {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 100px 0;
}

.how-to .section-title p {
    color: var(--text-muted-on-dark);
}

.steps-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted-on-dark);
}

.step-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(206, 62, 0, 0.3);
}

/* Review Section (Light) */
.review-section {
    padding: 100px 0;
}

.review-content {
    background: white;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid #E4E4E7;
}

.review-content ul {
    margin: 24px 0;
    padding-left: 20px;
}

.review-content li {
    margin-bottom: 12px;
    color: var(--text-muted-on-light);
}

.who-should {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.review-highlights {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.review-highlights li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.review-highlights strong {
    color: var(--text-on-light);
}

.review-key {
    color: var(--primary-color) !important;
}

.highlight-icon {
    color: var(--accent-color);
    /* Scapia Green */
    font-weight: 800;
    font-size: 1.1em;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-disclaimer-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
    font-size: 0.85rem;
    color: #A1A1AA;
    text-align: left;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer-box strong {
    color: white;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Blog Styles */
/* Blog Styles */
.blog-post {
    padding-top: 140px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* Home Blog Grid */
.blog-preview-section {
    background: #FAFAFA;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.blog-card-preview {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-preview:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.blog-card-preview h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #111827;
}

.blog-card-preview p {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.5;
}

.view-all-link {
    text-align: center;
    margin-top: 32px;
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.view-all-link:hover {
    text-decoration: underline;
}

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

.blog-header {
    text-align: center;
    margin-bottom: 48px;
}

.blog-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--text-on-light);
}

.blog-meta {
    color: var(--text-muted-on-light);
    font-size: 0.95rem;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.blog-content h2 {
    font-size: 1.8rem;
    color: #111827;
    margin-top: 48px;
    margin-bottom: 24px;
}

.blog-content h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-top: 32px;
    margin-bottom: 16px;
}

.blog-content p {
    margin-bottom: 24px;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 12px;
}

.blog-cta-box {
    background: #FFF7ED;
    border: 1px solid #FFEDD5;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin: 48px 0;
}

.internal-links {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #E5E7EB;
}

.internal-links h3 {
    margin-bottom: 20px;
}

.internal-links ul {
    list-style: none;
    padding: 0;
}

.internal-links li {
    margin-bottom: 12px;
}

.internal-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.internal-links a:hover {
    text-decoration: underline;
}

.who-card {
    padding: 32px;
    border-radius: 20px;
}

.who-card.yes {
    background: #F0FDF4;
    /* Light green tint */
    border: 1px solid #DCFCE7;
}

.who-card.no {
    background: #FEF2F2;
    /* Light red tint */
    border: 1px solid #FEE2E2;
}

.who-card h4 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.who-card.yes h4 {
    color: #15803D;
}

.who-card.no h4 {
    color: #B91C1C;
}

/* FAQs (Dark) */
.faqs {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 100px 0;
    border-top: 1px solid #27272A;
}

.faq-item {
    border-bottom: 1px solid #27272A;
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

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

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted-on-dark);
    line-height: 1.7;
}

.arrow {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Sufficient height for text */
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: black;
    color: #71717A;
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #27272A;
}

.footer-logo {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 16px;
    display: block;
}

.disclaimer-banner {
    background: #FFF7ED;
    color: #9A3412;
    padding: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Mobile Sticky */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 1001;
    display: none;
}

.sticky-cta .btn {
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: black;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    bottom: 40px;
}

@media (max-width: 768px) {
    #nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 24px;
        display: none;
        border-bottom: 1px solid #27272A;
    }

    #nav-menu.open {
        display: block;
    }

    #nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .header-container .btn {
        display: none;
    }

    #mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .sticky-cta {
        display: block;
        transform: translateY(100px);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .sticky-cta.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .who-should {
        grid-template-columns: 1fr;
    }

    .referral-card {
        padding: 24px;
    }

    .code-display {
        flex-direction: column;
    }
}