/* ============================================================
   legacy.css — superseded "v1" page styles (hero, form, steps,
   features, about, results, products, old footer). Retained so
   older classes keep rendering; overridden later by theme.css.
   Part 2 of 4 — load after base.css
   ============================================================ */
/* Chooser homepage: logo sits above the title */
.chooser-hero {
    min-height: 100vh;
    flex-direction: column;
    padding-top: 2.5rem;
}

.chooser-logo {
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), #1f2b1d);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero-accent {
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 0.2em;
    text-underline-offset: 0.1em;
}

.hero-subtext {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero path cards */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
    margin-top: 0.5rem;
}

.hero-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.75rem;
    border-radius: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.hero-card:hover {
    transform: translateY(-4px);
}

.hero-card h3 {
    font-size: 1.25rem;
    color: #fff;
}

.hero-card p {
    font-size: 0.92rem;
    flex: 1;
}

.hero-card-tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(127, 169, 110, 0.35);
    color: #fff;
}

.hero-card-tag-alt {
    background: rgba(127, 169, 110, 0.15);
    color: var(--primary);
}

.hero-card-cta {
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-card-coaching {
    background: rgba(30, 41, 28, 0.85);
    border: 1px solid rgba(127, 169, 110, 0.6);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-card-coaching:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hero-card-coaching .hero-card-cta {
    color: var(--primary);
}

.hero-card-products {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--muted);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-card-products:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.hero-card-products h3 {
    color: var(--secondary);
}

.hero-card-products .hero-card-cta {
    color: var(--primary-dark);
}

/* "New" badge on Programs nav link */
.nav-badge {
    position: relative;
}

.nav-badge::after {
    content: "New";
    position: absolute;
    top: -0.5rem;
    right: -1.8rem;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--primary);
    color: #fff;
    padding: 0.1rem 0.3rem;
    border-radius: 999px;
}

/* Form */
.form-section {
    padding: 4rem 0;
    background: #fff;
}

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

.lead-form {
    max-width: 560px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: -1px;
}

.google-form {
    max-width: 640px;
    margin: 0 auto;
}

.google-form iframe {
    width: 100%;
    border: none;
    border-radius: 0.5rem;
    background: #fff;
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
}

.section-subtitle {
    color: var(--muted);
    max-width: 36rem;
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 1.75rem;
    left: 16%;
    right: 16%;
    height: 2px;
    background: var(--muted);
    opacity: 0.3;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.step-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: rgba(127, 169, 110, 0.12);
    border: 1px solid rgba(127, 169, 110, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card {
    background: #fff;
    border: 1px solid #e0ded5;
    border-radius: 1rem;
    padding: 1.75rem;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.2s;
}

.step-card:hover {
    border-color: rgba(127, 169, 110, 0.5);
}

.step-label {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(127, 169, 110, 0.15);
}

.step-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
}

.step-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Features */
.features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* About */
.about {
    padding: 4rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-media {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 1rem;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.2em;
    overflow: hidden;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy p {
    color: var(--muted);
    margin-top: 1rem;
}

/* Results carousel */
.results {
    padding: 4rem 0;
}

.carousel {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 50%;
    padding: 0 0.75rem;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.carousel-button:hover {
    background: var(--primary);
    color: #fff;
}

.carousel-button.prev { left: 0.5rem; }
.carousel-button.next { right: 0.5rem; }

/* FAQ */
.faq {
    padding: 4rem 0;
    background: #fff;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0ded5;
}

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

.faq-icon {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding-bottom: 1.25rem;
    color: var(--muted);
}

/* Products page */
.products-hero {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, var(--secondary), #1f2b1d);
    color: #fff;
    text-align: center;
}

.products-hero .eyebrow {
    color: var(--primary);
}

.products-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #fff;
    margin: 0.5rem 0 1rem;
}

.products-subtitle {
    max-width: 44rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
}

.products-list {
    padding: 4rem 0;
}

.product-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    background: #fff;
    border: 1px solid #e0ded5;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
    border-color: rgba(127, 169, 110, 0.5);
    transform: translateY(-2px);
}

.product-media {
    min-height: 260px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.product-media-toolkit {
    background: linear-gradient(135deg, #a3bda0, var(--primary-dark));
}

.product-media-free {
    background: linear-gradient(135deg, #d9d4c5, #b8b2a0);
}

.product-info {
    padding: 1.75rem 1.75rem 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.product-card .product-info h2 {
    margin: 0;
    font-size: 1.4rem;
}

.product-tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
}

.product-tag-alt {
    background: rgba(127, 169, 110, 0.15);
    color: var(--primary-dark);
}

.product-info p {
    color: var(--muted);
}

.product-bullets {
    list-style: none;
    color: var(--muted);
    font-size: 0.9rem;
}

.product-bullets li::before {
    content: "\2713";
    color: var(--primary);
    font-weight: 800;
    margin-right: 0.5rem;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.product-price {
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Cross-sell strip */
.cross-sell {
    padding: 3.5rem 0;
    background: #fff;
}

.cross-sell-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--background);
    border: 1px solid #e0ded5;
    border-radius: 1rem;
    padding: 2rem 2.5rem;
}

.cross-sell-content h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.cross-sell-content em {
    color: var(--primary-dark);
    font-style: normal;
}

.cross-sell-content p {
    color: var(--muted);
    max-width: 32rem;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.25rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        flex: 0 0 100%;
        padding: 0 0.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .coaching-sidebar {
        display: none;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-info {
        padding: 1.5rem;
    }

    .cross-sell-content {
        flex-direction: column;
        text-align: center;
    }

    .steps::before {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}