/* ===== LANDING PAGE STYLES ===== */

/* HERO SECTION */
.landing-hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    margin: 2rem auto;
    max-width: 1400px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hero-content {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero-title {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
    text-align: center;
}

.hero-text {
    color: var(--text-color);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-cta {
    align-self: center;
    margin-top: 1rem;
}

.cta-price-text {
    align-self: center;
    margin-top: 0.75rem;
    color: rgba(44, 44, 44, 0.6);
    font-size: 0.84rem;
    font-style: italic;
    text-align: center;
}

.hero-image {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--accent-color), rgba(251, 191, 36, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.15);
}

@media (max-width: 900px) {
    .landing-hero {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .hero-image {
        width: 100%;
    }
}

/* SECTION 2: ABOUT BOOK */
.landing-section.section-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin: 4rem auto;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.section-subtitle {
    color: var(--text-color);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.landing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.landing-table th {
    background: linear-gradient(135deg, var(--primary-color), rgba(255, 107, 53, 0.85));
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.05rem;
}

.landing-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(44, 44, 44, 0.1);
    color: var(--text-color);
}

.landing-table tr:last-child td {
    border-bottom: none;
}

.landing-table tr:nth-child(even) {
    background-color: rgba(250, 248, 243, 0.6);
}

.landing-table tr:hover {
    background-color: rgba(255, 107, 53, 0.05);
}

.table-chapter {
    font-weight: 600;
    width: 35%;
}

/* SECTION 3: FOR WHOM */
.landing-section.section-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin: 4rem auto;
    max-width: 1400px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.section-title {
    color: var(--text-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 2rem;
}

.for-whom-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    justify-content: space-between;
}

.for-whom-group {
    flex: 1;
    min-width: 250px;
}

.for-whom-subtitle {
    color: var(--text-color);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.checklist,
.xlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist li,
.xlist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.6;
}

.checkmark {
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
    min-width: 1.3rem;
}

.x-mark {
    color: #dc2626;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
    min-width: 1.3rem;
}

@media (max-width: 900px) {
    .for-whom-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* SECTION 4: PERSUASION */
.landing-section.section-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin: 4rem auto;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.persuasion-text {
    color: var(--text-color);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.persuasion-cta {
    align-self: center;
    max-width: 700px;
    padding: 1.1rem 2.4rem;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
    font-weight: 700;
}

/* SECTION 5: FAQ */
.landing-section.section-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin: 4rem auto;
    max-width: 1400px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* FAQ grid layout - two columns with staggered right column */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2.5rem;
    width: 100%;
}

.faq-grid .faq-item {
    background: transparent;
    padding: 0.25rem 0;
}

.faq-grid .faq-item.offset {
    margin-top: 0; /* no visual offset to keep grid tidy */
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid .faq-item.offset {
        margin-top: 0;
    }
}

.faq-title {
    color: var(--text-color);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

/* Ensure FAQ title is centered inside section-5 specifically */
.landing-section.section-5 .faq-title {
    text-align: center;
}

.faq-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-question {
    color: var(--text-color);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 700;
    margin: 0;
}

.faq-answer {
    color: var(--text-color);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin: 0;
    opacity: 0.85;
    margin-left: 1.5rem;
}

/* CTA BUTTONS */
.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
}

.btn-success {
    background: var(--success-color);
    color: var(--background-color);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.btn-success:hover {
    background: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

/* FOOTER */
footer {
    background: var(--text-color);
    color: white;
    padding: 2rem;
    margin-top: 4rem;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-content p {
    margin: 0;
    color: white;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-subtitle {
        font-size: clamp(1rem, 1.8vw, 1.25rem);
    }
    
    .landing-table th,
    .landing-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .table-chapter {
        width: 40%;
    }
}

@media (max-width: 480px) {
    .landing-hero {
        padding: 1rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .landing-table {
        font-size: 0.85rem;
    }

    .landing-table th,
    .landing-table td {
        padding: 0.6rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .faq-title {
        font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    }

    .for-whom-container {
        gap: 1.5rem;
    }

    .persuasion-cta {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }

    .btn {
        width: 100%;
    }
}
