/* =================================== */
/*       BASE CSS                      */
/* =================================== */
/* Redesigned Dark Theme CSS for Repsol Investment */

:root {
    /* Dark theme colors - new palette */
    --dark-bg-primary: #0a0a0f;
    --dark-bg-secondary: #111118;
    --dark-bg-tertiary: #1a1a24;
    --dark-surface: #1e1e2a;
    --dark-surface-hover: #2a2a36;
    --dark-border: #2a2a35;
    --dark-border-light: #353540;
    
    --accent-energy: #f59e0b;
    --accent-energy-light: #fbbf24;
    --accent-energy-dark: #d97706;
    --accent-energy-glow: rgba(245, 158, 11, 0.2);
    
    --text-primary-dark: #ffffff;
    --text-secondary-dark: #e0e0e0;
    --text-muted-dark: #9ca3af;
    --text-disabled-dark: #6b7280;
    
    --success-dark: #10b981;
    --warning-dark: #f59e0b;
    --error-dark: #ef4444;
    --info-dark: #3b82f6;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Container max widths */
    --container-max-width: 1400px;
    --container-padding: 2rem;
}

/* Light theme overrides */
.light-theme {
    --dark-bg-primary: #f8fafc;
    --dark-bg-secondary: #ffffff;
    --dark-bg-tertiary: #f1f5f9;
    --dark-surface: #ffffff;
    --dark-surface-hover: #f8fafc;
    --dark-border: #e2e8f0;
    --dark-border-light: #cbd5e1;
    
    --text-primary-dark: #0f172a;
    --text-secondary-dark: #334155;
    --text-muted-dark: #64748b;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base styles */
body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg-primary);
    color: var(--text-primary-dark);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
    padding: 0;
}

/* Container system */
.container,
.container-fluid {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    width: 100%;
}

.container-fluid {
    max-width: 100%;
}

/* Floating Header - Adjusted */
.floating-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 0.75rem 0;
    width: 100%;
}

.light-theme .floating-header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
    width: 100%;
}

/* Ensure header doesn't overflow */
.floating-header .container-fluid {
    max-width: 100%;
    padding: 0;
}

