/**
 * Helius - Website Specific Styles
 * Public-facing website pages
 * ================================
 */

/* ============================================================================
   SCROLL ANIMATIONS
   ============================================================================ */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fallback: ensure content visible after page loads even if JS animation fails */
body.loaded [data-animate] {
    animation: fadeInFallback 0.8s ease forwards;
    animation-delay: 0.3s;
}

body.loaded [data-animate].visible {
    animation: none;
}

@keyframes fadeInFallback {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   TOPBAR
   ============================================================================ */

.topbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    font-size: var(--fs-sm);
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.topbar-item i {
    color: var(--gold-primary);
}

.topbar-item a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.topbar-item a:hover {
    color: var(--gold-primary);
}

.topbar-live {
    color: var(--success);
}

.topbar-live .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.topbar-link {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    transition: color var(--transition-fast);
}

.topbar-link:hover {
    color: var(--gold-primary);
}

.topbar-divider {
    color: var(--text-muted);
    margin: 0 0.25rem;
}

.topbar-auth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-social {
    display: flex;
    gap: 0.75rem;
}

.topbar-social a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.topbar-social a:hover {
    color: var(--gold-primary);
}

/* Topbar Responsive */
@media (max-width: 767px) {
    .topbar-left {
        display: none;
    }
    
    .topbar-right {
        width: 100%;
        justify-content: flex-end;
    }
    
    .topbar-auth {
        font-size: var(--fs-xs);
    }
}

@media (max-width: 480px) {
    .topbar {
        padding: 0.375rem 0;
    }
    
    .topbar-live span:not(.live-dot) {
        display: none;
    }
}

/* ============================================================================
   NAVBAR
   ============================================================================ */

.navbar {
    background: var(--bg-primary);
    border-bottom: 2px solid var(--gold-primary);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15), 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 0; /* Removed to allow hero/page-banner to handle spacing */
}

/* Spacing after navbar for content sections */
.hero,
.hero-section,
.page-banner {
    margin-top: 0;
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.2), 0 2px 10px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-logo .logo-icon {
    width: 44px;
    height: 44px;
    display: block;
}

.navbar-logo .logo-text-embossed {
    font-size: 1.65rem;
}

/* Desktop Nav Links - Override Bootstrap defaults */
.navbar .navbar-content .navbar-nav,
.navbar .navbar-nav,
div.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
}

.navbar .navbar-content .navbar-nav .navbar-link,
.navbar .navbar-nav .navbar-link,
a.navbar-link {
    display: inline-flex !important;
    align-items: center;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    white-space: nowrap;
}

.navbar-link:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.navbar-link.active {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
}

/* Right Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.navbar-actions .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Theme Toggle */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.theme-toggle-btn:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

/* Hamburger Toggle */
.navbar-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.navbar-mobile-toggle:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.navbar-toggle-icon {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold-primary);
    position: relative;
    transition: all var(--transition-fast);
}

.navbar-toggle-icon::before,
.navbar-toggle-icon::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold-primary);
    position: absolute;
    left: 0;
    transition: all var(--transition-fast);
}

.navbar-toggle-icon::before {
    top: -6px;
}

.navbar-toggle-icon::after {
    top: 6px;
}

/* Responsive: Tablet */
@media (max-width: 1199px) {
    .navbar-nav {
        gap: 0.25rem;
    }
    .navbar-link {
        padding: 0.5rem 0.65rem;
        font-size: 0.85rem;
    }
}

/* Desktop: Ensure horizontal layout above mobile breakpoint */
@media (min-width: 992px) {
    .navbar .navbar-nav,
    div.navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar-mobile-toggle {
        display: none !important;
    }
}

