/* ========================================
   PREMIUM ARABIC BOOK LANDING PAGE
   Ultra-Modern Premium Design
   ======================================== */

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

:root {
    /* Premium Color Palette */
    --primary-deep: #0a0a0f;
    --primary-dark: #0f0f1a;
    --primary: #151528;
    --primary-light: #1e1e3a;
    --secondary: #2a2a4a;
    
    /* Luxury Gold Tones */
    --gold-deep: #b8941f;
    --gold: #d4af37;
    --gold-light: #f4e4a6;
    --gold-bright: #ffd700;
    --gold-pale: #fff8dc;
    
    /* Accent Colors */
    --accent-rose: #e94560;
    --accent-blue: #667eea;
    --accent-purple: #764ba2;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8b8d0;
    --text-muted: #7878a0;
    
    /* Gradients */
    --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #151528 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    
    /* Shadows */
    --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 24px 96px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.25);
    --shadow-gold-lg: 0 16px 64px rgba(212, 175, 55, 0.35);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
    font-family: 'Tajawal', 'Cairo', 'Noto Naskh Arabic', sans-serif;
    background: var(--primary-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    direction: rtl;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    border-radius: 6px;
    border: 2px solid var(--primary-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

/* ========================================
   LOADING SCREEN
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-book {
    position: relative;
    width: 80px;
    height: 60px;
    margin: 0 auto 2rem;
}

.loader-page {
    position: absolute;
    width: 40px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 4px;
    animation: loaderFlip 1.5s ease-in-out infinite;
}

.loader-page:nth-child(1) {
    left: 0;
    animation-delay: 0s;
}

.loader-page:nth-child(2) {
    left: 20px;
    animation-delay: 0.2s;
}

.loader-page:nth-child(3) {
    left: 40px;
    animation-delay: 0.4s;
}

@keyframes loaderFlip {
    0%, 100% { transform: rotateY(0); opacity: 0.5; }
    50% { transform: rotateY(180deg); opacity: 1; }
}

.loader-text {
    font-size: 1.2rem;
    color: var(--gold);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.logo-text {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-base);
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-base);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 70%),
        var(--gradient-dark);
}

#particles-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInRight 0.6s ease-out 0.2s backwards;
}

.text-reveal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.reveal-line {
    font-family: 'Amiri', serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: revealSlide 0.5s ease-out backwards;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.reveal-line:nth-child(1) { animation-delay: 0.2s; }
.reveal-line:nth-child(2) { animation-delay: 0.35s; }
.reveal-line:nth-child(3) { animation-delay: 0.5s; }

.reveal-line.highlight {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes revealSlide {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(-45deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.7s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 16px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-deep);
    box-shadow: var(--shadow-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: var(--transition-slow);
}

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

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold-lg);
}

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

.btn-outline:hover {
    background: var(--gold);
    color: var(--primary-deep);
    transform: translateY(-4px);
}

.btn-icon {
    font-size: 1.4rem;
    transition: var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateY(4px);
}

/* Hero Visual */
.hero-visual {
    animation: fadeInLeft 0.6s ease-out 0.3s backwards;
}

.book-showcase {
    perspective: 2000px;
}

.book-container {
    position: relative;
    width: 400px;
    height: 580px;
    margin: 0 auto;
}

.book-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(-20deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.book-3d:hover {
    transform: rotateY(-10deg) rotateX(3deg) scale(1.02);
}

.book-front, .book-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-gold-lg);
    border: 4px solid var(--gold);
    background: var(--primary-light);
}

.book-front iframe, .book-back iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.book-back {
    transform: translateZ(-40px) rotateY(180deg);
}

.book-spine {
    position: absolute;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
    transform: rotateY(-90deg) translateZ(20px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.book-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.book-shadow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0.4;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 1.5s backwards;
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--gold), transparent);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--primary-deep) 0%, var(--primary-dark) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: 'Amiri', serif;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   COVERS SECTION
   ======================================== */
.covers-section {
    padding: 8rem 2rem;
    background: var(--primary-dark);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: 'Amiri', serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.covers-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.cover-card {
    background: var(--gradient-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(20px);
    transition: var(--transition-base);
}

.cover-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.cover-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.cover-badge {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
}

.btn-maximize {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-card);
    border: 2px solid var(--gold);
    border-radius: 12px;
    color: var(--gold);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-maximize svg {
    width: 20px;
    height: 20px;
}

.btn-maximize:hover {
    background: var(--gold);
    color: var(--primary-deep);
    transform: scale(1.05);
}

.cover-preview {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.cover-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 15, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-base);
}

.cover-card:hover .cover-overlay {
    opacity: 1;
}

.btn-view {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    transform: translateY(20px);
}

.cover-overlay:hover .btn-view {
    transform: translateY(0);
}

.btn-view svg {
    width: 24px;
    height: 24px;
}

.btn-view:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold-lg);
}

