/* ============================================
   ROOT VARIABLES & GLOBAL STYLES
   ============================================ */

:root {
    --primary-gold: #D4AF37;
    --primary-dark: #0F1419;
    --primary-blue: #1E90FF;
    --accent-cyan: #00D4FF;
    --accent-orange: #FF6B35;
    --accent-purple: #9D4EDD;
    --accent-pink: #FF006E;
    --text-light: #FFFFFF;
    --text-gray: #B0B8C1;
    --bg-dark: #0A0E14;
    --bg-darker: #050709;
    --border-color: #1A1F2E;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-cyan) 100%);
    color: var(--primary-dark) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    margin-top: 60px;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, var(--primary-gold), rgba(212, 175, 55, 0)),
        radial-gradient(2px 2px at 60% 70%, var(--accent-cyan), rgba(0, 212, 255, 0)),
        radial-gradient(1px 1px at 50% 50%, var(--accent-orange), rgba(255, 107, 53, 0)),
        radial-gradient(1px 1px at 80% 10%, var(--primary-gold), rgba(212, 175, 55, 0)),
        radial-gradient(2px 2px at 90% 60%, var(--accent-cyan), rgba(0, 212, 255, 0)),
        radial-gradient(1px 1px at 30% 80%, var(--accent-orange), rgba(255, 107, 53, 0));
    background-repeat: repeat;
    background-size: 200% 200%;
    opacity: 0.3;
    animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--text-light) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.price-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(30, 144, 255, 0.1) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 10px;
    width: fit-content;
    animation: pulse-glow 3s ease-in-out infinite;
}

.price-label {
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    line-height: 1;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.book-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(212, 175, 55, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateZ(-2deg); }
    50% { transform: translateY(-20px) rotateZ(2deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.3); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-cyan) 100%);
    color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4), 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 100px 0;
    background: rgba(30, 144, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(30, 144, 255, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(30, 144, 255, 0.2) 100%);
    transition: var(--transition-smooth);
    z-index: -1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2), 0 0 30px rgba(0, 212, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   CHAPTERS SECTION
   ============================================ */

.chapters {
    padding: 100px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.chapter-card {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.1);
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-gold) 0%, var(--accent-cyan) 100%);
    transition: height 0.5s ease;
}

.chapter-card:hover::before {
    height: 100%;
}

.chapter-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: var(--accent-cyan);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
    box-shadow: 0 10px 40px rgba(30, 144, 255, 0.2), 0 0 30px rgba(212, 175, 55, 0.1);
}

.chapter-number {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.chapter-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.chapter-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.chapter-topics {
    list-style: none;
}

.chapter-topics li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.chapter-topics li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits {
    padding: 100px 0;
    background: rgba(212, 175, 55, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   EXAMPLES SECTION
   ============================================ */

.examples {
    padding: 100px 0;
}

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

.example-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(30, 144, 255, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
}

.example-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
}

.example-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
}

.example-subtitle {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.example-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(30, 144, 255, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-form input {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.cta-form input::placeholder {
    color: var(--text-gray);
}

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

.cta-note {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(30, 144, 255, 0.1) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
}

.price-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
}

.price-big {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .hero-image {
        height: 350px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .chapters-grid,
    .examples-grid {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-form input,
    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card,
    .chapter-card,
    .example-card {
        padding: 1.5rem;
    }
}