/* Responsive: Mobile */
@media (max-width: 991px) {
    .navbar > .container {
        padding: 0 1rem;
    }
    
    .navbar-content {
        gap: 1rem;
    }
    
    .navbar .navbar-content .navbar-nav,
    .navbar .navbar-nav,
    div.navbar-nav,
    .navbar-nav {
        display: none !important;
    }
    
    .navbar-actions .btn {
        display: none !important;
    }
    
    .navbar-actions .theme-toggle-btn {
        display: flex !important;
    }
    
    .navbar-mobile-toggle {
        display: flex !important;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar-logo .logo-icon {
        width: 34px;
        height: 34px;
    }
    
    .navbar-logo .logo-text-embossed {
        font-size: 1.25rem;
    }
    
    .theme-toggle-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .navbar-mobile-toggle {
        width: 38px;
        height: 38px;
    }
}

/* ============================================================================
   MOBILE MENU
   ============================================================================ */

.navbar-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.navbar-mobile-menu.active {
    transform: translateX(0);
}

.navbar-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.navbar-mobile-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-mobile-nav {
    padding: 1rem 0;
}

.navbar-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.navbar-mobile-link:hover,
.navbar-mobile-link.active {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    border-left-color: var(--gold-primary);
}

.navbar-mobile-link i {
    width: 20px;
    text-align: center;
}

.navbar-mobile-footer {
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.navbar-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.navbar-mobile-cta .btn {
    width: 100%;
    justify-content: center;
}

.navbar-mobile-theme {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.navbar-mobile-theme .theme-toggle-btn {
    width: 40px;
    height: 40px;
}

/* Mobile Menu Overlay */
.navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.navbar-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 6rem;
    margin-top: 1rem;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-xl);
    color: var(--gold-primary);
    font-size: var(--fs-sm);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-title .highlight {
    color: var(--gold-primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.6s ease 0.6s backwards;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

.hero-stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* ============================================================================
   FEATURES SECTION
   ============================================================================ */

.features-section,
.features {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
}

.section-description {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--gold-primary);
    transition: all var(--transition-normal);
}

/* Colorful feature icons for variety */
.feature-card:nth-child(1) .feature-icon { background: var(--accent-cyan-light); color: var(--accent-cyan); }
.feature-card:nth-child(2) .feature-icon { background: var(--accent-emerald-light); color: var(--accent-emerald); }
.feature-card:nth-child(3) .feature-icon { background: rgba(212, 175, 55, 0.15); color: var(--gold-primary); }
.feature-card:nth-child(4) .feature-icon { background: var(--accent-purple-light); color: var(--accent-purple); }
.feature-card:nth-child(5) .feature-icon { background: var(--accent-blue-light); color: var(--accent-blue); }
.feature-card:nth-child(6) .feature-icon { background: var(--accent-rose-light); color: var(--accent-rose); }

.feature-card:nth-child(1):hover { border-color: var(--accent-cyan); }
.feature-card:nth-child(2):hover { border-color: var(--accent-emerald); }
.feature-card:nth-child(4):hover { border-color: var(--accent-purple); }
.feature-card:nth-child(5):hover { border-color: var(--accent-blue); }
.feature-card:nth-child(6):hover { border-color: var(--accent-rose); }

.feature-card:nth-child(1)::before { background: var(--accent-cyan); }
.feature-card:nth-child(2)::before { background: var(--accent-emerald); }
.feature-card:nth-child(3)::before { background: var(--gold-primary); }
.feature-card:nth-child(4)::before { background: var(--accent-purple); }
.feature-card:nth-child(5)::before { background: var(--accent-blue); }
.feature-card:nth-child(6)::before { background: var(--accent-rose); }

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.75rem;
}

.feature-desc,
.feature-description {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================================================
   PLANS SECTION
   ============================================================================ */

.plans-section,
.plans-preview {
    padding: 5rem 0;
    background: var(--bg-primary);
}

/* --- Plans Table (index.php) --- */

.plans-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

.plans-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

.plans-table thead {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.06) 100%);
}

.plans-table thead th {
    padding: 1rem 1.25rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-primary);
    text-align: left;
    border-bottom: 2px solid rgba(212, 175, 55, 0.25);
}

.plans-table tbody tr {
    transition: background var(--transition-fast);
}

.plans-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.plans-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--border-color);
}

.plans-table tbody td {
    padding: 0.9rem 1.25rem;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    text-align: left;
    vertical-align: middle;
}

.plan-amount-label {
    font-weight: 700;
    font-size: var(--fs-base);
    color: var(--text-primary);
}

.plan-return-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: var(--success-light);
    color: var(--success);
    font-weight: 600;
    font-size: var(--fs-sm);
    border-radius: var(--radius-xl);
}

.plan-sponsor-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: var(--accent-cyan-light);
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: var(--fs-sm);
    border-radius: var(--radius-xl);
}

.plan-pool-value {
    font-weight: 700;
    color: var(--gold-primary);
}

.plan-pool-na {
    color: var(--text-muted);
}

.plan-row-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.plan-row-highlight .plan-amount-label {
    color: var(--gold-primary);
}

.plans-table-note {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-top: 1.25rem;
    padding: 0 1rem;
}

.plans-table-note i {
    color: var(--gold-primary);
    margin-right: 0.35rem;
}

