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

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a1a;
    --accent-color: #f5f5f5;
    --text-color: #1a1a1a;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-dark: #0a0a0a;
    --border-color: #e5e5e5;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius: 0px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    background: var(--bg-color);
    padding: 10rem 0 8rem;
    border-bottom: 1px solid var(--border-color);
}

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

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

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.book-cover {
    max-width: 550px;
    width: 100%;
    height: 650px;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
    object-fit: cover;
    object-position: center center;
}

.book-cover:hover {
    transform: translateY(-16px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.8rem;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 480px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 1.1rem 2.8rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: none;
    white-space: nowrap;
}

.cta-button:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cta-button.primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 0.5rem;
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

/* Sections */
.section {
    padding: 7rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.author-section .section-title {
    margin-bottom: 4rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section:has(.peek-grid) .section-subtitle {
    color: var(--primary-color);
}

/* What Will I Learn Section */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.learn-card {
    background: #fafafa;
    padding: 3rem 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    position: relative;
}

.learn-icon {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.12;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1;
}

.card-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.card-text {
    color: var(--text-light);
    line-height: 1.85;
    font-size: 1.05rem;
}

/* Author Section */
.author-section {
    background: #fafafa;
}

.author-content {
    max-width: 1100px;
    margin: 0 auto;
}

.author-with-book {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 6rem;
    align-items: center;
}

.author-book-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-image-mobile {
    display: none;
}

.author-photo {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    object-fit: cover;
    object-position: center;
}

.author-photo:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.author-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.author-bio {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 1.8rem;
}

.author-bio a {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.social-links a {
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
    transition: var(--transition);
}

.social-links a:hover {
    opacity: 0.6;
}

/* Sneak Peek Section */
.section:has(.peek-grid) {
    background-image: url('assets/Mockup 3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.section:has(.peek-grid)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.section:has(.peek-grid) .container {
    position: relative;
    z-index: 2;
}

.peek-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 5rem;
    margin-top: 5rem;
}

.peek-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2.5rem;
    border-radius: 4px;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.peek-card:hover {
    transform: translateX(10px);
    border-left-width: 5px;
    background: rgba(255, 255, 255, 0.95);
}

.peek-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.peek-text {
    color: var(--text-light);
    line-height: 1.85;
    font-size: 1.05rem;
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-section .section-title {
    color: var(--primary-color);
}

.pricing-section .section-subtitle {
    color: var(--text-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: #fafafa;
    padding: 3rem 2.5rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    background: #fafafa;
    padding: 3rem 2.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
}

.pricing-card.featured .pricing-label,
.pricing-card.featured .price,
.pricing-card.featured .features-list {
    color: var(--primary-color);
}

.pricing-card.featured .cta-button {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.pricing-card.featured .cta-button:hover {
    background: transparent;
    color: var(--primary-color);
}

.pricing-card .cta-button {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.pricing-card .cta-button:hover {
    background: transparent;
    color: var(--primary-color);
}

.pricing-card .cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pricing-card .cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-card:has(.pricing-note) .pricing-header {
    margin-bottom: 1rem;
}

.pricing-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    opacity: 0.5;
}

.pricing-label-highlight {
    opacity: 1;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
    font-style: italic;
}

.features-list {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
    width: 100%;
}

.features-list li {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.pricing-card.featured .features-list li {
    border-bottom-color: var(--border-color);
    color: var(--text-light);
}

.features-list li:last-child {
    border-bottom: none;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--bg-color);
    color: var(--primary-color);
    text-align: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 550px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 300px;
    padding: 1.1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background: var(--bg-color);
}

.newsletter-input:focus {
    border-color: var(--primary-color);
}

.newsletter-form .cta-button {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.newsletter-form .cta-button:hover {
    background: transparent;
    color: var(--primary-color);
}

.newsletter-message {
    margin-top: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 4rem auto 0;
}

.faq-item {
    background: transparent;
    margin-bottom: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 2rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    opacity: 0.7;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
    opacity: 0.5;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 2rem 0;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Footer */
.footer {
    background: var(--bg-color);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-social a:hover {
    opacity: 0.6;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .learn-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .peek-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 5rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

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

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

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

    .hero-image {
        order: -1;
        justify-content: center;
    }

    .book-cover {
        max-width: 450px;
        height: 550px;
    }

    .author-with-book {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .author-name {
        text-align: center;
        font-size: 2.2rem;
    }

    .author-book-image {
        display: none;
    }

    .author-image-mobile {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .author-photo {
        max-width: 350px;
    }

    .social-links {
        justify-content: center;
    }

    .section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .learn-grid,
    .peek-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        min-width: 100%;
    }
}

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

    .hero-title {
        font-size: 2.2rem;
    }

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

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .book-cover {
        max-width: 280px;
    }

    .container {
        padding: 0 1.2rem;
    }
}
