:root {
    --primary-orange: #FF9800;
    --primary-yellow: #FFC107;
    --dark-gray: #333;
    --medium-gray: #555;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --text-color: #333;
    --font-family: 'Poppins', sans-serif;
    --container-width: 960px;
    --border-radius: 8px;
}

/* --- Global Styles & Resets --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    background-color: var(--white);
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.2rem; color: var(--dark-gray); }
h2 { font-size: 1.5rem; color: var(--medium-gray); font-weight: 400; }
h3 { font-size: 1.8rem; color: var(--primary-orange); text-align: center; }
h4 { font-size: 1.3rem; color: var(--dark-gray); }

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

section {
    padding: 4rem 0;
}

/* --- Ebook Mockup & Placeholders --- */
.ebook-mockup-container {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding-top: 1rem; /* Give some space for rotation */
}

.ebook-mockup {
    max-width: 250px; /* Adjusted size */
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transform: rotateY(-20deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ebook-mockup:hover {
    transform: rotateY(0) rotateX(0) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* --- Header --- */
.header {
    padding: 1rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
}
.logo {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 3rem 0;
    background-color: #fffaf0;
}

/* --- Ebook Presentation Section --- */
.ebook-presentation .problem-text {
    text-align: center;
    font-size: 1.1rem;
}

.ebook-presentation .highlight {
    font-weight: 600;
    color: var(--primary-orange);
}

/* --- Benefits Section --- */
.benefits {
    background-color: var(--light-gray);
}
.benefits ul {
    margin-top: 2rem;
}
.benefits li {
    background-color: var(--white);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
}

.benefits li::before {
    content: '✅';
    margin-right: 0.75rem;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* --- CTA & Form Section --- */
.cta-form {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://www.transparenttextures.com/patterns/subtle-prism.png');
    background-color: #fffaf0;
}
#form-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    transition: opacity 0.5s ease-out;
}
.form-group {
    margin-bottom: 1rem;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s, box-shadow 0.3s;
}
input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}
.cta-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--primary-orange);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}
.cta-button:hover:not(:disabled) {
    background-color: #e68900;
    transform: translateY(-2px);
}
.cta-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.instagram-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s;
}
.instagram-link:hover {
    background-color: #e68900;
}

/* --- Social Proof Section --- */
.social-proof {
    background-color: var(--white);
}
.testimonials {
    margin-top: 2rem;
}
.testimonial {
    background-color: #fffaf0;
    border-left: 4px solid var(--primary-yellow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.testimonial p {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
}
.testimonial span {
    font-weight: 600;
    color: var(--dark-gray);
}

/* --- Thank You Page --- */
.thank-you-section {
    padding: 5rem 1rem;
    text-align: center;
    background-color: #fffaf0;
    min-height: calc(100vh - 150px); /* Adjust based on header/footer height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.thank-you-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
}
.thank-you-content h3 {
    color: var(--dark-gray);
    font-size: 1.8rem;
}
.thank-you-content p {
    font-size: 1.1rem;
}


/* --- Footer --- */
.footer {
    background-color: var(--dark-gray);
    color: #ccc;
    padding: 2rem 0;
    text-align: center;
}
.footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
}
.footer-links {
    margin-bottom: 1rem;
}
.footer-links a {
    color: var(--white);
    margin: 0 0.75rem;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary-yellow);
}

/* --- Media Queries for Responsiveness --- */
@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 1.7rem; }
    section { padding: 5rem 0; }

    .hero { padding: 4rem 0; }

    .ebook-presentation .container {
        display: flex;
        align-items: center;
        gap: 3rem;
        text-align: left;
    }
    .ebook-presentation .ebook-mockup-container {
        flex: 0 0 250px; /* Adjusted size */
        margin-bottom: 0;
    }

    .benefits ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .testimonials {
        display: flex;
        gap: 2rem;
    }
    .testimonial {
        flex: 1;
        margin-bottom: 0;
    }
}