/* Plans Table - Mobile stacked layout */
@media (max-width: 640px) {
    .plans-table-wrapper {
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .plans-table thead {
        display: none;
    }

    .plans-table tbody {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .plans-table tbody tr {
        display: block;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 0;
        overflow: hidden;
    }

    .plans-table tbody tr:hover {
        border-color: var(--gold-primary);
        box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15);
    }

    .plans-table tbody tr:not(:last-child) td {
        border-bottom: 1px solid var(--border-color);
    }

    .plans-table tbody tr td:last-child {
        border-bottom: none;
    }

    .plans-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.7rem 1rem;
    }

    .plans-table tbody td::before {
        content: attr(data-label);
        font-size: var(--fs-xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-muted);
    }

    .plan-row-highlight {
        border-color: rgba(212, 175, 55, 0.35) !important;
        box-shadow: var(--shadow-gold) !important;
    }
}

/* --- Level Income Cards --- */

.level-income-preview {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.level-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.level-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.level-card-title {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.6rem;
}

.level-card-percent {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.level-card-note {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* --- Operational Guidelines Cards --- */

.operational-rules {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: all var(--transition-normal);
}

.rule-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.rule-card h4 {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.rule-card h4 i {
    color: var(--gold-primary);
}

.rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rule-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    gap: 0.5rem;
}

.rule-list li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.rule-list li strong {
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}

.rule-list li span {
    text-align: right;
    color: var(--text-secondary);
}

/* --- Plan cards (plans.php) --- */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.plan-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-card.featured {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.plan-card.featured::before {
    transform: scaleX(1);
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--gold-primary);
    color: #000;
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--radius-xl);
}

.plan-name {
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-header {
    margin-bottom: 1rem;
}

.plan-popular {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: #000;
    padding: 0.35rem 1.25rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-price {
    margin-bottom: 0.5rem;
}

.price-range {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.plan-return {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
}

.return-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1.2;
}

.return-period {
    display: block;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--gold-primary);
}

/* ============================================================================
   INCOME STREAMS SECTION
   ============================================================================ */

.income-section,
.income-preview {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.income-grid,
.income-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .income-grid,
    .income-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .income-grid,
    .income-cards {
        grid-template-columns: 1fr;
    }
}

.income-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--transition-normal);
}

.income-card:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

/* Ensure income-preview cards always show their content */
.income-preview .income-card .income-content {
    display: block;
    flex: 1;
}

.income-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.income-content {
    flex: 1;
}

.income-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    font-size: 1.25rem;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.income-card:hover .income-icon {
    background: var(--gold-primary);
    color: #000;
    transform: scale(1.1);
}

.income-content h4 {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.income-content p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.income-rate {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.income-title {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.income-desc {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================================================
   HOW IT WORKS SECTION
   ============================================================================ */

.how-section,
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.steps-container,
.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    gap: 1rem;
}

.steps-container::before,
.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: var(--border-color);
}

@media (max-width: 767px) {
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .steps-container::before {
        display: none;
    }
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-full);
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.step-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    max-width: 200px;
    margin: 0 auto;
}

.step-item,
.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-content {
    margin-top: 1rem;
}

.step-content h4 {
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.25rem;
    padding-top: 30px;
}

@media (max-width: 767px) {
    .steps-container,
    .steps {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .steps-container::before,
    .steps::before {
        display: none;
    }
    
    .step-connector {
        transform: rotate(90deg);
        padding: 0;
    }
}

/* ============================================================================
   TESTIMONIALS SECTION
   ============================================================================ */

.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.testimonial-content {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, var(--bg-primary) 50%, rgba(212, 175, 55, 0.1) 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-text {
    margin-bottom: 2rem;
}

.cta-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-text p {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons,
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 575px) {
    .cta-buttons,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn,
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #000;
}

.footer-title {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.footer-contact-item i {
    color: var(--gold-primary);
    margin-top: 0.25rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--gold-primary);
}

/* ============================================================================
   ABOUT PAGE
   ============================================================================ */

.page-header {
    padding: 4rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 4rem 0;
}

.about-text {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 767px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    color: var(--gold-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-text {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: 0;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* ============================================================================
   NEWS / ANNOUNCEMENTS
   ============================================================================ */

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.news-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-body {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.75rem;
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: 1rem;
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */

.faq-section {
    padding: 4rem 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question h5 {
    margin-bottom: 0;
    font-weight: 500;
}

.faq-question i {
    color: var(--gold-primary);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* ============================================================================
   SCROLL TO TOP
   ============================================================================ */

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-primary);
    color: #000;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-gold);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
}

/* ============================================================================
   ENHANCED PAGE BANNER / BREADCRUMB SECTION
   ============================================================================ */

.page-banner {
    position: relative;
    padding: 4rem 0 3rem;
    background: var(--bg-secondary);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, var(--accent-cyan-light) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner .page-title {
    font-size: var(--fs-4xl);
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.breadcrumb-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
    color: var(--gold-primary);
}

.breadcrumb-nav span {
    color: var(--text-muted);
}

.breadcrumb-nav .current {
    color: var(--gold-primary);
}

/* ============================================================================
   ENHANCED HERO SECTION WITH IMAGES
   ============================================================================ */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 3rem 0 5rem;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: heroGlowPulse 8s ease-in-out infinite;
}

.hero-glow-secondary {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-cyan-light) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: heroGlowPulse 10s ease-in-out infinite reverse;
}

@keyframes heroGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-xl);
    color: var(--gold-primary);
    font-size: var(--fs-sm);
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-description {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.hero-feature i {
    color: var(--success);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero Visual Section */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Hero Cards */
.hero-card {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.hero-card-main {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.hero-card-badge {
    padding: 0.25rem 0.75rem;
    background: var(--success-light);
    color: var(--success);
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--radius-md);
}

.hero-card-network {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.hero-card-body {
    padding: 1.5rem 1.25rem;
}

.hero-wallet-balance {
    margin-bottom: 1rem;
}

.hero-wallet-label {
    display: block;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.hero-wallet-amount {
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.hero-wallet-chart {
    margin: 1rem 0;
    height: 60px;
}

.hero-chart {
    width: 100%;
    height: 100%;
}

.hero-wallet-growth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.growth-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success-light);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
}

.growth-value {
    font-weight: 600;
    color: var(--success);
}

.growth-period {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* Floating Elements */
.hero-float {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    animation: floatElement 4s ease-in-out infinite;
}

.hero-float-1 {
    top: 10%;
    right: 5%;
    color: #F7931A; /* Bitcoin orange */
    animation-delay: 0s;
}

.hero-float-2 {
    top: 40%;
    right: -5%;
    color: #627EEA; /* Ethereum */
    animation-delay: 1s;
}

.hero-float-3 {
    bottom: 20%;
    left: 0;
    color: var(--gold-primary);
    animation-delay: 2s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Hero Stats Bar */
.hero-stats-bar {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.hero-stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border-color);
}

.hero-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    color: var(--gold-primary);
    font-size: 1.25rem;
}

.hero-stat-value {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ============================================================================
   ENHANCED FOOTER WITH ANIMATIONS
   ============================================================================ */

.footer {
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.footer-top {
    padding: 5rem 0 3rem;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
}

.footer-logo .logo-text-embossed {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--gold-primary);
}

.footer-description {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 1.125rem;
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #000;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-title {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 15px;
}

/* Newsletter Section */
.footer-newsletter {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.footer-newsletter h6 {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--fs-sm);
    transition: all var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gold-primary);
    border: none;
    border-radius: var(--radius-md);
    color: #000;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--gold-light);
    transform: scale(1.05);
}

/* Footer Contact */
.footer-contact {
    margin-bottom: 1rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.contact-list li i {
    color: var(--gold-primary);
    margin-top: 0.2rem;
    width: 20px;
}

.contact-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-list a:hover {
    color: var(--gold-primary);
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--gold-primary);
}

/* ============================================================================
   INTERNAL PAGES ENHANCED STYLING
   ============================================================================ */

/* Section Styling */
.section-modern {
    padding: 5rem 0;
    position: relative;
}

.section-modern.bg-gradient {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section-modern.bg-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, var(--accent-purple-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, var(--accent-cyan-light) 0%, transparent 50%);
}

/* Enhanced Cards */
.card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--accent-cyan));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card-modern:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.card-modern:hover::before {
    opacity: 1;
}

/* Glass Card Effect */
.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
}

/* Accent Cards */
.card-accent-cyan {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-cyan);
}

.card-accent-purple {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-purple);
}

/* Plans Page Enhancements */
.plans-overview {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-color);
    transition: background var(--transition-normal);
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.plan-card:hover::before {
    background: var(--gold-primary);
}

.plan-card.featured {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.plan-card.featured::before {
    background: var(--gold-gradient);
}

.plan-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent-cyan-light);
    color: var(--accent-cyan);
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--radius-md);
}

.plan-card.featured .plan-badge {
    background: var(--gold-primary);
    color: #000;
}

/* Investment Details Section */
.investment-details {
    background: var(--bg-primary);
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-normal);
}

.detail-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.detail-card h4 {
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-card h4 i {
    color: var(--gold-primary);
    font-size: 1.25rem;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--fs-sm);
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.detail-list li span {
    color: var(--gold-primary);
    font-weight: 500;
}

/* ROI Calculator Section */
.calculator-section {
    background: var(--bg-secondary);
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.calculator-card .form-label {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.calculator-card .form-control,
.calculator-card .form-select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: var(--fs-sm);
    transition: border-color var(--transition-fast);
}

.calculator-card .form-control:focus,
.calculator-card .form-select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    outline: none;
}

.calculator-results {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
}

.result-item.total {
    border-top: 2px solid var(--gold-primary);
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.result-label {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.result-value {
    color: var(--gold-primary);
    font-size: var(--fs-lg);
    font-weight: 700;
}

.result-item.total .result-value {
    font-size: var(--fs-xl);
}

/* Bootstrap Accordion Theme Override */
.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: var(--border-color);
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-item:first-of-type,
.accordion-item:last-of-type {
    border-radius: var(--radius-lg) !important;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--fs-base);
    padding: 1.25rem 1.5rem;
    box-shadow: none;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(73%) sepia(30%) saturate(1000%) hue-rotate(10deg) brightness(95%) contrast(90%);
}

.accordion-body {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Plans page responsive */
@media (max-width: 767px) {
    .detail-card {
        padding: 1.5rem;
    }

    .detail-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .calculator-card {
        padding: 1.5rem;
    }

    .calculator-results {
        margin-top: 1rem;
    }
}

/* FAQ Page Enhancements */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--gold-primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--gold-primary);
}

.faq-question i {
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Page Enhancements */
.about-hero {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
}

/* Contact Page Enhancements */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.contact-info-box:hover {
    border-color: var(--gold-primary);
    transform: translateX(5px);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    color: var(--gold-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ============================================================================
   THEME SWITCH IMPROVEMENTS FOR INTERNAL PAGES
   ============================================================================ */

/* Ensure theme variables apply to all internal elements */
[data-theme="light"] .page-banner {
    background: var(--bg-secondary);
}

[data-theme="light"] .page-banner::before {
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="light"] .card-modern,
[data-theme="light"] .plan-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .team-card,
[data-theme="light"] .contact-form-wrapper,
[data-theme="light"] .income-card {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .income-card:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
}

[data-theme="light"] .income-icon {
    background: rgba(212, 175, 55, 0.12);
}

[data-theme="light"] .income-rate {
    background: rgba(212, 175, 55, 0.08);
}

[data-theme="light"] .footer {
    background: var(--bg-secondary);
}

[data-theme="light"] .footer-social a,
[data-theme="light"] .newsletter-form input,
[data-theme="light"] .contact-info-box {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="light"] .hero-card-main {
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .hero-float {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .detail-card,
[data-theme="light"] .calculator-card {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .calculator-results {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="light"] .calculator-card .form-control,
[data-theme="light"] .calculator-card .form-select {
    background: var(--bg-input);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .accordion-item {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
}

[data-theme="light"] .accordion-button:not(.collapsed) {
    background: rgba(212, 175, 55, 0.06);
    color: var(--gold-dark);
}

[data-theme="light"] .accordion-body {
    background: var(--bg-card);
    color: var(--text-secondary);
}

/* Light mode: Income detail page */
[data-theme="light"] .income-detail {
    background: var(--bg-primary);
}

[data-theme="light"] .income-detail.bg-dark-subtle {
    background: var(--bg-tertiary) !important;
}

[data-theme="light"] .income-icon-large {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.25);
}

[data-theme="light"] .income-table {
    --bs-table-bg: var(--bg-card);
    --bs-table-color: var(--text-secondary);
    --bs-table-border-color: var(--border-color);
    background: var(--bg-card) !important;
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .income-table thead th {
    background: var(--bg-tertiary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="light"] .income-table tbody tr {
    background: var(--bg-card) !important;
}

[data-theme="light"] .income-table tbody td {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

[data-theme="light"] .income-note {
    background: rgba(6, 182, 212, 0.06);
    border-color: rgba(6, 182, 212, 0.15);
}

[data-theme="light"] .income-example {
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.15);
}

/* Light mode: FAQ page */
[data-theme="light"] .category-btn {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="light"] .category-btn.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
}

[data-theme="light"] .questions-card {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

/* Light mode: Contact page */
[data-theme="light"] .contact-card {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .contact-card .contact-icon {
    background: rgba(212, 175, 55, 0.1);
}

[data-theme="light"] .quick-faq-item {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .social-link {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="light"] .contact-form-section .form-select {
    background: var(--bg-input);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 1199px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 991px) {
    .page-banner {
        padding: 3rem 0 2rem;
        margin-top: 1.5rem;
    }
    
    .footer-top {
        padding: 4rem 0 2rem;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 2rem 0 4rem;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .hero-stat-item::after {
        display: none;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .page-banner .page-title {
        font-size: var(--fs-3xl);
    }
    
    .hero-title {
        font-size: var(--fs-3xl);
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        height: 48px;
    }
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Intersection Observer Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ============================================================================
   ABOUT PAGE ENHANCED STYLES
   ============================================================================ */

.about-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background: var(--gold-primary);
    color: #000;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.about-badge .badge-number {
    display: block;
    font-size: var(--fs-3xl);
    font-weight: 700;
    font-family: var(--font-heading);
}

.about-badge .badge-text {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content {
    padding-left: 2rem;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
}

.highlight-item i {
    color: var(--success);
    font-size: 1.125rem;
}

/* Mission Section */
.mission-section {
    background: var(--bg-secondary);
}

.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-normal);
    text-align: center;
}

.mission-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.mission-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--gold-primary);
}

.mission-card h3 {
    font-size: var(--fs-xl);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

.stat-prefix,
.stat-suffix {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--gold-primary);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Why Us Section */
.why-us-section {
    background: var(--bg-primary);
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: all var(--transition-normal);
}

.why-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.why-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-cyan-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--accent-cyan);
}

.why-card:nth-child(2) .why-icon { background: var(--accent-purple-light); color: var(--accent-purple); }
.why-card:nth-child(3) .why-icon { background: var(--accent-emerald-light); color: var(--accent-emerald); }
.why-card:nth-child(4) .why-icon { background: var(--accent-rose-light); color: var(--accent-rose); }
.why-card:nth-child(5) .why-icon { background: var(--accent-amber-light); color: var(--accent-amber); }
.why-card:nth-child(6) .why-icon { background: rgba(212, 175, 55, 0.15); color: var(--gold-primary); }

.why-card h4 {
    font-size: var(--fs-lg);
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================================
   CONTACT PAGE STYLES
   ============================================================================ */

.contact-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form-wrapper h3 {
    margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-form .form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--fs-base);
    transition: all var(--transition-fast);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.contact-info-box:hover {
    border-color: var(--gold-primary);
    transform: translateX(5px);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    color: var(--gold-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-content h5 {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin: 0;
}

.contact-info-content a:hover {
    color: var(--gold-primary);
}

/* Contact Page Styles */
.contact-info {
    background: var(--bg-primary);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    height: 100%;
}

.contact-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.contact-card .contact-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    transition: all var(--transition-normal);
}

.contact-card:hover .contact-icon {
    background: var(--gold-primary);
    color: #000;
    transform: scale(1.1);
}

.contact-card h4 {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-bottom: 0.75rem;
}

.contact-card a,
.contact-card .hours {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: var(--fs-sm);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form-section {
    background: var(--bg-secondary);
}

.contact-form-section .form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--fs-base);
    transition: all var(--transition-fast);
}

.contact-form-section .form-select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.contact-info-wrapper {
    height: 100%;
}

.contact-info-wrapper h2 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-info-wrapper > p {
    color: var(--text-secondary);
}

/* Quick FAQ items on contact page */
.quick-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.quick-faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.quick-faq-item h5 {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-faq-item h5 i {
    color: var(--gold-primary);
    font-size: 0.9rem;
}

.quick-faq-item p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin-bottom: 0;
}

.more-help {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    text-align: center;
}

.more-help p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: 0.75rem;
}

.social-connect h4 {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #000;
    transform: translateY(-3px);
}

/* Contact page responsive */
@media (max-width: 767px) {
    .contact-card {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .quick-faq-item {
        padding: 1rem;
    }
}

/* ============================================================================
   FAQ PAGE STYLES
   ============================================================================ */

.faq-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

/* Category filter tabs */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.category-btn {
    padding: 0.625rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.category-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
}

.category-btn.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* FAQ group sections */
.faq-group {
    margin-bottom: 2.5rem;
}

.faq-group-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-group-title i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

/* Still have questions card */
.still-questions {
    background: var(--bg-secondary);
}

.questions-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.questions-card h3 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.questions-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.faq-category-btn {
    padding: 0.625rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-item.active {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    gap: 1rem;
}

.faq-question:hover {
    color: var(--gold-primary);
}

.faq-question i {
    color: var(--gold-primary);
    font-size: var(--fs-sm);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================================================
   INCOME PAGE STYLES
   ============================================================================ */

.income-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.income-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.income-tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.income-tab:hover,
.income-tab.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.income-tabs-wrapper > .income-content {
    display: none;
}

.income-tabs-wrapper > .income-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.income-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
}

.income-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.income-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.income-card h3 {
    font-size: var(--fs-xl);
    margin: 0;
}

.income-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================================================
   INCOME DETAIL PAGE STYLES
   ============================================================================ */

/* Income detail sections */
.income-detail {
    background: var(--bg-primary);
    position: relative;
}

.income-overview {
    background: var(--bg-secondary);
}

.income-detail.bg-dark-subtle {
    background: var(--bg-secondary) !important;
}

/* Large icon display */
.income-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.income-icon-large {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-xl);
    font-size: 3.5rem;
    color: var(--gold-primary);
    transition: all var(--transition-normal);
}

.income-detail:hover .income-icon-large {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

/* Income content within detail sections */
.income-detail .income-content {
    display: block;
    flex: none;
}

.income-detail .income-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    font-size: var(--fs-sm);
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.income-detail .income-title {
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.income-detail .income-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: var(--fs-base);
}

/* Detail rows (key-value pairs) */
.income-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.detail-value {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: var(--fs-sm);
}

/* Income note callout */
.income-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    color: var(--info);
    line-height: 1.6;
}

.income-note i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Income example callout */
.income-example {
    padding: 1rem 1.25rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
}

.income-example strong {
    color: var(--gold-primary);
}

/* Income summary section */
.income-summary {
    background: var(--bg-primary);
}

/* Income summary table */
.income-table {
    --bs-table-bg: var(--bg-card);
    --bs-table-color: var(--text-secondary);
    --bs-table-border-color: var(--border-color);
    --bs-table-striped-bg: transparent;
    --bs-table-hover-bg: rgba(212, 175, 55, 0.03);
    --bs-table-hover-color: var(--text-secondary);
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 0;
}

.income-table thead th {
    background: var(--bg-tertiary) !important;
    color: var(--gold-primary) !important;
    font-weight: 600;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--border-color) !important;
    white-space: nowrap;
}

.income-table tbody tr {
    background: var(--bg-card) !important;
}

.income-table tbody td {
    padding: 1rem 1.25rem;
    color: var(--text-secondary) !important;
    font-size: var(--fs-sm);
    border-bottom: 1px solid var(--border-color) !important;
    vertical-align: middle;
    background: transparent !important;
}

.income-table tbody tr:last-child td {
    border-bottom: none !important;
}

.income-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05) !important;
}

.income-table tbody tr:hover td {
    color: var(--text-primary) !important;
}

/* Pool Income Tables - Premium Dark/Gold Theme */
.income-detail .table-dark,
.income-detail .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-secondary);
    --bs-table-border-color: rgba(212, 175, 55, 0.15);
    background: var(--bg-card) !important;
    border-collapse: separate;
    border-spacing: 0;
}

.income-detail .table-dark thead th,
.income-detail .table thead th,
.income-detail .table thead.table-primary th,
.income-detail .table thead.table-warning th {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05)) !important;
    color: var(--gold-primary) !important;
    border-bottom: 2px solid var(--gold-primary) !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 1rem 0.75rem;
}

.income-detail .table-dark tbody td,
.income-detail .table tbody td {
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    border-color: rgba(212, 175, 55, 0.1) !important;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

/* Alternating rows - subtle */
.income-detail .table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02) !important;
}

.income-detail .table-dark tbody tr:hover td,
.income-detail .table tbody tr:hover td {
    background: rgba(212, 175, 55, 0.1) !important;
    color: var(--text-primary) !important;
}

/* Remove all Bootstrap colored row overrides - use unified theme */
.income-detail .table-success td,
.income-detail tr.table-success td,
.income-detail .table tbody tr.table-success td,
.income-detail .table-info td,
.income-detail tr.table-info td,
.income-detail .table tbody tr.table-info td,
.income-detail .table-warning td,
.income-detail tr.table-warning td,
.income-detail .table tbody tr.table-warning td {
    background: rgba(212, 175, 55, 0.05) !important;
    color: var(--text-secondary) !important;
    border-color: rgba(212, 175, 55, 0.1) !important;
}

/* Hover on colored rows */
.income-detail tr.table-success:hover td,
.income-detail tr.table-info:hover td,
.income-detail tr.table-warning:hover td {
    background: rgba(212, 175, 55, 0.12) !important;
    color: var(--text-primary) !important;
}

/* Highlighted rows (15, 16) - Gold accent */
.income-detail .table-primary td,
.income-detail tr.table-primary td,
.income-detail .table tbody tr.table-primary td {
    background: rgba(212, 175, 55, 0.12) !important;
    color: var(--gold-primary) !important;
    font-weight: 500;
    border-color: rgba(212, 175, 55, 0.2) !important;
}

.income-detail tr.table-primary:hover td {
    background: rgba(212, 175, 55, 0.18) !important;
}

/* Total row - Premium gold gradient */
.income-detail .table-light td,
.income-detail tr.table-light td,
.income-detail tr.table-light.text-dark td,
.income-detail .table tbody tr.table-light td {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)) !important;
    color: #0a0a0a !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-color: var(--gold-primary) !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}

.income-detail tr.table-light:hover td {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary)) !important;
}

/* First column styling - Installment number */
.income-detail .table tbody td:first-child {
    color: var(--gold-primary) !important;
    font-weight: 600;
}

/* Alert boxes in income sections */
.income-detail .alert-info {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-left: 4px solid var(--gold-primary);
    color: var(--text-secondary);
}

.income-detail .alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--success);
}

