/*
Theme Name: Refer Empire Theme
Description: Custom landing page theme for the Refer Empire SaaS platform.
Author: Antigravity
Version: 1.1.0
*/

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

:root {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --text-light: #64748b;
    --card-bg: #ffffff;
    --primary: #10b981;
    --primary-hover: #059669;
    --secondary: #3b82f6;
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* NAVBAR */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
}

/* NAV LINKS */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* HERO SECTION */
.hero {
    padding: 80px 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.hero-content-left {
    flex: 1;
    text-align: left;
}

.hero-image-right {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.hero-image-right img,
.hero-image-right video {
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-image-right img:hover,
.hero-image-right video:hover {
    transform: translateY(-8px) scale(1.02);
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.hero-cta {
    font-size: 18px;
    padding: 14px 36px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
    display: inline-block;
}

.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* CARDS */
.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.card-img {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-benefits {
    list-style: none;
    padding: 0;
    margin: 10px 0 20px 0;
    font-size: 14px;
    color: var(--text-color);
}

.card-benefits li {
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.card-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.card-link {
    display: inline-block;
    margin-top: auto;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
}

.card-link:hover {
    text-decoration: underline;
    transform: translateX(3px);
}



/* STATS SECTION */
.stats-section {
    background: #0f172a;
    color: white;
    padding: 60px 20px;
    margin-top: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-box h2 {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-box p {
    color: #94a3b8;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* OFFERS SECTION */
.offers-section {
    padding: 100px 20px;
    background: var(--bg-color);
    max-width: 1200px;
    margin: 0 auto;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.dynamic-offer-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dynamic-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
    border-color: var(--primary);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.offer-badge {
    background: #ecfdf5;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.offer-reward {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.dynamic-offer-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.dynamic-offer-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* HOW IT WORKS */
.how-it-works {
    padding: 80px 20px;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.step-box {
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(16,185,129,0.3);
}

.step-box h3 {
    margin-bottom: 15px;
}

.step-box p {
    color: var(--text-light);
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FOOTER */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* ==========================================================================
   8. DASHBOARD STYLES
   ========================================================================== */
.dashboard-page {
    padding: 60px 20px;
    background: #f8fafc;
    min-height: calc(100vh - 100px);
}

.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-header h2 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 8px;
}

.dashboard-header p {
    color: #475569;
    font-size: 18px;
}

/* Summary Grid */
.dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.summary-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.summary-icon {
    font-size: 36px;
    background: #f1f5f9;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.summary-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.summary-value {
    font-size: 28px;
    color: #0f172a;
    margin: 0;
}

/* Referral Section */
.dashboard-referral-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.dashboard-referral-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.dashboard-referral-section p {
    color: #475569;
    margin-bottom: 25px;
}

.referral-box {
    display: flex;
    gap: 15px;
}

.referral-box input {
    flex: 1;
    padding: 15px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
}

.referral-box .btn-primary {
    white-space: nowrap;
    padding: 15px 30px;
}

/* Offers Section */
.dashboard-offers-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

/* Dashboard Navigation Tabs */
.dashboard-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

/* Dashboard Tab Content */
.dashboard-tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.dashboard-tab-content.active {
    display: block;
}

/* Section Box */
.dashboard-section-box {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.dashboard-section-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th, .dashboard-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.dashboard-table th {
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-pending { background: #fef3c7; color: #d97706; }
.status-approved { background: #d1fae5; color: #059669; }
.status-rejected { background: #fee2e2; color: #dc2626; }
.status-completed { background: #d1fae5; color: #059669; }

/* Settings Forms */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-msg {
    display: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}
.form-msg.success { background: #d1fae5; color: #059669; border: 1px solid #34d399; }
.form-msg.error { background: #fee2e2; color: #dc2626; border: 1px solid #f87171; }

/* ==========================================================================
   9. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1280px) {
    .feature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 30px;
    }
}

@media (max-width: 1024px) {
    .stats-grid, .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }
    .hero-content-left {
        text-align: center;
    }
    .hero-features-list {
        display: inline-block;
        text-align: left;
    }
    .hero-image-right {
        margin-top: 30px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .hero-image-right img,
    .hero-image-right video {
        max-width: 320px;
    }
    
    .feature-cards-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none; /* Hidden until toggled */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        z-index: 100;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .btn-primary {
        justify-content: center;
    }

    .dashboard-page {
        padding: 30px 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .dashboard-nav {
        padding-bottom: 10px;
    }

    .dashboard-section-box {
        padding: 20px;
    }

    .dashboard-header h2 {
        font-size: 26px;
    }

    .dashboard-summary-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .referral-box {
        flex-direction: column;
    }

    .referral-box input {
        width: 100%;
        text-align: center;
    }

    .referral-box .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    .stats-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .register-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* AUTHENTICATION PAGES */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px -15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
}

.auth-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.auth-card p {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s;
    background: #ffffff;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: white;
}

.w-full {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 16px;
    margin-top: 10px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: var(--text-light);
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.step-indicator {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.btn-group-step2 {
    display: flex;
    gap: 15px;
}

.btn-group-step2 button {
    flex: 1;
    padding: 14px;
    font-size: 16px;
    justify-content: center;
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.auth-msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.auth-msg.error {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.auth-msg.success {
    background: #ecfdf5;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

/* =========================================================================
   OFFER PAGES (Single & Listing)
   ========================================================================= */

/* Redesigned Offer Card (Image Support) */
.dynamic-offer-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dynamic-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.offer-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
}

.offer-image.placeholder {
    background-image: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.offer-badge {
    background: #eff6ff;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-reward {
    font-weight: 800;
    color: #10b981;
    font-size: 18px;
}

.dynamic-offer-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.dynamic-offer-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

/* Single Offer Page Container */
.offer-page-container {
    background-color: #f8fafc;
    min-height: 100vh;
}

/* Hero Banner */
.offer-header-banner {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.offer-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.1) 100%);
}

.offer-banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.offer-category-tag {
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.offer-title {
    font-size: 42px;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.offer-reward-tag {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Main Layout */
.offer-content-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Main Column Sections */
.offer-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.offer-section h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.offer-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Formatted Instructions */
.offer-instructions {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.offer-instructions p {
    margin-bottom: 15px;
}

.offer-terms-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.offer-terms-section h2 {
    font-size: 20px;
    color: #64748b;
    border-bottom-color: #e2e8f0;
}

.offer-terms p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Sidebar */
.offer-sidebar {
    position: sticky;
    top: 100px;
}

.offer-action-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.offer-action-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.offer-action-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.reward-amount-large {
    font-size: 48px;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 30px;
}

.btn-claim-large {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 18px 20px;
    font-size: 18px;
    margin-bottom: 15px;
    border-radius: 12px;
}

.offer-note {
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin-bottom: 0 !important;
}

/* Responsive */
@media (max-width: 992px) {
    .offer-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .offer-sidebar {
        position: static;
        order: -1; /* Move CTA to top on mobile */
    }
    
    .offer-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .offer-header-banner {
        height: 250px;
    }
    .offer-banner-content {
        padding: 20px;
    }
}

/* HOW IT WORKS PAGE STYLES */
.hiw-hero {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(30,58,138,0.05) 0%, rgba(16,185,129,0.05) 100%);
    text-align: center;
}

.hiw-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hiw-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hiw-hero-content p {
    font-size: 20px;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 30px;
}

.hiw-steps-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hiw-step {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: flex-start;
    gap: 30px;
    transition: transform 0.3s ease;
}

.hiw-step:hover {
    transform: translateY(-5px);
}

.hiw-step-number {
    background: linear-gradient(135deg, var(--primary), #059669);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(16,185,129,0.3);
}

.hiw-step-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.hiw-step-content p {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.9;
}

.hiw-faq-section {
    padding: 80px 20px;
    background: white;
}

.hiw-faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.hiw-faq-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
}

.hiw-faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.hiw-faq-item {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
}

.hiw-faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.hiw-faq-item p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
}

.hiw-cta-bottom {
    padding: 100px 20px;
    text-align: center;
    background: var(--secondary);
    color: white;
}

.hiw-cta-bottom h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hiw-hero-content h1 { font-size: 36px; }
    .hiw-hero { padding: 60px 20px; }
}

.hiw-step-content {
    flex: 1;
}

.hiw-feature-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.hiw-feature-list li {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hiw-step-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hiw-step-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

.hiw-step.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .hiw-step, .hiw-step.reverse { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        padding: 30px; 
    }
    .hiw-step-image {
        margin-top: 20px;
    }
    .hiw-feature-list li {
        justify-content: center;
    }
    .hiw-faq-grid { grid-template-columns: 1fr; }
}
/* REVIEWS SECTION */
.reviews-section {
    padding: 80px 20px;
    background: #f8fafc;
}

.reviews-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    margin-bottom: 15px;
    font-size: 18px;
}

.review-text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
}

.review-author span {
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* CORPORATE FOOTER STYLES */
.corporate-footer {
    background: #0f172a; /* Dark sleek background */
    color: #e2e8f0;
    padding: 80px 40px 30px 40px;
    font-family: inherit;
    text-align: left; /* Fix inherited centering */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo img {
    background: white; /* Contrast for logo on dark BG */
    padding: 2px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 25px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 15px;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links-list a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

.footer-newsletter button {
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 14px;
}

.footer-credit {
    font-style: italic;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .corporate-footer {
        padding: 60px 20px 20px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* MARKETING SLIDER */
.marketing-slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.marketing-slider {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.marketing-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.marketing-slider .slide.active {
    opacity: 1;
    z-index: 2;
}

.marketing-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marketing-slider .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    color: white;
    box-sizing: border-box;
}

.marketing-slider .slide-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.marketing-slider .slide-content p {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 600px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .marketing-slider {
        height: 250px;
    }
    .marketing-slider .slide-content {
        padding: 20px;
    }
    .marketing-slider .slide-content h2 {
        font-size: 22px;
    }
    .marketing-slider .slide-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .marketing-slider .slide-content .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* MOBILE BOTTOM NAVBAR */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 75px; /* Add space at the bottom of the page so content doesn't get hidden behind the nav */
    }
    
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
        padding: 12px 0 15px 0; /* Extra padding at bottom for modern phones with safe areas */
        z-index: 9999;
    }
    
    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #64748b;
        font-size: 11px;
        font-weight: 500;
        gap: 4px;
        transition: color 0.2s ease;
    }
    
    .mobile-bottom-nav .nav-item.active {
        color: var(--primary);
    }
    
    .mobile-bottom-nav .nav-item svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        stroke-width: 2;
        transition: transform 0.2s ease;
    }
    
    .mobile-bottom-nav .nav-item.active svg {
        transform: translateY(-2px);
    }
    
    /* Ensure the mobile bottom nav stays above the regular footer */
    .corporate-footer {
        padding-bottom: 100px;
    }
}

/* REQUEST WITHDRAWAL MODAL STYLES */
.re-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(15, 23, 42, 0.4); /* Dark background with opacity */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.re-modal-content {
    background-color: var(--card-bg, #ffffff);
    margin: auto;
    padding: 30px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: modalSlideUp 0.3s ease-out forwards;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.re-modal-close {
    color: var(--text-light, #64748b);
    position: absolute;
    right: 24px;
    top: 20px;
    font-size: 28px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.re-modal-close:hover,
.re-modal-close:focus {
    color: var(--text-color, #0f172a);
    text-decoration: none;
}

.re-modal h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.modal-balance-info {
    font-size: 14px;
    color: var(--text-light);
    background: #f0fdf4;
    color: #166534;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: inline-block;
    border: 1px solid #bbf7d0;
}

.re-modal .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.re-modal label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.re-modal input,
.re-modal select,
.re-modal textarea {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
    color: var(--text-color);
    width: 100%;
}

.re-modal input:focus,
.re-modal select:focus,
.re-modal textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.re-modal textarea {
    resize: vertical;
}

.re-modal .form-help-text {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.re-modal .form-msg {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.re-modal .form-msg.success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    display: block;
}

.re-modal .form-msg.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

.re-modal .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
}

/* Modal Open state display utility */
.re-modal.open {
    display: flex;
}

