:root {
    --phantom-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --bloody-red: #8a0303;
    --bright-red: #b91c1c;
    --text-color: #e0e0e0;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    /* Set the image as the background */
    background-image: url('bg.jpg');
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;

    /* Ensure the image covers the entire screen without distortion */
    background-size: cover;

    /* Center the image (the crescent moon) */
    background-position: center center;

    /* Prevent the image from repeating */
    background-repeat: no-repeat;

    /* Fix the background in place so content scrolls over it for a professional feel */
    background-attachment: fixed;

    /* Fallback color and basic text settings */
    background-color: #050505;
    color: #ffffff;
    margin: 0;
    font-family: 'Cairo', sans-serif;
    min-height: 100vh;
}

/* Dark overlay with red neon glow from the moon (top-left) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Radial gradient to simulate a red neon glow from the moon (top-left) */
    background: radial-gradient(circle at 30% 20%, rgba(185, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.85) 40%, rgba(5, 5, 5, 0.98) 100%);
    /* Ensure it blends nicely */
    mix-blend-mode: soft-light;
    z-index: -1; /* Place it behind the content but in front of the image */
    pointer-events: none; /* Let clicks pass through */
}


/* Ensure content is above canvas */
header,
.section,
footer {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 3, 3, 0.3);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    flex: 0 0 auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 8px 0;
    display: block;
}

.nav-links a:hover {
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
}

.nav-cta {
    flex: 0 0 auto;
}

.nav-buy-button {
    background: linear-gradient(135deg, var(--bloody-red) 0%, var(--bright-red) 100%);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(138, 3, 3, 0.4);
}

.nav-buy-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(138, 3, 3, 0.7), 0 0 20px rgba(185, 28, 28, 0.3);
    background: linear-gradient(135deg, var(--bright-red) 0%, var(--bloody-red) 100%);
}

