@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Poppins:wght@400;500;600&display=swap');

:root {
    --color-charcoal: #3B3A39;
    --color-blush-beige: #EDD7D2;
    --color-rose-gold: #D8A29A;
    --color-soft-gold: #CBB279;
    --color-white: #FFFFFF;
    --color-text: #595857;

    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Poppins', sans-serif;

    --border-radius-sm: 8px;
    --border-radius-md: 16px;

    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.05);

    --transition-fast: all 0.2s ease-in-out;
}

/* 1. Basic Reset & Setup */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* 2. Global Styles & Utilities */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-charcoal);
    line-height: 1.2;
    font-weight: 400;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-rose-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-soft-gold);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn--primary {
    background-color: var(--color-soft-gold);
    color: var(--color-white);
}

.btn--primary:hover {
    background: linear-gradient(90deg, var(--color-soft-gold), var(--color-blush-beige));
    color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-subtle);
}

/* Base section spacing */
section {
    padding: 4rem 0;
}

/* 3. Header */
.header {
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.btn--header {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid var(--color-blush-beige);
    color: var(--color-charcoal);
}

.btn--header:hover {
    background-color: var(--color-blush-beige);
    color: var(--color-charcoal);
}

/* 4. Hero Section */
.hero {
    padding-top: 2rem;
    padding-bottom: 4rem;
    text-align: center;
}

.hero__container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero__title {
    margin-bottom: 1rem;
}

.hero__subheadline {
    font-size: 1.125rem;
    max-width: 50ch;
    margin: 0 auto 2rem auto;
}

.form-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1px solid #f0f0f0;
}

#email-form,
#email-form-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#email-form input,
#email-form-bottom input {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--color-blush-beige);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
}

#email-form input:focus,
#email-form-bottom input:focus {
    outline: 2px solid var(--color-soft-gold);
    border-color: transparent;
}

.form-card__microcopy {
    font-size: 0.875rem;
    color: #999;
    margin-top: 1rem;
    margin-bottom: 0;
}

.hero__mockup {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.badge {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background-color: var(--color-rose-gold);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

/* 5. "What You'll Get" Section */
.feature-item {
    text-align: center;
}

.feature-item__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem auto;
}
.feature-item__title { margin-bottom: 0.5rem; }
.feature-item__desc { font-size: 0.9rem; }


/* 6. "Who This Is For" Section */
.who-this-is-for {
    background-color: #fafafa;
}

.card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    text-align: center;
}

.card__title {
    margin-bottom: 1rem;
}

/* 7. Preview Section */
.carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.carousel__item {
    flex: 0 0 80%;
}
.carousel__item img {
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-subtle);
}

/* 8. Trust Block */
.founder-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.founder-story__image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
}

.pillar {
    background-color: #fafafa;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
}

/* 9. How It Works */
.how-it-works {
    background-color: #fafafa;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    text-align: center;
}

.step__number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-soft-gold);
    border: 2px solid var(--color-soft-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

/* 10. FAQ */
.faq-item {
    border-bottom: 1px solid var(--color-blush-beige);
    padding: 1.5rem 0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item__question {
    margin-bottom: 0.5rem;
}

/* 11. CTA */
.cta {
    background-color: var(--color-charcoal);
    text-align: center;
}

.cta__title, .cta__subheadline {
    color: var(--color-white);
}

.cta__title {
    margin-bottom: 1rem;
}

.cta .form-card {
    max-width: 500px;
    margin: 2rem auto 0 auto;
}

/* 12. Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
}

.footer__links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

/* 13. Responsive Styles (Desktop First) */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }

    section { padding: 6rem 0; }

    .hero__container {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .hero__left { flex: 3; }
    .hero__right { flex: 2; }
    .hero__subheadline { margin-left: 0; margin-right: 0; }
    .hero__mockup { margin: 0; }

    #email-form, #email-form-bottom {
        flex-direction: row;
    }

    .grid--2-cols { grid-template-columns: repeat(2, 1fr); }
    .grid--3-cols { grid-template-columns: repeat(3, 1fr); }

    .carousel__item { flex: 0 0 31%; }

    .founder-story {
        flex-direction: row;
        text-align: left;
        gap: 4rem;
    }

    .founder-story__image { flex-shrink: 0; }

    .pillars {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .steps {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* 14. Motion & Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .hero__mockup img {
        animation: float 4s ease-in-out infinite;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.success-message {
    color: var(--color-charcoal);
    background-color: #e2f5e7;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    display: none; /* Hidden by default */
}
