/*
 * DoFundraise — Public Site Styles
 * public/assets/css/public.css
 *
 * Styles specific to the public-facing pages (home, placeholder, etc.).
 * Depends on: tokens.css, shell.css, components.css
 */

/* ── Hero section ────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #16a34a 100%);
    color: #fff;
    padding: var(--space-20) var(--space-5) var(--space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero__inner {
    position: relative;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.hero__eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius-full);
    padding: var(--space-1) var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
    color: rgba(255, 255, 255, .9);
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
    margin: 0 auto var(--space-5);
    max-width: 40rem;
}

.hero__subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.85;
    max-width: 34rem;
    margin: 0 auto var(--space-8);
    line-height: var(--line-height-relaxed);
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Features section ────────────────────────────────────────────────────── */
.features-section {
    padding: var(--space-16) var(--space-5);
    background: var(--color-bg);
}

.features-section__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ── How it works strip ──────────────────────────────────────────────────── */
.how-strip {
    background: var(--color-brand);
    color: #fff;
    padding: var(--space-12) var(--space-5);
    text-align: center;
}

.how-strip__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.how-strip__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-8);
}

.how-strip__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: var(--space-8);
}

.how-strip__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.how-strip__step-num {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .2);
    border: 2px solid rgba(255, 255, 255, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

.how-strip__step-text {
    font-size: var(--font-size-sm);
    opacity: .85;
    line-height: var(--line-height-relaxed);
}

/* ── CTA section ─────────────────────────────────────────────────────────── */
.cta-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) var(--space-5);
    text-align: center;
}

.cta-section__inner {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.cta-section__title {
    font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-4xl));
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.cta-section__body {
    font-size: var(--font-size-lg);
    color: var(--color-muted);
    margin-bottom: var(--space-8);
    line-height: var(--line-height-relaxed);
}

.cta-section__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Placeholder page ────────────────────────────────────────────────────── */
.placeholder-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: var(--space-16) var(--space-5);
    text-align: center;
}

.placeholder-page__inner {
    max-width: 32rem;
}

.placeholder-page__icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-5);
    line-height: 1;
}

.placeholder-page__title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.placeholder-page__body {
    font-size: var(--font-size-lg);
    color: var(--color-muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-8);
}

.placeholder-page__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}
