/* ============================================
   Public / Marketing Pages
   ============================================ */

/* --- Hero --- */
.landing-hero {
    background: var(--accent-gradient);
    color: #fff;
    padding: 5.5rem 1rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.landing-hero > .container {
    position: relative;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.2rem, 6.5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 0.92;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero-primary {
    background: #fff;
    color: #6d28d9;
    font-weight: 700;
    padding: 0.9rem 2.25rem;
    border-radius: 50px;
    font-size: 1.05rem;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    color: #6d28d9;
    text-decoration: none;
}

.btn-hero-secondary {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    padding: 0.87rem 1.75rem;
    border-radius: 50px;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.15s, border-color 0.15s;
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* Trust bar */
.trust-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.trust-badge {
    font-size: 0.875rem;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* --- Sections --- */
.public-section {
    padding: 5rem 0;
}

.public-section-alt {
    background: var(--bg-elevated);
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
    display: block;
}

.section-title {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* --- Reason cards (why-track section) --- */
.reason-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
}

.reason-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.reason-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.reason-icon-feeding { background: rgba(var(--feeding-color-rgb), 0.12); color: var(--feeding-color); }
.reason-icon-weight  { background: rgba(var(--weight-color-rgb), 0.12);  color: var(--weight-color); }
.reason-icon-diaper  { background: rgba(var(--diaper-color-rgb), 0.12);  color: var(--diaper-color); }
.reason-icon-pump    { background: rgba(var(--pump-color-rgb), 0.12);    color: var(--pump-color); }
.reason-icon-doctor  { background: rgba(56, 151, 240, 0.12);            color: #3897f0; }
.reason-icon-team    { background: rgba(6, 182, 212, 0.12);             color: #06b6d4; }

.reason-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.reason-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* --- Tracker mini-cards --- */
.tracker-mini {
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 180px;
}

.tracker-mini::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.tracker-mini::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.tracker-mini-feeding { background: linear-gradient(135deg, #3897f0 0%, #1d72c8 100%); }
.tracker-mini-diaper  { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.tracker-mini-weight  { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.tracker-mini-pump    { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.tracker-mini-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    position: relative;
}

.tracker-mini-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    position: relative;
}

.tracker-mini-body {
    font-size: 0.875rem;
    opacity: 0.88;
    line-height: 1.55;
    margin: 0;
    position: relative;
}

/* --- How it works steps --- */
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 1.25rem;
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
    height: 100%;
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px rgba(129, 52, 175, 0.3);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.step-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.65;
}

/* Connector line between steps (desktop) */
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* --- Language pills --- */
.lang-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.lang-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 50px;
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s;
}

.lang-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- Final CTA section --- */
.cta-section {
    background: var(--accent-gradient);
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
}

.cta-section > .container {
    position: relative;
}

.cta-title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-subtitle {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2.25rem;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* --- Page header (why-track, features inner pages) --- */
.page-hero {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-light);
    padding: 3.5rem 1rem 3rem;
    text-align: center;
}

.page-hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.75rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Feature detail rows (features page) --- */
.feature-row {
    padding: 3rem 0;
}

.feature-row + .feature-row {
    border-top: 1px solid var(--border-light);
}

.feature-icon-large {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

/* --- Stat counter boxes --- */
.stat-box {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}
