/* ==========================================================================
   Zenith Trading - Premium Style Sheet
   Aesthetics: Deep Dark Mode, Gold Gradients, Glassmorphism, Micro-animations
   100% Matching Layout & Styling from the PDF Design
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-darker: #050811;
    --bg-dark: #0a0f1d;
    --bg-card: #080d1a;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(212, 175, 55, 0.15);
    
    /* Brand Gold Colors */
    --gold-primary: #d4af37; /* Gold Metallic */
    --gold-secondary: #b8860b; /* Dark Gold/Goldenrod */
    --gold-gradient-start: #f3e098;
    --gold-gradient-end: #b8860b;
    --gold-hover: #e5c158;
    
    /* Functional Colors */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Text Colors */
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout Constants */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Glassmorphism Preset */
    --glass-bg: rgba(13, 21, 38, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    --glass-blur: blur(16px);

    /* Dynamic Custom Theme Variables */
    --grid-line-color: rgba(255, 255, 255, 0.015);
    --header-scrolled-bg: rgba(5, 8, 17, 0.95);
    --hero-bg-overlay: radial-gradient(circle at center, rgba(5, 8, 17, 0.3) 0%, rgba(5, 8, 17, 0.85) 100%);
    --ebook-card-bg: rgba(17, 24, 44, 0.4);
}

[data-theme="light"] {
    --bg-darker: #f0f4f9;
    --bg-dark: #ffffff;
    --bg-card: #f8fafc;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-glow: rgba(212, 175, 55, 0.3);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-shadow: rgba(15, 23, 42, 0.1);

    --grid-line-color: rgba(15, 23, 42, 0.02);
    --header-scrolled-bg: rgba(240, 244, 249, 0.95);
    --hero-bg-overlay: radial-gradient(circle at center, rgba(240, 244, 249, 0.4) 0%, rgba(240, 244, 249, 0.92) 100%);
    --ebook-card-bg: rgba(15, 23, 42, 0.04);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Trading Grid-style Ambient Background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
    background-image: 
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: -2;
}

/* Glow effects */
body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(160px);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(59, 130, 246, 0.03) 100%);
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold-gradient-start) 0%, var(--gold-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: var(--gold-primary);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
    border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Sticky Header (Navigation) */
header.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.main-header.scrolled {
    height: 70px;
    background: var(--header-scrolled-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 42px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-item a:hover,
.nav-item.active a {
    color: #ffffff;
}

/* Language Switcher */
.lang-selector {
    position: relative;
    cursor: pointer;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    min-width: 100px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1001;
}

.lang-dropdown.active {
    display: flex;
}

.lang-option {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background 0.2s;
    text-align: left;
    cursor: pointer;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold-primary);
}

/* Admin Switcher Button */
.admin-toggle-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-toggle-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.admin-toggle-btn.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
    background-image: 
        var(--hero-bg-overlay), 
        url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-container {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-big-logo {
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.15));
    animation: floatIcon 6s ease-in-out infinite;
}

.badge-gold {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.05);
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.05);
        border-color: rgba(212, 175, 55, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
        border-color: rgba(212, 175, 55, 0.5);
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.05rem;
    color: #a0aec0;
    max-width: 680px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-gradient-start) 0%, var(--gold-gradient-end) 100%);
    color: #050811;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    opacity: 0.5;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
    color: #000;
}

.btn-primary:hover::after {
    left: 125%;
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold-primary);
    color: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.btn-verify-highlight {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
    text-decoration: none;
}

.btn-verify-highlight:hover {
    background: var(--gold-primary);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
}

/* Proof of Performance Section */
.proof-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.proof-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.stats-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem 1.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.stat-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.08);
}

