/* Forgot/Reset Password Pages */
.forgot-password-container, .reset-password-container {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    padding: 32px 28px 24px 28px;
}
.forgot-password-container h2, .reset-password-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 18px;
}
.forgot-password-container .form-group, .reset-password-container .form-group {
    margin-bottom: 18px;
}
.forgot-password-container label, .reset-password-container label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-weight: 500;
}
.forgot-password-container input, .reset-password-container input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    background: #fafbfc;
    transition: border 0.2s;
}
.forgot-password-container input:focus, .reset-password-container input:focus {
    border-color: #2c3e50;
    outline: none;
}
.forgot-password-container .btn, .reset-password-container .btn {
    width: 100%;
    padding: 12px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}
.forgot-password-container .btn:hover, .reset-password-container .btn:hover {
    background: #1a232e;
}
.forgot-password-container .auth-links, .reset-password-container .auth-links {
    text-align: center;
    margin-top: 18px;
}
.forgot-password-container .auth-links a, .reset-password-container .auth-links a {
    color: #2c3e50;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}
.forgot-password-container .auth-links a:hover, .reset-password-container .auth-links a:hover {
    color: #007bff;
}
.forgot-password-container .alert, .reset-password-container .alert {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 15px;
}
.forgot-password-container .alert-success, .reset-password-container .alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}
.forgot-password-container .alert-danger, .reset-password-container .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}
.forgot-password-container .alert-warning, .reset-password-container .alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #0a0e27;
    --darker-bg: #05070f;
    --card-bg: #1a1f3a;
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --success: #00ff88;
    --danger: #ff3366;
    --warning: #ffaa00;
    --text-primary: #e0e6ff;
    --text-secondary: #8892b0;
    --border: #2a3a5a;
}

body {
    font-family: 'Orbitron', 'Montserrat', 'Segoe UI', 'Trebuchet MS', sans-serif;
    @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Montserrat:wght@400;600;700&display=swap');
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    background-image: linear-gradient(135deg, var(--dark-bg) 0%, #0f1433 100%);
    display: block;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */

.navbar {
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--card-bg) 100%);
    color: white;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
    flex-shrink: 0;
    pointer-events: auto;
}

.layout-container {
    margin-top: 70px; /* Adjust if your navbar is taller/shorter */
}

/* Show navbar on desktop for all users */
.navbar {
    display: flex;
}

/* Hide nav-menu for logged-in users (desktop sidebar handles navigation) */
.navbar-logged-in .nav-menu {
    display: none;
}

@media (min-width: 769px) {
    .navbar-logged-in {
        display: flex !important;
    }
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
}

.nav-logo h2 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    gap: 4px;
    margin-left: -10px;
}

.hamburger span {
    width: 20px;
    height: 2.5px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Layout container - main flex layout for sidebar + content */
.layout-container {
    display: flex;
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.layout-container.with-sidebar {
    /* Sidebar on left, content on right */
    width: calc(100% - 280px);
    margin-left: 280px;
}

@media (max-width: 768px) {
    .layout-container.with-sidebar {
        width: 100%;
        margin-left: 0;
    }
}

/* Side Navigation Styles */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
}

/* Sidenav - Mobile hamburger menu and desktop permanent sidebar */
.sidenav {
    position: fixed;
    top: 72px;
    left: -280px;
    width: 280px;
    height: calc(100vh - 72px);
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--card-bg) 100%);
    border-right: 1px solid var(--border);
    z-index: 99;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidenav.active {
    left: 0;
}

/* Permanent sidebar for logged-in users on desktop */
.sidenav-desktop-permanent {
    position: fixed !important;
    width: 280px !important;
    height: calc(100vh - 72px) !important;
    left: 0 !important;
    top: 72px !important;
    border-right: 1px solid var(--border) !important;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--card-bg) 100%) !important;
    border-bottom: none !important;
    transition: none !important;
    overflow-y: auto !important;
    flex-shrink: 0;
    z-index: 90;
}

@media (max-width: 768px) {
    .sidenav-desktop-permanent {
        position: fixed !important;
        top: 72px !important;
        left: -280px !important;
        height: calc(100vh - 72px) !important;
        transition: left 0.3s ease !important;
        z-index: 99 !important;
    }
    
    .sidenav-desktop-permanent.active {
        left: 0 !important;
    }
}

@media (max-width: 768px) {
    .sidenav-desktop-permanent {
        position: fixed !important;
        top: 72px !important;
        left: -280px !important;
        height: calc(100vh - 72px) !important;
        transition: left 0.3s ease !important;
        z-index: 99 !important;
    }
    
    .sidenav-desktop-permanent.active {
        left: 0 !important;
    }
}

.sidenav-header {
    padding: 0;
    border-bottom: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: auto;
}

.sidenav-header h3 {
    display: none;
}

.close-sidenav {
    display: none !important;
}

.close-sidenav:hover {
    display: none !important;
}

.sidenav-content {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.nav-item .nav-icon {
    font-size: 1.3rem;
    min-width: 1.5rem;
}

.nav-item .nav-label {
    flex-grow: 1;
}

.nav-item:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    padding-left: 2rem;
}

.nav-item.active {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: calc(1.5rem - 3px);
}

/* Navigation Section with Sub-items */
.nav-section {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-section-title {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-subitem {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.6rem 1.5rem 0.6rem 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.nav-subitem .nav-icon {
    font-size: 1.1rem;
    min-width: 1.2rem;
}

.nav-subitem .nav-label {
    flex-grow: 1;
}

.nav-subitem:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    padding-left: 2.8rem;
}

.nav-subitem.active {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.nav-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid var(--border);
}

.nav-logout {
    color: var(--danger);
}

.nav-logout:hover {
    background: rgba(255, 51, 102, 0.1);
    color: #ff6b8a;
}

/* Desktop Sidebar Styles (permanent for logged-in users) */
@media (min-width: 769px) {
    .sidenav-desktop-permanent {
        position: fixed !important;
        width: 280px !important;
        height: calc(100vh - 72px) !important;
        top: 72px !important;
        left: 0 !important;
        border-right: 1px solid var(--border) !important;
        border-bottom: none !important;
        flex-shrink: 0 !important;
        z-index: 90 !important;
    }

    .sidenav-desktop-permanent.active {
        left: auto !important;
    }


.sidenav-header {
    /* No sticky or fixed positioning, just normal flow */
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--card-bg) 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

    .close-sidenav {
        display: none !important;
    }
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.nav-btn {
    padding: 0.6rem 1.2rem !important;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.nav-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%) !important;
    color: var(--darker-bg) !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.nav-btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.5) !important;
    transform: translateY(-2px);
}

.nav-btn-secondary {
    background: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.nav-btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    box-shadow: inset 0 0 15px rgba(0, 212, 255, 0.2) !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
    z-index: 10000;
    position: relative;
    pointer-events: auto;
}

.theme-toggle:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: scale(1.1);
}

.theme-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
}

.theme-icon svg {
    width: 100%;
    height: 100%;
    stroke: #00d4ff;
    stroke-width: 1.5;
    fill: none;
}

/* Light mode icon color - dark for visibility */
[data-theme="light"] .theme-icon svg {
    stroke: #1a1a1a;
}

/* Dark mode icon color - bright cyan */
[data-theme="dark"] .theme-icon svg {
    stroke: #00d4ff;
}

.theme-toggle:active .theme-icon {
    transform: rotate(180deg);
}

/* Light Mode Theme */
[data-theme="light"] {
    --dark-bg: #f5f7fa;
    --darker-bg: #ffffff;
    --card-bg: #ffffff;
    --primary: #0066cc;
    --primary-dark: #004499;
    --success: #00aa44;
    --danger: #dd1133;
    --warning: #ff9900;
    --text-primary: #1a2332;
    --text-secondary: #555555;
    --border: #dddddd;
}

[data-theme="light"] body {
    background-color: #f5f7fa;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #eef0f5 100%);
}

[data-theme="light"] .navbar {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .card-bg,
[data-theme="light"] .plan-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .content-section,
[data-theme="light"] .stat-item,
[data-theme="light"] .feature-card,
[data-theme="light"] .work-step,
[data-theme="light"] .detail-card {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .input-group input,
[data-theme="light"] .input-group select,
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
    background: #f8f9fb;
    border-color: #dddddd;
    color: #1a2332;
}

[data-theme="light"] .input-group input:focus,
[data-theme="light"] .input-group select:focus,
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
    border-color: #0066cc;
    background: #ffffff;
}

[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0080ff 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.5);
}


[data-theme="light"] table tbody tr:hover {
    background: rgba(0, 102, 204, 0.03);
}

[data-theme="light"] a {
    color: #0066cc;
}

[data-theme="light"] a:hover {
    color: #004499;
}

/* Light Mode Dashboard Sections */
[data-theme="light"] .roi-summary-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}

[data-theme="light"] .roi-content h3 {
    color: #555555;
}

