/* ========================================
   ROOT VARIABLES & DEFAULTS
======================================== */

:root {
    --primary: #4169E1;
    --primary-dark: #3154c7;
    --primary-light: #e8f0ff;

    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-lighter: #94a3b8;

    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;

    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px rgba(65, 105, 225, 0.12);
    --shadow-lg: 0 16px 40px rgba(65, 105, 225, 0.16);

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
}

.btn-full {
    width: 100%;
    display: block;
    text-align: center;
}

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    text-align: center;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-secondary {
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-secondary a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.hero-secondary a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========================================
   STATS SECTION
======================================== */

.stats-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.stats-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.stats-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--primary-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ========================================
   SHARED SECTION HEADINGS
======================================== */

.premium-support h2,
.features-section h2,
.commission-section h2,
.strategies-section h2,
.faq-section h2,
.final-cta h2,
.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* ========================================
   PREMIUM SUPPORT SECTION
======================================== */

.premium-support {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========================================
   HOW IT WORKS SECTION
======================================== */

.how-it-works {
    padding: 80px 0;
    background: var(--bg-white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.step-item {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    flex: 1;
    min-width: 280px;
}

.step-item:hover {
    transform: translateY(-8px);
    background: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, #4169E1, #6b8ef2);
}

.step-icon svg {
    width: 40px;
    height: 40px;
}

.step-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.5;
    flex-shrink: 0;
}

/* ========================================
   FEATURES SECTION — 3+3 grid
======================================== */

.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3+3 */
    gap: 24px;
}

.feature-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-box:hover {
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

/* ========================================
   COMMISSION SECTION
======================================== */

.commission-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.commission-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.commission-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
}

.commission-table thead {
    background: var(--primary-light);
    border-bottom: 2px solid var(--primary);
}

.commission-table th {
    padding: 20px;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

/* Col 2 center, col 3 right */
.commission-table th:nth-child(2),
.commission-table td:nth-child(2) {
    text-align: center;
}

.commission-table th:nth-child(3),
.commission-table td:nth-child(3) {
    text-align: right;
}

.commission-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.commission-table tbody tr:hover {
    background: var(--bg-light);
}

.commission-table tbody tr:last-child td {
    border-bottom: none;
}

/* ========================================
   STRATEGIES SECTION
======================================== */

.strategies-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.strategy-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
}

.strategy-card:hover {
    box-shadow: var(--shadow-lg);
}

.strategy-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.strategy-card ul {
    list-style: none;
}

.strategy-card li {
    padding: 10px 0;
    padding-left: 24px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.strategy-card li:last-child {
    border-bottom: none;
}

.strategy-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   FAQ SECTION — matches site-wide style (index.css pattern)
======================================== */

.faq-section {
    padding: 90px 0;
    background: #f8fafc;
}

/* Two-column layout */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* LEFT: FAQ list */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.faq-item.active {
    border-color: rgba(65, 105, 225, 0.4);
    box-shadow: 0 2px 16px rgba(65, 105, 225, 0.07);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    transition: color 0.2s;
}

.faq-question span {
    flex: 1;
    line-height: 1.4;
}

.faq-plus-icon {
    width: 32px;
    height: 32px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #374151;
    transition: all 0.25s ease;
}

.faq-item.active .faq-plus-icon {
    background: #4169E1;
    border-color: #4169E1;
    color: #fff;
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    color: #4169E1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 24px 22px;
    font-size: 14px;
    line-height: 1.8;
    color: #64748b;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* RIGHT: Contact card */
.faq-contact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 44px 36px;
    text-align: center;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 24px rgba(65, 105, 225, 0.07);
}

.faq-contact-icon {
    width: 80px;
    height: 80px;
    background: #eef1fb;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: #4169E1;
}

.faq-contact-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.3;
}

.faq-contact-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 32px;
}

.faq-contact-btn {
    display: inline-block;
    background: #4169E1;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 28px;
    border-radius: 12px;
    text-decoration: none;
    width: 100%;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
    box-sizing: border-box;
}

.faq-contact-btn:hover {
    background: #3154c7;
    transform: translateY(-2px);
}

/* ========================================
   CONTACT INFO SECTION
======================================== */

.contact-info-section {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.contact-info-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 32px;
    background: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    flex-wrap: wrap;
}

.contact-info-phone {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 200px;
}

.phone-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.phone-icon svg {
    width: 28px;
    height: 28px;
}

.phone-details a {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.phone-details a:hover {
    color: var(--primary-dark);
}

.phone-details p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 3px;
}

.contact-info-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========================================
   FINAL CTA
======================================== */

.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: white;
}

.final-cta h2 {
    color: white;
    margin-bottom: 12px;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.final-cta .btn-primary {
    background: white;
    color: var(--primary);
}

.final-cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-contact-card {
        position: static;
        max-width: 480px;
    }
}

@media (max-width: 900px) {
    .features-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strategies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        display: none;
    }

    .premium-support,
    .how-it-works,
    .features-section,
    .commission-section,
    .strategies-section,
    .faq-section,
    .final-cta,
    .contact-info-section {
        padding: 60px 0;
    }

    .premium-support h2,
    .how-it-works h2,
    .features-section h2,
    .commission-section h2,
    .strategies-section h2,
    .faq-section h2,
    .final-cta h2 {
        font-size: 1.8rem;
    }

    .contact-info-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-info-buttons {
        width: 100%;
    }

    .contact-info-buttons .btn {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 60px 0;
    }

    .features-cards-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 20px 12px;
        border-radius: 16px;
    }

    .stat-number {
        font-size: 1.6rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .stat-label {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .stats-section {
        padding: 50px 0;
    }

    .stats-section h2 {
        font-size: 1.7rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Commission table — horizontal scroll on mobile */
    .commission-section .container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .commission-table {
        min-width: 480px;
    }

    .commission-table th,
    .commission-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }

    .contact-info-buttons {
        flex-direction: column;
    }

    .contact-info-buttons .btn {
        width: 100%;
    }

    /* Premium support 4-cards → 1 column */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* How-it-works steps full width */
    .step-item {
        min-width: unset;
        width: 100%;
        padding: 28px 20px;
    }

    /* Section headings */
    .premium-support h2,
    .how-it-works h2,
    .features-section h2,
    .commission-section h2,
    .strategies-section h2,
    .faq-section h2,
    .final-cta h2 {
        font-size: 1.6rem;
    }

    .faq-contact-card {
        padding: 28px 20px;
    }

    .faq-contact-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .features-cards-grid {
        grid-template-columns: 1fr;
    }

    .feature-box {
        padding: 24px 18px;
    }

    .feature-card {
        padding: 24px 18px;
    }

}

/* ========================================
   FOOTER OVERRIDE — affliate page only
   footer.css is loaded after affliate.css so
   !important is needed to override hardcoded colors
======================================== */
.footer {
    background: #000 !important;
}

.footer-column h3::after {
    background: #4169E1 !important;
}

.promo-btn {
    background: #4169E1 !important;
}

.promo-btn:hover {
    background: #3154c7 !important;
}