/* ========================================
   IJEH TRADING EMPIRE - Main Stylesheet
   Brand Colors: Dark Navy + Gold + Blue
   Real Logo Integration
   ======================================== */

/* CSS Variables - Brand Colors */
:root {
    --primary: #0B1120;
    --secondary: #0F172A;
    --surface: #1E293B;
    --surface-light: #334155;
    --gold: #D4AF37;
    --gold-light: #F0D878;
    --gold-dark: #B8860B;
    --blue: #1E40AF;
    --blue-light: #3B82F6;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    --border: rgba(212, 175, 55, 0.15);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary);
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
    color: white;
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #0099e6 0%, #00b8ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
}

.btn-youtube {
    background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
    color: white;
}

.btn-youtube:hover {
    background: linear-gradient(135deg, #ff1a1a 0%, #e60000 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

.logo-accent {
    color: var(--gold);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
}

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

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

.nav-cta {
    margin-left: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 0 80px;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        var(--primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        var(--primary);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.hero-particles::before {
    top: 10%;
    left: 10%;
}

.hero-particles::after {
    bottom: 10%;
    right: 10%;
    animation-delay: -10s;
    width: 400px;
    height: 400px;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-logo-large {
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-logo-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    box-shadow: 
        0 0 60px rgba(212, 175, 55, 0.3),
        0 0 120px rgba(30, 64, 175, 0.2);
    animation: logoPulse 3s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% { 
        box-shadow: 
            0 0 60px rgba(212, 175, 55, 0.3),
            0 0 120px rgba(30, 64, 175, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 
            0 0 80px rgba(212, 175, 55, 0.5),
            0 0 160px rgba(30, 64, 175, 0.3);
        transform: scale(1.02);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

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

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-item i {
    color: var(--gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 20px; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

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

/* About Section */
.about {
    padding: 100px 0;
    background: var(--secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 24px;
    transition: var(--transition);
}

.about-card:hover .about-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(30, 64, 175, 0.2) 100%);
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Course Section */
.course {
    padding: 100px 0;
    background: var(--primary);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}

.course-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 16px;
}

.course-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.course-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.course-link:hover {
    gap: 12px;
    color: var(--gold-light);
}

.course-card-featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-cta {
    text-align: center;
}

/* Book Section */
.book {
    padding: 100px 0;
    background: var(--secondary);
}

.book-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.book-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.book-mockup {
    position: relative;
    width: 280px;
    height: 400px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: var(--transition);
}

.book-mockup:hover {
    transform: rotateY(-5deg) rotateX(0deg);
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 4px 0 0 4px;
    transform: translateX(-20px) rotateY(90deg);
    transform-origin: right;
}

.book-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--surface) 100%);
    border: 2px solid var(--gold);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.1);
}

.book-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.book-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
    line-height: 1.3;
}

.book-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.book-author {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.book-badge {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.book-content .section-title {
    text-align: left;
}

.book-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.book-features {
    margin-bottom: 32px;
}

.book-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.book-features li i {
    color: var(--gold);
    font-size: 1.1rem;
}

/* Community Section */
.community {
    padding: 100px 0;
    background: var(--primary);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.community-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    transition: var(--transition);
}

.community-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.community-card-telegram {
    border-color: rgba(0, 136, 204, 0.3);
}

.community-card-telegram:hover {
    border-color: #0088cc;
    box-shadow: 0 20px 60px rgba(0, 136, 204, 0.15);
}

.community-card-youtube {
    border-color: rgba(255, 0, 0, 0.3);
}

.community-card-youtube:hover {
    border-color: #FF0000;
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.15);
}

.community-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
}

.community-card-telegram .community-icon {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.community-card-youtube .community-icon {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.community-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.community-card > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.community-features {
    text-align: left;
    margin-bottom: 32px;
    display: inline-block;
}

.community-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.community-features li i {
    width: 20px;
    text-align: center;
}

.community-card-telegram .community-features li i {
    color: #0088cc;
}

.community-card-youtube .community-features li i {
    color: #FF0000;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.2);
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary);
}

.cta-box {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 80px 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    animation: ctaGlow 8s infinite ease-in-out;
}

@keyframes ctaGlow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.cta-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    margin-bottom: 24px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--surface-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 14px;
}

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

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-disclaimer i {
    color: var(--gold);
    margin-right: 8px;
}


/* ========================================
   LEGAL SECTION STYLES
   ======================================== */

/* Legal Banner */
.legal-banner {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border-bottom: 2px solid var(--gold);
    padding: 12px 0;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.legal-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.legal-banner-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
}

.legal-banner-text i {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.legal-banner-link {
    color: var(--gold);
    text-decoration: underline;
    font-weight: 600;
}

.legal-banner-link:hover {
    color: var(--gold-light);
}

.legal-banner-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.legal-banner-close:hover {
    color: var(--gold);
}

/* Legal Section */
.legal-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}

.legal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--blue-light), var(--gold));
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.legal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.legal-item {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 32px;
    transition: var(--transition);
}

.legal-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.legal-item-warning {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.legal-item-warning:hover {
    border-color: rgba(239, 68, 68, 0.5);
}

.legal-item-warning .legal-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.legal-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.legal-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.legal-item strong {
    color: var(--gold);
    font-weight: 600;
}

.legal-footer {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.legal-footer p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.legal-footer a {
    color: var(--gold);
    font-weight: 600;
}

.legal-footer a:hover {
    text-decoration: underline;
}

.legal-small {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Adjust hero padding for banner */
.hero {
    padding-top: 160px;
}

/* Responsive for legal section */
@media (max-width: 768px) {
    .legal-banner-text {
        font-size: 0.75rem;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-card {
        padding: 32px 20px;
    }

    .legal-item {
        padding: 24px;
    }

    .hero {
        padding-top: 140px;
    }
}

@media (max-width: 480px) {
    .legal-banner {
        padding: 8px 0;
    }

    .legal-banner-text {
        font-size: 0.7rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .book-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .book-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero-logo-img {
        width: 120px;
        height: 120px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .book-mockup {
        width: 220px;
        height: 320px;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Selection */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
}