[data-theme="light"] .roi-value {
    color: #2e7d32;
}

[data-theme="light"] .roi-label {
    color: #666666;
}

[data-theme="light"] .performance-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .performance-title {
    color: #1a2332;
}

[data-theme="light"] .performance-subtitle {
    color: #666666;
}

[data-theme="light"] .next-maturity-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #bbdefb;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

[data-theme="light"] .maturity-title {
    color: #1a2332;
}

[data-theme="light"] .maturity-plan,
[data-theme="light"] .maturity-amount,
[data-theme="light"] .maturity-date {
    color: #1a2332;
}

[data-theme="light"] .maturity-plan strong,
[data-theme="light"] .maturity-amount strong,
[data-theme="light"] .maturity-date strong {
    color: #0066cc;
}

[data-theme="light"] .maturity-progress-bar {
    background: rgba(33, 150, 243, 0.15);
}

[data-theme="light"] .maturity-progress-text {
    color: #666666;
}

[data-theme="light"] .quick-actions-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .quick-actions-title {
    color: #1a2332;
}

[data-theme="light"] .quick-action-btn {
    background: #f8f9fb;
    border: 2px solid #e0e0e0;
    color: #1a2332;
}

[data-theme="light"] .quick-action-btn:hover {
    background: #ffffff;
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

[data-theme="light"] .quick-action-invest:hover {
    border-color: #2e7d32;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

[data-theme="light"] .quick-action-withdraw:hover {
    border-color: #f57f17;
    box-shadow: 0 4px 12px rgba(245, 127, 23, 0.15);
}

[data-theme="light"] .quick-action-history:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

[data-theme="light"] .quick-action-profile:hover {
    border-color: #7b1fa2;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.15);
}

[data-theme="light"] .action-label {
    color: #1a2332;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin-left: 0.5rem;
    }
    .nav-menu {
        display: none;
    }
    .hamburger {
        display: flex;
    }

    /* Hide hamburger on desktop for logged-in users */
    .navbar-logged-in .hamburger {
        display: none;
    }

    /* Mobile sidenav positioning */
    .sidenav {
        top: 72px;
        z-index: 99;
    }

    .sidenav.sidenav-desktop-permanent {
        position: fixed;
        top: 72px;
        left: -280px;
        height: calc(100vh - 72px);
    }

    .sidenav.sidenav-desktop-permanent.active {
        left: 0;
    }

    .sidenav-header {
        display: flex;
    }

    .close-sidenav {
        display: flex !important;
    }

    /* Layout wrapper should not have sidebar margin on mobile */
    .layout-container.with-sidebar {
        width: 100%;
        margin-left: 0;
    }

    .container {
        padding: 0;
    }

    .hero-content-container {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        overflow: visible;
    }

    .hero-content {
        padding: 2rem 1rem;
        box-sizing: border-box;
        width: 100%;
    }

    /* Hero Grid Responsive */
    .hero-grid {
        display: block !important;
        gap: 2rem;
        width: 100% !important;
        grid-template-columns: unset !important;
        grid: unset !important;
    }

    .hero-image {
        display: none !important;
    }

    .hero-image-section {
        display: none !important;
    }

    .hero-image-placeholder {
        display: none !important;
    }

    .image-glow {
        display: none !important;
    }

    .trader-image {
        display: none !important;
    }

    .hero-text {
        text-align: center !important;
        width: 100% !important;
        grid-column: unset !important;
        display: block !important;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image-placeholder {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        aspect-ratio: 1 / 1;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .trust-indicators {
        justify-content: center;
        flex-direction: column;
    }


    /* Full width marquee and chart on mobile */
    .market-ticker {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 0.5rem 0;
    }

    .trading-chart-container {
        width: 100%;
        margin-left: 0;
        height: 380px;
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
        padding: 0;
    }

    #tradingChart {
        height: 320px;
        width: 100%;
    }

    .chart-header {
        padding: 1rem 10px 0.75rem 10px;
        margin-bottom: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}


/* Hero Section */
/* Hero Section Wrapper - Main Container */
.hero-section-wrapper {
    position: relative;
    overflow: visible;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--card-bg) 50%, var(--darker-bg) 100%);
    border-bottom: 1px solid var(--border);
}

/* Hero Content Stack - Stacks all child sections vertically */
.hero-content-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
}

.hero-content-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}


.hero-content-container {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 2rem;
    background: transparent;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 1rem 3rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    grid-column: 1;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2;
}

.hero-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2;
    width: 100%;
}

.hero-image-placeholder {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 212, 255, 0.1) 100%);
    border-radius: 20px;
    animation: glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
    }
}

.trader-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.2));
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%);
    color: var(--darker-bg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: inset 0 0 15px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--primary);
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
}

.trust-item {
    color: var(--success);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

/* Trading Chart Container */
.trading-chart-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 450px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    flex-shrink: 0;
}

.chart-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-symbol {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    background: rgba(0, 212, 255, 0.1);
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.chart-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.chart-change {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    background: rgba(0, 255, 136, 0.15);
    color: var(--success);
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.chart-change.positive {
    background: rgba(0, 255, 136, 0.15);
    color: var(--success);
    border-color: rgba(0, 255, 136, 0.3);
}

.chart-change.negative {
    background: rgba(255, 51, 102, 0.15);
    color: var(--danger);
    border-color: rgba(255, 51, 102, 0.3);
}



#tradingChart {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--card-bg);
    box-sizing: border-box;
    flex: 1;
    overflow: hidden;
}

#tradingChart iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

#tradingChart > * {
    width: 100% !important;
    height: 100% !important;
}

/* Chart Preloader Styles */
.chart-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    gap: 1rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 212, 255, 0.2);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.chart-preloader p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.market-ticker {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 2;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0 2rem;
    display: inline-block;
}

.ticker-item::before {
    content: '📈 ';
    color: var(--success);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Plans Preview */
.plans-preview-section {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.plans-preview-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.plans-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-preview-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.plan-preview-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transform: translateY(-10px);
}

.plan-preview-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    color: var(--darker-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.roi-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--success) 0%, #00dd77 100%);
    color: var(--darker-bg);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.plan-details {
    margin-bottom: 1.5rem;
}

.plan-feature {
    color: var(--text-secondary);
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.plan-feature::before {
    content: '✓ ';
    color: var(--success);
    font-weight: 700;
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    border-top: 1px solid var(--border);
}

.calculator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.calculator-inputs {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto 2rem;
    display: grid;
    gap: 2rem;
}

.calculator-input {
    display: flex;
    flex-direction: column;
}

.calculator-input label {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.calculator-input input[type="number"],
.calculator-input input[type="range"],
.calculator-input select {
    padding: 0.7rem;
    background: var(--darker-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}

.calculator-results {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}

.calculator-results h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.results-grid {
    display: grid;
    gap: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--darker-bg);
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.result-label {
    font-weight: 600;
}

.result-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.result-item.total {
    border-color: var(--success);
    background: rgba(76, 175, 80, 0.1);
}

.result-item.total .result-value {
    color: var(--success);
    font-size: 1.2rem;
}

/* Process Section */
.process-section {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    color: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Security Section */
.security-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    border-top: 1px solid var(--border);
}

.security-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.security-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.security-item:hover {
    border-color: var(--success);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.security-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.security-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.25);
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Final CTA Section */
.final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Main content */
.main-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
}

@media (max-width: 768px) {
    .main-content {
        padding: 0;
    }
}

/* Auth styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 0;
}

.auth-form {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--border);
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    background: var(--darker-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
    background: rgba(0, 212, 255, 0.05);
    opacity: 0.7;
    cursor: not-allowed;
    border-color: rgba(0, 212, 255, 0.3);
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 600;
}

/* Light mode form disabled styles */
[data-theme="light"] .form-group input:disabled,
[data-theme="light"] .form-group textarea:disabled,
[data-theme="light"] .form-group select:disabled {
    background: rgba(0, 102, 204, 0.05);
    border-color: rgba(0, 102, 204, 0.2);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Alert messages */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
    font-weight: 500;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    border-color: var(--success);
}

.alert-danger {
    background: rgba(255, 51, 102, 0.1);
    color: var(--danger);
    border-color: var(--danger);
}

.alert-warning {
    background: rgba(255, 170, 0, 0.1);
    color: var(--warning);
    border-color: var(--warning);
}

.alert-info {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    border-color: var(--primary);
}

/* Dashboard styles */
.dashboard-container {
    padding: 1.5rem 1rem 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
    position: relative;
    overflow: hidden;
}
.dashboard-container::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    width: 1200px; height: 1200px;
    background: radial-gradient(circle at 50% 30%, rgba(0,212,255,0.12) 0%, rgba(44,83,100,0.05) 80%, transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    animation: dashboard-bg-pulse 8s infinite alternate;
}
@keyframes dashboard-bg-pulse {
    0% { filter: blur(0px) brightness(1); }
    100% { filter: blur(8px) brightness(1.1); }
}


@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem 1rem 1rem 1rem;
    }
}

.dashboard-header {
    text-align: center;
    margin-bottom: 0.8rem;
    padding: 0;
}

.dashboard-header h1 {
    color: var(--primary);
    margin-bottom: 0.1rem;
    font-size: 1.3rem;
}

.dashboard-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stats-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 0.8rem;
    width: 100%;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.stats-grid::-webkit-scrollbar {
    display: none;
}

.stat-card {
    background: rgba(18, 32, 47, 0.7);
    padding: 1.6rem 1.2rem 1.2rem 1.2rem;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,212,255,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.18);
    border: 1.5px solid rgba(0,212,255,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    text-align: center;
    flex: 0 0 calc(100vw - 2.8rem);
    min-width: calc(100vw - 2.8rem);
    max-width: calc(100vw - 2.8rem);
    backdrop-filter: blur(8px) saturate(1.2);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    box-shadow: 0 0 32px 4px rgba(0,212,255,0.18), 0 0 0 2px rgba(0,212,255,0.08);
    opacity: 0.7;
    z-index: 1;
}


.stat-card:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 40px 8px #00d4ff55, 0 2px 12px 0 rgba(0,0,0,0.18);
    transform: translateY(-4px) scale(1.03);
    z-index: 2;
}

