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

:root {
    --primary-red: #AD172B;
    --dark-red: #8B1321;
    --light-red: #C93545;
    --pale-red: #FFF5F5;
    --accent-red: #9A1528;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.cta-button {
    background: var(--white) !important;
    color: var(--dark-red) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--dark-red) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--pale-red) 0%, #FFDDD2 100%);
    padding: 6rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    color: var(--dark-red);
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.button-primary {
    background: var(--primary-red);
    color: var(--white);
}

.button-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.button-secondary {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.button-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.button-large, .button-primary-large, .button-secondary-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.button-primary-large {
    background: var(--primary-red);
    color: var(--white);
}

.button-primary-large:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.button-secondary-large {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.button-secondary-large:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-gray {
    background-color: var(--gray-100);
}

.section-highlight {
    background: linear-gradient(135deg, var(--pale-red) 0%, #fff 100%);
}

.section h2 {
    font-size: 2.5rem;
    color: var(--dark-red);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.content-text h3 {
    color: var(--primary-red);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.info-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
}

.info-box h4 {
    color: var(--dark-red);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.book-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-red);
    transition: transform 0.3s;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-card h3 {
    color: var(--dark-red);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.book-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    background: var(--primary-red);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--dark-red);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.benefit h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.benefit ul {
    list-style: none;
}

.benefit li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.benefit li:before {
    content: "✓";
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Alternative Section */
.alternative-content {
    max-width: 900px;
    margin: 3rem auto 0;
}

.alternative-text h3 {
    color: var(--dark-red);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.alternative-text h4 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.alternative-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.highlight-text {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
    margin: 2rem 0;
}

.cta-box {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.cta-subtext {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Comparison Table */
.comparison-table {
    margin-top: 3rem;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

thead {
    background: var(--primary-red);
    color: var(--white);
}

th, td {
    padding: 1.25rem;
    text-align: left;
}

th {
    font-weight: 600;
}

tbody tr {
    border-bottom: 1px solid var(--gray-200);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: var(--pale-red);
}

.comparison-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--pale-red);
    border-radius: 10px;
    font-size: 1.125rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tip-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-red);
}

.tip-card h3 {
    color: var(--dark-red);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.tip-card ul {
    list-style: none;
}

.tip-card li {
    padding: 0.75rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.tip-card li:before {
    content: "→";
    color: var(--primary-red);
    position: absolute;
    left: 0;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-align: center;
}

.section-cta h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.section-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--light-red);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: var(--light-red);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

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

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

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

    .features-grid,
    .books-grid,
    .benefits-grid,
    .faq-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
    }
}

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

    .section {
        padding: 3rem 0;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .button,
    .button-large,
    .button-primary-large,
    .button-secondary-large {
        width: 100%;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.book-card,
.benefit,
.faq-item {
    animation: fadeIn 0.6s ease-out;
}