/* ========================================
   PDF MODAL
   ======================================== */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.pdf-modal.active {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-content {
    width: 95%;
    height: 95%;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    background: var(--primary-dark);
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-xl);
    transform: scale(0.95) translateY(20px);
    transition: var(--transition-slow);
}

.pdf-modal.active .pdf-modal-content {
    transform: scale(1) translateY(0);
}

.pdf-modal-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.pdf-modal-header h3 {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pdf-controls {
    display: flex;
    gap: 1rem;
}

.pdf-controls button {
    width: 48px;
    height: 48px;
    background: var(--gradient-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-controls button:hover {
    background: var(--gold);
    color: var(--primary-deep);
    transform: scale(1.1);
}

.pdf-controls button svg {
    width: 24px;
    height: 24px;
}

.pdf-modal-close {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 56px;
    height: 56px;
    background: var(--gradient-card);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.pdf-modal-close:hover {
    background: var(--gold);
    color: var(--primary-deep);
    transform: rotate(90deg) scale(1.1);
}

.pdf-modal-close svg {
    width: 28px;
    height: 28px;
}

.pdf-modal-body {
    flex: 1;
    padding: 2rem;
    overflow: hidden;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding: 8rem 2rem;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.geometric-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 50px,
            rgba(212, 175, 55, 0.02) 50px,
            rgba(212, 175, 55, 0.02) 100px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 50px,
            rgba(212, 175, 55, 0.02) 50px,
            rgba(212, 175, 55, 0.02) 100px
        );
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-card {
    background: var(--gradient-card);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

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

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-glow {
    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: var(--transition-slow);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold);
}

.feature-card h3 {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-number {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-family: 'Amiri', serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

/* ========================================
   QUOTE SECTION
   ======================================== */
.quote-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 2rem;
    font-family: serif;
}

.quote-text p {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
}

.quote-decoration {
    width: 150px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 3rem auto 0;
    border-radius: 2px;
    position: relative;
}

.quote-decoration::before,
.quote-decoration::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.quote-decoration::before { right: -6px; }
.quote-decoration::after { left: -6px; }

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 8rem 2rem;
    background: var(--primary-dark);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-card {
    background: var(--gradient-card);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-slow);
}

.contact-card:hover .card-glow {
    opacity: 1;
}

.contact-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-base);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold);
}

.whatsapp-card .contact-icon svg {
    stroke: #25D366;
    fill: #25D366;
}

.contact-card h3 {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-base);
    box-shadow: var(--shadow-gold);
}

.contact-btn svg {
    width: 24px;
    height: 24px;
    transition: var(--transition-base);
}

.contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold-lg);
}

.contact-btn:hover svg {
    transform: translateX(-4px);
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.contact-btn.whatsapp:hover {
    box-shadow: 0 16px 64px rgba(37, 211, 102, 0.4);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 4rem 2rem 2rem;
    background: var(--primary-deep);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-icon {
    font-size: 2.5rem;
}

.footer-logo .logo-text {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-base);
}

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

.footer-divider {
    width: 100px;
    height: 2px;
    background: var(--gradient-gold);
    margin: 2rem auto;
    border-radius: 2px;
}

.copyright {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .hero-content {
        gap: 4rem;
    }
    
    .book-container {
        width: 350px;
        height: 520px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .reveal-line {
        font-size: 3.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .book-container {
        width: 300px;
        height: 450px;
    }

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

    .covers-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero stacks as column on mobile */
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }

    /* Scroll indicator always at bottom */
    .scroll-indicator {
        align-self: center;
        margin-top: auto;
    }

    .reveal-line {
        font-size: 2.5rem;
    }

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

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

    .book-container {
        width: 200px;
        height: 290px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-item::after {
        display: none;
    }

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

    .quote-text p {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .reveal-line {
        font-size: 2rem;
    }

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

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

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

    .book-container {
        width: 180px;
        height: 260px;
    }

    .cover-header {
        flex-direction: column;
        gap: 1rem;
    }

    .cover-preview {
        height: 400px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}