/* Brand Block */
.brand-block {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-emblem {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    overflow: hidden;
    /* background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark)); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-identity {
    display: flex;
    flex-direction: column;
}

.brand-primary {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.light-theme .brand-primary {
    color: #0f172a;
}

.brand-secondary {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    letter-spacing: 0.5px;
}

/* Navigation */
.main-navigation {
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.2rem;
    border-radius: 40px;
    color: var(--text-muted-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-list-link i {
    font-size: 1.1rem;
}

.nav-list-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.light-theme .nav-list-link:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
}

.nav-list-link.active-route {
    color: #fff;
    background: var(--accent-energy);
}

.light-theme .nav-list-link.active-route {
    color: #fff;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

/* Theme Switcher */
.theme-switcher {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-switcher i {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    transition: all 0.3s ease;
}

.theme-switcher .light-icon {
    display: none;
}

.theme-switcher .dark-icon {
    display: block;
}

.light-theme .theme-switcher .light-icon {
    display: block;
    color: var(--accent-energy);
}

.light-theme .theme-switcher .dark-icon {
    display: none;
}

/* Mini Ticker */
.mini-ticker {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 0.5rem 1rem;
}

.ticker-piece {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-piece-label {
    color: var(--text-muted-dark);
    font-weight: 500;
}

.ticker-piece-value {
    color: #fff;
    font-weight: 600;
}

.ticker-piece-change.up {
    color: var(--success-dark);
    font-size: 0.85rem;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-trigger {
    background: none;
    border: none;
    color: var(--text-muted-dark);
    font-size: 1.2rem;
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
}

.notification-pulse {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-energy);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.user-profile-dropdown {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.profile-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.profile-greeting {
    font-size: 0.7rem;
    color: var(--text-muted-dark);
}

.profile-name {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.light-theme .profile-name {
    color: #0f172a;
}

.profile-arrow {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
}

.dropdown-menu-profile {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-menu-profile.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.light-theme .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #0f172a;
}

.dropdown-divider {
    height: 1px;
    background: var(--dark-border);
    margin: 0.5rem 0;
}

/* Auth Links */
.auth-link-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.light-theme .auth-link-primary {
    color: #0f172a;
}

.auth-link-primary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.auth-link-accent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-link-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-energy);
}

/* Market Strip */
.market-strip {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 0.75rem 0;
    overflow-x: auto;
}

.light-theme .market-strip {
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.market-strip-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.market-strip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.market-strip-label {
    color: var(--text-muted-dark);
    font-weight: 500;
}

.market-strip-value {
    color: #fff;
    font-weight: 600;
}

.light-theme .market-strip-value {
    color: #0f172a;
}

.market-strip-change {
    font-size: 0.85rem;
    font-weight: 500;
}

.market-strip-change.positive {
    color: var(--success-dark);
}

.market-strip-change.negative {
    color: var(--error-dark);
}

/* Alert Container */
.alert-container {
    padding: 1rem 0;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.alert-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.light-theme .alert-message {
    color: #0f172a;
}

.alert-message i {
    color: var(--success-dark);
}

.alert-message.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-message.alert-error i {
    color: var(--error-dark);
}

.alert-dismiss {
    background: none;
    border: none;
    color: var(--text-muted-dark);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Content Area */
.content-area {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.content-area > .container,
.content-area > .container-fluid {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Footer */
.site-footer {
    background: var(--dark-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 4rem 0 2rem;
}

.site-footer > .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-brand-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.light-theme .footer-brand-name {
    color: #0f172a;
}

.footer-description {
    color: var(--text-muted-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted-dark);
    margin-bottom: 1.5rem;
}

.footer-contact i {
    color: var(--accent-energy);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: var(--accent-energy);
    color: #fff;
    transform: translateY(-3px);
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.light-theme .footer-heading {
    color: #0f172a;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--accent-energy);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.light-theme .footer-links a:hover {
    color: #0f172a;
}

.newsletter-text {
    color: var(--text-muted-dark);
    margin-bottom: 1.5rem;
}

.newsletter-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 0.75rem 1.2rem;
    color: #fff;
    font-size: 0.95rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-energy);
}

.newsletter-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px -10px var(--accent-energy);
}

.newsletter-note {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
}

.footer-bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: var(--text-muted-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-energy);
}

.separator {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
}

/* Home page specific container adjustments */
.energy-platform {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-grand {
    padding: 2rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-grand .row {
    margin-left: 0;
    margin-right: 0;
}

.process-strip,
.feature-matrix,
.investment-showcase,
.stats-dashboard,
.testimonial-slider,
.faq-accordion-new,
.cta-banner {
    margin-left: 0;
    margin-right: 0;
}







/* =================================== */
/*       HOME CSS                      */
/* =================================== */
/* Home page specific styles - all using CSS variables for theme support */
.energy-platform {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

.hero-grand {
    padding: 2rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-grand::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.industry-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary-dark);
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
    max-width: 90%;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.security-badge i {
    color: var(--success-dark);
}

.hero-visual {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--dark-border);
    transition: all 0.5s ease;
}

.hero-visual:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -15px var(--accent-energy-glow);
    border-color: var(--accent-energy);
}

/* Process Strip */
.process-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 4rem 0;
    background: var(--dark-surface);
    border-radius: 40px;
    padding: 2rem;
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
}

.process-node {
    text-align: center;
    position: relative;
}

.process-node:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 30px;
    color: var(--accent-energy);
    font-size: 1.5rem;
    opacity: 0.5;
}

.process-icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    border: 2px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.process-node:hover .process-icon-circle {
    border-color: var(--accent-energy);
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.1));
}

.process-icon-circle i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.process-node h3 {
    color: var(--text-primary-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process-node p {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    margin: 0;
}

/* Feature Grid */
.feature-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 5rem 0;
}

.feature-block {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-block:hover {
    background: var(--dark-surface-hover);
    border-color: var(--accent-energy);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px var(--accent-energy-glow);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.feature-icon-large i {
    font-size: 2.5rem;
    color: var(--accent-energy);
}

.feature-block h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-block p {
    color: var(--text-muted-dark);
    line-height: 1.7;
    margin: 0;
}

/* Investment Showcase */
.investment-showcase {
    margin: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-eyebrow {
    color: var(--accent-energy);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.plan-collection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.plan-vessel {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.plan-vessel:hover {
    transform: translateY(-10px);
    border-color: var(--accent-energy);
    box-shadow: 0 30px 50px -20px var(--accent-energy-glow);
}

.plan-vessel.popular-plan {
    border-color: var(--accent-energy);
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.05), var(--dark-surface));
}

.plan-crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.3);
}

.plan-type {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-type h3 {
    color: var(--text-primary-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-range {
    color: var(--accent-energy);
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-period {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
}

.plan-feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.plan-feature-list li {
    color: var(--text-secondary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.plan-feature-list li i {
    color: var(--success-dark);
    font-size: 1rem;
}

.plan-return-value {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--success-dark);
    margin: 2rem 0;
}

.plan-return-value small {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    font-weight: 400;
}

.plan-action {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #ffffff;
    text-decoration: none;
    padding: 1rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.plan-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px var(--accent-energy-glow);
    color: #ffffff;
}

/* Stats Dashboard */
.stats-dashboard {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), var(--dark-surface));
    border-radius: 40px;
    padding: 4rem;
    margin: 5rem 0;
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-panel {
    text-align: center;
}

.stat-figure {
    color: var(--accent-energy);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-caption {
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Testimonial Slider */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 5rem 0;
}

.testimonial-card-new {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-card-new:hover {
    border-color: var(--accent-energy);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px var(--accent-energy-glow);
}

.testimonial-quote {
    color: var(--accent-energy);
    font-size: 2rem;
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--text-secondary-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
}

.author-info h5 {
    color: var(--text-primary-dark);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Accordion New */
.faq-accordion-new {
    max-width: 800px;
    margin: 4rem auto;
}

.faq-item-new {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.faq-question-new {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question-new:hover {
    background: rgba(245, 158, 11, 0.05);
}

.faq-question-new i {
    color: var(--accent-energy);
    transition: transform 0.3s ease;
}

.faq-question-new.active i {
    transform: rotate(90deg);
}

.faq-question-new h4 {
    color: var(--text-primary-dark);
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-answer-new {
    padding: 0 2rem 1.5rem 3.5rem;
    display: none;
    color: var(--text-secondary-dark);
    line-height: 1.8;
}

.faq-answer-new.show {
    display: block;
    animation: slideDown 0.3s ease;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 60px;
    padding: 4rem;
    text-align: center;
    margin: 5rem 0;
    backdrop-filter: blur(10px);
}

.cta-banner h2 {
    color: var(--text-primary-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-muted-dark);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-energy {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-energy:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px var(--accent-energy-glow);
    color: #ffffff;
}

.btn-outline-energy {
    background: transparent;
    color: var(--text-primary-dark);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid rgba(245, 158, 11, 0.5);
    transition: all 0.3s ease;
}

.btn-outline-energy:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-3px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* =================================== */
/*       DASHBOARD CSS                 */
/* =================================== */
.dashboard-container {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Welcome Header */
.welcome-panel {
    margin-bottom: 2.5rem;
}

.greeting-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.greeting-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary-dark);
    margin-bottom: 0.5rem;
}

.greeting-highlight {
    color: var(--accent-energy);
    position: relative;
    display: inline-block;
}

.greeting-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(245, 158, 11, 0.2);
    z-index: -1;
}

.date-stamp {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

.date-stamp i {
    color: var(--accent-energy);
}

.date-divider {
    width: 4px;
    height: 4px;
    background: var(--text-muted-dark);
    border-radius: 50%;
    opacity: 0.5;
}

.market-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.status-badge i {
    font-size: 0.5rem;
}

.security-indicator {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted-dark);
    font-size: 0.9rem;
}

.security-indicator i {
    color: var(--success-dark);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.3rem;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* Stats Cards */
.stats-collection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 1.8rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-energy);
    box-shadow: 0 20px 30px -15px var(--accent-energy-glow);
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.metric-icon i {
    font-size: 1.5rem;
    color: var(--accent-energy);
}

.metric-label {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary-dark);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.metric-trend i {
    color: #10b981;
    font-size: 0.8rem;
}

.metric-trend.neutral i {
    color: var(--text-muted-dark);
}

/* Withdrawal Card */
.withdrawal-panel {
    margin-bottom: 2rem;
}

.withdrawal-highlight {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 32px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(16, 185, 129, 0.3);
}

.withdrawal-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(25deg);
}

.withdrawal-highlight::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.withdrawal-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.withdrawal-info h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.withdrawal-info h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.withdrawal-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.withdrawal-action {
    background: white;
    color: #059669;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.withdrawal-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
    color: #047857;
}

/* Alert Messages */
.alert-modern {
    border-radius: 24px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.alert-modern.pending-approval {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.alert-modern.withdrawal-progress {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.alert-modern.pending-approval .alert-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.alert-modern.withdrawal-progress .alert-icon {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.alert-modern.pending-approval .alert-title {
    color: #f59e0b;
}

.alert-modern.withdrawal-progress .alert-title {
    color: #3b82f6;
}

.alert-message {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
}

.alert-close {
    background: none;
    border: none;
    color: var(--text-muted-dark);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.alert-close:hover {
    color: var(--text-primary-dark);
}

/* Referral Card */
.referral-card {
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-bg-tertiary));
    border: 1px solid var(--accent-energy);
    border-radius: 28px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.referral-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.referral-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.referral-icon-large {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--accent-energy);
}

.referral-icon-large i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.referral-stats {
    flex: 1;
}

.referral-stats h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.referral-stats p {
    color: var(--text-muted-dark);
    margin-bottom: 0.8rem;
}

.referral-metrics {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.metric-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
}

.metric-mini i {
    color: var(--accent-energy);
}

.pending-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.referral-button {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -8px var(--accent-energy-glow);
}

.referral-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -8px var(--accent-energy-glow);
    color: white;
}

/* Quick Actions */
.action-strip {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.action-pill {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 0.8rem 1.8rem;
    color: var(--text-secondary-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-pill:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-2px);
    background: var(--dark-surface-hover);
}

.action-pill i {
    font-size: 1.1rem;
}

/* Section Headers */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-head h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary-dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-head h2 i {
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.5rem;
    border-radius: 16px;
    font-size: 1.2rem;
}

.section-link {
    color: var(--accent-energy);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    background: rgba(245, 158, 11, 0.05);
    transition: all 0.3s ease;
}

.section-link:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: translateX(5px);
}

/* Investments Table Card */
.portfolio-panel {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.portfolio-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--dark-border);
    background: var(--dark-bg-tertiary);
}

.portfolio-header h5 {
    color: var(--text-primary-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
}

.portfolio-header h5 i {
    color: var(--accent-energy);
}

/* Table Styles */
.table-dashboard {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-dashboard thead th {
    background: var(--dark-bg-tertiary);
    padding: 1.2rem 1.5rem;
    color: var(--text-muted-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--dark-border);
}

.table-dashboard tbody td {
    padding: 1.2rem 1.5rem;
    color: var(--text-secondary-dark);
    border-bottom: 1px solid var(--dark-border);
    background: var(--dark-surface);
}

.table-dashboard tbody tr:last-child td {
    border-bottom: none;
}

.table-dashboard tbody tr:hover td {
    background: var(--dark-surface-hover);
}

.date-cell {
    display: flex;
    flex-direction: column;
}

.date-main {
    color: var(--text-primary-dark);
    font-weight: 500;
}

.date-sub {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
}

.amount-primary {
    color: var(--text-primary-dark);
    font-weight: 600;
}

.amount-positive {
    color: #10b981;
    font-weight: 600;
}

.profit-detail {
    font-size: 0.7rem;
    color: var(--text-muted-dark);
    margin-top: 0.2rem;
}

/* Badges */
.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-custom.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-custom.completed {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.badge-custom.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-custom i {
    font-size: 0.6rem;
}

.action-button {
    background: rgba(245, 158, 11, 0.05);
    color: var(--accent-energy);
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.action-button:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--accent-energy-light);
}

/* Empty State */
.empty-portfolio {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-portfolio i {
    font-size: 4rem;
    color: var(--text-muted-dark);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.empty-portfolio h4 {
    color: var(--text-primary-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.empty-portfolio p {
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px var(--accent-energy-glow);
    color: white;
}

/* Portfolio Insights */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.insight-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 1.8rem;
}

.insight-title {
    color: var(--text-primary-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.insight-title i {
    color: var(--accent-energy);
}

/* Progress Bar */
.progress-stack {
    display: flex;
    height: 12px;
    border-radius: 40px;
    overflow: hidden;
    background: var(--dark-border);
    margin-bottom: 1rem;
}

.progress-segment {
    height: 100%;
}

.progress-segment.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.progress-segment.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.progress-segment.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.legend-items {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary-dark);
    font-size: 0.9rem;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.primary { background: #3b82f6; }
.legend-dot.success { background: #10b981; }
.legend-dot.warning { background: #f59e0b; }

/* Maturity List */
.maturity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.maturity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.maturity-item:last-child {
    border-bottom: none;
}

.maturity-info small {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
}

.maturity-info strong {
    color: var(--text-primary-dark);
    font-size: 1.1rem;
}

.maturity-date {
    background: var(--dark-bg-tertiary);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.maturity-date i {
    color: var(--accent-energy);
}





/* =================================== */
/*       INVEST CSS                    */
/* =================================== */
.investment-container {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header */
.page-header {
    margin: 2rem 0 2.5rem;
    text-align: center;
}

.page-title {
    color: var(--text-primary-dark);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title i {
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.8rem;
    border-radius: 30px;
    font-size: 2rem;
}

.page-subtitle {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Card */
.investment-panel {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.investment-panel-header {
    background: var(--dark-bg-tertiary);
    padding: 1.8rem 2rem;
    border-bottom: 1px solid var(--dark-border);
    position: relative;
    overflow: hidden;
}

.investment-panel-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
}

.investment-panel-header h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.investment-panel-header h4 i {
    color: var(--accent-energy);
    font-size: 2rem;
}

.investment-panel-header p {
    color: var(--text-muted-dark);
    margin: 0.5rem 0 0 3.2rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.investment-panel-body {
    padding: 2rem;
}

/* Wallet Info Card */
.wallet-module {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.wallet-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-energy), var(--accent-energy-light));
}

.wallet-module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wallet-module-header i {
    font-size: 2.2rem;
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.8rem;
    border-radius: 20px;
}

.wallet-module-header h5 {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
}

/* QR Code and Address Container */
.payment-display {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.qr-display {
    flex-shrink: 0;
    background: white;
    padding: 1rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(245, 158, 11, 0.3);
    position: relative;
}

.qr-display::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dashed var(--accent-energy);
    border-radius: 28px;
    opacity: 0.3;
    pointer-events: none;
}

.qr-display img {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.address-module {
    flex: 1;
    min-width: 280px;
}

.address-box {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.3s ease;
}

.address-box:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.wallet-address-text {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    color: var(--accent-energy);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    word-break: break-all;
}

.copy-trigger {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    color: var(--text-secondary-dark);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-trigger:hover {
    background: var(--accent-energy);
    border-color: var(--accent-energy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-energy-glow);
}

.wallet-hint {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.wallet-hint i {
    color: var(--accent-energy);
}

.wallet-hint.warning i {
    color: var(--warning-dark);
}

/* Calculator Preview */
.calculator-preview {
    background: var(--dark-surface);
    border-radius: 24px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid var(--dark-border);
    animation: slideDown 0.3s ease;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.calc-label {
    color: var(--text-muted-dark);
}

.calc-value {
    color: var(--text-primary-dark);
    font-weight: 600;
}

.calc-value.positive {
    color: var(--success-dark);
    font-weight: 700;
}

.calc-divider {
    height: 1px;
    background: var(--dark-border);
    margin: 0.8rem 0;
}

/* Form Styles */
.form-module {
    margin-top: 1.5rem;
}

.field-group {
    margin-bottom: 1.8rem;
}

.field-label {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-label i {
    color: var(--accent-energy);
}

.field-input {
    background: var(--dark-bg-tertiary);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    color: var(--text-primary-dark);
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.field-input:focus {
    background: var(--dark-surface);
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
    outline: none;
}

.field-input::placeholder {
    color: var(--text-muted-dark);
    opacity: 0.6;
}

.field-hint {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.field-hint i {
    color: var(--accent-energy);
}

/* Profit Alert - Updated for tiered returns */
.profit-module {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid var(--accent-energy);
    border-radius: 28px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.profit-module::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.profit-module i {
    font-size: 3rem;
    color: var(--accent-energy);
    position: relative;
    z-index: 2;
}

.profit-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.profit-title {
    color: var(--accent-energy);
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.3rem;
}

.profit-description {
    color: var(--text-secondary-dark);
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
}

.tier-showcase {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.tier-pill {
    background: rgba(245, 158, 11, 0.15);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    color: var(--text-secondary-dark);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tier-pill strong {
    color: var(--accent-energy);
    font-weight: 700;
    margin-right: 0.3rem;
}

.profit-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.profit-note i {
    font-size: 0.9rem;
    color: var(--accent-energy);
}

/* Action Buttons */
.action-bar {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary-lg {
    flex: 2;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px var(--accent-energy-glow);
    text-decoration: none;
}

.btn-primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
    color: white;
}

.btn-primary-lg i {
    font-size: 1.2rem;
}

.btn-secondary-lg {
    flex: 1;
    background: var(--dark-bg-tertiary);
    color: var(--text-secondary-dark);
    border: 2px solid var(--dark-border);
    border-radius: 50px;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary-lg:hover {
    background: var(--dark-surface);
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-2px);
}

/* Investment Guide Card */
.guide-panel {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.guide-panel-header {
    background: var(--dark-bg-tertiary);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--dark-border);
}

.guide-panel-header h5 {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guide-panel-header h5 i {
    color: var(--accent-energy);
}

.guide-panel-body {
    padding: 2rem;
}

.step-collection {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-entry {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

.step-entry:last-child {
    border-bottom: none;
}

.step-entry:hover {
    transform: translateX(10px);
}

.step-counter {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 15px var(--accent-energy-glow);
}

.step-detail {
    flex: 1;
}

.step-detail h6 {
    color: var(--text-primary-dark);
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.step-detail p {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    margin: 0;
}

/* Security Footer */
.security-footer {
    text-align: center;
    margin: 2rem 0 3rem;
}

.security-note {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
}

.security-note i {
    color: var(--accent-energy);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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





/* =================================== */
/*       TRANSACTIONS CSS              */
/* =================================== */
.ledger-container {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header - matching hero-grand style */
.ledger-masthead {
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.ledger-masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.ledger-masthead-content {
    position: relative;
    z-index: 2;
}

.ledger-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.ledger-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.ledger-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.ledger-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Card - matching feature-block style */
.ledger-pavilion {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.ledger-pavilion-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.ledger-pavilion-header h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ledger-pavilion-header h4 i {
    color: var(--accent-energy);
    font-size: 2rem;
}

/* Toolbar - matching btn-energy style */
.ledger-toolbar {
    display: flex;
    gap: 1rem;
}

.ledger-tool-btn {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #ffffff;
    border: none;
    border-radius: 40px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -8px var(--accent-energy-glow);
    text-decoration: none;
}

.ledger-tool-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
}

.ledger-tool-btn i {
    font-size: 1rem;
}

.ledger-tool-btn.secondary {
    background: transparent;
    border: 2px solid rgba(245, 158, 11, 0.5);
    color: var(--text-primary-dark);
    box-shadow: none;
}

.ledger-tool-btn.secondary:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-3px);
}

/* Filter Section - matching process-strip style */
.ledger-filter-panel {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 2rem 2.5rem;
    margin: 2rem 2.5rem 0;
    backdrop-filter: blur(10px);
}

.ledger-filter-label {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ledger-filter-label i {
    color: var(--accent-energy);
}

.ledger-filter-select,
.ledger-filter-date {
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    color: var(--text-primary-dark);
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ledger-filter-select:focus,
.ledger-filter-date:focus {
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px var(--accent-energy-glow);
    outline: none;
    background: var(--dark-surface-hover);
}

/* Stats Cards - matching stat-panel style */
.ledger-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding: 2.5rem;
}

.ledger-stat-tile {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ledger-stat-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-energy), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ledger-stat-tile:hover {
    transform: translateY(-8px);
    border-color: var(--accent-energy);
    box-shadow: 0 20px 40px -15px var(--accent-energy-glow);
}

.ledger-stat-tile:hover::before {
    opacity: 1;
}

.ledger-stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.ledger-stat-tile:hover .ledger-stat-icon {
    border-color: var(--accent-energy);
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.1));
}

.ledger-stat-icon i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.ledger-stat-label {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ledger-stat-figure {
    color: var(--text-primary-dark);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.ledger-stat-figure.invested {
    color: var(--accent-energy);
}

.ledger-stat-figure.profit {
    color: #10b981;
}

.ledger-stat-figure.withdrawal {
    color: #3b82f6;
}

/* Table Container */
.ledger-table-section {
    padding: 0 2.5rem 2.5rem;
}

/* Table Styles - matching plan-vessel style */
.ledger-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.8rem;
}

.ledger-table thead th {
    background: var(--dark-bg-tertiary);
    color: var(--text-muted-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 1rem;
    border-radius: 20px;
    border: none;
}

.ledger-table tbody tr {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.ledger-table tbody tr:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--accent-energy);
    box-shadow: 0 20px 30px -15px var(--accent-energy-glow);
    background: var(--dark-surface-hover);
}

.ledger-table tbody td {
    padding: 1.4rem 1rem;
    color: var(--text-secondary-dark);
    border: none;
    font-size: 0.95rem;
}

.ledger-table tbody td:first-child {
    border-radius: 24px 0 0 24px;
    padding-left: 2rem;
}

.ledger-table tbody td:last-child {
    border-radius: 0 24px 24px 0;
    padding-right: 2rem;
}

/* Date Cell */
.ledger-date-cell {
    display: flex;
    flex-direction: column;
}

.ledger-date-main {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 1rem;
}

.ledger-date-sub {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Type Badges - matching tier-pill style */
.ledger-type-badge {
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid transparent;
    white-space: nowrap;
}

.ledger-type-badge.investment {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    border-color: rgba(245, 158, 11, 0.2);
}

.ledger-type-badge.profit {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.ledger-type-badge.withdrawal {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.ledger-type-badge.withdrawal_request {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}

.ledger-type-badge.withdrawal_approved {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.ledger-type-badge.withdrawal_rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.ledger-type-badge i {
    font-size: 0.8rem;
}

/* Amount Styles */
.ledger-amount-positive {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.ledger-amount-negative {
    color: var(--accent-energy);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Action Button - matching plan-action style */
.ledger-detail-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px -8px var(--accent-energy-glow);
}

.ledger-detail-trigger:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 25px -10px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
}

/* Empty State - matching testimonial-card-new style */
.ledger-empty-vault {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 5rem 3rem;
    text-align: center;
    margin: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ledger-empty-vault:hover {
    border-color: var(--accent-energy);
    transform: translateY(-5px);
    box-shadow: 0 30px 50px -20px var(--accent-energy-glow);
}

.ledger-empty-vault i {
    font-size: 5rem;
    color: var(--accent-energy);
    opacity: 0.4;
    margin-bottom: 2rem;
}

.ledger-empty-vault h4 {
    color: var(--text-primary-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ledger-empty-vault p {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Pagination - matching process-node style */
.ledger-pagination-section {
    padding: 2.5rem;
    border-top: 1px solid var(--dark-border);
}

.ledger-pagination-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ledger-page-item {
    list-style: none;
}

.ledger-page-link {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 0.8rem 1.5rem;
    color: var(--text-secondary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    min-width: 45px;
}

.ledger-page-item.active .ledger-page-link {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-color: var(--accent-energy);
    color: white;
    box-shadow: 0 10px 20px -8px var(--accent-energy-glow);
}

.ledger-page-link:hover {
    background: var(--accent-energy);
    border-color: var(--accent-energy);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -10px var(--accent-energy-glow);
}

/* Modal - matching plan-vessel style */
.ledger-modal-window {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

.ledger-modal-window .modal-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    border-bottom: 1px solid var(--dark-border);
    padding: 2rem 2.5rem;
}

.ledger-modal-window .modal-title {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ledger-modal-window .modal-title i {
    color: var(--accent-energy);
}

.ledger-modal-window .modal-body {
    padding: 2.5rem;
    color: var(--text-secondary-dark);
}

.ledger-modal-window .modal-footer {
    border-top: 1px solid var(--dark-border);
    padding: 2rem 2.5rem;
}

/* Detail Rows - matching feature-block style */
.ledger-detail-line {
    display: flex;
    margin-bottom: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed var(--dark-border);
}

.ledger-detail-line:last-child {
    border-bottom: none;
}

.ledger-detail-key {
    width: 140px;
    color: var(--text-muted-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.ledger-detail-value {
    flex: 1;
    color: var(--text-primary-dark);
    font-weight: 500;
}

.ledger-detail-value.hash {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    background: var(--dark-bg-tertiary);
    padding: 0.6rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
}

/* Blockchain Link - matching btn-outline-energy style */
.ledger-blockchain-link {
    background: transparent;
    color: var(--accent-energy);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid rgba(245, 158, 11, 0.5);
    transition: all 0.3s ease;
}

.ledger-blockchain-link:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px var(--accent-energy-glow);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-float {
    animation: fadeInUp 0.6s ease forwards;
}

/* Dark mode adjustments */
[data-theme="dark"] .ledger-tool-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Receipt button styles - add to your existing CSS */
.ledger-receipt-btn {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    color: var(--accent-energy);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ledger-receipt-btn:hover {
    background: var(--accent-energy);
    color: #fff;
    border-color: var(--accent-energy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px -5px var(--accent-energy);
}

.light-theme .ledger-receipt-btn {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

.light-theme .ledger-receipt-btn:hover {
    background: var(--accent-energy);
    color: #fff;
}

/* Receipt specific styles for modal */
.ledger-detail-line .hash {
    font-family: monospace;
    font-size: 0.85rem;
    word-break: break-all;
    max-width: 300px;
    text-align: right;
}





/* =================================== */
/*       PROFILE CSS                   */
/* =================================== */
.profile-zone {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header */
.profile-head-section {
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.profile-head-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.profile-head-content {
    position: relative;
    z-index: 2;
}

.profile-head-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.profile-head-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.profile-head-accent {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.profile-head-sub {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Left Column Cards */
.profile-info-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.profile-info-card:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 20px 40px -15px var(--accent-energy-glow);
}

.profile-info-body {
    padding: 2.5rem;
}

/* Avatar Section */
.profile-avatar-zone {
    margin-bottom: 2rem;
    text-align: center;
}

.profile-avatar-frame {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.profile-avatar-wrap {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--dark-border);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.profile-avatar-wrap:hover {
    border-color: var(--accent-energy);
    transform: scale(1.05);
    box-shadow: 0 15px 30px -10px var(--accent-energy-glow);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-default {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    font-size: 4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Avatar Actions */
.profile-avatar-toolbar {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.profile-avatar-tool {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--dark-surface-hover);
    border: 1px solid var(--dark-border);
    color: var(--text-secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-avatar-tool:hover {
    background: var(--accent-energy);
    border-color: var(--accent-energy);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -8px var(--accent-energy-glow);
}

.profile-avatar-tool.delete:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* Profile Info */
.profile-user-name {
    color: var(--text-primary-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.profile-user-email {
    color: var(--text-muted-dark);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Badge Container */
.profile-badge-collection {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.profile-badge-item {
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.profile-badge-item.member {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.profile-badge-item.verified {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

/* Profile Stats */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-stat-block {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.profile-stat-block:hover {
    border-color: var(--accent-energy);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -12px var(--accent-energy-glow);
}

.profile-stat-label {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.profile-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.profile-stat-value.invested {
    color: var(--accent-energy);
}

.profile-stat-value.profit {
    color: #10b981;
}

.profile-stat-trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.profile-stat-trend.positive {
    color: #10b981;
}

.profile-stat-trend i {
    font-size: 0.7rem;
}

/* Wallet Info */
.profile-wallet-module {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 1.8rem;
    text-align: left;
}

.profile-wallet-module p {
    color: var(--text-secondary-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.profile-wallet-module p i {
    color: var(--accent-energy);
    width: 20px;
}

.profile-wallet-module p strong {
    color: var(--text-primary-dark);
}

.profile-wallet-address-box {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 1rem 1.2rem;
    color: var(--text-muted-dark);
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.profile-wallet-copy-btn {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 0.5rem 1rem;
    color: var(--text-secondary-dark);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.profile-wallet-copy-btn:hover {
    background: var(--accent-energy);
    border-color: var(--accent-energy);
    color: white;
    transform: translateY(-2px);
}

/* Quick Actions Card */
.profile-quick-panel {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.profile-quick-panel:hover {
    border-color: var(--accent-energy);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px var(--accent-energy-glow);
}

.profile-quick-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--dark-border);
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
}

.profile-quick-header h5 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.profile-quick-header h5 i {
    color: var(--accent-energy);
}

.profile-quick-body {
    padding: 1rem;
}

.profile-quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-secondary-dark);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.profile-quick-link:hover {
    background: var(--dark-bg-tertiary);
    color: var(--accent-energy);
    transform: translateX(8px);
}

.profile-quick-link i {
    width: 24px;
    color: var(--accent-energy);
    font-size: 1.1rem;
}

/* Edit Card */
.profile-edit-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.profile-edit-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile-edit-header h5 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-edit-header h5 i {
    color: var(--accent-energy);
}

.profile-edit-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.profile-edit-body {
    padding: 2.5rem;
}

/* Form Grid */
.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-form-section {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 1.8rem;
}

.profile-section-title {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--dark-border);
}

.profile-section-title i {
    color: var(--accent-energy);
}

/* Form Groups */
.profile-field-group {
    margin-bottom: 1.5rem;
}

.profile-field-group label {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-field-group label i {
    color: var(--accent-energy);
}

.profile-required {
    color: #ef4444;
    font-size: 0.9rem;
    margin-left: 0.2rem;
}

.profile-optional {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    font-weight: 400;
    margin-left: 0.2rem;
}

.profile-input-wrap {
    position: relative;
}

.profile-input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted-dark);
    z-index: 1;
}

.profile-form-control {
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    padding: 1rem 1.2rem 1rem 3rem;
    color: var(--text-primary-dark);
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.profile-form-control:focus {
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
    outline: none;
    background: var(--dark-surface-hover);
}

.profile-form-control::placeholder {
    color: var(--text-muted-dark);
    opacity: 0.6;
}

.profile-field-hint {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.profile-field-hint i {
    color: var(--accent-energy);
}

.profile-field-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* File Input Area */
.profile-upload-wrap {
    margin: 1.5rem 0;
}

.profile-upload-hidden {
    display: none;
}

.profile-upload-area {
    background: var(--dark-surface);
    border: 2px dashed var(--dark-border);
    border-radius: 28px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-upload-area:hover {
    border-color: var(--accent-energy);
    background: var(--dark-bg-tertiary);
}

.profile-upload-area i {
    font-size: 3rem;
    color: var(--accent-energy);
    margin-bottom: 1rem;
    display: block;
}

.profile-upload-area span {
    color: var(--text-primary-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.profile-upload-area small {
    color: var(--text-muted-dark);
}

/* Image Preview Section */
.profile-image-preview {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.2rem;
    margin-top: 1rem;
}

.profile-image-preview img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid var(--dark-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-image-preview img:hover {
    border-color: var(--accent-energy);
    transform: scale(1.05);
}

.profile-preview-info {
    flex: 1;
}

.profile-preview-info strong {
    color: var(--text-primary-dark);
    display: block;
    margin-bottom: 0.2rem;
}

.profile-preview-info small {
    color: var(--text-muted-dark);
}

.profile-preview-actions {
    display: flex;
    gap: 0.5rem;
}

.profile-preview-btn {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    color: var(--text-secondary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-preview-btn:hover {
    background: var(--accent-energy);
    border-color: var(--accent-energy);
    color: white;
    transform: translateY(-2px);
}

.profile-preview-btn.delete:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* Alert Info */
.profile-alert-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid var(--accent-energy);
    border-radius: 28px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-alert-box i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.profile-alert-box div {
    flex: 1;
}

.profile-alert-box strong {
    color: var(--accent-energy);
    display: block;
    margin-bottom: 0.3rem;
}

.profile-alert-box span {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
}

/* Action Buttons */
.profile-action-bar {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.profile-save-btn {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #ffffff;
    border: none;
    border-radius: 40px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -8px var(--accent-energy-glow);
    text-decoration: none;
}

.profile-save-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
    color: white;
}

.profile-cancel-btn {
    background: transparent;
    color: var(--text-primary-dark);
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-radius: 40px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.profile-cancel-btn:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-3px);
}

/* Activity Card */
.profile-activity-panel {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.profile-activity-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--dark-border);
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
}

.profile-activity-header h5 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.profile-activity-header h5 i {
    color: var(--accent-energy);
}

.profile-activity-body {
    padding: 1.5rem;
}

.profile-activity-entry {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.profile-activity-entry:hover {
    border-color: var(--accent-energy);
    transform: translateX(8px);
    box-shadow: 0 15px 25px -12px var(--accent-energy-glow);
}

.profile-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.profile-entry-badge {
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.profile-entry-badge.investment {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
}

.profile-entry-badge.profit {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.profile-entry-badge.withdrawal {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.profile-entry-badge.withdrawal_request {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.profile-entry-time {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.profile-entry-desc {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.profile-entry-amount {
    font-weight: 700;
    font-size: 1.2rem;
}

.profile-entry-amount.positive {
    color: #10b981;
}

.profile-entry-amount.negative {
    color: var(--accent-energy);
}

.profile-view-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-energy);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    background: rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.profile-view-link:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: translateX(5px);
}

/* Preview Modal */
.profile-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.profile-modal-overlay.active {
    display: flex;
}

.profile-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.profile-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 24px;
    border: 4px solid var(--dark-border);
}

.profile-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-modal-close:hover {
    background: var(--accent-energy);
    transform: scale(1.1);
}

/* Animations */
@keyframes profileFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-animate {
    animation: profileFadeIn 0.6s ease forwards;
}

/* Dark mode adjustments */
[data-theme="dark"] .profile-save-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}





/* =================================== */
/*       REFERRAL CSS                  */
/* =================================== */
.referral-zone {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header - matching hero-grand style */
.referral-masthead {
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.referral-masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.referral-masthead-content {
    position: relative;
    z-index: 2;
}

.referral-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.referral-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.referral-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.referral-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Cards - matching stat-panel style */
.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.referral-stat-tile {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.referral-stat-tile::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.referral-stat-tile:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-energy);
    box-shadow: 0 25px 40px -18px var(--accent-energy-glow);
}

.referral-stat-tile:hover::before {
    transform: scale(1.5);
}

.referral-stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.referral-stat-tile:hover .referral-stat-icon {
    border-color: var(--accent-energy);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.1));
}

.referral-stat-icon i {
    font-size: 1.8rem;
    color: var(--accent-energy);
}

.referral-stat-label {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.referral-stat-value {
    color: var(--text-primary-dark);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.referral-stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted-dark);
}

.referral-stat-trend i {
    font-size: 0.9rem;
}

.referral-stat-trend.success {
    color: #10b981;
}

.referral-stat-trend.warning {
    color: #f59e0b;
}

/* Referral Link Card - matching profit-alert style */
.referral-link-panel {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    border: 2px solid var(--accent-energy);
    border-radius: 40px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.referral-link-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.referral-link-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.referral-link-header i {
    font-size: 2rem;
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: 20px;
}

.referral-link-header h3 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
}

.referral-link-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.referral-link-field {
    flex: 1;
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    color: var(--accent-energy);
    font-family: monospace;
    font-size: 1rem;
    min-width: 280px;
    transition: all 0.3s ease;
}

.referral-link-field:focus {
    outline: none;
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.referral-link-action {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 20px -8px var(--accent-energy-glow);
}

.referral-link-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
}

.referral-meta {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.referral-meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.referral-meta-item i {
    color: var(--accent-energy);
    font-size: 1.2rem;
    width: 24px;
}

.referral-meta-item span {
    color: var(--text-secondary-dark);
}

.referral-meta-item strong {
    color: var(--text-primary-dark);
    margin-left: 0.3rem;
}

/* How It Works Section - matching process-strip style */
.referral-guide {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
}

.referral-guide-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.referral-guide-header i {
    color: var(--accent-energy);
    font-size: 1.8rem;
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: 18px;
}

.referral-guide-header h3 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.referral-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.referral-step {
    text-align: center;
    position: relative;
}

.referral-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 30px;
    color: var(--accent-energy);
    font-size: 1.8rem;
    opacity: 0.4;
}

.referral-step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 1.2rem;
    box-shadow: 0 10px 20px -8px var(--accent-energy-glow);
}

.referral-step h5 {
    color: var(--text-primary-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.referral-step p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Main Card - matching investment-showcase style */
.referral-ledger {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.referral-ledger-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 1.8rem 2.2rem;
    border-bottom: 1px solid var(--dark-border);
}

.referral-ledger-header h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.referral-ledger-header h4 i {
    color: var(--accent-energy);
}

.referral-ledger-body {
    padding: 2rem;
}

/* Table Styles - matching ledger-table style */
.referral-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.8rem;
}

.referral-table thead th {
    background: var(--dark-bg-tertiary);
    color: var(--text-muted-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 1rem;
    border-radius: 16px;
    border: none;
}

.referral-table tbody tr {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.referral-table tbody tr:hover {
    border-color: var(--accent-energy);
    transform: translateX(8px) scale(1.01);
    box-shadow: 0 15px 30px -12px var(--accent-energy-glow);
}

.referral-table tbody td {
    padding: 1.2rem 1rem;
    color: var(--text-secondary-dark);
    border: none;
}

.referral-table tbody td:first-child {
    border-radius: 24px 0 0 24px;
    padding-left: 1.8rem;
}

.referral-table tbody td:last-child {
    border-radius: 0 24px 24px 0;
    padding-right: 1.8rem;
}

/* Status Badges - matching tier-pill style */
.referral-status {
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.referral-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.referral-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}

.referral-status.inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.referral-bonus {
    font-weight: 700;
    color: #10b981;
}

/* Empty State */
.referral-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.referral-empty i {
    font-size: 5rem;
    color: var(--text-muted-dark);
    opacity: 0.2;
    margin-bottom: 1.5rem;
}

.referral-empty h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.referral-empty p {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.referral-code-highlight {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--accent-energy);
    border-radius: 40px;
    padding: 1rem 2rem;
    display: inline-block;
    color: var(--accent-energy);
    font-weight: 700;
    font-size: 1.2rem;
    font-family: monospace;
}

/* Animations */
@keyframes referralFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.referral-animate {
    animation: referralFadeIn 0.6s ease forwards;
}





/* =================================== */
/*       ABOUT CSS                      */
/* =================================== */
.about-container {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Hero Section - matching hero-grand style */
.about-hero {
    padding: 2rem 0 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.about-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Stats Strip - matching process-strip style */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0 4rem;
    background: var(--dark-surface);
    border-radius: 60px;
    padding: 2.5rem;
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
}

.about-stat-item {
    text-align: center;
}

.about-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-energy);
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.about-stat-label {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-stat-suffix {
    font-size: 1.5rem;
    color: var(--text-muted-dark);
    margin-left: 0.2rem;
}

/* Section Cards - matching feature-block style */
.about-section {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 3rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.about-section:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 25px 40px -20px var(--accent-energy-glow);
}

.about-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--dark-border);
}

.about-section-header i {
    font-size: 2.5rem;
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: 24px;
}

.about-section-header h2 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
}

.about-section-header h2 span {
    color: var(--accent-energy);
    font-size: 1.2rem;
    display: block;
    font-weight: 400;
    margin-top: 0.2rem;
}

/* Grid Layouts */
.about-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.about-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.about-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Content Cards */
.about-content-card {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.about-content-card:hover {
    border-color: var(--accent-energy);
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px var(--accent-energy-glow);
}

.about-content-card i {
    font-size: 2rem;
    color: var(--accent-energy);
    margin-bottom: 1.2rem;
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: 20px;
}

.about-content-card h3 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.about-content-card p {
    color: var(--text-muted-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-content-card .highlight {
    color: var(--accent-energy);
    font-weight: 600;
}

/* Revenue Model Cards */
.about-revenue-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-revenue-card {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.about-revenue-card:hover {
    border-color: var(--accent-energy);
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px var(--accent-energy-glow);
}

.about-revenue-card i {
    font-size: 2.2rem;
    color: var(--accent-energy);
    margin-bottom: 1rem;
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: 20px;
    display: inline-block;
}

.about-revenue-card h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.about-revenue-card p {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Technology Pillars */
.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.about-pillar {
    text-align: center;
    padding: 2rem;
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    transition: all 0.3s ease;
}

.about-pillar:hover {
    border-color: var(--accent-energy);
    transform: translateY(-5px);
}

.about-pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.about-pillar-icon i {
    font-size: 2rem;
    color: white;
}

.about-pillar h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.about-pillar p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timeline */
.about-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-energy);
    opacity: 0.3;
}

.about-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
}

.about-timeline-dot {
    position: absolute;
    left: -2rem;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.about-timeline-content {
    flex: 1;
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.about-timeline-content:hover {
    transform: translateX(8px);
    border-color: var(--accent-energy);
}

.about-timeline-content h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.about-timeline-content p {
    color: var(--text-muted-dark);
    margin: 0;
    line-height: 1.6;
}

/* Foundation Section */
.about-foundation {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    border: 2px solid var(--accent-energy);
    border-radius: 40px;
    padding: 3rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.about-foundation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-foundation-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-foundation-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-foundation-icon i {
    font-size: 3.5rem;
    color: white;
}

.about-foundation-text {
    flex: 1;
}

.about-foundation-text h3 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-foundation-text p {
    color: var(--text-secondary-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-foundation-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-foundation-tag {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Project Section */
.about-project {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 3rem;
    margin: 3rem 0;
}

.about-project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-project-header i {
    font-size: 2.5rem;
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: 24px;
}

.about-project-header h2 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
}

.about-project-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.about-project-feature {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.about-project-feature:hover {
    border-color: var(--accent-energy);
    transform: translateX(5px);
}

.about-project-feature i {
    font-size: 1.5rem;
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.8rem;
    border-radius: 16px;
}

.about-project-feature div h4 {
    color: var(--text-primary-dark);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.about-project-feature div p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.about-cta {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 2px solid var(--accent-energy);
    border-radius: 60px;
    padding: 4rem;
    text-align: center;
    margin: 4rem 0;
}

.about-cta h2 {
    color: var(--text-primary-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-cta p {
    color: var(--text-muted-dark);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.about-cta-button {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px -10px var(--accent-energy-glow);
}

.about-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px var(--accent-energy-glow);
    color: white;
}





/* =================================== */
/*       INVEST DETAIL CSS             */
/* =================================== */
.detail-zone {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header - matching hero-grand style */
.detail-masthead {
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.detail-masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.detail-masthead-content {
    position: relative;
    z-index: 2;
}

.detail-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.detail-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.detail-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.detail-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Card - matching plan-vessel style */
.detail-pavilion {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.detail-pavilion:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 25px 40px -20px var(--accent-energy-glow);
}

.detail-pavilion-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 1.8rem 2.2rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-pavilion-header h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-pavilion-header h4 i {
    color: var(--accent-energy);
}

.detail-pavilion-body {
    padding: 2.5rem;
}

/* Status Badge - matching tier-pill style */
.detail-status {
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px -4px rgba(0,0,0,0.1);
}

.detail-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.detail-status.completed {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.detail-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}

.detail-status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

/* Info Grid */
.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-info-card {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.detail-info-card:hover {
    border-color: var(--accent-energy);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -12px var(--accent-energy-glow);
}

.detail-info-label {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-info-label i {
    color: var(--accent-energy);
}

.detail-info-value {
    color: var(--text-primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Amount Cards - matching stat-panel style */
.detail-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.detail-amount-card {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.detail-amount-card:hover {
    border-color: var(--accent-energy);
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px var(--accent-energy-glow);
}

.detail-amount-label {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.detail-amount-label i {
    font-size: 0.9rem;
}

.detail-amount-label.invested i {
    color: var(--accent-energy);
}

.detail-amount-label.profit i {
    color: #10b981;
}

.detail-amount-label.total i {
    color: #3b82f6;
}

.detail-amount-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.detail-amount-value.invested {
    color: var(--accent-energy);
}

.detail-amount-value.profit {
    color: #10b981;
}

.detail-amount-value.total {
    color: #3b82f6;
}

.detail-amount-sub {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* Countdown Timer - matching profit-alert style */
.detail-timer {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    border: 1px solid var(--accent-energy);
    border-radius: 32px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.detail-timer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.detail-timer-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-timer-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-energy);
}

.detail-timer-icon i {
    font-size: 2.5rem;
    color: var(--accent-energy);
    animation: timerPulse 2s infinite;
}

@keyframes timerPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.detail-timer-info {
    flex: 1;
}

.detail-timer-info h5 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.detail-timer-display {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 1rem;
}

.detail-timer-unit {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 1rem 0.8rem;
    min-width: 80px;
    text-align: center;
}

.detail-timer-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-energy);
    line-height: 1.2;
    font-family: 'Monaco', 'Menlo', monospace;
}

.detail-timer-text {
    color: var(--text-muted-dark);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-timer-note {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-timer-note i {
    color: var(--accent-energy);
}

/* Transaction Details Section */
.detail-transaction-section {
    margin-bottom: 2.5rem;
}

.detail-section-header {
    color: var(--text-primary-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-section-header i {
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.8rem;
    border-radius: 16px;
}

.detail-transaction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.detail-transaction-card {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.detail-transaction-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-energy);
    box-shadow: 0 15px 25px -12px var(--accent-energy-glow);
}

.detail-transaction-header {
    background: var(--dark-surface);
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary-dark);
    font-weight: 600;
}

.detail-transaction-header i {
    color: var(--accent-energy);
}

.detail-transaction-body {
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.detail-hash {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--accent-energy);
    background: var(--dark-surface);
    padding: 0.5rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
    flex: 1;
    word-break: break-all;
}

.detail-wallet {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary-dark);
    background: var(--dark-surface);
    padding: 0.5rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
    flex: 1;
    word-break: break-all;
}

.detail-copy-btn {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 0.4rem 1.2rem;
    color: var(--text-secondary-dark);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.detail-copy-btn:hover {
    background: var(--accent-energy);
    border-color: var(--accent-energy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -6px var(--accent-energy-glow);
}

/* Dates Card */
.detail-dates-card .detail-transaction-body {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
}

.detail-date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--dark-border);
}

.detail-date-item:last-child {
    border-bottom: none;
}

.detail-date-item.highlight {
    background: rgba(245, 158, 11, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 16px;
    margin-top: 0.3rem;
    border-bottom: none;
}

.detail-date-label {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
}

.detail-date-value {
    color: var(--text-primary-dark);
    font-weight: 600;
}

.detail-date-item.highlight .detail-date-value {
    color: var(--accent-energy);
}

/* Related Transactions Timeline */
.detail-timeline-section {
    margin-top: 2rem;
}

.detail-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.detail-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--dark-border);
    opacity: 0.5;
}

.detail-timeline-item {
    position: relative;
    margin-bottom: 1.8rem;
    display: flex;
    gap: 1.2rem;
}

.detail-timeline-item:last-child {
    margin-bottom: 0;
}

.detail-timeline-marker {
    position: absolute;
    left: -2.5rem;
    width: 32px;
    height: 32px;
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.detail-timeline-item:hover .detail-timeline-marker {
    border-color: var(--accent-energy);
    transform: scale(1.15);
}

.detail-timeline-marker i {
    font-size: 0.8rem;
    color: var(--text-secondary-dark);
}

.detail-timeline-marker.investment {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-energy);
}

.detail-timeline-marker.investment i {
    color: var(--accent-energy);
}

.detail-timeline-marker.profit {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.detail-timeline-marker.profit i {
    color: #10b981;
}

.detail-timeline-marker.withdrawal {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.detail-timeline-marker.withdrawal i {
    color: #3b82f6;
}

.detail-timeline-marker.withdrawal_request {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
}

.detail-timeline-marker.withdrawal_request i {
    color: #f59e0b;
}

.detail-timeline-marker.withdrawal_rejected {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.detail-timeline-marker.withdrawal_rejected i {
    color: #ef4444;
}

.detail-timeline-content {
    flex: 1;
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.detail-timeline-item:hover .detail-timeline-content {
    transform: translateX(8px);
    border-color: var(--accent-energy);
    box-shadow: 0 10px 20px -12px var(--accent-energy-glow);
}

.detail-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-timeline-type {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-timeline-type.investment {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.detail-timeline-type.profit {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.detail-timeline-type.withdrawal {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.detail-timeline-type.withdrawal_request {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.detail-timeline-type.withdrawal_rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.detail-timeline-time {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.detail-timeline-desc {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.detail-timeline-amount {
    font-weight: 800;
    font-size: 1.2rem;
    text-align: right;
}

.detail-timeline-amount.investment {
    color: var(--accent-energy);
}

.detail-timeline-amount.profit {
    color: #10b981;
}

.detail-timeline-amount.withdrawal {
    color: #3b82f6;
}

.detail-timeline-amount.withdrawal_request {
    color: #f59e0b;
}

.detail-timeline-amount.withdrawal_rejected {
    color: #ef4444;
}

/* Action Buttons - matching btn-energy style */
/* .detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
} */

.detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-action-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* .detail-back-btn {
    background: transparent;
    color: var(--text-primary-dark);
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-radius: 40px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.detail-back-btn:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateX(-3px);
} */

.detail-back-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.detail-back-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateX(-3px);
}

/* Reinvest Button */
.detail-reinvest-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.detail-reinvest-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* .detail-withdraw-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 0.8rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -8px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    cursor: pointer;
} */

/* Withdraw Button */
.detail-withdraw-btn {
    background: linear-gradient(135deg, var(--accent-primary), #f39c12);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

.detail-withdraw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

/* .detail-withdraw-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.detail-withdraw-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
} */

/* Pending Withdraw Button */
.detail-withdraw-btn.pending {
    background: #f59e0b;
    cursor: not-allowed;
    opacity: 0.8;
    box-shadow: none;
}

.detail-withdraw-btn.pending:hover {
    transform: none;
    box-shadow: none;
}

/* .detail-withdraw-btn.pending {
    background: #f59e0b;
    box-shadow: 0 10px 20px -8px rgba(245, 158, 11, 0.3);
}

.detail-withdraw-btn.pending:hover:not(:disabled) {
    box-shadow: 0 15px 30px -10px rgba(245, 158, 11, 0.4);
} */

/* .detail-pending-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.detail-pending-badge i {
    animation: pulse 2s infinite;
} */

/* Pending Badge */
.detail-pending-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.3rem;
}

.detail-pending-badge i {
    font-size: 0.65rem;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Modal - matching plan-vessel style */
.detail-modal {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.detail-modal .modal-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    border-bottom: 1px solid var(--dark-border);
    padding: 1.5rem 2rem;
}

.detail-modal .modal-title {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-modal .modal-title i {
    color: var(--accent-energy);
}

.detail-modal .modal-body {
    padding: 2rem;
    color: var(--text-secondary-dark);
}

.detail-modal .modal-footer {
    border-top: 1px solid var(--dark-border);
    padding: 1.5rem 2rem;
}

/* Dark mode adjustments */
[data-theme="dark"] .detail-withdraw-btn {
    background: linear-gradient(135deg, #10b981, #047857);
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Animations */
@keyframes detailFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-animate {
    animation: detailFadeIn 0.6s ease forwards;
}

/* Copy button feedback */
.detail-copy-btn.copied {
    background: var(--accent-energy);
    color: white;
    border-color: var(--accent-energy);
}

/* Investment Actions Panel */
.invest-action-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.invest-actions-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* Back Action Button */
.invest-back-action {
    background: var(--dark-bg-secondary);
    border: 1px solid var(--dark-border);
    color: var(--text-secondary);
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.invest-back-action:hover {
    background: var(--dark-bg-tertiary);
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateX(-3px);
}

/* Reinvest Action Button */
.invest-reinvest-action {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    cursor: pointer;
}

.invest-reinvest-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Withdraw Action Button */
.invest-withdraw-action {
    background: linear-gradient(135deg, var(--accent-energy), #f39c12);
    color: white;
    text-decoration: none;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

.invest-withdraw-action:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

/* Pending Withdraw Button */
.invest-withdraw-action.pending {
    background: #f59e0b;
    cursor: not-allowed;
    opacity: 0.8;
    box-shadow: none;
}

.invest-withdraw-action.pending:hover {
    transform: none;
    box-shadow: none;
}

/* Pending Badge */
.invest-pending-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.3rem;
}

.invest-pending-badge i {
    font-size: 0.65rem;
}

/* Disabled state */
.invest-withdraw-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
    .invest-action-panel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .invest-actions-group {
        width: 100%;
        flex-direction: column;
    }
    
    .invest-back-action,
    .invest-reinvest-action,
    .invest-withdraw-action {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1rem;
    }
    
    .invest-pending-badge {
        margin-left: 0.5rem;
    }
}

/* Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {
    .invest-action-panel {
        margin-top: 1.5rem;
        gap: 0.8rem;
    }
    
    .invest-actions-group {
        gap: 0.6rem;
    }
    
    .invest-back-action,
    .invest-reinvest-action,
    .invest-withdraw-action {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
    
    .invest-pending-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
}

/* Mobile Portrait (max-width: 576px) */
@media (max-width: 576px) {
    .invest-action-panel {
        margin-top: 1rem;
    }
    
    .invest-actions-group {
        gap: 0.5rem;
    }
    
    .invest-back-action,
    .invest-reinvest-action,
    .invest-withdraw-action {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    
    .invest-pending-badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }
    
    .invest-pending-badge i {
        font-size: 0.55rem;
    }
}

/* Toast Notifications */
.invest-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.invest-toast {
    min-width: 280px;
    max-width: 350px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    animation: slideInRight 0.3s ease;
}

.invest-toast-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, var(--dark-bg-secondary), var(--bg-tertiary));
    border-bottom: 1px solid var(--dark-border);
}

.invest-toast-header i {
    color: #10b981;
    font-size: 1rem;
}

.invest-toast-header strong {
    color: var(--text-primary-dark);
    font-size: 0.9rem;
    flex: 1;
}

.invest-toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.invest-toast-close:hover {
    color: var(--accent-energy);
}

.invest-toast-body {
    padding: 0.8rem 1rem;
    color: var(--text-secondary-dark);
    font-size: 0.85rem;
    line-height: 1.5;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Banner Animation */
.animate-banner {
    animation: fadeInUp 0.5s ease;
}

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






/* =================================== */
/*       WITHDRAW CSS                  */
/* =================================== */
.withdraw-zone {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header - matching hero-grand style */
.withdraw-masthead {
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.withdraw-masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.withdraw-masthead-content {
    position: relative;
    z-index: 2;
}

.withdraw-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.withdraw-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.withdraw-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.withdraw-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Card - matching plan-vessel style */
.withdraw-pavilion {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.withdraw-pavilion:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 25px 40px -20px var(--accent-energy-glow);
}

.withdraw-pavilion-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.withdraw-pavilion-header i {
    font-size: 2rem;
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.8rem;
    border-radius: 20px;
}

.withdraw-pavilion-header h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
}

.withdraw-pavilion-body {
    padding: 2.5rem;
}

/* Alert Info - matching profit-alert style */
.withdraw-alert {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    border: 1px solid var(--accent-energy);
    border-radius: 28px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.withdraw-alert::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.withdraw-alert i {
    font-size: 2rem;
    color: var(--accent-energy);
    position: relative;
    z-index: 2;
}

.withdraw-alert-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.withdraw-alert-content strong {
    color: var(--accent-energy);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.withdraw-alert-content span {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
}

/* Balance Card - matching stat-panel style */
.withdraw-balance-card {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.withdraw-balance-card:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 20px 30px -15px var(--accent-energy-glow);
}

.withdraw-balance-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.withdraw-balance-label {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.withdraw-balance-amount {
    font-size: 4rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.withdraw-balance-note {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Form Styles - matching invest.html form style */
.withdraw-form {
    margin-bottom: 2rem;
}

.withdraw-form-group {
    margin-bottom: 2rem;
}

.withdraw-form-label {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.withdraw-form-label i {
    color: var(--accent-energy);
}

.withdraw-input-wrapper {
    position: relative;
}

.withdraw-input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted-dark);
    font-size: 1rem;
    z-index: 1;
}

.withdraw-input {
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.2rem 1.5rem 1.2rem 3rem;
    color: var(--text-primary-dark);
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.withdraw-input:focus {
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
    outline: none;
    background: var(--dark-surface-hover);
}

.withdraw-input[readonly] {
    background: var(--dark-bg-tertiary);
    border-color: var(--dark-border);
    cursor: not-allowed;
    color: var(--accent-energy);
    font-family: monospace;
    padding-left: 3rem;
}

.withdraw-input::placeholder {
    color: var(--text-muted-dark);
    opacity: 0.6;
}

.withdraw-hint {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.withdraw-hint i {
    color: var(--accent-energy);
}

/* Checkbox Styles */
.withdraw-checkbox-group {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.2rem 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.withdraw-checkbox-group:hover {
    border-color: var(--accent-energy);
}

.withdraw-checkbox {
    width: 22px;
    height: 22px;
    accent-color: var(--accent-energy);
    cursor: pointer;
}

.withdraw-checkbox-label {
    color: var(--text-primary-dark);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    flex: 1;
}

/* Divider */
.withdraw-divider {
    height: 2px;
    background: var(--dark-border);
    margin: 2rem 0;
    position: relative;
}

.withdraw-divider::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 6px;
    background: var(--accent-energy);
    border-radius: 6px;
}

/* Action Buttons - matching btn-energy style */
.withdraw-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.withdraw-submit-btn {
    flex: 2;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    border: none;
    border-radius: 60px;
    padding: 1.2rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px -8px var(--accent-energy-glow);
    text-decoration: none;
}

.withdraw-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -8px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
}

.withdraw-cancel-btn {
    flex: 1;
    background: transparent;
    color: var(--text-primary-dark);
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-radius: 60px;
    padding: 1.2rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.withdraw-cancel-btn:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-3px);
}

/* Recent Withdrawals Card - matching feature-block style */
.withdraw-history-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

.withdraw-history-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--dark-border);
}

.withdraw-history-header h5 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.withdraw-history-header h5 i {
    color: var(--accent-energy);
}

.withdraw-history-body {
    padding: 1.5rem;
}

/* Table Styles - matching ledger-table style */
.withdraw-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.withdraw-table thead th {
    background: var(--dark-bg-tertiary);
    color: var(--text-muted-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 1rem;
    border-radius: 16px;
    border: none;
}

.withdraw-table tbody tr {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.withdraw-table tbody tr:hover {
    border-color: var(--accent-energy);
    transform: translateX(5px);
    box-shadow: 0 10px 20px -12px var(--accent-energy-glow);
}

.withdraw-table tbody td {
    padding: 1rem;
    color: var(--text-secondary-dark);
    border: none;
}

.withdraw-table tbody td:first-child {
    border-radius: 20px 0 0 20px;
    padding-left: 1.5rem;
}

.withdraw-table tbody td:last-child {
    border-radius: 0 20px 20px 0;
    padding-right: 1.5rem;
}

/* Status Badges - matching tier-pill style */
.withdraw-badge {
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.withdraw-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.withdraw-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}

.withdraw-badge.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.withdraw-badge i {
    font-size: 0.7rem;
}

/* Transaction Hash */
.withdraw-hash {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-energy);
    background: var(--dark-surface);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    border: 1px solid var(--dark-border);
}

/* Empty State */
.withdraw-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted-dark);
}

.withdraw-empty i {
    font-size: 3rem;
    color: var(--text-muted-dark);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.withdraw-animate {
    animation: fadeInUp 0.6s ease forwards;
}





/* =================================== */
/*       WITHDRAWAL HISTORY CSS        */
/* =================================== */
.withdrawal-zone {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header - matching hero-grand style */
.withdrawal-masthead {
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.withdrawal-masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.withdrawal-masthead-content {
    position: relative;
    z-index: 2;
}

.withdrawal-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.withdrawal-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.withdrawal-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.withdrawal-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Cards - matching stat-panel style */
.withdrawal-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.withdrawal-stat-tile {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 1.8rem 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.withdrawal-stat-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-energy), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.withdrawal-stat-tile:hover {
    transform: translateY(-6px);
    border-color: var(--accent-energy);
    box-shadow: 0 20px 30px -15px var(--accent-energy-glow);
}

.withdrawal-stat-tile:hover::before {
    opacity: 1;
}

.withdrawal-stat-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.withdrawal-stat-tile:hover .withdrawal-stat-icon {
    border-color: var(--accent-energy);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.1));
}

.withdrawal-stat-icon i {
    font-size: 1.6rem;
    color: var(--accent-energy);
}

.withdrawal-stat-label {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.withdrawal-stat-value {
    color: var(--text-primary-dark);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.withdrawal-stat-trend {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}

.withdrawal-stat-trend i {
    font-size: 0.8rem;
}

.withdrawal-stat-trend .text-success {
    color: #10b981;
}

.withdrawal-stat-trend .text-warning {
    color: #f59e0b;
}

.withdrawal-stat-trend .text-info {
    color: #3b82f6;
}

.withdrawal-stat-trend .text-danger {
    color: #ef4444;
}

/* Main Card - matching ledger-pavilion style */
.withdrawal-pavilion {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.withdrawal-pavilion-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 1.8rem 2.2rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.withdrawal-pavilion-header h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.withdrawal-pavilion-header h4 i {
    color: var(--accent-energy);
}

/* Filter Tabs - matching process-node style */
.withdrawal-filter-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--dark-bg-tertiary);
    padding: 0.4rem;
    border-radius: 60px;
    border: 1px solid var(--dark-border);
    flex-wrap: wrap;
}

.withdrawal-filter-tab {
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}

.withdrawal-filter-tab:hover {
    color: var(--accent-energy);
}

.withdrawal-filter-tab.active {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    box-shadow: 0 8px 15px -6px var(--accent-energy-glow);
}

.withdrawal-pavilion-body {
    padding: 2.2rem;
}

/* Table Styles - matching ledger-table style */
.withdrawal-table-responsive {
    border-radius: 24px;
    overflow: hidden;
}

.withdrawal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.8rem;
}

.withdrawal-table thead th {
    background: var(--dark-bg-tertiary);
    color: var(--text-muted-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 1rem 1.2rem;
    border: none;
    white-space: nowrap;
    border-radius: 16px;
}

.withdrawal-table tbody tr {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.withdrawal-table tbody tr:hover {
    border-color: var(--accent-energy);
    transform: translateX(8px) scale(1.01);
    box-shadow: 0 15px 25px -12px var(--accent-energy-glow);
}

.withdrawal-table tbody td {
    padding: 1.2rem 1.2rem;
    color: var(--text-secondary-dark);
    border: none;
    font-size: 0.95rem;
    vertical-align: middle;
}

.withdrawal-table tbody td:first-child {
    border-radius: 24px 0 0 24px;
    padding-left: 1.8rem;
}

.withdrawal-table tbody td:last-child {
    border-radius: 0 24px 24px 0;
    padding-right: 1.8rem;
}

/* Status Badges - matching tier-pill style */
.withdrawal-status {
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid transparent;
}

.withdrawal-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}

.withdrawal-status.approved {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.withdrawal-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.withdrawal-status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.withdrawal-status i {
    font-size: 0.8rem;
}

/* Timer Badge */
.withdrawal-timer {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.5rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    animation: timerPulse 2s infinite;
}

.withdrawal-timer i {
    font-size: 0.7rem;
}

@keyframes timerPulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Transaction Hash */
.withdrawal-hash {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--accent-energy);
    background: var(--dark-surface);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--dark-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.withdrawal-hash:hover {
    background: var(--accent-energy);
    color: white;
    border-color: var(--accent-energy);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -6px var(--accent-energy-glow);
}

.withdrawal-hash:hover i {
    color: white;
}

.withdrawal-hash i {
    color: var(--accent-energy);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

/* Amount Cell */
.withdrawal-amount {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary-dark);
}

.withdrawal-amount.pending {
    color: #f59e0b;
}

.withdrawal-amount.approved {
    color: #3b82f6;
}

.withdrawal-amount.completed {
    color: #10b981;
}

.withdrawal-amount.rejected {
    color: #ef4444;
}

/* Action Button - matching plan-action style */
.withdrawal-action-btn {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    color: var(--text-secondary-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.withdrawal-action-btn:hover {
    background: var(--accent-energy);
    border-color: var(--accent-energy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -6px var(--accent-energy-glow);
}

.withdrawal-action-btn i {
    font-size: 0.9rem;
}

/* Empty State - matching ledger-empty-vault style */
.withdrawal-empty {
    text-align: center;
    padding: 5rem 2.5rem;
    background: linear-gradient(145deg, var(--dark-bg-tertiary), var(--dark-surface));
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.withdrawal-empty::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.withdrawal-empty i {
    font-size: 5rem;
    color: var(--accent-energy);
    opacity: 0.4;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 2;
}

.withdrawal-empty h4 {
    color: var(--text-primary-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.withdrawal-empty p {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.withdrawal-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px -8px var(--accent-energy-glow);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.withdrawal-primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -8px var(--accent-energy-glow);
    color: white;
}

/* Info Card - matching profit-alert style */
.withdrawal-info-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    border: 1px solid var(--accent-energy);
    border-radius: 32px;
    padding: 1.8rem;
    margin: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.withdrawal-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.withdrawal-info-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.withdrawal-info-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-energy);
}

.withdrawal-info-icon i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.withdrawal-info-text {
    flex: 1;
}

.withdrawal-info-text h6 {
    color: var(--text-primary-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.withdrawal-info-text p {
    color: var(--text-muted-dark);
    margin: 0;
    font-size: 0.95rem;
}

.withdrawal-info-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.withdrawal-info-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary-dark);
    font-size: 0.9rem;
}

.withdrawal-info-badge i {
    color: var(--accent-energy);
}

/* Modal - matching ledger-modal-window style */
.withdrawal-modal {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

.withdrawal-modal .modal-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    border-bottom: 1px solid var(--dark-border);
    padding: 1.8rem 2.2rem;
}

.withdrawal-modal .modal-title {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.withdrawal-modal .modal-title i {
    color: var(--accent-energy);
}

.withdrawal-modal .modal-body {
    padding: 2.2rem;
    color: var(--text-secondary-dark);
}

.withdrawal-modal .modal-footer {
    border-top: 1px solid var(--dark-border);
    padding: 1.8rem 2.2rem;
}

/* Detail Rows */
.withdrawal-detail-line {
    display: flex;
    margin-bottom: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed var(--dark-border);
}

.withdrawal-detail-line:last-child {
    border-bottom: none;
}

.withdrawal-detail-key {
    width: 130px;
    color: var(--text-muted-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.withdrawal-detail-value {
    flex: 1;
    color: var(--text-primary-dark);
    font-weight: 500;
}

.withdrawal-detail-value.hash {
    font-family: monospace;
    word-break: break-all;
}

/* Dark mode close button */
[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.withdrawal-animate {
    animation: fadeInUp 0.6s ease forwards;
}





/* =================================== */
/*       WITHDRAWAL REQUEST CSS        */
/* =================================== */
.request-zone {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header - matching hero-grand style */
.request-masthead {
    padding: 2rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.request-masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.request-masthead-content {
    position: relative;
    z-index: 2;
}

.request-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.request-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    color: var(--text-primary-dark);
}

.request-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.request-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-dark);
    max-width: 500px;
    margin: 0 auto;
}

/* Main Card - matching plan-vessel style */
.request-pavilion {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.request-pavilion:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 25px 40px -20px var(--accent-energy-glow);
}

.request-pavilion-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--dark-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.request-pavilion-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.request-pavilion-header h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.request-pavilion-header h4 i {
    color: var(--accent-energy);
}

.request-pavilion-header p {
    color: var(--text-muted-dark);
    margin: 0;
    position: relative;
    z-index: 2;
}

.request-pavilion-body {
    padding: 2.5rem;
}

/* Timer Card - matching profit-alert style */
.request-timer-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    border: 1px solid var(--accent-energy);
    border-radius: 28px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.request-timer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.request-timer-icon {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--accent-energy);
    position: relative;
    z-index: 2;
    animation: timerPulse 2s infinite;
}

@keyframes timerPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.request-timer-icon i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.request-timer-card h5 {
    color: var(--accent-energy);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.request-timer-card p {
    color: var(--text-secondary-dark);
    margin: 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Info Card - matching feature-block style */
.request-info-card {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.request-info-card:hover {
    border-color: var(--accent-energy);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -12px var(--accent-energy-glow);
}

.request-info-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--dark-border);
}

.request-info-header i {
    color: var(--accent-energy);
    font-size: 1.2rem;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.5rem;
    border-radius: 12px;
}

.request-info-header h6 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.request-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px dashed var(--dark-border);
}

.request-info-row:last-child {
    border-bottom: none;
}

.request-info-label {
    color: var(--text-muted-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.request-info-value {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.request-info-value.highlight {
    color: var(--accent-energy);
    font-size: 1.3rem;
    font-weight: 700;
}

.request-info-value.profit {
    color: #10b981;
}

/* Wallet Address Display */
.request-wallet-box {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.request-wallet-address {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    color: var(--accent-energy);
    font-weight: 600;
    font-size: 0.95rem;
    word-break: break-all;
    flex: 1;
}

.request-wallet-copy {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    padding: 0.4rem 1.2rem;
    color: var(--text-secondary-dark);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.request-wallet-copy:hover {
    background: var(--accent-energy);
    border-color: var(--accent-energy);
    color: white;
    transform: translateY(-2px);
}

.request-wallet-note {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.request-wallet-note i {
    color: var(--accent-energy);
}

/* Checkbox - matching withdraw page style */
.request-checkbox-wrapper {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.request-checkbox-wrapper:hover {
    border-color: var(--accent-energy);
}

.request-checkbox-custom {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.request-checkbox-custom input {
    width: 22px;
    height: 22px;
    accent-color: var(--accent-energy);
    cursor: pointer;
    margin-top: 0.2rem;
}

.request-checkbox-custom label {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.request-checkbox-custom strong {
    color: var(--accent-energy);
    font-weight: 700;
}

/* Action Buttons - matching btn-energy style */
.request-submit-btn {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    border: none;
    border-radius: 60px;
    padding: 1.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px -8px var(--accent-energy-glow);
    text-decoration: none;
}

.request-submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -8px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
}

.request-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.request-cancel-btn {
    background: transparent;
    color: var(--text-primary-dark);
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-radius: 60px;
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.request-cancel-btn:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.request-animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Dark mode adjustments */
[data-theme="dark"] .request-submit-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}





/* =================================== */
/*       LOGIN CSS                     */
/* =================================== */
.login-zone {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header - matching hero-grand style */
.login-masthead {
    padding: 2rem 0 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.login-masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.login-masthead-content {
    position: relative;
    z-index: 2;
}

.login-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.login-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.login-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.login-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Strip - matching process-strip style */
.login-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 60px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.login-feature-item:hover {
    border-color: var(--accent-energy);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -12px var(--accent-energy-glow);
}

.login-feature-item i {
    color: var(--accent-energy);
    font-size: 1rem;
}

.login-feature-item span {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Main Card - matching plan-vessel style */
.login-pavilion {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
}

.login-pavilion:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 25px 40px -20px var(--accent-energy-glow);
}

.login-pavilion-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--dark-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-pavilion-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.login-pavilion-header h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.login-pavilion-header h4 i {
    color: var(--accent-energy);
}

.login-pavilion-header p {
    color: var(--text-muted-dark);
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

.login-pavilion-body {
    padding: 2.5rem;
}

/* Form Styles - matching invest.html form style */
.login-form-wrap {
    max-width: 450px;
    margin: 0 auto;
}

.login-field {
    margin-bottom: 1.8rem;
}

.login-field label {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-field label i {
    color: var(--accent-energy);
}

.login-input-wrap {
    position: relative;
}

.login-input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted-dark);
    z-index: 1;
}

.login-input {
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.2rem 1.5rem 1.2rem 3rem;
    color: var(--text-primary-dark);
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.login-input:focus {
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
    outline: none;
    background: var(--dark-surface-hover);
}

.login-input::placeholder {
    color: var(--text-muted-dark);
    opacity: 0.6;
}

/* Password Field with Toggle */
.login-pass-wrap {
    position: relative;
}

.login-pass-toggle {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted-dark);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.login-pass-toggle:hover {
    color: var(--accent-energy);
}

.login-pass-toggle i {
    font-size: 1.1rem;
}

/* Error Messages */
.login-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.login-error i {
    font-size: 0.9rem;
}

/* Options Row */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.login-remember input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-energy);
    cursor: pointer;
}

.login-remember label {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
    cursor: pointer;
    margin: 0;
}

.login-forgot {
    color: var(--accent-energy);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.login-forgot:hover {
    color: var(--accent-energy-light);
    transform: translateX(-3px);
}

.login-forgot i {
    font-size: 0.9rem;
}

/* Login Button - matching btn-energy style */
.login-btn {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    border: none;
    border-radius: 60px;
    padding: 1.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px -8px var(--accent-energy-glow);
    text-decoration: none;
    margin-top: 1rem;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -8px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
}

.login-btn i {
    font-size: 1.1rem;
}

.login-btn i:last-child {
    margin-left: 0.5rem;
}

/* Divider */
.login-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--dark-border);
    z-index: 1;
}

.login-divider span {
    background: var(--dark-surface);
    padding: 0 1.5rem;
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Register Link */
.login-register {
    text-align: center;
    margin-top: 1.5rem;
}

.login-register p {
    color: var(--text-secondary-dark);
    margin: 0;
}

.login-register a {
    color: var(--accent-energy);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.login-register a:hover {
    color: var(--accent-energy-light);
    transform: translateX(5px);
}

/* Security Card - matching feature-block style */
.login-security {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    padding: 2rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.login-security:hover {
    border-color: var(--accent-energy);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -12px var(--accent-energy-glow);
}

.login-security-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.login-security-icon {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-energy);
    flex-shrink: 0;
}

.login-security-icon i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.login-security-text {
    flex: 1;
}

.login-security-text h6 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.login-security-text p {
    color: var(--text-muted-dark);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Trust Badges */
.login-trust {
    text-align: center;
    margin: 2rem 0 3rem;
}

.login-trust p {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.login-trust i {
    color: var(--accent-energy);
}

.login-trust span {
    color: var(--text-muted-dark);
    opacity: 0.5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-animate {
    animation: fadeInUp 0.6s ease forwards;
}





/* =================================== */
/*       REGISTER CSS                  */
/* =================================== */
.register-zone {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header - matching hero-grand style */
.register-masthead {
    padding: 2rem 0 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.register-masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.register-masthead-content {
    position: relative;
    z-index: 2;
}

.register-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.register-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.register-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.register-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Progress Steps - matching process-strip style */
.register-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2.5rem 0 3.5rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.register-progress::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--dark-border);
    z-index: 1;
}

.register-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.register-step-marker {
    width: 50px;
    height: 50px;
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    transition: all 0.3s ease;
}

.register-step.active .register-step-marker {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-color: var(--accent-energy);
    color: white;
    box-shadow: 0 10px 20px -8px var(--accent-energy-glow);
}

.register-step-label {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-step.active .register-step-label {
    color: var(--accent-energy);
    font-weight: 600;
}

/* Main Card - matching plan-vessel style */
.register-pavilion {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
}

.register-pavilion:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 25px 40px -20px var(--accent-energy-glow);
}

.register-pavilion-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--dark-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.register-pavilion-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.register-pavilion-header h4 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.register-pavilion-header h4 i {
    color: var(--accent-energy);
}

.register-pavilion-header p {
    color: var(--text-muted-dark);
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

.register-pavilion-body {
    padding: 2.5rem;
}

/* Form Sections */
.register-section {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.register-section:hover {
    border-color: var(--accent-energy);
    box-shadow: 0 15px 25px -12px var(--accent-energy-glow);
}

.register-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dark-border);
}

.register-section-title i {
    color: var(--accent-energy);
    font-size: 1.2rem;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.8rem;
    border-radius: 16px;
}

.register-section-title h3 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
}

/* Form Fields - matching invest.html form style */
.register-field {
    margin-bottom: 1.5rem;
}

.register-field label {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.register-field label i {
    color: var(--accent-energy);
}

.register-required {
    color: #ef4444;
    font-size: 0.9rem;
    margin-left: 0.2rem;
}

.register-optional {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    font-weight: 400;
    margin-left: 0.2rem;
}

.register-input-wrap {
    position: relative;
}

.register-input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted-dark);
    z-index: 1;
}

.register-input {
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: 24px;
    padding: 1rem 1.5rem 1rem 3rem;
    color: var(--text-primary-dark);
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.register-input:focus {
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
    outline: none;
    background: var(--dark-surface-hover);
}

.register-input::placeholder {
    color: var(--text-muted-dark);
    opacity: 0.6;
}

/* Password Field with Toggle */
.register-pass-wrap {
    position: relative;
}

.register-pass-toggle {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted-dark);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.register-pass-toggle:hover {
    color: var(--accent-energy);
}

.register-pass-toggle i {
    font-size: 1.1rem;
}

/* Error Messages */
.register-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.register-error i {
    font-size: 0.9rem;
}

/* Field Help */
.register-help {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.register-help i {
    color: var(--accent-energy);
}

/* Password Requirements */
.register-pass-rules {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.register-pass-rules h6 {
    color: var(--text-primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.register-pass-rules h6 i {
    color: var(--accent-energy);
}

.register-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.register-rule-item {
    color: var(--text-muted-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.register-rule-item i {
    font-size: 0.6rem;
    color: var(--text-muted-dark);
}

.register-rule-item.valid i {
    color: #10b981;
}

.register-rule-item.invalid i {
    color: #ef4444;
}

/* Password Match Indicator */
.register-match {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.register-match i {
    font-size: 0.9rem;
}

/* Referral Code Field */
.register-referral {
    margin-top: 1.5rem;
}

/* Terms Box */
.register-terms {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.register-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.register-checkbox input {
    width: 22px;
    height: 22px;
    accent-color: var(--accent-energy);
    cursor: pointer;
    margin-top: 0.2rem;
}

.register-checkbox label {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
    flex: 1;
}

.register-checkbox a {
    color: var(--accent-energy);
    text-decoration: none;
    font-weight: 600;
}

.register-checkbox a:hover {
    text-decoration: underline;
}

/* Submit Button - matching btn-energy style */
.register-submit-btn {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    border: none;
    border-radius: 60px;
    padding: 1.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px -8px var(--accent-energy-glow);
    text-decoration: none;
    margin-top: 1rem;
}

.register-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -8px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
}

.register-submit-btn i {
    font-size: 1.1rem;
}

.register-submit-btn i:last-child {
    margin-left: 0.5rem;
}

/* Login Link */
.register-login-prompt {
    text-align: center;
    margin-top: 2rem;
}

.register-login-prompt p {
    color: var(--text-secondary-dark);
    margin: 0;
}

.register-login-prompt a {
    color: var(--accent-energy);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.register-login-prompt a:hover {
    color: var(--accent-energy-light);
    transform: translateX(5px);
}

/* Benefits Card - matching feature-block style */
.register-benefits {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin: 2rem 0;
}

.register-benefits-header {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-surface));
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--dark-border);
}

.register-benefits-header h5 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.register-benefits-header h5 i {
    color: var(--accent-energy);
}

.register-benefits-body {
    padding: 2rem;
}

.register-benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary-dark);
    transition: all 0.3s ease;
}

.register-benefit-item:hover {
    transform: translateX(5px);
    color: var(--accent-energy);
}

.register-benefit-item i {
    color: var(--accent-energy);
    font-size: 1rem;
}

/* Security Note - matching profit-alert style */
.register-security {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.02));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 32px;
    padding: 1.5rem;
    margin: 2rem 0 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.register-security i {
    font-size: 1.5rem;
    color: var(--accent-energy);
}

.register-security p {
    color: var(--text-muted-dark);
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-animate {
    animation: fadeInUp 0.6s ease forwards;
}





/* =================================== */
/*       HOW IT WORKS CSS              */
/* =================================== */
.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Hero Header */
.guide-hero {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.guide-hero::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-energy), transparent);
    border-radius: 2px;
}

.guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    color: var(--accent-energy);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.guide-badge i {
    font-size: 1rem;
}

.guide-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.light-theme .guide-title {
    color: #0f172a;
}

.guide-title .span {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guide-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Process Strip (replacing overview cards) */
.process-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.process-node {
    text-align: center;
    position: relative;
}

.process-node:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 40px;
    color: var(--accent-energy);
    font-size: 1.8rem;
    opacity: 0.3;
    font-weight: 300;
}

.process-marker {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.process-node:hover .process-marker {
    border-color: var(--accent-energy);
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--accent-energy-glow);
}

.process-marker i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.process-node h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.light-theme .process-node h3 {
    color: #0f172a;
}

.process-node p {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Timeline Section - Redesigned */
.journey-timeline {
    margin: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-eyebrow {
    color: var(--accent-energy);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.light-theme .section-title {
    color: #0f172a;
}

.section-title i {
    color: var(--accent-energy);
    margin-right: 0.5rem;
}

.timeline-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-block {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-block:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateX(10px);
    box-shadow: -10px 10px 30px -15px rgba(245, 158, 11, 0.2);
}

.timeline-step {
    flex-shrink: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px -10px var(--accent-energy);
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.light-theme .timeline-content h3 {
    color: #0f172a;
}

.timeline-content h3 i {
    color: var(--accent-energy);
    margin-right: 0.5rem;
}

.timeline-content > p {
    color: var(--text-muted-dark);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.details-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .details-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
}

.details-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-energy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.details-title i {
    font-size: 1.1rem;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.details-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
}

.light-theme .details-list li {
    color: #334155;
}

.details-list li i {
    color: var(--accent-energy);
    font-size: 0.8rem;
}

.plan-highlight {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 40px;
    padding: 0.25rem 1rem;
    font-size: 0.85rem;
    color: var(--accent-energy);
    margin-left: 0.5rem;
}

/* Investment Plans - Matching home page style */
.plans-showcase {
    margin: 6rem 0;
}

.plans-collection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.plan-vessel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.plan-vessel:hover {
    transform: translateY(-10px);
    border-color: var(--accent-energy);
    box-shadow: 0 30px 50px -20px rgba(245, 158, 11, 0.3);
}

.plan-vessel.popular-plan {
    border-color: var(--accent-energy);
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.05), rgba(255, 255, 255, 0.02));
}

.plan-crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.3);
}

.plan-type {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-type h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.light-theme .plan-type h3 {
    color: #0f172a;
}

.plan-range {
    color: var(--accent-energy);
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-period {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
}

.plan-feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.plan-feature-list li {
    color: var(--text-secondary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.light-theme .plan-feature-list li {
    color: #334155;
}

.plan-feature-list li i {
    color: #10b981;
    font-size: 1rem;
}

.plan-return-value {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
    margin: 2rem 0;
}

.plan-return-value small {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    font-weight: 400;
}

.plan-action {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.plan-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(245, 158, 11, 0.4);
    color: #fff;
}

/* Features Grid */
.capabilities-grid {
    margin: 6rem 0;
}

.features-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.capability-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.capability-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px -15px rgba(245, 158, 11, 0.15);
}

.capability-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.capability-icon i {
    font-size: 2.5rem;
    color: var(--accent-energy);
}

.capability-card h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.light-theme .capability-card h4 {
    color: #0f172a;
}

.capability-card p {
    color: var(--text-muted-dark);
    line-height: 1.7;
    margin: 0;
}

/* FAQ Mini Section */
.faq-mini {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    padding: 3rem;
    margin: 6rem 0;
    backdrop-filter: blur(10px);
}

.faq-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.faq-mini-item {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .faq-mini-item {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
}

.faq-mini-item h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.light-theme .faq-mini-item h5 {
    color: #0f172a;
}

.faq-mini-item h5 i {
    color: var(--accent-energy);
}

.faq-mini-item p {
    color: var(--text-muted-dark);
    line-height: 1.7;
    margin: 0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 60px;
    padding: 4rem;
    text-align: center;
    margin: 5rem 0;
    backdrop-filter: blur(10px);
}

.cta-banner h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.light-theme .cta-banner h2 {
    color: #0f172a;
}

.cta-banner p {
    color: var(--text-muted-dark);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-energy {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-energy:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(245, 158, 11, 0.4);
    color: #fff;
}

.btn-outline-energy {
    background: transparent;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid rgba(245, 158, 11, 0.5);
    transition: all 0.3s ease;
}

.light-theme .btn-outline-energy {
    color: #0f172a;
}

.btn-outline-energy:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-3px);
}





/* =================================== */
/*       FAQ CSS                       */
/* =================================== */
.faq-zone {
    max-width: var(--container-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Page Header - matching hero-grand style */
.faq-masthead {
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.faq-masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.faq-masthead-content {
    position: relative;
    z-index: 2;
}

.faq-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-energy);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
}

.faq-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.faq-title-highlight {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Search Box - matching invest form style */
.faq-search-section {
    margin-bottom: 3rem;
}

.faq-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.faq-search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    z-index: 2;
}

.faq-search-input {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: 60px;
    color: var(--text-primary-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
    outline: none;
    background: var(--dark-surface-hover);
}

.faq-search-input::placeholder {
    color: var(--text-muted-dark);
    opacity: 0.6;
}

/* Category Tabs - matching process-strip style */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.faq-tab {
    padding: 0.8rem 2rem;
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 60px;
    color: var(--text-secondary-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.faq-tab:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -12px var(--accent-energy-glow);
}

.faq-tab.active {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    border-color: var(--accent-energy);
    box-shadow: 0 10px 20px -8px var(--accent-energy-glow);
}

/* Quick Stats - matching stat-panel style */
.faq-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.faq-stat-tile {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.faq-stat-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-energy), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-stat-tile:hover {
    transform: translateY(-6px);
    border-color: var(--accent-energy);
    box-shadow: 0 20px 30px -15px var(--accent-energy-glow);
}

.faq-stat-tile:hover::before {
    opacity: 1;
}

.faq-stat-number {
    color: var(--accent-energy);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.faq-stat-label {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* FAQ Categories */
.faq-categories {
    margin-top: 2rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--dark-border);
}

.faq-category-title i {
    color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: 24px;
    font-size: 1.8rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* FAQ Accordion - matching plan-vessel style */
.faq-accordion {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.faq-item {
    border-bottom: 1px solid var(--dark-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--dark-bg-tertiary);
}

.faq-question i {
    color: var(--accent-energy);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(90deg);
}

.faq-question h3 {
    color: var(--text-primary-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
}

.faq-answer {
    padding: 0 2rem 1.5rem 3.5rem;
    display: none;
    animation: slideDown 0.3s ease;
}

.faq-answer.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    color: var(--text-secondary-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer ul, .faq-answer ol {
    color: var(--text-secondary-dark);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: var(--accent-energy);
}

.faq-answer .faq-note {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 1.2rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-answer .faq-note i {
    color: var(--accent-energy);
    font-size: 1.3rem;
}

.faq-answer .faq-note span {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section - matching profit-alert style */
.faq-contact {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    border: 2px solid var(--accent-energy);
    border-radius: 60px;
    padding: 4rem 3rem;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.faq-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.faq-contact h2 {
    color: var(--text-primary-dark);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.faq-contact p {
    color: var(--text-muted-dark);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.faq-contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-contact-btn.primary {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: white;
    box-shadow: 0 15px 30px -8px var(--accent-energy-glow);
}

.faq-contact-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -8px var(--accent-energy-glow);
    background: linear-gradient(135deg, var(--accent-energy-light), var(--accent-energy));
}

.faq-contact-btn.secondary {
    background: transparent;
    color: var(--text-primary-dark);
    border: 2px solid rgba(245, 158, 11, 0.5);
}

.faq-contact-btn.secondary:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-3px);
}

.faq-contact-btn i {
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-animate {
    animation: fadeInUp 0.6s ease forwards;
}





/* =================================== */
/*       HELP CENTER CSS               */
/* =================================== */
.support-arena {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Hero Section */
.support-citadel {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.support-emblem {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    color: var(--accent-energy);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.support-emblem i {
    font-size: 1rem;
}

.support-masthead {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.light-theme .support-masthead {
    color: #0f172a;
}

.support-masthead span {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-tagline {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Search Zone */
.search-precinct {
    max-width: 600px;
    margin: 3rem auto;
    position: relative;
}

.search-chamber {
    position: relative;
}

.search-symbol {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-energy);
    font-size: 1.2rem;
    z-index: 2;
}

.search-field {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 60px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.light-theme .search-field {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

.search-field:focus {
    outline: none;
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px var(--accent-energy-glow);
}

.search-field::placeholder {
    color: var(--text-muted-dark);
}

/* Quick Access Cards */
.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 4rem 0;
}

.access-vault {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.access-vault:hover {
    transform: translateY(-5px);
    border-color: var(--accent-energy);
    box-shadow: 0 20px 40px -15px rgba(245, 158, 11, 0.2);
}

.access-glyph {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.access-vault:hover .access-glyph {
    border-color: var(--accent-energy);
    transform: scale(1.1);
}

.access-glyph i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.access-vault h3 {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.light-theme .access-vault h3 {
    color: #0f172a;
}

.access-vault p {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Knowledge Base */
.knowledge-base {
    margin: 5rem 0;
}

.knowledge-sector {
    margin-bottom: 4rem;
}

.sector-leader {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.2);
}

.sector-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-badge i {
    font-size: 1.5rem;
    color: #fff;
}

.sector-leader h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.light-theme .sector-leader h2 {
    color: #0f172a;
}

.knowledge-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.knowledge-cell {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.knowledge-cell:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateX(5px);
    box-shadow: -10px 10px 30px -15px rgba(245, 158, 11, 0.15);
}

.knowledge-cell h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.light-theme .knowledge-cell h4 {
    color: #0f172a;
}

.knowledge-cell h4 i {
    color: var(--accent-energy);
    font-size: 1.1rem;
}

.knowledge-cell p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.cell-link {
    color: var(--accent-energy);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cell-link:hover {
    gap: 0.8rem;
    color: var(--accent-energy-light);
}

/* FAQ Showcase */
.faq-showcase {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    padding: 3rem;
    margin: 5rem 0;
    backdrop-filter: blur(10px);
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.light-theme .showcase-header h2 {
    color: #0f172a;
}

.showcase-header p {
    color: var(--text-muted-dark);
}

.faq-collection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-article {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.light-theme .faq-article {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
}

.faq-article:hover {
    transform: translateY(-5px);
    border-color: var(--accent-energy);
}

.faq-article h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.light-theme .faq-article h4 {
    color: #0f172a;
}

.faq-article h4 i {
    color: var(--accent-energy);
}

.faq-article p {
    color: var(--text-muted-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.faq-article-link {
    color: var(--accent-energy);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.faq-article-link:hover {
    gap: 0.8rem;
}

.view-all-container {
    text-align: center;
}

.btn-view-master {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    border: 2px solid rgba(245, 158, 11, 0.5);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.light-theme .btn-view-master {
    color: #0f172a;
}

.btn-view-master:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
    transform: translateY(-3px);
}

/* Contact Nexus */
.contact-nexus {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    padding: 4rem 3rem;
    margin: 5rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-nexus h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.light-theme .contact-nexus h2 {
    color: #0f172a;
}

.contact-nexus p {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.nexus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.nexus-point {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.light-theme .nexus-point {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
}

.nexus-point:hover {
    transform: translateY(-5px);
    border-color: var(--accent-energy);
}

.nexus-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.nexus-icon i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.nexus-point h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.light-theme .nexus-point h4 {
    color: #0f172a;
}

.nexus-point .nexus-detail {
    color: var(--accent-energy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nexus-point small {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    display: block;
}

/* No Results */
.no-results-found {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted-dark);
    display: none;
}

.no-results-found i {
    font-size: 3rem;
    color: var(--accent-energy);
    margin-bottom: 1rem;
    opacity: 0.5;
}





/* =================================== */
/*       PRIVACY POLICY CSS            */
/* =================================== */
.policy-domain {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Policy Header */
.policy-preamble {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.policy-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    color: var(--accent-energy);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.policy-seal i {
    font-size: 1rem;
}

.policy-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.light-theme .policy-title {
    color: #0f172a;
}

.policy-title span {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-date {
    color: var(--text-muted-dark);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Policy Sections */
.policy-chapter {
    margin-bottom: 4rem;
}

.chapter-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.2);
}

.chapter-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chapter-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.chapter-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.light-theme .chapter-header h2 {
    color: #0f172a;
}

.chapter-body {
    padding-left: 1rem;
}

.chapter-text {
    color: var(--text-secondary-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.light-theme .chapter-text {
    color: #334155;
}

/* Subsection */
.subsection {
    margin: 2rem 0;
}

.subsection h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.light-theme .subsection h3 {
    color: #0f172a;
}

.subsection h3 i {
    color: var(--accent-energy);
    font-size: 1.3rem;
}

/* Policy Lists */
.policy-catalog {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.policy-catalog li {
    color: var(--text-secondary-dark);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.light-theme .policy-catalog li {
    color: #334155;
}

.policy-catalog li::before {
    content: "•";
    color: var(--accent-energy);
    font-size: 1.5rem;
    position: absolute;
    left: 0.5rem;
    top: -0.3rem;
}

.policy-catalog li strong {
    color: var(--accent-energy);
    font-weight: 600;
}

/* Info Card */
.security-vault {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    backdrop-filter: blur(10px);
}

.security-vault i {
    font-size: 2.5rem;
    color: var(--accent-energy);
    flex-shrink: 0;
}

.vault-content {
    flex: 1;
}

.vault-content h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.light-theme .vault-content h4 {
    color: #0f172a;
}

.vault-content p {
    color: var(--text-muted-dark);
    line-height: 1.7;
    margin: 0;
}

/* Contact Block */
.policy-footnote {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 3rem;
    margin: 4rem 0 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.footnote-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.light-theme .footnote-title {
    color: #0f172a;
}

.footnote-text {
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.contact-portal {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.light-theme .contact-portal {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
}

.contact-portal:hover {
    transform: translateY(-5px);
    border-color: var(--accent-energy);
}

.portal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.portal-icon i {
    font-size: 1.8rem;
    color: var(--accent-energy);
}

.contact-portal h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.light-theme .contact-portal h5 {
    color: #0f172a;
}

.contact-portal p {
    color: var(--accent-energy);
    font-size: 0.95rem;
    word-break: break-word;
}

.contact-portal small {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

.contact-portal .portal-address {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}





/* =================================== */
/*       TERM CSS                      */
/* =================================== */
.terms-realm {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Terms Header */
.terms-herald {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.terms-herald::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-energy), transparent);
    border-radius: 2px;
}

.terms-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    color: var(--accent-energy);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.terms-badge i {
    font-size: 1rem;
}

.terms-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.light-theme .terms-title {
    color: #0f172a;
}

.terms-title span {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.terms-date {
    color: var(--text-muted-dark);
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.terms-acceptance-note {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 40px;
    padding: 0.75rem 2rem;
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.light-theme .terms-acceptance-note {
    color: #334155;
}

.terms-acceptance-note i {
    color: var(--accent-energy);
    font-size: 1.1rem;
}

/* Terms Sections */
.terms-article {
    margin-bottom: 4rem;
}

.article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.2);
}

.article-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.article-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.light-theme .article-header h2 {
    color: #0f172a;
}

.article-body {
    padding-left: 1rem;
}

.article-text {
    color: var(--text-secondary-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.light-theme .article-text {
    color: #334155;
}

/* Subsection */
.terms-subsection {
    margin: 2.5rem 0;
}

.terms-subsection h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.light-theme .terms-subsection h3 {
    color: #0f172a;
}

.terms-subsection h3 i {
    color: var(--accent-energy);
    font-size: 1.3rem;
}

/* Terms Lists */
.terms-catalog {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.terms-catalog li {
    color: var(--text-secondary-dark);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.light-theme .terms-catalog li {
    color: #334155;
}

.terms-catalog li::before {
    content: "•";
    color: var(--accent-energy);
    font-size: 1.5rem;
    position: absolute;
    left: 0.5rem;
    top: -0.3rem;
}

.terms-catalog li strong {
    color: var(--accent-energy);
    font-weight: 600;
}

/* No bullets for specific lists */
.terms-catalog.no-bullets li::before {
    display: none;
}

.terms-catalog.no-bullets li {
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.terms-catalog.no-bullets li i {
    color: var(--accent-energy);
    width: 20px;
}

/* Warning Cards */
.risk-vault {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    backdrop-filter: blur(10px);
}

.risk-vault i {
    font-size: 2.5rem;
    color: #ef4444;
    flex-shrink: 0;
}

.vault-content {
    flex: 1;
}

.vault-content h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.light-theme .vault-content h4 {
    color: #0f172a;
}

.vault-content p {
    color: var(--text-muted-dark);
    line-height: 1.7;
    margin: 0;
}

/* Important Notice */
.legal-notice {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    backdrop-filter: blur(10px);
}

.legal-notice i {
    font-size: 2.5rem;
    color: var(--accent-energy);
    flex-shrink: 0;
}

.notice-content {
    flex: 1;
}

.notice-content h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.light-theme .notice-content h4 {
    color: #0f172a;
}

.notice-content p {
    color: var(--text-muted-dark);
    line-height: 1.7;
    margin: 0;
}

/* Acceptance Box */
.terms-ratification {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 40px;
    padding: 3rem;
    margin: 4rem 0 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.ratification-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.light-theme .ratification-title {
    color: #0f172a;
}

.ratification-text {
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-ratify {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-ratify:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(245, 158, 11, 0.4);
    color: #fff;
}

.btn-ratify i {
    font-size: 1.2rem;
}

/* Contact Section */
.terms-contact-nexus {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 3rem;
    margin: 4rem 0 2rem;
    backdrop-filter: blur(10px);
}

.contact-nexus-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.light-theme .contact-nexus-title {
    color: #0f172a;
}

.contact-nexus-text {
    color: var(--text-muted-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-nexus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.contact-nexus-point {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.light-theme .contact-nexus-point {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
}

.contact-nexus-point:hover {
    transform: translateY(-5px);
    border-color: var(--accent-energy);
}

.nexus-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.nexus-icon i {
    font-size: 1.8rem;
    color: var(--accent-energy);
}

.contact-nexus-point h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.light-theme .contact-nexus-point h5 {
    color: #0f172a;
}

.contact-nexus-point p {
    color: var(--accent-energy);
    font-size: 0.95rem;
    word-break: break-word;
}

.contact-nexus-point small {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

.contact-nexus-point .address-text {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}





/* =================================== */
/*       LIVE CHAT CSS                 */
/* =================================== */
.chat-orbital {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Chat Trigger */
.chat-trigger {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px -5px rgba(245, 158, 11, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.chat-trigger:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px -5px rgba(245, 158, 11, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.chat-trigger i {
    color: #fff;
    font-size: 2rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.trigger-pulse {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark-bg-primary);
    animation: pulse-notification 2s infinite;
}

@keyframes pulse-notification {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Chat Capsule */
.chat-capsule {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 400px;
    height: 550px;
    background: var(--dark-surface);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 158, 11, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: capsule-rise 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.light-theme .chat-capsule {
    background: #fff;
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.chat-capsule.active {
    display: flex;
}

@keyframes capsule-rise {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Capsule Header */
.capsule-header {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    padding: 1.2rem 1.5rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.header-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.identity-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px -5px rgba(245, 158, 11, 0.3);
}

.identity-avatar i {
    color: #fff;
    font-size: 1.5rem;
}

.identity-details h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.3rem 0;
}

.light-theme .identity-details h4 {
    color: #0f172a;
}

.presence-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.presence-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: presence-pulse 2s infinite;
}

@keyframes presence-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.presence-text {
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 500;
}

.header-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.light-theme .control-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(245, 158, 11, 0.3);
}

.control-btn:hover {
    background: var(--accent-energy);
    color: #fff;
    border-color: var(--accent-energy);
    transform: scale(1.1);
}

/* Chat Stream */
.chat-stream {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
}

.light-theme .chat-stream {
    background: rgba(255, 255, 255, 0.5);
}

/* Message Styles */
.stream-message {
    display: flex;
    gap: 0.8rem;
    max-width: 85%;
    animation: message-appear 0.3s ease;
}

@keyframes message-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stream-message.beacon-message {
    align-self: flex-start;
}

.stream-message.user-emission {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
    flex-shrink: 0;
}

.message-icon i {
    color: var(--accent-energy);
    font-size: 1.1rem;
}

.message-bubble {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.light-theme .message-bubble {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.05);
}

.stream-message.user-emission .message-bubble {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border: none;
    color: #fff;
}

.message-bubble p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary-dark);
}

.light-theme .message-bubble p {
    color: #334155;
}

.stream-message.user-emission .message-bubble p {
    color: #fff;
}

.bubble-timestamp {
    font-size: 0.7rem;
    color: var(--text-muted-dark);
    display: block;
    margin-top: 0.3rem;
}

.stream-message.user-emission .bubble-timestamp {
    color: rgba(255, 255, 255, 0.7);
}

/* Action Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-left: 2.8rem;
}

.action-cell {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 16px;
    padding: 0.8rem;
    color: var(--text-secondary-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.light-theme .action-cell {
    background: rgba(255, 255, 255, 0.5);
    color: #334155;
}

.action-cell:hover {
    background: var(--accent-energy);
    color: #fff;
    border-color: var(--accent-energy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px -5px rgba(245, 158, 11, 0.3);
}

.action-cell i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.action-cell span {
    font-weight: 500;
}

/* Chat Dock */
.chat-dock {
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(245, 158, 11, 0.15);
    backdrop-filter: blur(10px);
}

.light-theme .chat-dock {
    background: rgba(255, 255, 255, 0.5);
}

.compose-chamber {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 60px;
    padding: 0.3rem;
    transition: all 0.3s ease;
}

.light-theme .compose-chamber {
    background: #fff;
    border-color: rgba(245, 158, 11, 0.3);
}

.compose-chamber:focus-within {
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.compose-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-size: 0.95rem;
}

.light-theme .compose-field {
    color: #0f172a;
}

.compose-field:focus {
    outline: none;
}

.compose-field::placeholder {
    color: var(--text-muted-dark);
}

.compose-launch {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compose-launch:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 5px 20px -5px var(--accent-energy);
}

.dock-footer {
    margin-top: 0.8rem;
    text-align: center;
}

.dock-footer span {
    color: var(--text-muted-dark);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.dock-footer span i {
    color: var(--accent-energy);
}

/* Typing Indicator */
.typing-ripple {
    display: flex;
    gap: 0.3rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    width: fit-content;
    margin-left: 2.8rem;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.typing-ripple span {
    width: 8px;
    height: 8px;
    background: var(--accent-energy);
    border-radius: 50%;
    animation: typing-wave 1.4s infinite ease-in-out;
}

.typing-ripple span:nth-child(1) { animation-delay: 0s; }
.typing-ripple span:nth-child(2) { animation-delay: 0.2s; }
.typing-ripple span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-wave {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

/* Scrollbar Styling */
.chat-stream::-webkit-scrollbar {
    width: 4px;
}

.chat-stream::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.chat-stream::-webkit-scrollbar-thumb {
    background: var(--accent-energy);
    border-radius: 4px;
}





/* =================================== */
/*       SETTINGS CSS                  */
/* =================================== */
.settings-nexus {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Settings Header */
.settings-preamble {
    text-align: center;
    margin-bottom: 3rem;
}

.settings-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    color: var(--accent-energy);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.settings-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.light-theme .settings-title {
    color: #0f172a;
}

.settings-title span {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.settings-subtitle {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Settings Navigation Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.settings-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: 32px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.settings-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-energy), var(--accent-energy-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-energy);
    box-shadow: 0 20px 40px -15px rgba(245, 158, 11, 0.2);
}

.settings-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.card-icon i {
    font-size: 2rem;
    color: var(--accent-energy);
}

.settings-card h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.light-theme .settings-card h3 {
    color: #0f172a;
}

.settings-card p {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-arrow {
    color: var(--accent-energy);
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.settings-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Status Cards */
.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.status-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.status-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-energy);
    margin-bottom: 0.3rem;
}

.status-label {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Account Status Banner */
.status-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
}

.status-banner-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-banner-icon i {
    font-size: 1.8rem;
    color: var(--accent-energy);
}

.status-banner-content {
    flex: 1;
}

.status-banner-content h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.light-theme .status-banner-content h4 {
    color: #0f172a;
}

.status-banner-content p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

.status-banner-action {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
    color: var(--accent-energy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-banner-action:hover {
    background: var(--accent-energy);
    color: #fff;
    border-color: var(--accent-energy);
}

/* Recent Activity */
.activity-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 2rem;
    margin: 3rem 0;
    backdrop-filter: blur(10px);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.light-theme .section-header h2 {
    color: #0f172a;
}

.section-header h2 i {
    color: var(--accent-energy);
}

.view-link {
    color: var(--accent-energy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-link:hover {
    gap: 0.6rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.light-theme .activity-item {
    background: rgba(255, 255, 255, 0.5);
}

.activity-item:hover {
    background: rgba(245, 158, 11, 0.05);
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon i {
    color: var(--accent-energy);
    font-size: 1.2rem;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.light-theme .activity-content h4 {
    color: #0f172a;
}

.activity-time {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
}

.activity-device {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    border-color: var(--accent-energy);
    background: rgba(245, 158, 11, 0.05);
    transform: translateY(-2px);
}

.quick-action-icon {
    width: 45px;
    height: 45px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action-icon i {
    font-size: 1.4rem;
    color: var(--accent-energy);
}

.quick-action-content {
    flex: 1;
}

.quick-action-content h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.light-theme .quick-action-content h4 {
    color: #0f172a;
}

.quick-action-content p {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
}

/* Danger Zone */
.danger-zone {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 32px;
    padding: 2rem;
    margin: 3rem 0;
}

.danger-zone h3 {
    color: #ef4444;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.danger-zone p {
    color: var(--text-muted-dark);
    margin-bottom: 1.5rem;
}

.danger-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 40px;
    padding: 0.8rem 2rem;
    color: #ef4444;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.danger-btn:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px -5px #ef4444;
}





/* =================================== */
/*       SECURITY SETTINGS CSS         */
/* =================================== */
.security-settings {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.security-header {
    margin-bottom: 2rem;
}

.security-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.light-theme .security-header h1 {
    color: #0f172a;
}

.security-header h1 span {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-header p {
    color: var(--text-muted-dark);
    font-size: 1rem;
}

.security-grid {
    display: grid;
    gap: 1.5rem;
}

.security-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.light-theme .security-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--accent-energy);
}

.card-header h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.light-theme .card-header h2 {
    color: #0f172a;
}

.password-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.light-theme .form-label {
    color: #0f172a;
}

.form-label i {
    color: var(--accent-energy);
    margin-right: 0.5rem;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.light-theme .form-control {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.strength-text {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
}

/* Toggle Switch */
.toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-item:last-child {
    border-bottom: none;
}

.toggle-info h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.light-theme .toggle-info h4 {
    color: #0f172a;
}

.toggle-info p {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin: 0;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: var(--accent-energy);
}

.toggle-slider {
    position: absolute;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.toggle-switch.active .toggle-slider {
    left: 32px;
}

/* Sessions */
.session-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    margin-bottom: 1rem;
}

.session-icon {
    width: 45px;
    height: 45px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.session-icon i {
    font-size: 1.3rem;
    color: var(--accent-energy);
}

.session-info {
    flex: 1;
}

.session-info h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.light-theme .session-info h4 {
    color: #0f172a;
}

.session-info p {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
    margin: 0;
}

.session-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}

.session-badge.current {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-energy);
}

.btn-revoke {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 40px;
    padding: 0.4rem 1rem;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-revoke:hover {
    background: #ef4444;
    color: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px -5px var(--accent-energy);
}

.recent-events {
    margin-top: 1.5rem;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.event-item i {
    color: var(--accent-energy);
    font-size: 1rem;
}

.event-details {
    flex: 1;
}

.event-details p {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.light-theme .event-details p {
    color: #0f172a;
}

.event-time {
    color: var(--text-muted-dark);
    font-size: 0.75rem;
}





/* =================================== */
/*       NOTIFICATION SETTINGS CSS     */
/* =================================== */
.notification-settings {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.notification-header {
    margin-bottom: 2rem;
}

.notification-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.light-theme .notification-header h1 {
    color: #0f172a;
}

.notification-header h1 span {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.notification-header p {
    color: var(--text-muted-dark);
    font-size: 1rem;
}

.notification-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.light-theme .notification-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--accent-energy);
}

.card-header h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.light-theme .card-header h2 {
    color: #0f172a;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    margin-bottom: 1rem;
}

.light-theme .toggle-item {
    background: rgba(255, 255, 255, 0.5);
}

.toggle-info h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.light-theme .toggle-info h4 {
    color: #0f172a;
}

.toggle-info p {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin: 0;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: var(--accent-energy);
}

.toggle-slider {
    position: absolute;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.toggle-switch.active .toggle-slider {
    left: 32px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.light-theme .form-label {
    color: #0f172a;
}

.form-label i {
    color: var(--accent-energy);
    margin-right: 0.5rem;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.light-theme .form-control {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px -5px var(--accent-energy);
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}





/* =================================== */
/*       WALLET SETTINGS CSS           */
/* =================================== */
.wallet-settings {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.wallet-header {
    margin-bottom: 2rem;
}

.wallet-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.light-theme .wallet-header h1 {
    color: #0f172a;
}

.wallet-header h1 span {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wallet-header p {
    color: var(--text-muted-dark);
    font-size: 1rem;
}

.wallet-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.light-theme .wallet-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--accent-energy);
}

.card-header h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.light-theme .card-header h2 {
    color: #0f172a;
}

.wallet-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.status-icon {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon i {
    font-size: 1.5rem;
    color: #10b981;
}

.status-icon.warning {
    background: rgba(245, 158, 11, 0.1);
}

.status-icon.warning i {
    color: var(--accent-energy);
}

.status-info {
    flex: 1;
}

.status-info h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.light-theme .status-info h4 {
    color: #0f172a;
}

.status-info p {
    color: var(--text-muted-dark);
    margin: 0;
}

.status-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-energy);
}

.current-wallet {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.wallet-label {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.wallet-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
}

.wallet-address code {
    color: var(--accent-energy);
    font-size: 0.9rem;
    word-break: break-all;
}

.btn-copy {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    padding: 0.4rem 1rem;
    color: var(--accent-energy);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--accent-energy);
    color: #fff;
}

.btn-verify {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
    color: var(--accent-energy);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-verify:hover {
    background: var(--accent-energy);
    color: #fff;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.light-theme .form-label {
    color: #0f172a;
}

.form-label i {
    color: var(--accent-energy);
    margin-right: 0.5rem;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.light-theme .form-control {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-energy);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-energy), var(--accent-energy-dark));
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px -5px var(--accent-energy);
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent-energy);
    color: var(--accent-energy);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.recent-withdrawals {
    margin-top: 2rem;
}

.withdrawal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.withdrawal-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.withdrawal-icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.withdrawal-icon i {
    color: var(--accent-energy);
}

.withdrawal-details h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.light-theme .withdrawal-details h4 {
    color: #0f172a;
}

.withdrawal-details p {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin: 0;
}

.withdrawal-amount {
    font-weight: 600;
    color: #10b981;
}






/* =================================== */
/*       LIVE CHAT CSS                 */
/* =================================== */









/* =================================== */
/*       LIVE CHAT CSS                 */
/* =================================== */















/* =================================== */
/*       LIVE CHAT CSS                 */
/* =================================== */