@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; */
    font-family: "Darker Grotesque", sans-serif;
    line-height: 1.6;
    color: #333;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
}

.hero {
    /* background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)); */
    background: linear-gradient(145deg,
            #01478c 0%,
            /* top blue */
            #59a3a1 60%,
            /* soft teal/greenish glow */
            #1a638b 100%
            /* deep blue bottom */
        );
    color: white;
    text-align: center;
    /* padding: 80px 20px; */
    min-height: 100svh;
    /* display: flex;
                                flex-direction: column;
                                justify-content: center; */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    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"><stop offset="0" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="1" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="500" cy="500" r="400" fill="url(%23a)"/></svg>') center/cover;
    pointer-events: none;
}

.hero-section {
    display: flex;
    /* grid-template-columns: 1fr 1fr; */
    /* 2 columns on desktop */
    align-items: center;
    gap: 40px;
}

.hero-section>div:nth-child(1) {
    order: 1;
    width: 40%;
    /* image */
}

.hero-section>div:nth-child(2) {
    order: 2;
    width: 60%;
    /* text */
}


.hero-section img {
    width: 100%;
    /* height: 100svh; */
    height: auto;
    display: block;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero {
        padding-top: 40px;
        /* min-height: auto; */
    }

    .hero-section {
        flex-direction: column;
        min-height: 100svh;
        /* grid-template-columns: 1fr; */
        /* stack as 1 column */
    }

    .hero-section>div:nth-child(1) {
        order: 2;
        width: 100%;
        min-height: 100svh;
        /* move image below text */
    }
    .hero-section img {
    width: 100%;
    height: 100svh;
    /* height: auto; */
    display: block;
}

    .hero-section>div:nth-child(2) {
        order: 1;
        width: 100%;
        min-height: 100svh;
        /* move text above image */
    }

}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section {
    background: white;
    padding: 80px 20px;
    margin: 0;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 500;
}

.lead {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.85;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.4);
    background: #ff5252;
}

.cta-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: none;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
    font-weight: 700;
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.chapter-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #1A638B;
}

.chapter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.part-title {
    color: #1A638B;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chapter-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.3;
}

.chapter-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-number {
    /* background: linear-gradient(135deg, #667eea, #764ba2); */
    background: #1a638b;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 25px auto;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.author-section {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    /* align-items: center; */
    margin-top: 60px;
}

.author-image {
    width: 100%;
    max-width: 360px;
    /* border-radius: 20px; */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
    object-fit: cover;
}

.author-image:hover {
    transform: scale(1.02);
}

.author-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-block: 40px;
    font-weight: 600;
}

.author-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.thematic-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    margin: 50px auto;
    display: block;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.extract {
    /* background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); */
    background: linear-gradient(145deg,
            #01478c 0%,
            /* top blue */
            #59a3a1 60%,
            /* soft teal/greenish glow */
            #1a638b 100%
            /* deep blue bottom */
        );

    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.extract::before {
    content: '"';
    font-size: 8rem;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
    /* font-family: Georgia, serif; */
    font-family: "Darker Grotesque", sans-serif;
}

.extract-content {
    font-size: 1.3rem;
    line-height: 1.8;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.email-signup {
    /* background: linear-gradient(135deg, #2c3e50, #3498db); */
    background: linear-gradient(145deg,
            #01478c 0%,
            /* top blue */
            #59a3a1 60%,
            /* soft teal/greenish glow */
            #1a638b 100%
            /* deep blue bottom */
        );
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.signup-form {
    max-width: 500px;
    margin: 40px auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.submit-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.social-proof {
    text-align: center;
    margin: 60px 0;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial::before {
    content: '⭐⭐⭐⭐⭐';
    display: block;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.testimonial strong {
    color: #2c3e50;
    font-weight: 600;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: #1A638B;
}

/* Social icons */
.social-links {
  margin-top: 15px;
}

.social-links a {
  margin: 0 10px;
  padding: 4px;
  font-size: 1.4rem;
  color: #ffffff;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #1A638B; /* teal hover */
}

/* Loading animation for form */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 768px) {
    .author-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .signup-form {
        flex-direction: column;
        align-items: center;
    }

    .email-input {
        min-width: auto;
        width: 100%;
    }

    .stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .chapters-grid {
        grid-template-columns: 1fr;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }
}