/* Hero Section - The Promise */
header {
    background-color: transparent;
    background-image: none;
    padding: 90px 20px 60px;
    text-align: right;
    border-bottom: 5px solid var(--bloody-red);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    z-index: 2;
    /* Very subtle gradient overlay for readability */
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

header .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Hero Layout - 2 Column Flexbox */
.hero-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Left Column: Book Cover Image (50%) */
.hero-image-column {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.book-cover {
    width: 100%;
    max-width: 100%;
    max-height: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background: transparent;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fallback if image doesn't load */
.book-cover:not([src]),
.book-cover[src=""] {
    min-height: 500px;
    background: linear-gradient(135deg, rgba(138, 3, 3, 0.2) 0%, rgba(26, 26, 26, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover:not([src])::after,
.book-cover[src=""]::after {
    content: '📖';
    font-size: 4rem;
    opacity: 0.5;
}

/* Right Column: Text Content (50%) */
.hero-text-column {
    width: 55%;
    max-width: 700px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Primary light source - intense red neon glow from flowers */
        radial-gradient(ellipse 800px 600px at 25% 40%, rgba(255, 0, 0, 0.6) 0%, rgba(185, 28, 28, 0.4) 20%, rgba(138, 3, 3, 0.2) 40%, transparent 70%),
        radial-gradient(ellipse 700px 500px at 75% 60%, rgba(255, 20, 20, 0.5) 0%, rgba(185, 28, 28, 0.3) 25%, rgba(138, 3, 3, 0.15) 45%, transparent 70%),
        radial-gradient(ellipse 600px 400px at 50% 50%, rgba(255, 0, 0, 0.4) 0%, rgba(185, 28, 28, 0.25) 30%, transparent 60%),
        /* Secondary glow points */
        radial-gradient(circle 300px at 15% 30%, rgba(255, 50, 50, 0.5) 0%, transparent 50%),
        radial-gradient(circle 250px at 85% 70%, rgba(255, 30, 30, 0.4) 0%, transparent 50%),
        radial-gradient(circle 200px at 45% 20%, rgba(185, 28, 28, 0.4) 0%, transparent 40%);
    opacity: 1;
    animation: neonGlow 3s ease-in-out infinite;
    mix-blend-mode: screen;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Dark shadowy environment with high contrast */
        radial-gradient(ellipse 1000px 800px at 30% 50%, rgba(0, 0, 0, 0.8) 0%, rgba(5, 0, 0, 0.6) 40%, transparent 70%),
        radial-gradient(ellipse 900px 700px at 70% 50%, rgba(0, 0, 0, 0.7) 0%, rgba(5, 0, 0, 0.5) 35%, transparent 65%),
        /* Mystical mist effect */
        radial-gradient(circle 400px at 20% 30%, rgba(138, 3, 3, 0.08) 0%, transparent 50%),
        radial-gradient(circle 350px at 80% 70%, rgba(185, 28, 28, 0.06) 0%, transparent 45%);
    filter: blur(60px);
    animation: shadowDrift 10s ease-in-out infinite;
    z-index: 0;
}

@keyframes neonGlow {
    0%, 100% {
        opacity: 0.9;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes shadowDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: translate(-30px, 20px) scale(1.05);
        opacity: 0.9;
    }
    66% {
        transform: translate(20px, -15px) scale(0.95);
        opacity: 0.85;
    }
}

/* Legacy hero-content class - keeping for compatibility if needed */

.hero-text-column .sub-headline {
    font-size: 1rem;
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    font-weight: 700;
    margin-bottom: 22px;
    margin-right: 0;
    margin-left: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: right;
    line-height: 1.5;
    width: 100%;
}

.hero-text-column h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--white);
    margin-bottom: 15px;
    margin-right: 0;
    margin-left: 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    line-height: 1.6;
    text-align: right;
    max-width: 600px;
}

.hero-text-column .hero-description {
    font-size: 1.05rem;
    max-width: 100%;
    margin: 0 0 35px 0;
    margin-right: 0;
    margin-left: 0;
    color: var(--text-color);
    font-weight: 500;
    text-align: right;
    line-height: 1.7;
}

.hero-text-column .cta-button {
    background: linear-gradient(135deg, var(--bloody-red) 0%, var(--bright-red) 100%);
    color: var(--white);
    padding: 16px 36px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(138, 3, 3, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 0;
    margin-left: auto;
    margin-top: 10px;
    text-align: center;
    align-self: flex-end;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(138, 3, 3, 0.9), 0 0 30px rgba(185, 28, 28, 0.4);
    background: linear-gradient(135deg, var(--bright-red) 0%, var(--bloody-red) 100%);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100; /* High z-index to float above background particles */
    cursor: pointer;
    color: var(--white); /* White color */
    font-size: 2rem; /* Font size 2rem */
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.scroll-indicator:hover {
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    transform: translateX(-50%) scale(1.2);
    animation-play-state: paused;
}

/* Bounce Animation - moves arrow up and down infinitely */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Floating WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp Green */
    border-radius: 50%; /* Perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Soft shadow */
    z-index: 1000; /* Above Red Moon canvas background */
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-button i {
    color: white;
    font-size: 35px;
}

/* Floating WhatsApp Button for Checkout */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-whatsapp i {
    color: white;
    font-size: 30px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Pulse Animation - gentle expand and contract/glow */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Section Styles */
.section {
    padding: 80px 20px;
    margin-bottom: 100px;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.bg-dark {
    background-color: transparent;
    /* Very subtle gradient overlay for readability */
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
}
        
/* Ensure content inside sections sits above canvas */
.section *,
.section .container *,
header *,
header .container * {
    position: relative;
    z-index: 1;
}
        
/* Problem section - transparent */
#problem-section {
    background-color: transparent;
}
        
/* Chapters section - transparent */
.chapters-container,
.chapter-item {
    background-color: transparent;
}
        
/* FAQ section - transparent */
#faq {
    background-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--white);
    margin: 20px auto 0;
}

h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Problem/Agitation Section - Vertical List */
.problem-list {
    max-width: 900px;
    margin: 50px auto;
    list-style: none;
    padding: 0;
    text-align: right;
}

.problem-list-item {
    border-right: 4px solid #b90505;
    padding-right: 30px;
    margin-bottom: 45px;
    position: relative;
    text-align: right;
    font-size: 1.4rem;
    line-height: 2;
    transition: all 0.3s ease;
}

.problem-list-item:hover {
    border-right-color: var(--bright-red);
    padding-right: 35px;
}

.problem-list-item::before {
    display: none;
}

.problem-list-item .item-text {
    flex: 1;
    color: var(--white);
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-weight: 500;
}

.problem-list-item .item-text .highlight-text {
    color: #b90505;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    font-weight: 700;
}

.highlight {
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    font-weight: 700;
    font-size: 1.3em;
}

/* Mechanism Section */
.mechanism-box {
    background: transparent;
    border: 2px solid var(--bloody-red);
    border-radius: 15px;
    padding: 40px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 0 30px rgba(138, 3, 3, 0.3);
}

.mechanism-box h3 {
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    text-align: center;
    margin-bottom: 25px;
}

/* Proof Section */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.proof-card {
    background: transparent;
    border: 2px solid var(--bloody-red);
    padding: 30px;
    border-radius: 12px;
    text-align: right;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.proof-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(138, 3, 3, 0.4);
    border-color: var(--bright-red);
}

.proof-card h3 {
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.testimonial-author {
    color: var(--white);
    font-weight: 700;
    text-align: left;
}

/* Excerpts from Manuscript Section */
.excerpts-container {
    max-width: 1200px;
    margin: 40px auto;
}



/* What Will You Learn Section - Chapters Accordion */
.chapters-container {
    max-width: 1000px;
    margin: 40px auto;
}

.chapter-item {
    background-color: transparent;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
    border: 1px solid rgba(138, 3, 3, 0.5);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chapter-item:hover {
    border-color: var(--bloody-red);
    box-shadow: 0 0 15px rgba(138, 3, 3, 0.3);
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.6));
}

.chapter-item.active {
    border-color: var(--bright-red);
    box-shadow: 0 0 20px rgba(138, 3, 3, 0.4);
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.chapter-header {
    background-color: transparent;
    background: rgba(0, 0, 0, 0.4);
    padding: 25px 20px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.chapter-header:hover {
    background: rgba(0, 0, 0, 0.6);
}

.chapter-header::before {
    content: '▼';
    font-size: 1rem;
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.chapter-item.active .chapter-header::before {
    transform: rotate(180deg);
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
}

.chapter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}

.chapter-item.active .chapter-content {
    max-height: 500px;
    padding: 0 20px 25px;
}

.chapter-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chapter-content li {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 2;
    padding-right: 25px;
    position: relative;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.chapter-content li::before {
    content: '▸';
    position: absolute;
    right: 0;
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 40px auto;
}

.faq-item {
    background: transparent;
    border: 1px solid var(--bloody-red);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: transparent;
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: var(--bright-red);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Timer */
.timer {
    font-size: 2.5rem;
    color: var(--bright-red);
    margin: 30px 0;
    font-weight: 900;
    text-align: center;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5),
         0 0 20px rgba(185, 28, 28, 0.6);
}

/* Checkout Section */
.checkout-section {
    padding: 80px 20px;
    margin-bottom: 50px;
    background-color: transparent;
    position: relative;
    z-index: 1;
}


.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Form Section */
.checkout-form {
    background-color: transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    background-color: #111;
    border: 1px solid rgba(185, 5, 5, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #b90505;
    box-shadow: 0 0 10px rgba(185, 5, 5, 0.3);
}

.form-group input::placeholder {
    color: #666;
}

/* Order Summary */
.order-summary {
    background-color: #0a0a0a;
    border: 1px solid #b90505;
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.order-summary-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: #b90505;
}

.summary-book-image {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(185, 5, 5, 0.3);
}

/* Simplified Product Item */
.product-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: rgba(185, 5, 5, 0.05);
    border: 1px solid rgba(185, 5, 5, 0.2);
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(185, 5, 5, 0.2);
    border-radius: 8px;
}

.product-icon i {
    font-size: 1.8rem;
    color: #b90505;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.product-subtext {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.3;
}

.product-price {
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
}

.order-divider {
    border: none;
    border-top: 1px solid rgba(185, 5, 5, 0.3);
    margin: 20px 0;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(185, 5, 5, 0.1);
    border: 1px solid rgba(185, 5, 5, 0.3);
    border-radius: 8px;
    margin-top: 10px;
}

.total-label {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.total-amount {
    color: #b90505;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    font-size: 2rem;
    font-weight: 900;
}

/* Payment Methods */
.payment-methods {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(185, 5, 5, 0.3);
}

.payment-methods h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.payment-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.payment-card {
    flex: 1;
    background-color: #0a0a0a;
    border: 1px solid rgba(185, 5, 5, 0.5);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-card:hover {
    border-color: #b90505;
    box-shadow: 0 0 20px rgba(185, 5, 5, 0.3);
    transform: translateY(-3px);
}

.payment-card.selected {
    border-color: #b90505;
    background-color: rgba(185, 5, 5, 0.1);
    box-shadow: 0 0 25px rgba(185, 5, 5, 0.4);
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #b90505;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
}

.payment-card-name {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.payment-details {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.copy-button {
    background-color: #111;
    border: 1px solid #b90505;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    width: 100%;
    margin-top: 10px;
}

.copy-button:hover {
    background-color: #b90505;
    color: var(--white);
}

.payment-link-button {
    background-color: #b90505;
    border: 1px solid #b90505;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    text-decoration: none;
    display: block;
    width: 100%;
    margin-top: 10px;
}

.payment-link-button:hover {
    background-color: #d90505;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 5, 5, 0.4);
}

/* Proof Upload */
.proof-upload {
    margin-top: 40px;
    margin-bottom: 30px;
}

.proof-upload label {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.upload-area {
    border: 2px dashed #b90505;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background-color: rgba(185, 5, 5, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    background-color: rgba(185, 5, 5, 0.1);
    border-color: #d90505;
}

.upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-text {
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.upload-icon {
    font-size: 2rem;
    color: #b90505;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

/* Submit Button */
.submit-order-button {
    width: 100%;
    background-color: #b90505;
    color: var(--white);
    padding: 20px 40px;
    font-size: 1.5rem;
    font-weight: 900;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(185, 5, 5, 0.4);
}

.submit-order-button:hover {
    background-color: #d90505;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(185, 5, 5, 0.6);
}

.submit-order-button:active {
    transform: translateY(-1px);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #555;
    border-top: 1px solid rgba(51, 51, 51, 0.5);
}

/* Special Offer Section */
.special-offer-section {
    padding: 60px 20px;
    text-align: center;
    background: transparent;
}

.special-offer-headline {
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Cairo', sans-serif;
}

.special-offer-headline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: #b90505;
    border-radius: 2px;
}

.special-offer-box {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #b90505;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 0 15px rgba(185, 5, 5, 0.4);
}

.offer-product-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: 'Cairo', sans-serif;
}

.offer-product-title i {
    color: #b90505;
    font-size: 1.5rem;
}

.offer-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.old-price {
    color: #999;
    font-size: 1.5rem;
    text-decoration: line-through;
    font-weight: 400;
}

.new-price {
    color: #b90505;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px 2px 5px rgba(0,0,0,0.5);
    font-family: 'Cairo', sans-serif;
}

.savings-badge {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: inline-block;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.special-offer-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #b90505 0%, #d10505 100%);
    color: #ffffff;
    padding: 18px 30px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(185, 5, 5, 0.4);
    font-family: 'Cairo', sans-serif;
}

.special-offer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 5, 5, 0.6);
    background: linear-gradient(135deg, #d10505 0%, #b90505 100%);
}

.trust-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 20px;
}

.trust-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-footer i {
    color: #b90505;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Background Fix for Mobile - Prevents jitter */
    body {
        background-attachment: scroll;
    }

    body::before {
        background-attachment: scroll;
    }

    /* Global Container Width Fixes - Prevent Horizontal Scroll */
    .container {
        width: 95% !important;
        max-width: 100% !important;
        margin: 0 auto;
        padding: 0 10px;
    }

    .section {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    /* Typography Optimization for Mobile */
    h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    h2 {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
        line-height: 1.4 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    h3 {
        font-size: clamp(1.2rem, 3.5vw, 1.6rem) !important;
        line-height: 1.4 !important;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 20px;
        gap: 15px;
    }

    .nav-links {
        display: none; /* Hide nav links on mobile */
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-buy-button {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    /* Hero Section Mobile */
    header {
        padding: 80px 15px 50px;
        text-align: right;
        align-items: flex-start;
        justify-content: center;
        min-height: auto;
        margin-top: 50px;
    }

    header .container {
        padding: 0;
    }

    .hero-layout {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        max-width: 100%;
    }

    /* On mobile: Text column first (top), Image column second (bottom) */
    .hero-text-column {
        width: 100%;
        order: 1; /* Text appears first (top) */
        padding-left: 0;
    }

    .hero-image-column {
        width: 100%;
        order: 2; /* Image appears second (bottom) */
    }

    .book-cover {
        max-width: 100%;
        max-height: 400px;
    }

    .hero-text-column h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        text-align: right;
        line-height: 1.4;
        margin-bottom: 35px;
        margin-right: 0;
        margin-left: 0;
    }

    .hero-text-column .sub-headline {
        font-size: 0.95rem;
        text-align: right;
        margin-bottom: 25px;
        margin-right: 0;
        margin-left: 0;
        line-height: 1.5;
    }

    .hero-text-column .hero-description {
        font-size: 1rem;
        text-align: right;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 40px;
        line-height: 1.7;
    }

    .hero-text-column .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
        margin-right: 0;
        margin-left: auto;
        margin-top: 10px;
        align-self: flex-end;
    }

    .section {
        padding: 50px 15px;
    }


    .chapter-header {
        font-size: 1.1rem;
        padding: 20px 15px;
    }

    .chapter-content {
        padding: 0 15px;
    }

    .chapter-item.active .chapter-content {
        padding: 0 15px 20px;
    }

    .chapter-content li {
        font-size: 1rem;
        padding-right: 20px;
    }


    .mechanism-box {
        padding: 25px 20px;
    }

    .problem-list {
        margin: 30px auto;
    }

    .problem-list-item {
        padding-right: 20px;
        margin-bottom: 35px;
        font-size: 1.2rem;
    }

    .problem-list-item::before {
        border-right-width: 6px;
        border-top-width: 5px;
        border-bottom-width: 5px;
        margin-top: 6px;
    }

    /* Checkout Section Mobile */
    .checkout-section {
        padding: 50px 15px;
    }

    /* Checkout Section Mobile - Column Layout */
    .checkout-section {
        padding: 50px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        max-width: 100%;
    }

    /* Reorder: Order Summary first (top), then Form */
    .checkout-grid > .order-summary {
        order: 1;
    }

    .checkout-grid > .checkout-form {
        order: 2;
    }

    .order-summary {
        position: static;
        top: auto;
        width: 100%;
        max-width: 100%;
    }

    /* Increase Input Field Heights for Better Mobile Tapping */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 45px;
        padding: 12px 18px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .submit-order-button {
        min-height: 50px;
        padding: 15px 25px;
        font-size: 1.2rem;
    }

    .payment-cards {
        flex-direction: column;
    }

    .product-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .product-details {
        width: 100%;
        align-items: center;
    }

    .product-price {
        margin-top: 10px;
        text-align: center;
    }

    .summary-book-image {
        width: 100px;
        margin-bottom: 20px;
    }

    .order-total {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .total-amount {
        font-size: 1.8rem;
    }

    /* Special Offer Section Mobile */
    .special-offer-section {
        padding: 40px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .special-offer-box {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .special-offer-headline {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 25px;
    }

    .special-offer-headline::after {
        width: 100px;
    }

    .offer-product-title {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 8px;
    }

    .offer-price-row {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .old-price {
        font-size: 1.2rem;
    }

    .new-price {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .savings-badge {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .special-offer-button {
        width: 100%;
        padding: 16px 25px;
        font-size: 1.15rem;
    }

    .trust-footer {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .trust-footer span {
        font-size: 0.85rem;
    }

    /* Floating WhatsApp Button Mobile Position Fix */
    .whatsapp-button,
    .floating-whatsapp {
        bottom: 80px; /* Higher position to avoid covering submit buttons */
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-button i,
    .floating-whatsapp i {
        font-size: 28px;
    }

    /* Additional Mobile Optimizations */
    .checkout-container,
    .container {
        width: 95%;
        max-width: 100%;
        margin: 0 auto;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    /* Prevent text overflow */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Fix any potential overflow issues */
    body {
        overflow-x: hidden;
    }
}

/* Checkout Trust Navbar */
.checkout-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px 5%;
    background: rgba(2, 2, 2, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-brand {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.checkout-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2ecc71;
    font-size: 0.9rem;
    font-weight: 700;
}

.checkout-trust i {
    color: #2ecc71;
}
