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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700; /* نفس وزن الخط للعنوان الرئيسي */
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700; /* نفس وزن الخط للعنوان الرئيسي */
    margin-bottom: 1rem;
    color: #2c3e50;
}

p {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700; /* نفس وزن الخط للعنوان الرئيسي */
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.gradient-text {
    background: linear-gradient(135deg, 
        #ffd700 0%, 
        #ffb300 30%, 
        #ff8f00 60%, 
        #e65100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 800;
    animation: textShimmer 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    transform: translateX(-100%);
    animation: textSweep 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

@keyframes textSweep {
    0% {
        transform: translateX(-100%);
    }
    50%, 100% {
        transform: translateX(100%);
    }
}

/* تأثيرات العنوان المتحرك */
.animated-title {
    color: #2c3e50;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.05),
        0 8px 16px rgba(0, 0, 0, 0.03);
    animation: fadeInUp 1s ease-out;
    position: relative;
    background: linear-gradient(135deg, 
        #ffd700 0%, 
        #ffb300 30%, 
        #ff8f00 60%, 
        #e65100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    animation: fadeInUp 1s ease-out, textShimmer 2s ease-in-out infinite 1s;
}

.animated-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    transform: translateX(-100%);
    animation: textSweep 3s ease-in-out infinite 1.5s;
}

.yellow-highlight {
    color: #d97706;
    font-weight: 700;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-brand h2 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin: 0;
}

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

.nav-link {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #2c3e50;
    padding-top: 120px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:rgba(102,126,234,0.1)"/><stop offset="100%" style="stop-color:rgba(102,126,234,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2.45rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.05),
        0 8px 16px rgba(0, 0, 0, 0.03);
    animation: fadeInUp 1s ease-out;
    position: relative;
}



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



.hero-questions {
    margin: 2rem 0;
    text-align: right; /* محاذاة لليمين */
}

.hero-text {
    text-align: right;
}

.question {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.17rem; /* تصغير بنسبة 10% (1.3 × 0.9) */
    margin-bottom: 0.8rem; /* تقليل المسافة بين الأسئلة */
    color: #4a5568;
    padding-right: 1rem;
    border-right: 3px solid rgba(26, 26, 26, 0.3);
    line-height: 1.4; /* تحسين المسافات بين الأسطر */
}

.hero-subtitle {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #718096;
}

.book-description {
    width: 100%; /* عرض الصفحة كاملاً */
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.05);
    border-radius: 15px;
    border-right: 4px solid #1a1a1a;
}

.book-description p {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 400; /* إزالة البولد */
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
    margin: 0;
    text-align: justify;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center; /* توسيط الزر */
    gap: 1rem;
}

.cta-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #1a1a1a;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffed4a 0%, #ffd700 100%);
}

.cta-primary.large {
    padding: 22px 50px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
}

.limited-copies {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b6b;
    font-weight: 600;
    animation: pulse 2s infinite;
}

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

/* Book Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-mockup {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.book-cover-image:hover {
    /* إزالة تأثير التحويم */
}

.book-cover {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(-15deg);
}

.book-spine {
    position: absolute;
    left: -15px;
    top: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    transform: rotateY(-90deg);
    transform-origin: left center;
}

.book-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.book-front h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
}

.book-front p {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cover-design {
    text-align: center;
    font-size: 4rem;
    opacity: 0.3;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* About Book */
.about-book {
    background: white;
}

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

.about-text p {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.opening-text {
    font-size: 1.2rem !important;
    font-weight: 600;
    color: #1a1a1a;
}

.closing-text {
    font-weight: 600;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* Benefits */
.benefits {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(26, 26, 26, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.benefit-card p {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    color: #718096;
    line-height: 1.7;
}

/* Author */
.author {
    background: white;
}

.author-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.author-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid #1a1a1a;
}

.author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.author-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.author-bio h2 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.author-title {
    font-size: 1.3rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 2rem;
}

.author-description,
.author-bio p {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}



.author-quote {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    border-radius: 15px;
    color: #1a1a1a;
}

.author-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}


    font-size: 0.9rem;
}


    line-height: 1.8;
    border-right: 4px solid #1a1a1a;
    padding-right: 2rem;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}





/* معرض الكتاب */
.book-fair-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.book-fair-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.book-fair-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #ffd700;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.fair-logo {
    margin-bottom: 1.5rem;
}

.fair-logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.book-fair-info h4 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.fair-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.fair-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #000000;
    font-weight: 600;
}

.fair-item i {
    color: #ffd700;
    font-size: 1.2rem;
    min-width: 20px;
}



@media (max-width: 768px) {
    .fair-logo-img {
        max-width: 250px;
    }
    
    .book-fair-info {
        padding: 2rem 1.5rem;
    }
    
    .fair-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

.bonus-offers h4 {
    margin-bottom: 1rem;
    color: white;
}

.bonus-list {
    list-style: none;
}

.bonus-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #000000;
}

.bonus-list i {
    color: #68d391;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(104, 211, 145, 0.1);
    border-radius: 10px;
    color: #68d391;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Modal */


.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    left: 20px;
    cursor: pointer;
    z-index: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #1a1a1a;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.modal-header h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.modal-header p {
    opacity: 0.9;
    margin: 0;
}

.waitlist-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a1a1a;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4a 0%, #ffd700 100%);
}

.privacy-note {
    text-align: center;
    margin-top: 1rem;
    color: #718096;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3000;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: successSlideIn 0.5s ease;
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.success-content i {
    font-size: 4rem;
    color: #68d391;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.success-content p {
    color: #718096;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-top-section,
    .about-content,
    .author-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-questions {
        text-align: center;
    }
}
    
    .hero-title {
        font-size: 3rem;
    }
    
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .question {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .book-cover-image {
        max-width: 100%;
        max-height: 400px;
    }
    
    .author-photo {
        width: 200px;
        height: 200px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        text-shadow: 
            0 1px 2px rgba(0, 0, 0, 0.1),
            0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .cta-primary {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .cta-primary.large {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
    
    .book-cover-image {
        max-width: 100%;
        max-height: 320px;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    

    

}