.income-detail .alert-warning {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--gold-primary);
}

/* Card styling in income sections */
.income-detail .card.bg-dark {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

.income-detail .card-header.bg-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)) !important;
    color: var(--bg-primary) !important;
    border-bottom-color: var(--gold-primary) !important;
}

.income-detail .bg-dark-subtle {
    background: var(--bg-secondary) !important;
}

.income-detail .text-warning {
    color: var(--gold-primary) !important;
}

.income-detail .text-success {
    color: var(--success) !important;
}

/* Table responsive scroll on mobile */
.income-detail .table-responsive {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.income-detail .table-bordered {
    border: none;
}

.income-detail .table-sm td,
.income-detail .table-sm th {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Pool Income Tables - Responsive */
@media (max-width: 991px) {
    .income-detail .table-sm td,
    .income-detail .table-sm th {
        padding: 0.45rem 0.6rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 767px) {
    .income-detail .table-sm td,
    .income-detail .table-sm th {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
        min-width: 70px;
    }
    
    .income-detail .table-sm td:first-child,
    .income-detail .table-sm th:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: var(--bg-tertiary) !important;
        min-width: 55px;
    }
    
    .income-detail .table-sm thead th:first-child {
        background: var(--bg-tertiary) !important;
        z-index: 3;
    }
    
    /* Ensure sticky column shows correct bg on colored rows */
    .income-detail tr.table-success td:first-child,
    .income-detail tr.table-info td:first-child,
    .income-detail tr.table-warning td:first-child,
    .income-detail tr.table-primary td:first-child {
        background: var(--bg-tertiary) !important;
    }
    
    .income-detail tr.table-light td:first-child {
        background: var(--gold-primary) !important;
    }
    
    .income-detail .table-responsive {
        border-radius: var(--radius-md);
    }
    
    /* Card and alert adjustments */
    .income-detail .card-body {
        padding: 1rem;
    }
    
    .income-detail .alert {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .income-detail h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .income-detail .table-sm td,
    .income-detail .table-sm th {
        padding: 0.35rem 0.4rem;
        font-size: 0.65rem;
        min-width: 60px;
    }
    
    .income-detail .table-sm td:first-child,
    .income-detail .table-sm th:first-child {
        min-width: 45px;
    }
    
    .income-detail h4 {
        font-size: 1rem;
    }
    
    .income-detail .alert {
        font-size: 0.75rem;
    }
}

.income-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.income-badge i {
    font-size: 1rem;
}

/* Income detail page responsive */
@media (max-width: 991px) {
    .income-image {
        min-height: 200px;
    }

    .income-icon-large {
        width: 110px;
        height: 110px;
        font-size: 2.5rem;
    }

    .income-detail .income-title {
        font-size: var(--fs-2xl);
    }
}

@media (max-width: 767px) {
    .income-image {
        min-height: 150px;
    }

    .income-icon-large {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }

    .income-detail .income-title {
        font-size: var(--fs-xl);
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .income-table thead th,
    .income-table tbody td {
        padding: 0.75rem;
        font-size: var(--fs-xs);
    }
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS FOR INTERNAL PAGES
   ============================================================================ */

@media (max-width: 991px) {
    .about-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .about-badge {
        right: 15px;
        bottom: -15px;
        padding: 1rem;
    }
    
    .about-badge .badge-number {
        font-size: var(--fs-2xl);
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 575px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .stat-value {
        font-size: var(--fs-2xl);
    }
    
    .faq-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .category-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .questions-card {
        padding: 1.5rem;
    }
    
    .income-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }
}
