/* ═══════════════════════════════════════════════════════
   Partner Pages — Shared Styles
   Used by: providers, payors, employers
   ═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.partner-hero {
    padding: 9rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #f0fafa 0%, #e6f2f2 40%, #fafbfc 100%);
}
.partner-hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,115,115,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.partner-hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -15%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,115,115,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.partner-hero .badge {
    display: inline-block;
    font-family: var(--vr-sans, 'DM Sans', sans-serif);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vr-primary, #007373);
    background: white;
    border: 1px solid rgba(0,115,115,0.15);
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.75rem;
    letter-spacing: 0.03em;
    position: relative;
}
.partner-hero h1 {
    font-family: var(--vr-serif, 'Fraunces', serif);
    font-size: 3rem;
    line-height: 1.15;
    color: var(--vr-text, #1a1a2e);
    margin: 0 auto 1.5rem;
    max-width: 720px;
    position: relative;
}
.partner-hero .subhead {
    font-family: var(--vr-sans, 'DM Sans', sans-serif);
    font-size: 1.15rem;
    color: var(--vr-text-secondary, #5a5a6e);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* ── CTA Button ── */
.partner-cta-btn {
    display: inline-block;
    background: var(--vr-primary, #007373);
    color: white;
    padding: 0.9rem 2.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 115, 115, 0.25);
}
.partner-cta-btn:hover {
    background: var(--vr-primary-dark, #005f5f);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 115, 115, 0.35);
}

/* ── Feature rows (text + phone) ── */
.feature-row-partner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
}
.feature-row-partner.reverse .feature-text { order: 2; }
.feature-row-partner.reverse .feature-phone { order: 1; }
.feature-text h2 {
    font-family: var(--vr-serif, 'Fraunces', serif);
    font-size: 1.85rem;
    line-height: 1.25;
    color: var(--vr-text, #1a1a2e);
    margin-bottom: 1.25rem;
}
.feature-text p {
    font-family: var(--vr-sans, 'DM Sans', sans-serif);
    font-size: 1.05rem;
    color: var(--vr-text-secondary, #5a5a6e);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.feature-text p:last-child { margin-bottom: 0; }
.feature-text .source {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
}

/* ── Phone mockup ── */
.feature-phone { display: flex; justify-content: center; }
.phone-frame {
    position: relative;
    width: 280px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255,255,255,0.1);
    background: #1a1a2e;
}
.phone-frame img { display: block; width: 100%; height: auto; }

/* ── Two-phone layout ── */
.phone-pair {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
}
.phone-pair .phone-frame { width: 230px; }
.phone-pair .phone-frame:last-child { margin-top: 2rem; }

/* ── Alternating backgrounds ── */
.bg-light { background: #fafbfc; }
.bg-tint { background: linear-gradient(180deg, #f0fafa 0%, #fafbfc 100%); }

/* ── Intro section (no phone) ── */
.partner-intro {
    max-width: 740px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
}
.partner-intro h2 {
    font-family: var(--vr-serif, 'Fraunces', serif);
    font-size: 1.85rem;
    line-height: 1.25;
    color: var(--vr-text, #1a1a2e);
    margin-bottom: 1.25rem;
}
.partner-intro p {
    font-family: var(--vr-sans, 'DM Sans', sans-serif);
    font-size: 1.05rem;
    color: var(--vr-text-secondary, #5a5a6e);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.partner-intro a { color: var(--vr-primary, #007373); }

/* ── Value cards ── */
.value-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
}
.value-section h2 {
    font-family: var(--vr-serif, 'Fraunces', serif);
    font-size: 1.85rem;
    color: var(--vr-text, #1a1a2e);
    text-align: center;
    margin-bottom: 3rem;
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.value-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.value-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.value-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #e6f2f2 0%, #d0eded 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.value-icon svg { width: 24px; height: 24px; color: var(--vr-primary, #007373); }
.value-card h3 {
    font-family: var(--vr-sans, 'DM Sans', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vr-text, #1a1a2e);
    margin-bottom: 0.6rem;
}
.value-card p {
    font-family: var(--vr-sans, 'DM Sans', sans-serif);
    font-size: 0.9rem;
    color: var(--vr-text-secondary, #5a5a6e);
    line-height: 1.55;
    margin: 0;
}

/* ── Stat cards (large numbers) ── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.stat-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.stat-card .stat-number {
    font-family: var(--vr-serif, 'Fraunces', serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--vr-primary, #007373);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.stat-card p {
    font-family: var(--vr-sans, 'DM Sans', sans-serif);
    font-size: 0.9rem;
    color: var(--vr-text-secondary, #5a5a6e);
    line-height: 1.55;
    margin: 0;
}

/* ── Legal callout ── */
.legal-section { padding: 3rem 2rem 5rem; }
.legal-callout {
    max-width: 800px;
    margin: 0 auto;
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, #f8fbfb 0%, #f0f7f7 100%);
    border-radius: 20px;
    border-left: 4px solid var(--vr-primary, #007373);
}
.legal-callout .legal-icon {
    width: 44px; height: 44px;
    background: white;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.legal-callout h2 {
    font-family: var(--vr-serif, 'Fraunces', serif);
    font-size: 1.4rem;
    color: var(--vr-text, #1a1a2e);
    margin-bottom: 1rem;
}
.legal-callout p {
    font-family: var(--vr-sans, 'DM Sans', sans-serif);
    font-size: 1rem;
    color: var(--vr-text-secondary, #5a5a6e);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.legal-callout p:last-child { margin-bottom: 0; }

/* ── Bottom CTA ── */
.partner-bottom-cta {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #fafbfc 0%, #e6f2f2 50%, #d4ecec 100%);
}
.partner-bottom-cta h2 {
    font-family: var(--vr-serif, 'Fraunces', serif);
    font-size: 2rem;
    color: var(--vr-text, #1a1a2e);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.partner-bottom-cta p {
    font-family: var(--vr-sans, 'DM Sans', sans-serif);
    font-size: 1.1rem;
    color: var(--vr-text-secondary, #5a5a6e);
    margin-bottom: 2.5rem;
}

/* ── Scroll animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 968px) {
    .feature-row-partner {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 2rem;
    }
    .feature-row-partner.reverse .feature-text { order: 1; }
    .feature-row-partner.reverse .feature-phone { order: 2; }
    .feature-phone { order: 2; }
    .value-grid, .value-grid.cols-3, .stat-grid { grid-template-columns: 1fr 1fr; }
    .phone-pair .phone-frame { width: 200px; }
}
@media (max-width: 600px) {
    .partner-hero { padding: 7rem 1.5rem 3.5rem; }
    .partner-hero h1 { font-size: 2rem; }
    .partner-hero .subhead { font-size: 1rem; }
    .partner-intro { padding: 3.5rem 1.5rem; }
    .partner-intro h2, .feature-text h2 { font-size: 1.5rem; }
    .feature-row-partner { padding: 3rem 1.5rem; }
    .phone-frame { width: 240px; }
    .phone-pair .phone-frame { width: 160px; }
    .value-grid, .value-grid.cols-3, .stat-grid { grid-template-columns: 1fr; }
    .value-section { padding: 3.5rem 1.5rem; }
    .legal-callout { padding: 2rem 1.5rem; }
    .legal-section { padding: 2rem 1.5rem 3.5rem; }
    .partner-bottom-cta { padding: 4rem 1.5rem; }
    .partner-bottom-cta h2 { font-size: 1.6rem; }
}