.stat-icon {
    font-size: 2.8rem;
    min-width: 54px;
    text-align: center;
    filter: drop-shadow(0 0 8px #00d4ff88);
}

.stat-info h3 {
    color: #fff;
    font-size: 2.2rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-family: 'Orbitron', 'Montserrat', 'Segoe UI', Arial, sans-serif;
    text-shadow: 0 0 12px #00d4ff55, 0 1px 0 #222;
}

.stat-info p {
    color: #b2ebf2;
    font-size: 1.02rem;
    margin: 0;
    line-height: 1.2;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

.dashboard-content {
    display: grid;
    gap: 0.6rem;
    width: 100%;
    overflow: hidden;
}

.content-section {
    background: var(--card-bg);
    padding: 0.9rem;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border);
    width: 100%;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
    flex-wrap: wrap;
}

.section-header h2 {
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.section-header .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.investments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.5rem;
    width: 100%;
}

.investments-grid .investment-card:nth-child(n+5) {
    grid-column: auto;
}

/* 5 items - 4 on first row, 1 full width on second */
.investments-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(4, 1fr);
}

.investments-grid:has(> :nth-child(5):last-child) > :nth-child(5) {
    grid-column: 1 / -1;
}

/* 6 items - 2 columns */
.investments-grid:has(> :nth-child(6):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* 7 items - responsive pattern */
.investments-grid:has(> :nth-child(7):last-child) {
    grid-template-columns: 2fr 1fr 1fr;
}

.investments-grid:has(> :nth-child(7):last-child) > :nth-child(n+4):nth-child(-n+6) {
    grid-column: auto;
}

.investments-grid:has(> :nth-child(7):last-child) > :nth-child(7) {
    grid-column: 1 / 2;
}

.investment-card {
    border: 1px solid var(--border);
    padding: 0.7rem;
    border-radius: 6px;
    background: var(--darker-bg);
    transition: all 0.3s ease;
}

/* Investments Carousel Styles */
.investments-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -0.9rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    width: calc(100% + 1.8rem);
    max-width: calc(100vw - 1.2rem);
}

.investments-carousel::-webkit-scrollbar {
    display: none;
}

.investment-card-slide {
    flex: 0 0 auto;
    width: calc(100vw - 2.8rem);
    max-width: calc(100vw - 2.8rem);
    padding-right: 15px;
}

@media (min-width: 768px) {
    .investment-card-slide {
        width: calc(50vw - 1.9rem);
        max-width: calc(50vw - 1.9rem);
    }
}

@media (min-width: 1024px) {
    .investment-card-slide {
        width: calc(33.333vw - 1.6rem);
        max-width: calc(33.333vw - 1.6rem);
    }
}

@media (min-width: 768px) {
    .investment-card-slide {
        flex: 0 0 300px;
        min-width: 300px;
    }
}

@media (min-width: 1024px) {
    .investment-card-slide {
        flex: 0 0 320px;
        min-width: 320px;
    }
}

.investment-card h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    word-break: break-word;
}

.investment-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.investment-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

.investment-details strong {
    color: var(--text-primary);
}

.investment-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 600px;
}

.transaction-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--darker-bg);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.transaction-type {
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.transaction-type.deposit { 
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
}

.transaction-type.withdrawal { 
    background: rgba(255, 51, 102, 0.1);
    color: var(--danger);
}

.transaction-type.interest { 
    background: rgba(255, 170, 0, 0.1);
    color: var(--warning);
}

.transaction-type.investment {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.transaction-type.referral_bonus {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
}

.transaction-amount {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    text-align: center;
}

.transaction-date {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-align: right;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    background: var(--darker-bg);
    border-radius: 8px;
    border: 1px dashed var(--border);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 0;
    }

    .dashboard-header h1 {
        font-size: 1.2rem;
    }

    .stats-grid {
        gap: 12px;
        margin-bottom: 1rem;
    }

    .stat-card {
        flex: 0 0 calc(50vw - 2rem);
        min-width: calc(50vw - 2rem);
        max-width: calc(50vw - 2rem);
        padding: 1rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-info h3 {
        font-size: 1.5rem;
    }

    .stat-info p {
        font-size: 0.85rem;
    }

    .stat-info h3 {
        font-size: 0.7rem;
    }

    .stat-info p {
        font-size: 0.55rem;
    }

    .content-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .section-header {
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }

    .section-header h2 {
        font-size: 1rem;
        flex: 1;
        min-width: 0;
    }

    .section-header .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .investments-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .investment-card {
        padding: 0.9rem;
    }

    .investment-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .investment-details p {
        font-size: 0.75rem;
    }

    .transaction-item {
        grid-template-columns: auto 1fr auto;
        gap: 0.6rem;
        padding: 0.7rem;
    }

    .transaction-amount {
        font-size: 0.85rem;
    }

    .transaction-date {
        font-size: 0.7rem;
    }
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--darker-bg);
    border-radius: 8px;
    border: 1px dashed var(--border);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

/* Error pages */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
}

.error-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.error-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--danger);
}

.error-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* Plans Grid */
.plans-container {
    padding: 1.5rem 1rem 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .plans-container {
        padding: 1rem 1rem 2rem 1rem;
    }
}

.plans-header {
    text-align: center;
    margin-bottom: 3rem;
}

.plans-header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.plans-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Quick Info Cards */
.quick-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.info-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.info-card span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.info-card strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Key Info Section */
.key-info-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.info-box {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.info-box ol, .info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    color: var(--text-secondary);
    padding: 0.4rem 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.info-box ol li:before {
    content: counter(step) ". ";
    counter-increment: step;
    color: var(--primary);
    font-weight: 600;
    margin-right: 0.5rem;
}

.info-box ul li:before {
    content: "→ ";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Plans CTA Section */
.plans-cta {
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    border-radius: 12px;
    text-align: center;
    color: var(--darker-bg);
}

.cta-inner h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--darker-bg);
}

.cta-inner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--darker-bg);
    opacity: 0.95;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
}