.stat-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-num {
    font-size: 2.4rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.chart-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.chart-header-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.chart-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.chart-meta h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.chart-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.badge-live {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-live::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

.chart-body {
    flex-grow: 1;
    min-height: 250px;
    position: relative;
}

.chart-bottom-button {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

/* Pricing Section (4-column Layout Grid matching PDF) */
.pricing-section {
    padding: 6rem 0;
    background-color: var(--bg-darker);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 1rem;
}

/* Column 1: Backtest intro card styling */
.algo-backtest-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.algo-backtest-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.algo-title {
    font-size: 1.15rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.algo-media {
    background: #060913;
    border-radius: 12px;
    height: 180px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.algo-chart-mockup {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.algo-placeholder-icon {
    font-size: 3.5rem;
    color: rgba(212, 175, 55, 0.15);
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.algo-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Column 2, 3, 4: Pricing Cards styling */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pricing-card.popular {
    border: 1.5px solid var(--gold-primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
    transform: scale(1.02);
    z-index: 2;
}

.pricing-card.popular-year {
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.05);
}

.pricing-card.popular::before {
    content: 'POPULAR';
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, var(--gold-gradient-start) 0%, var(--gold-gradient-end) 100%);
    color: #050811;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    letter-spacing: 0.05em;
}

.card-badge-save {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(245, 158, 11, 0.12);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(212, 175, 55, 0.08);
}

.pricing-card.popular:hover {
    transform: translateY(-8px) scale(1.04);
}

.pricing-name {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.price-block {
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
}

.price-original {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 0.2rem;
    height: 1.3rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-value {
    font-size: 2.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.2rem;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.4;
}

.pricing-features li i {
    color: var(--gold-primary);
    margin-top: 0.2rem;
    font-size: 0.8rem;
}

.pricing-features li.premium-feature {
    color: var(--text-primary);
    font-weight: 600;
}

/* Ebook Section */
.ebooks-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
    position: relative;
}

.ebooks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.ebook-card {
    background: var(--ebook-card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.ebook-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(17, 24, 44, 0.6);
    transform: translateY(-3px);
}

.ebook-cover-wrapper {
    width: 180px;
    height: 270px;
    perspective: 1000px;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
    transition: transform 0.5s ease;
}

.ebook-card:hover .ebook-cover-wrapper {
    transform: rotateY(-10deg) scale(1.05);
}

.ebook-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 12px 12px 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Fallback Book Cover styles - Premium White Cover matching PDF 100% */
.book-cover-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fafafa 0%, #ededed 100%);
    border-radius: 4px 12px 12px 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.05), inset 3px 0 5px rgba(255, 255, 255, 0.8);
    padding: 1.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Book Spine shadow */
.book-cover-fallback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.02) 60%, transparent 100%);
    z-index: 2;
}

/* Book Cover internal Gold icon */
.book-cover-fallback::after {
    content: '▲';
    font-size: 1.2rem;
    color: var(--gold-primary);
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
}

.fallback-badge {
    font-size: 0.55rem;
    font-weight: 800;
    color: #6b7280;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.25rem;
    width: 80%;
}

.fallback-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827; /* Dark bold text */
    line-height: 1.3;
}

.fallback-author {
    font-size: 0.65rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: 0.05em;
}

.ebook-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.ebook-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.5;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 360px) {
    .ebook-info p {
        white-space: nowrap;
    }
}

.ebook-cta-block {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 3.5rem;
}

.ebook-pricing-small {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.ebook-retail-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-buy-single {
    font-size: 0.82rem;
    color: var(--gold-primary);
    background: transparent;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px 8px;
    font-family: var(--font-heading);
}

.btn-buy-single:hover {
    color: var(--gold-hover);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.85);
    transform: translateY(-2px) scale(1.06);
    opacity: 1 !important;
}

.ebook-price-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.ebook-price-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ebook-price-box:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.05);
}

