/* Feature Pages - Shared styles for meal-plan, recipes, chores, allowance */

/* Hero */
.fp-hero {
    padding: 5rem 0 3rem;
    background: var(--background-light);
}

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

.fp-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--primary-black);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.fp-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 1.75rem;
    max-width: 480px;
}

.fp-hero-screenshot {
    display: flex;
    justify-content: center;
}

.fp-hero-screenshot img {
    max-width: 280px;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Stats row */
.fp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.fp-stat {
    text-align: center;
    padding: 1.75rem;
    background: var(--background-white);
    border-radius: var(--radius-lg);
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.04);
}

.fp-stat-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.25rem;
}

.fp-stat-label {
    font-size: var(--text-sm);
    color: var(--text-medium);
}

/* Steps */
.fp-steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fp-step {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-step:last-child {
    border-bottom: none;
}

.fp-step-num {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    min-width: 28px;
    flex-shrink: 0;
}

.fp-step p {
    font-size: 1.05rem;
    color: var(--primary-black);
    line-height: 1.5;
}

.fp-step strong {
    font-weight: 600;
}

/* Feature list */
.fp-feature-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fp-feature-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.fp-feature-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.25rem;
}

.fp-feature-item p {
    font-size: var(--text-base);
    color: var(--text-medium);
    line-height: 1.5;
}

/* Pill tags */
.fp-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.fp-pill {
    background: var(--background-white);
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-medium);
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.04);
}

/* Example rows (feather rewards, savings goals) */
.fp-examples {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fp-example-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--background-light);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
}

.fp-example-label {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--primary-black);
}

.fp-example-value {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-medium);
}

/* Side-by-side section (content + screenshot) */
.fp-side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.fp-side-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

.fp-side-content > p {
    font-size: var(--text-base);
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.fp-side-visual {
    display: flex;
    justify-content: center;
}

.fp-side-visual img {
    max-width: 260px;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Goal progress rows */
.fp-goal-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--background-light);
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
}

.fp-goal-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.fp-goal-info {
    flex: 1;
    min-width: 0;
}

.fp-goal-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--primary-black);
    font-size: var(--text-sm);
}

.fp-goal-target {
    font-size: var(--text-xs);
    color: var(--text-medium);
}

.fp-goal-amount {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--primary-black);
    font-size: var(--text-sm);
    text-align: right;
    flex-shrink: 0;
}

/* Teaser link card */
.fp-teaser {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--background-light);
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
}

.fp-teaser img {
    width: 100px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.fp-teaser-text {
    flex: 1;
}

.fp-teaser-text h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.35rem;
}

.fp-teaser-text p {
    font-size: var(--text-sm);
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.fp-teaser-text a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--accent-blue);
    text-decoration: none;
}

.fp-teaser-text a:hover {
    text-decoration: underline;
}

/* CTA */
.fp-cta {
    padding: var(--spacing-xl) 0;
    background: var(--background-light);
    text-align: center;
}

.fp-cta h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}

.fp-cta p {
    font-size: var(--text-base);
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.fp-cta-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.fp-cta-badges img {
    height: 40px;
}

/* Responsive */
@media (max-width: 900px) {
    .fp-hero-grid,
    .fp-side-by-side {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fp-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .fp-hero-screenshot {
        order: -1;
    }

    .fp-hero-screenshot img {
        max-width: 220px;
    }

    .fp-side-visual {
        order: -1;
    }

    .fp-side-visual img {
        max-width: 220px;
    }

    .fp-examples {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .fp-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .fp-stat {
        padding: 1.25rem;
    }

    .fp-stat-number {
        font-size: var(--text-xl);
    }

    .fp-teaser {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}