.plan-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.roi-badge {
    background: linear-gradient(135deg, var(--success) 0%, #00dd77 100%);
    color: var(--darker-bg);
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.plan-duration {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.duration {
    font-weight: 600;
    color: var(--primary);
}

.plan-type {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.plan-amounts p {
    margin: 0.4rem 0;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
}

.plan-description {
    margin: 0.8rem 0;
    color: var(--text-primary);
    line-height: 1.4;
    font-size: 0.9rem;
    font-weight: 500;
}

.plan-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.btn-block {
    width: 100%;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

/* Plan Card Enhanced */
.plan-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.25);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%);
    color: var(--darker-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.plan-features {
    background: rgba(0, 212, 255, 0.05);
    padding: 0.7rem;
    border-radius: 6px;
    margin: 0.8rem 0;
    border-left: 2px solid var(--primary);
}

.plan-features h4 {
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    color: var(--text-primary);
    padding: 0.3rem 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.features-list li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

.btn-block {
    width: 100%;
    display: block;
    margin-bottom: 0.5rem;
}

/* Plans Comparison Table */
.plans-comparison {
    margin: 4rem 0;
    padding: 2rem;
    background: var(--darker-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.plans-comparison h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 212, 255, 0.1) 100%);
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--border);
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.comparison-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

.comparison-table td.highlight {
    color: var(--success);
    font-weight: 700;
}

/* How Plans Work */
.how-plans-work {
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.how-plans-work h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.work-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.work-step {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.work-step:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.work-step h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.work-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Plan Details Section */
.plan-details-section {
    margin: 4rem 0;
}

.plan-details-section h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.detail-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.detail-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.detail-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Investment Strategy Section */
.investment-strategy {
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, transparent 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.investment-strategy h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.investment-strategy > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.strategy-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.strategy-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.strategy-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.strategy-card > p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.strategy-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strategy-card li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.strategy-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* FAQ Section */
.plans-faq {
    margin: 4rem 0;
    padding: 2rem;
    background: var(--darker-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.plans-faq h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.15);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Risk Disclosure Section */
.risk-disclosure {
    margin: 4rem 0 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.05) 0%, transparent 100%);
    border-radius: 12px;
    border: 2px solid rgba(255, 170, 0, 0.3);
}

.risk-disclosure h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.disclosure-content h3 {
    color: var(--warning);
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.disclosure-content h3:first-child {
    margin-top: 0;
}

.disclosure-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Design for Plans */
@media (max-width: 1024px) {
    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .quick-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-box {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .info-box h4 {
        font-size: 0.9rem;
    }

    .info-box li {
        font-size: 0.8rem;
    }

    .plans-cta {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    .cta-inner h2 {
        font-size: 1.5rem;
    }

    .cta-inner p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .plans-header h1 {
        font-size: 1.8rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plan-card {
        padding: 1.5rem;
    }

    .plan-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .plan-duration {
        flex-direction: row;
        gap: 0.8rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .duration {
        display: inline-block;
    }

    .plan-type {
        align-self: center;
    }

    .comparison-table-wrapper {
        font-size: 0.85rem;
        margin: 0 -1.5rem;
        padding: 0 1.5rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }

    .plans-comparison {
        margin: 2rem 0;
        padding: 1rem 0;
        background: transparent;
        border: none;
    }

    .plans-comparison h2 {
        padding: 0 1.5rem;
        margin-bottom: 1rem;
    }

    .performance-stats {
        padding: 1.5rem 0;
        margin: 2rem 0;
        overflow: visible;
    }

    .performance-stats h2 {
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }

    .performance-stats .stats-grid {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0;
        padding: 0 1.5rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
    }

    .performance-stats .stats-grid::-webkit-scrollbar {
        display: none;
    }

    .stat-card {
        flex: 0 0 calc(100vw - 3rem);
        min-width: calc(100vw - 3rem);
        max-width: calc(100vw - 3rem);
        scroll-snap-align: start;
    }

    .calculator-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
        background: transparent;
        border-radius: 0;
        border: none;
        width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .calculator-section h2 {
        padding: 0 1.5rem;
        margin: 0 0 1.5rem 0;
        font-size: 1.5rem;
    }

    .calculator-inputs {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        margin: 0 !important;
        background: var(--card-bg);
        border-radius: 0;
        border: 1px solid var(--border);
        border-left: none;
        border-right: none;
        width: 100%;
        box-sizing: border-box;
        max-width: none;
    }

    .calculator-input {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .calculator-input label {
        font-size: 0.95rem;
    }

    .calculator-input input[type="number"],
    .calculator-input input[type="range"],
    .calculator-input select {
        padding: 0.6rem;
        font-size: 1rem;
    }

    .calculator-results {
        padding: 1.5rem;
        margin: 0 !important;
        background: var(--card-bg);
        border-radius: 0;
        border: 1px solid var(--border);
        border-left: none;
        border-right: none;
        border-top: none;
        width: 100%;
        box-sizing: border-box;
        max-width: none;
    }

    .calculator-results h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .results-grid {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .results-grid {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .result-item {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
        font-size: 0.9rem;
        background: var(--darker-bg);
        border-radius: 4px;
        border: 1px solid var(--border);
    }

    .result-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-secondary);
    }

    .result-value {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--primary);
    }

    .work-steps {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .strategy-cards {
        grid-template-columns: 1fr;
    }

    .faq-content {
        grid-template-columns: 1fr;
    }

    .plan-features {
        padding: 0.8rem;
    }

    .plan-features h4 {
        font-size: 0.9rem;
    }

    .features-list li {
        font-size: 0.85rem;
    }

    .testimonials-section {
        padding: 1.5rem 0;
        margin: 2rem 0 2rem -1rem;
        overflow: visible;
        width: calc(100% + 2rem);
    }

    .testimonials-section h2 {
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }

    .testimonials-grid {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0;
        padding: 0 1rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 calc(100vw - 2rem);
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        padding: 1.2rem;
    }

    .testimonial-card:first-child {
        margin-left: 0;
    }

    .testimonial-header {
        margin-bottom: 0.8rem;
    }

    .testimonial-avatar {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    .testimonial-info h4 {
        font-size: 0.95rem;
    }

    .testimonial-meta {
        font-size: 0.75rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

/* Investment Form */
.invest-container {
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.invest-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.5rem;
    margin-top: 0;
    gap: 2rem;
    position: sticky;
    top: 0;
    background: var(--dark-bg);
    padding: 0.3rem 2rem;
    z-index: 10;
    border-bottom: 1px solid var(--border);
}

.invest-header h1 {
    color: var(--primary);
    flex-grow: 1;
}

.invest-header .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.invest-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    flex: 1;
    overflow: hidden;
}

.plan-summary {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: sticky;
    top: 0;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.invest-form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.summary-details p,
.plan-details p {
    margin: 1rem 0;
    color: var(--text-secondary);
}

.summary-details strong,
.plan-details strong {
    color: var(--primary);
}

.invest-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.investment-summary {
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border: 1px solid var(--border);
}

.investment-summary h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.summary-item span:last-child {
    color: var(--primary);
    font-weight: 700;
}

.summary-item.total {
    border-top: 1px solid var(--border);
    border-bottom: none;
    padding-top: 0.8rem;
    color: var(--success);
    font-weight: 600;
}

.summary-item.total span:last-child {
    color: var(--success);
    font-size: 1.1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.crypto-info-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 150, 200, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.crypto-info-box h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.crypto-info-box p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.crypto-info-box small {
    color: var(--text-secondary);
}

/* Custom Crypto Payment Interface */
.crypto-payment-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 150, 200, 0.08) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.crypto-payment-box h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-info {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
}

.info-row .label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-row .value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.qr-section {
    flex-direction: column;
    align-items: flex-end !important;
    gap: 0.5rem;
}

.address-text {
    word-break: break-word;
    max-width: 100%;
}

.btn-copy {
    background: var(--primary);
    color: var(--dark-bg);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.qr-code-container {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px dashed rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.qr-code-container img,
#qr-code {
    max-width: 200px;
    width: 100%;
    height: auto;
}

/* Payment Status */
.payment-status-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 200, 100, 0.08) 100%);
    border: 2px solid var(--success);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
}

.status-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 255, 136, 0.3);
    border-top: 4px solid var(--success);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-status-box p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

#status-message {
    color: var(--success);
    font-weight: 600;
    font-size: 1rem;
}

.status-hint {
    color: var(--text-secondary) !important;
    font-size: 0.85rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .invest-container {
        padding: 0.3rem 0;
        height: auto;
    }

    .invest-header {
        position: static;
        margin-bottom: 1rem;
        padding: 0.2rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .invest-header h1 {
        font-size: 1rem;
        margin: 0;
        flex-basis: 100%;
    }

    .invest-header .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        flex-basis: auto;
    }

    .invest-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        overflow: visible;
    }

    .plan-summary {
        position: static;
        max-height: none;
        margin-bottom: 1rem;
    }

    .invest-form-container {
        max-height: none;
        overflow-y: visible;
    }

    .crypto-payment-box {
        padding: 1.5rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .info-row .value {
        word-break: break-all;
    }

    .qr-section {
        align-items: flex-start !important;
    }

    .qr-code-container {
        margin-top: 1rem;
    }

    .address-text {
        font-size: 0.8rem;
    }

    .btn-copy {
        align-self: flex-start;
    }
}

/* Profile Section */
.profile-container {
    padding: 0 0 2rem 0;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-header h1 {
    color: var(--primary);
}

.profile-content {
    display: grid;
    gap: 2rem;
}

.profile-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.profile-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.account-info {
    display: grid;
    gap: 1rem;
}

.account-info p {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}

.account-info strong {
    color: var(--text-primary);
}

.kyc-status {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

table thead {
    background: var(--darker-bg);
    border-bottom: 2px solid var(--border);
}

table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

table tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* History Page Styles */
.history-container {
    padding: 1.5rem 1rem 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.history-header {
    text-align: center;
    margin-bottom: 2rem;
}

.history-header h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.history-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Investment History Table Wrapper */
.investment-history-table {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: visible;
    display: block;
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.08);
}

.investment-history-table table {
    min-width: 1000px;
    margin: 0;
    width: 100%;
}

.investment-history-table table th {
    background: var(--darker-bg);
    color: var(--primary);
    white-space: nowrap;
    font-weight: 600;
}

.investment-history-table table td {
    white-space: nowrap;
}

/* Legacy support - keep investments-table working */
.investments-table {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.08);
}

.investments-table table {
    min-width: 1000px;
    margin: 0;
}

.investments-table table th {
    background: var(--darker-bg);
    color: var(--primary);
    white-space: nowrap;
    font-weight: 600;
}

.investments-table table td {
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
}

.status-pending {
    background: rgba(255, 170, 0, 0.1);
    color: var(--warning);
}

.status-completed {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.status-cancelled,
.status-rejected {
    background: rgba(255, 51, 102, 0.1);
    color: var(--danger);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .invest-content,
    .profile-content {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .features-grid,
    .security-features {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .nav-menu a {
        margin-left: 0;
        padding: 0.3rem 0.5rem;
    }
}

/* ===== KYC VERIFICATION STYLES ===== */

/* KYC Container */
.kyc-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.kyc-header {
    text-align: center;
    margin-bottom: 2rem;
}

.kyc-header h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.kyc-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Form Sections */
.kyc-form-section {
    margin-top: 2rem;
}

.form-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--darker-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Upload Groups */
.upload-group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 2px dashed var(--border);
    border-radius: 4px;
    background: var(--darker-bg);
    transition: border-color 0.3s;
}

.upload-group:hover {
    border-color: var(--primary);
}

.upload-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.upload-group input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--darker-bg);
    color: var(--text-primary);
}

.upload-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.current-file {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--primary);
}

.current-file a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.current-file a:hover {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Requirements and Privacy */
.requirements {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}

.requirements h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.requirements ul {
    margin: 0;
    padding-left: 1.5rem;
}

.requirements li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.privacy-notice {
    background: rgba(255, 170, 0, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--warning);
}

.privacy-notice h4 {
    margin-bottom: 0.5rem;
    color: var(--warning);
}

.privacy-notice p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Status Section */
.kyc-status-section {
    margin-top: 2rem;
}

.status-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    text-align: center;
    border: 1px solid var(--border);
}

.status-card h3 {
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.status-info {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.status-info p {
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-info p:last-child {
    border-bottom: none;
}

.status-info strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(255, 170, 0, 0.1);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.status-verified {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.status-rejected {
    background: rgba(255, 51, 102, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Document Previews */
.document-previews {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--darker-bg);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.document-previews h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.preview-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Status Actions */
.status-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.verified-badge {
    background: var(--success);
    color: var(--darker-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Button Variants */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

/* Responsive Design for KYC */
@media (max-width: 768px) {
    .kyc-container {
        padding: 10px;
    }
    
    .kyc-header h1 {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .status-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .status-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
        margin: 0;
    }
    
    .upload-group {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .kyc-header h1 {
        font-size: 1.75rem;
    }
    
    .kyc-header p {
        font-size: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .status-card {
        padding: 1rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--card-bg) 100%);
    border-top: 2px solid var(--primary);
    padding: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0, 212, 255, 0.2);
    z-index: 1000;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent.fade-out {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cookie-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-link:hover {
    text-decoration: underline;
    color: #00ff88;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-small {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-small.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%);
    color: var(--darker-bg);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.btn-small.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
}

.btn-small.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.btn-small.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: inset 0 0 15px rgba(0, 212, 255, 0.2);
}

.btn-small.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-small.btn-outline:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

/* Cookie Consent Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-text h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }

    .cookie-buttons {
        flex-direction: column;
        justify-content: stretch;
    }

    .btn-small {
        width: 100%;
        text-align: center;
    }

    /* Responsive for calculator and testimonials */
    .results-grid {
        grid-template-columns: 1fr;
    }

    .matrix-table-wrapper {
        font-size: 0.85rem;
    }

    .matrix-table th,
    .matrix-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Performance Statistics Section */
.performance-stats {
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 255, 136, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: visible;
}

.performance-stats h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.performance-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes testimonialScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 8 - 1.5rem * 8));
    }
}

.stat-card {
    background: var(--card-bg);
    padding: 0.35rem 0.4rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Investment Calculator */
.calculator-section {
    margin: 4rem 0;
    padding: 2rem;
    background: var(--darker-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.calculator-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.calculator-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.calculator-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calculator-input label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.calculator-input input,
.calculator-input select {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.calculator-input input:focus,
.calculator-input select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.1);
}

.calculator-results {
    background: rgba(0, 255, 136, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.calculator-results h3 {
    color: var(--text-primary);
    margin-top: 0;
    font-size: 1.1rem;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--card-bg);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.result-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.result-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.result-value.highlight {
    color: var(--success);
    font-size: 1.3rem;
}

/* Testimonials Section */
.testimonials-section {
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: visible;
}

@media(max-width: 768px) {
    .testimonials-section {
        padding: 0.5rem;
    }
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.testimonials-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-grid:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    flex: 0 0 calc(100vw - 4rem);
    min-width: calc(100vw - 4rem);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* .testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
} */

.testimonial-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darker-bg);
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-info h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-meta {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-rating {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Large Screen - 3 Cards View */
@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: calc(33.333% - 1rem);
    }
}

/* Comparison Matrix */
.comparison-matrix {
    margin: 4rem 0;
    padding: 2rem;
    background: var(--darker-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.comparison-matrix h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.matrix-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
}

.matrix-table thead {
    background: rgba(0, 212, 255, 0.1);
    border-bottom: 2px solid var(--border);
}

.matrix-table th {
    padding: 1rem;
    color: var(--primary);
    font-weight: 700;
    text-align: left;
    font-size: 0.95rem;
}

.matrix-table th.feature-col {
    min-width: 200px;
    background: rgba(0, 212, 255, 0.15);
    position: sticky;
    left: 0;
    z-index: 10;
}

.matrix-table td {
    padding: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

/* .matrix-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
} */

.matrix-table .highlight-cell {
    background: rgba(0, 255, 136, 0.1);
    font-weight: 600;
}

.roi-value {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

/* How It Works Steps */
.how-it-works-section {
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 255, 136, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.how-it-works-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--card-bg);
    padding: 1.8rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--darker-bg);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.step-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0 0 0.8rem 0;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.step-features span {
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Referral Highlights Section */
.referral-highlights {
    margin: 4rem 0;
    padding: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.referral-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.referral-info {
    padding: 2.5rem;
    background: var(--darker-bg);
}

.referral-info h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.referral-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 2rem 0;
}

.referral-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-text h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0 0 0.3rem 0;
}

.benefit-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.benefit-text strong {
    color: var(--success);
    font-weight: 700;
}

.referral-stats {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 212, 255, 0.1) 100%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.stats-card-vertical {
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card-vertical:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.stat-big {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.stat-small {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.referral-cta {
    margin-top: 1rem;
}

.referral-cta .btn {
    width: 100%;
}

/* Mobile Responsive for Referral Section */
@media (max-width: 1024px) {
    .referral-content {
        grid-template-columns: 1fr;
    }

    .how-it-works-section h2,
    .referral-info h2 {
        font-size: 1.5rem;
    }

    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .step-card {
        padding: 1.5rem;
    }
}

/* Referrals Page Styles */
.referrals-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 2rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .referrals-container {
        padding: 1rem 1rem 1rem 1rem;
    }
}

.referrals-header {
    text-align: center;
    margin-bottom: 3rem;
}

.referrals-header h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.referrals-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.referral-stat-card {
    background: var(--card-bg);
    padding: 0.35rem 0.4rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.referral-stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

.referral-stat-card h3 {
    font-size: 0.7rem;
    color: var(--primary);
    margin: 0;
}

.referral-stat-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.55rem;
}

.referral-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.referral-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.referral-code {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

/* Specific styles for referral code display box */
.referral-code-box {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.referral-code-box .code-display {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--primary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
    flex: 1;
    min-width: 100px;
    max-width: 100%;
    overflow-x: auto;
    word-break: break-all;
}

/* Specific styles for referral link display box */
.referral-link-box {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.referral-link-box .link-display {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--primary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
    flex: 1;
    min-width: 100px;
    max-width: 100%;
    overflow-x: auto;
    word-break: break-all;
}

.referral-link {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    margin-top: 1.5rem;
}

.referral-link code {
    display: block;
    margin-top: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    padding: 0.8rem;
    border-radius: 4px;
    word-break: break-all;
    color: var(--success);
    font-family: 'Courier New', monospace;
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--darker-bg);
}

.step p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.referrals-list {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.referrals-list table {
    width: 100%;
    border-collapse: collapse;
    background: var(--darker-bg);
}

.referrals-list thead {
    background: rgba(0, 212, 255, 0.1);
    border-bottom: 2px solid var(--border);
}

.referrals-list th {
    padding: 1rem;
    color: var(--primary);
    font-weight: 700;
    text-align: left;
    font-size: 0.95rem;
}

.referrals-list td {
    padding: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.referrals-list tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
}

.status-pending {
    background: rgba(255, 170, 0, 0.2);
    color: var(--warning);
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .referral-code {
        flex-direction: column;
        width: 100%;
    }

    .referral-code code {
        min-width: 100%;
        max-width: 100%;
        word-break: break-all;
        overflow-wrap: break-word;
    }

    .referral-code-box {
        flex-direction: column;
        width: 100%;
    }

    .referral-code-box .code-display {
        min-width: 100%;
        max-width: 100%;
        word-break: break-all;
        overflow-wrap: break-word;
    }

    .referral-link-box {
        flex-direction: column;
        width: 100%;
    }

    .referral-link-box .link-display {
        min-width: 100%;
        max-width: 100%;
        word-break: break-all;
        overflow-wrap: break-word;
    }

    .referrals-list table {
        font-size: 0.85rem;
    }

    .referrals-list th,
    .referrals-list td {
        padding: 0.7rem;
    }
}

/* Enhanced Tier System */
.tier-section {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 255, 136, 0.08) 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.tier-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.tier-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border);
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s ease;
}

.tier-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.tier-badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

/* Tier-specific styles for card background and badge */
.tier-card.tier-bronze {
    border-left: 5px solid #cd7f32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1) 0%, rgba(184, 134, 11, 0.1) 100%);
}

.tier-card.tier-bronze .tier-badge {
    background: linear-gradient(135deg, #cd7f32 0%, #b8860b 100%);
}

.tier-card.tier-silver {
    border-left: 5px solid #c0c0c0;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, rgba(128, 128, 128, 0.1) 100%);
}

.tier-card.tier-silver .tier-badge {
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
    color: #000;
}

.tier-card.tier-gold {
    border-left: 5px solid #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 237, 74, 0.15) 100%);
}

.tier-card.tier-gold .tier-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
}

.tier-card.tier-platinum {
    border-left: 5px solid #95b8d1;
    background: linear-gradient(135deg, rgba(229, 228, 226, 0.15) 0%, rgba(149, 184, 209, 0.15) 100%);
}

.tier-card.tier-platinum .tier-badge {
    background: linear-gradient(135deg, #e5e4e2 0%, #95b8d1 100%);
    color: #000;
}

.tier-card.tier-diamond {
    border-left: 5px solid #00d4ff;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 170, 255, 0.15) 100%);
}

.tier-card.tier-diamond .tier-badge {
    background: linear-gradient(135deg, #00d4ff 0%, #00aaff 100%);
}

.tier-info h3 {
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.tier-info p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.tier-progress {
    margin: 1.5rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--success) 100%);
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.tier-benefits {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tier-benefits span {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Enhanced Statistics Grid */
.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Chart Container */
.chart-container {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-top: 1rem;
}

.chart-container canvas {
    max-height: 300px;
}

/* Link Management */
.link-management {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.link-card {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.link-card h3 {
    color: var(--text-primary);
    margin-top: 0;
}

.btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
}

/* Share Section */
.share-section {
    background: rgba(0, 255, 136, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    margin-top: 1.5rem;
}

.share-section h3 {
    color: var(--text-primary);
    margin-top: 0;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: #00d4ff;
}

.share-icon svg {
    width: 100%;
    height: 100%;
}

.share-text {
    display: block;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.share-btn:hover .share-icon {
    color: #00d4ff;
}

/* Leaderboard */
.leaderboard {
    background: var(--darker-bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 2rem;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 60px 1fr 150px;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
}

.leaderboard-item.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 2px solid #ffd700;
}

.leaderboard-item.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 2px solid #c0c0c0;
}

.leaderboard-item.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 2px solid #cd7f32;
}

.rank {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--darker-bg);
}

.leaderboard-item.top-1 .rank {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.leaderboard-item.top-2 .rank {
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
}

.leaderboard-item.top-3 .rank {
    background: linear-gradient(135deg, #cd7f32 0%, #8b4513 100%);
}

.referrer-info h4 {
    color: var(--text-primary);
    margin: 0 0 0.3rem 0;
}

.referrer-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.earnings {
    color: var(--success);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.requirement-card {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.requirement-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.requirement-card h4 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1rem;
}

.requirement-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Bonus History */
.bonus-history {
    background: var(--darker-bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background: rgba(0, 212, 255, 0.05);
}

.history-left {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
}

.history-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darker-bg);
    font-weight: 700;
    flex-shrink: 0;
}

.history-details h4 {
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
    font-size: 0.95rem;
}

.history-details p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.8rem;
}

.history-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.bonus-amount {
    color: var(--success);
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 80px;
    text-align: right;
}

.bonus-status {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 90px;
    text-align: center;
}

.status-paid {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
}

.status-pending {
    background: rgba(255, 170, 0, 0.2);
    color: var(--warning);
}

/* Promotions */
.promotions {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 170, 0, 0.08) 100%);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.promo-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary) 0%, #00aaff 100%);
    color: var(--darker-bg);
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.promo-card h3 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem 0;
}

.promo-card p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    line-height: 1.5;
}

.promo-date {
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .tier-card {
        flex-direction: column;
        text-align: center;
    }

    .leaderboard-item {
        grid-template-columns: 50px 1fr 100px;
        gap: 1rem;
    }

    .history-right {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .link-management {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }

    .history-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .history-left {
        flex-direction: column;
    }

    .history-right {
        width: 100%;
        justify-content: space-around;
    }

    .leaderboard-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .earnings {
        text-align: center;
    }
}

/* Payment Details Page Styles */
/* ===== PAYMENT PAGE - NEW MODERN DESIGN ===== */

.payment-page-wrapper {
    width: 100%;
    min-height: 100vh;
    padding: 2rem 0;
    background: var(--dark-bg);
}

.payment-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.payment-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.payment-page-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    padding: 0 1rem;
}

.payment-main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.05);
}

.payment-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Status Card */
.payment-status-card {
    display: flex;
    gap: 1.5rem;
    border-left: 4px solid var(--success);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 212, 255, 0.02) 100%);
}

.status-indicator {
    flex-shrink: 0;
    font-size: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
}

.status-indicator.expired {
    background: rgba(211, 47, 47, 0.1);
    color: #d32f2f;
}

.payment-status-card.expired {
    border-left-color: #d32f2f;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.05) 0%, rgba(211, 47, 47, 0.02) 100%);
}

.status-text {
    flex: 1;
}

.status-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.status-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.timer-display {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.timer-display .time-remaining {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

/* Amount Display */
.amount-display {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 255, 136, 0.02) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.amount-main {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.amount-crypto {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

.amount-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.amount-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.exchange-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.exchange-info .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.exchange-info .value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Address Section */
.address-section {
    position: relative;
}

.address-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.address-value {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    color: var(--primary);
    font-weight: 500;
}

.btn-copy {
    flex-shrink: 0;
    background: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: white;
}

.btn-copy:hover {
    background: var(--success);
    transform: scale(1.05);
}

.copy-feedback {
    position: absolute;
    bottom: -35px;
    right: 0;
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.copy-feedback.show {
    opacity: 1;
}

/* Memo Warning */
.memo-warning {
    border-left-color: #ff9800;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.05) 0%, rgba(255, 152, 0, 0.02) 100%);
}

.memo-alert {
    display: flex;
    gap: 1rem;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.alert-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.memo-value {
    font-family: 'Courier New', monospace;
    background: rgba(255, 152, 0, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    color: var(--primary);
    font-weight: 600;
}

.memo-warning-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Order Details */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Payment Actions */
.payment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.payment-actions .btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

.payment-actions .btn-secondary {
    background: var(--border);
    color: var(--text-primary);
}

.payment-actions .btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* QR Sidebar */
.payment-qr-sidebar {
    display: flex;
    flex-direction: column;
}

.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.qr-card h2 {
    margin-bottom: 1rem;
    margin-top: 0;
}

.qr-code-container {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    min-height: 250px;
}

.qr-code-container canvas {
    width: 100% !important;
    height: auto !important;
}

.qr-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Mobile Responsive - Payment Page */
@media (max-width: 768px) {
    .payment-page-wrapper {
        padding: 1rem 0;
    }

    .payment-page-header {
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .payment-page-container {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 1rem;
    }

    .payment-page-header h1 {
        font-size: 1.8rem;
    }

    .payment-page-header p {
        font-size: 0.95rem;
    }

    .amount-secondary {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .payment-actions {
        flex-direction: column;
    }

    .payment-actions .btn {
        width: 100%;
    }

    .payment-card {
        padding: 1.2rem;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .qr-code-container {
        min-height: 200px;
    }

    .status-indicator {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Mobile History Page */
    .history-container {
        padding: 1rem 0 2rem 0;
    }

    .history-header {
        padding: 0 1rem;
    }

    .history-header h1 {
        font-size: 1.5rem;
    }

    .history-header p {
        font-size: 0.95rem;
    }

    .investment-history-table {
        overflow-x: scroll;
        overflow-y: auto;
        display: block;
        width: 100%;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .investment-history-table::-webkit-scrollbar {
        height: 8px;
    }

    .investment-history-table::-webkit-scrollbar-track {
        background: rgba(0, 212, 255, 0.05);
    }

    .investment-history-table::-webkit-scrollbar-thumb {
        background: rgba(0, 212, 255, 0.3);
        border-radius: 4px;
    }

    .investment-history-table::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 212, 255, 0.5);
    }

    .investment-history-table table {
        min-width: 900px;
        display: table;
    }

    .investment-history-table table th,
    .investment-history-table table td {
        padding: 0.7rem;
        font-size: 0.8rem;
    }

    .investment-history-table table th {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .investment-history-table .status-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Admin Layout Styling */
.navbar-admin {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-bottom-color: #0f3460;
}

.navbar-admin .nav-logo h2 {
    color: #f39c12;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.sidenav-admin {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-right-color: #0f3460;
}

.sidenav-admin .sidenav-header {
    border-bottom-color: #0f3460;
}

.admin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.sidenav-admin .nav-item.active,
.sidenav-admin .nav-subitem.active {
    border-left-color: #f39c12;
    background-color: rgba(243, 156, 18, 0.1);
}

.sidenav-admin .nav-item:hover,
.sidenav-admin .nav-subitem:hover {
    background-color: rgba(243, 156, 18, 0.05);
    border-left-color: #f39c12;
}

.sidenav-admin .nav-section-title {
    color: #f39c12;
}

.main-content-admin {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f1433 100%);
}

/* SuperAdmin Layout Styling */
.navbar-superadmin {
    background: linear-gradient(180deg, #2c003e 0%, #4a0080 100%);
    border-bottom-color: #6b0099;
}

.navbar-superadmin .nav-logo h2 {
    color: #9f00ff;
    text-shadow: 0 0 10px rgba(159, 0, 255, 0.5);
}

.sidenav-superadmin {
    background: linear-gradient(180deg, #2c003e 0%, #4a0080 100%);
    border-right-color: #6b0099;
}

.sidenav-superadmin .sidenav-header {
    border-bottom-color: #6b0099;
}

.superadmin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #9f00ff, #6b0099);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(159, 0, 255, 0.3);
}

.sidenav-superadmin .nav-item.active,
.sidenav-superadmin .nav-subitem.active {
    border-left-color: #9f00ff;
    background-color: rgba(159, 0, 255, 0.1);
}

.sidenav-superadmin .nav-item:hover,
.sidenav-superadmin .nav-subitem:hover {
    background-color: rgba(159, 0, 255, 0.05);
    border-left-color: #9f00ff;
}

.sidenav-superadmin .nav-section-title {
    color: #9f00ff;
}

.main-content-superadmin {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a0033 100%);
}

/* Dashboard ROI Summary */
.dashboard-roi-summary {
    margin: 1.5rem 0 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.roi-summary-card {
    background: rgba(18, 32, 47, 0.8);
    border-radius: 18px;
    box-shadow: 0 0 32px 4px #00d4ff33, 0 1.5px 8px 0 rgba(0,0,0,0.18);
    border: 1.5px solid #00d4ff55;
    padding: 2.2rem 2.5rem 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px) saturate(1.2);
}

.roi-icon {
    font-size: 2.8rem;
    color: #00d4ff;
    filter: drop-shadow(0 0 12px #00d4ff88);
}

.roi-content {
    flex: 1;
}

.roi-content h3 {
    color: #fff;
    font-size: 1.3rem;
    font-family: 'Orbitron', 'Montserrat', 'Segoe UI', Arial, sans-serif;
    margin-bottom: 0.2rem;
}

.roi-value {
    color: #00d4ff;
    font-size: 2.1rem;
    font-family: 'Orbitron', 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 800;
    text-shadow: 0 0 12px #00d4ff55, 0 1px 0 #222;
}

.roi-label {
    color: #b2ebf2;
    font-size: 1.02rem;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

/* Performance Chart Section */
.dashboard-performance-section {
    margin: 20px 0;
    padding: 0;
}

.performance-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    .performance-card {
        background: var(--card-bg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
}

.performance-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.performance-chart-container {
    position: relative;
    height: 400px;
    margin-bottom: 10px;
}

.performance-chart-canvas {
    width: 100% !important;
    height: 100% !important;
}

.performance-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
}

/* Next Maturity Section */
.dashboard-next-maturity-section {
    margin: 20px 0;
    padding: 0;
}

.maturity-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    padding: 0 5px;
}

.maturity-carousel-container {
    position: relative;
    overflow: hidden;
}

.maturity-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.maturity-carousel::-webkit-scrollbar {
    display: none;
}

.maturity-card-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .maturity-card-slide {
        flex: 0 0 calc(50% - 7.5px);
        min-width: calc(50% - 7.5px);
    }
}

@media (min-width: 1024px) {
    .maturity-card-slide {
        flex: 0 0 calc(33.333% - 10px);
        min-width: calc(33.333% - 10px);
    }
}

.maturity-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (prefers-color-scheme: dark) {
    .maturity-card {
        background: var(--card-bg);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

.maturity-header {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.maturity-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.maturity-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.maturity-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.maturity-detail:last-of-type {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
}

.maturity-status {
    display: inline-block;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.maturity-progress {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 12px;
}

.progress-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-percentage {
    color: var(--text-primary);
    font-weight: 600;
}

.maturity-progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    .maturity-progress-bar {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.05);
    }
}

.maturity-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    min-width: 2px;
}

@media (prefers-color-scheme: dark) {
    .maturity-progress-fill {
        background: linear-gradient(90deg, #00d4ff 0%, #0099cc 100%);
    }
}

.maturity-progress-text {
    font-size: 11px;
    color: var(--text-secondary);
}

.maturity-date-info {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.date-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.date-value {
    color: var(--text-primary);
    font-weight: 600;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 0 5px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

@media (prefers-color-scheme: dark) {
    .indicator {
        background: rgba(255, 255, 255, 0.2);
    }
}

.indicator.active {
    background: var(--primary);
}

.indicator:hover {
    background: rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    .indicator:hover {
        background: rgba(255, 255, 255, 0.3);
    }
}

/* Quick Actions Section */
.dashboard-quick-actions-section {
    margin: 20px 0;
    padding: 0;
}

.quick-actions-container {
    background: linear-gradient(135deg, var(--card-bg) 0%, #252d4a 100%);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.quick-actions-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, #1a3a3a 0%, #0d2828 100%);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    gap: 8px;
    min-height: 100px;
    font-size: 13px;
}

.quick-action-btn:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--card-bg) 0%, #1a2a3a 100%);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.quick-action-invest:hover {
    border-color: #00ff88;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
}

.quick-action-withdraw:hover {
    border-color: #ffaa00;
    box-shadow: 0 4px 20px rgba(255, 170, 0, 0.2);
}

.quick-action-history:hover {
    border-color: #00d4ff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.quick-action-profile:hover {
    border-color: #ff88ff;
    box-shadow: 0 4px 20px rgba(255, 136, 255, 0.2);
}

.action-icon {
    font-size: 24px;
    display: block;
}

.action-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .roi-summary-card {
        flex-direction: column;
        text-align: center;
    }

    .maturity-content {
        grid-template-columns: 1fr;
    }

    .maturity-progress-text {
        text-align: center;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .performance-card {
        padding: 15px;
    }

    .performance-chart-container {
        height: 150px;
    }
}

/* Withdrawal System Styles */

/* Withdrawal Request Form */
.withdrawal-form {
    max-width: 600px;
}

.withdrawal-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

[data-theme="light"] .withdrawal-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

[data-theme="light"] .form-control-lg {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #212529;
}

.form-control-lg:focus {
    background: var(--card-bg);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

[data-theme="light"] .form-control-lg:focus {
    background: #ffffff;
    border-color: #0056b3;
    color: #212529;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.investment-details-card {
    background: rgba(0, 212, 255, 0.1);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
    margin-bottom: 1rem;
}

[data-theme="light"] .investment-details-card {
    background: #f0f7ff;
    border-left-color: #0056b3;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

[data-theme="light"] .detail-item {
    border-bottom-color: #dee2e6;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-secondary);
}

[data-theme="light"] .detail-label {
    color: #6c757d;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

[data-theme="light"] .detail-value {
    color: #212529;
}

.fee-breakdown-card {
    background: rgba(0, 255, 136, 0.1);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--success);
    margin: 1rem 0;
}

[data-theme="light"] .fee-breakdown-card {
    background: #e8f5e9;
    border-left-color: #2e7d32;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.fee-label {
    color: var(--text-primary);
}

[data-theme="light"] .fee-label {
    color: #212529;
}

.fee-value {
    color: var(--danger);
    font-weight: 600;
}

.fee-item.total .fee-value {
    color: var(--success);
    font-size: 1.1em;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

[data-theme="light"] .form-actions {
    border-top-color: #dee2e6;
}

.form-actions button,
.form-actions a {
    flex: 1;
}

/* Withdrawal History */
.withdrawal-history-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

[data-theme="light"] .withdrawal-history-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.withdrawal-table {
    margin-bottom: 0;
}

.withdrawal-table thead {
    background: rgba(0, 212, 255, 0.1);
}

[data-theme="light"] .withdrawal-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.withdrawal-table thead th {
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 1rem;
}

[data-theme="light"] .withdrawal-table thead th {
    color: #495057;
}

.withdrawal-row {
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

[data-theme="light"] .withdrawal-row {
    border-bottom-color: #e9ecef;
}

.withdrawal-row:hover {
    background: rgba(0, 212, 255, 0.05);
}

[data-theme="light"] .withdrawal-row:hover {
    background: #f8f9fa;
}

.withdrawal-row.status-pending {
    border-left: 3px solid var(--warning);
}

.withdrawal-row.status-approved {
    border-left: 3px solid var(--primary);
}

.withdrawal-row.status-completed,
.withdrawal-row.status-processed {
    border-left: 3px solid var(--success);
}

.withdrawal-row.status-rejected {
    border-left: 3px solid var(--danger);
}

.date-text {
    font-weight: 600;
    color: var(--text-primary);
}

[data-theme="light"] .date-text {
    color: #212529;
}

.net-amount {
    color: var(--success);
    font-size: 1.1em;
}

/* Withdrawal Approvals Admin Panel */
.withdrawal-approvals-container {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

[data-theme="light"] .withdrawal-approvals-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

.filter-section {
    background: rgba(0, 212, 255, 0.1);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

[data-theme="light"] .filter-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.withdrawal-approvals-table thead {
    background: rgba(0, 212, 255, 0.1);
}

[data-theme="light"] .withdrawal-approvals-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.withdrawal-approvals-table thead th {
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
}

[data-theme="light"] .withdrawal-approvals-table thead th {
    color: #495057;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

[data-theme="light"] .breakdown-item {
    border-bottom-color: #e9ecef;
}

.breakdown-item.total {
    border-bottom: none;
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

[data-theme="light"] .breakdown-item.total {
    border-top-color: #dee2e6;
}

.modal-header {
    background: rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid var(--border);
}

[data-theme="light"] .modal-header {
    background: #f8f9fa;
    border-bottom-color: #dee2e6;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

[data-theme="light"] .modal-content {
    background: #ffffff;
    border-color: #dee2e6;
    color: #212529;
}

.modal-body {
    color: var(--text-primary);
}

[data-theme="light"] .modal-body {
    color: #212529;
}

.font-monospace {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.page-title {
    color: var(--primary);
    margin-bottom: 2rem;
}

[data-theme="light"] .page-title {
    color: #0056b3;
}

@media (max-width: 768px) {
    .history-header {
        flex-direction: column;
        gap: 1rem;
    }

    .history-header h1 {
        margin-bottom: 0;
    }

    .withdrawal-form {
        padding: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button,
    .form-actions a {
        width: 100%;
    }

    .withdrawal-table {
        font-size: 0.85rem;
    }

    .withdrawal-table th,
    .withdrawal-table td {
        padding: 0.5rem;
    }

    .withdrawal-approvals-table {
        font-size: 0.85rem;
    }

    .withdrawal-approvals-table th,
    .withdrawal-approvals-table td {
        padding: 0.5rem;
    }
}

/* Quick Navigation Features */
.quick-nav-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.nav-feature-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.05));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-feature-card:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 255, 136, 0.1));
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.nav-feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.nav-feature-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.nav-feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.feature-link:hover {
    color: var(--success);
    transform: translateX(5px);
}

[data-theme="light"] .nav-feature-card {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(40, 167, 69, 0.05));
    border-color: #dee2e6;
}

[data-theme="light"] .nav-feature-card:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(40, 167, 69, 0.1));
    border-color: #0056b3;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

[data-theme="light"] .nav-feature-card h4 {
    color: #0056b3;
}

[data-theme="light"] .nav-feature-card p {
    color: #6c757d;
}

[data-theme="light"] .feature-link {
    color: #0056b3;
}

[data-theme="light"] .feature-link:hover {
    color: #28a745;
}

/* Mobile responsive for quick nav features */
@media (max-width: 768px) {
    .quick-nav-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    
    .nav-feature-card {
        padding: 1rem;
    }
    
    .nav-feature-card .feature-icon {
        font-size: 2rem;
    }
}

/* ============================================
   PAYMENT DETAILS PAGE STYLING
   ============================================ */

.payment-details-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.payment-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.payment-header h1 {
    margin: 0;
    font-size: 32px;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.payment-header .subtitle {
    margin: 8px 0 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.payment-section {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    background-color: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.payment-section h3 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 18px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 12px;
}

.investment-summary {
    margin-bottom: 20px;
}

.investment-summary h3 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 16px;
    border: none;
    padding: 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    color: var(--text-primary);
}

.summary-item .label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
}

.summary-item .value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.summary-item .value.amount {
    color: #28a745;
    font-weight: 700;
}

.summary-item .value.highlight {
    color: var(--primary);
    font-weight: 700;
}

.divider {
    height: 1px;
    background-color: var(--border);
    margin: 20px 0;
}

.payment-instructions,
.upload-proof-section {
    margin-top: 20px;
}

.payment-instructions h3,
.upload-proof-section h3 {
    margin: 0 0 12px 0;
    font-size: 15px;
    border: none;
    padding: 0;
    color: var(--text-primary);
}

.instruction-text {
    margin: 0 0 15px 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.details-box,
.crypto-details {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item.address-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.address-value {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.address-value .code {
    flex: 1;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background-color: var(--card-bg);
    padding: 8px;
    border-radius: 3px;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.detail-item .label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
}

.detail-item .value {
    color: var(--text-primary);
    text-align: right;
    font-weight: 500;
}

.detail-item .code {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-primary);
}

.detail-item.expires {
    background-color: rgba(220, 53, 69, 0.1);
    padding: 12px;
    margin: 0;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    color: var(--text-primary);
}

.detail-item.expires .value {
    color: #dc3545;
    font-size: 16px;
}

.qr-box {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.qr-box p {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: var(--text-primary);
}

#qr-code {
    display: inline-block;
}

#qr-code img {
    width: 200px;
    height: 200px;
}

.notice-section h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    border: none;
    padding: 0;
    color: var(--text-primary);
}

.notice-list {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.6;
}

.notice-list li {
    margin: 8px 0;
    color: var(--text-secondary);
}

.proof-form {
    margin-top: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
}

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
    }
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    flex: 1;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-copy {
    background-color: var(--primary);
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    white-space: nowrap;
}

.btn-copy:hover {
    background-color: #0056b3;
}

@media (prefers-color-scheme: dark) {
    .btn-copy {
        background-color: #00D4FF;
        color: #000000;
    }
    
    .btn-copy:hover {
        background-color: #00a3cc;
    }
}

.what-happens-next h3 {
    margin: 0 0 20px 0;
    font-size: 16px;
    border: none;
    padding: 0;
    color: var(--text-primary);
}

.what-happens-next .timeline {
    display: flex;
    flex-direction: column;
}

.timeline {
    display: flex;
    flex-direction: column;
}

.timeline-step {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
    align-items: flex-start;
}

.timeline-marker {
    min-width: 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    font-size: 13px;
}

.timeline-step.completed .timeline-marker {
    background-color: #28a745;
}

.timeline-step.active .timeline-marker {
    background-color: var(--primary);
    animation: pulse 1.5s infinite;
}

.timeline-step.pending .timeline-marker {
    background-color: var(--border);
    color: var(--text-secondary);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.timeline-text h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.timeline-text p {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.timeline-connector {
    margin-left: 16px;
    width: 2px;
    height: 15px;
    background-color: var(--border);
}

.timeline-step:last-child .timeline-connector {
    display: none;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 13px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

@media (prefers-color-scheme: dark) {
    .alert-success {
        background-color: rgba(40, 167, 69, 0.15);
        color: #28a745;
    }
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

@media (prefers-color-scheme: dark) {
    .alert-danger {
        background-color: rgba(220, 53, 69, 0.15);
        color: #dc3545;
    }
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #856404;
}

@media (prefers-color-scheme: dark) {
    .alert-warning {
        background-color: rgba(255, 193, 7, 0.15);
        color: #ffc107;
    }
}

.crypto-placeholder {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
}

/* Maintenance Mode Styles */
.maintenance-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    padding: 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.maintenance-content {
    text-align: center;
    background: var(--card-bg);
    padding: 4rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1);
    animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.maintenance-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.maintenance-content h1 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.maintenance-content h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.maintenance-message {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.maintenance-message p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.maintenance-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail-text strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.detail-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.detail-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-text a:hover {
    color: #00ff88;
    text-decoration: underline;
}

.maintenance-loader {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.loader {
    border: 4px solid rgba(0, 212, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.maintenance-loader p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .maintenance-content {
        padding: 2rem 1.5rem;
    }

    .maintenance-icon {
        font-size: 3rem;
    }

    .maintenance-content h1 {
        font-size: 1.5rem;
    }

    .maintenance-content h2 {
        font-size: 1.2rem;
    }

    .maintenance-details {
        gap: 1rem;
    }

    .detail-item {
        padding: 0.8rem;
    }
}