.ebook-price-box.best-value {
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.ebook-price-box.best-value::before {
    content: 'BEST VALUE - TIẾT KIỆM 30%';
    position: absolute;
    top: -10px;
    right: 1.5rem;
    background: var(--gold-primary);
    color: #050811;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.ebook-price-box h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.ebook-price-box p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.ebook-price-val {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--gold-primary);
}

/* Mentorship Section */
.mentorship-section {
    padding: 6rem 0;
    background-color: var(--bg-darker);
    position: relative;
}

.mentorship-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.mentorship-media {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    position: relative;
}

/* Macbook Mockup Frame */
.macbook-mockup {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    perspective: 1000px;
    position: relative;
    z-index: 5;
}

.macbook-screen {
    background: #000;
    border-radius: 20px 20px 0 0;
    border: 12px solid #0d0d0d; /* Slick dark Space Gray bezel */
    border-bottom: 18px solid #0d0d0d;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 15px 40px rgba(0,0,0,0.65);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.macbook-webcam {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #151515;
    border-radius: 50%;
    z-index: 10;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
}

.macbook-content {
    background: #070b14;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.macbook-content .mentorship-media {
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.macbook-content .mock-video-area {
    flex: 1;
}

.macbook-base {
    height: 12px;
    background: linear-gradient(to bottom, #8a8a8a 0%, #585858 50%, #2b2b2b 100%);
    border-radius: 0 0 12px 12px;
    position: relative;
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
    z-index: 2;
    width: 104%;
    left: -2%;
}

.macbook-notch {
    width: 70px;
    height: 4px;
    background: #1e1e1e;
    border-radius: 0 0 6px 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.mock-window-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.window-dots {
    display: flex;
    gap: 0.4rem;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }

.mock-window-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.mock-rec-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.mock-rec-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulseGreen 1s infinite;
}

.mock-video-area {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 1rem;
    background: #070b14;
}

.main-stream {
    background: #111827;
    border-radius: 8px;
    aspect-ratio: 16/9;
    position: relative;
    border: 1px solid rgba(255,255,255,0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.screen-share-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.screen-share-icon {
    font-size: 1.8rem;
    animation: floatIcon 4s ease-in-out infinite;
}

.screen-share-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(0,0,0,0.65);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.stream-label {
    position: absolute;
    bottom: 0.35rem;
    left: 0.35rem;
    right: 0.35rem;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    pointer-events: none;
}

.p-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-role {
    font-size: 0.5rem;
    color: var(--text-secondary);
}

.side-streams {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sub-stream {
    background: #111827;
    border-radius: 6px;
    aspect-ratio: 16/11;
    position: relative;
    border: 1px solid rgba(255,255,255,0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.sub-stream:hover {
    background: #182235;
    border-color: rgba(212, 175, 55, 0.2);
}

.stream-icon {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.15);
}

.main-stream .stream-icon {
    font-size: 3rem;
}

/* Mentorship intro block matching PDF */
.mentorship-intro-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 1.5rem 0;
}

.intro-box-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--gold-primary);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.intro-box-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.mentorship-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.mentorship-bullet {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.bullet-arrow {
    color: var(--gold-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.bullet-desc {
    font-size: 0.92rem;
    color: var(--text-primary);
}

.btn-mentor-pill {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: #000000 !important;
    font-weight: 700;
    padding: 0.95rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 0.92rem;
    margin-top: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    width: 100%;
    font-family: var(--font-heading);
    text-transform: none;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
}

.btn-mentor-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
    background: linear-gradient(135deg, #f3e5ab 0%, var(--gold-primary) 100%);
}

/* Footer Section */
footer.main-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

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

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--gold-primary);
    color: #050811;
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-policy {
    display: flex;
    gap: 1.5rem;
}

/* Modals & Popups System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 17, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.premium-modal {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 30px rgba(212, 175, 55, 0.05);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .premium-modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.04) 0%, transparent 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--gold-primary);
}

.modal-body {
    padding: 2rem;
}

/* Form inputs styling */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold-primary);
    background: rgba(255,255,255,0.05);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.form-submit-btn {
    width: 100%;
    margin-top: 1.5rem;
}

/* Payment detail box inside Payment modal */
.payment-details {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.payment-row:last-child {
    margin-bottom: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
    font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

@media (max-width: 1024px) {
    .proof-grid {
        grid-template-columns: 1fr;
    }
    .ebooks-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .mentorship-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 0.95rem;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #050811;
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        gap: 2.5rem;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid var(--border-color);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item a {
        font-size: 1.1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .ebook-price-boxes {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: var(--bg-darker);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    user-select: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.1);
}

.faq-answer p {
    padding: 1.25rem 1.5rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Active states toggled by JS */
.faq-item.active {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.faq-item.active .faq-question {
    color: var(--gold-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--gold-primary);
}
