/* ============================================
   STRAVIX SOLUTIONS — SHARED STYLESHEET
   Extracted common CSS from all pages
   Version: 20260424 — coach page CSS fix (diff, chat, results, modal styles)
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ink: #ffffff;
    --charcoal: #0a1628;
    --slate: #b0bbc5;
    --muted: #7a8a99;
    --light: #1a2535;
    --cream: #0f1a2a;
    --warm: #0a1628;
    --brand: #d4952a;
    --brand-dark: #b87a1a;
    --brand-light: #e8a830;
    --brand-glow: rgba(212, 149, 42, 0.12);
    --accent: #f0c040;
    --accent-light: #f5d566;
    --accent-glow: rgba(240, 192, 64, 0.1);
    --blue: #e8a830;
    --blue-light: #f0c040;
    --green: #22c55e;
    --red: #dc2626;
    --text-muted: #7a8a99;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a2332;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 149, 42, 0.1);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span { color: #d4952a; }

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #b0bbc5;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(212, 149, 42, 0.1);
}

.nav-links a.active {
    color: #d4952a;
    font-weight: 600;
}

.nav-cta, .mobile-cta {
    background: var(--brand) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.nav-cta:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 149, 42, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #0f1a2a;
    border-bottom: 1px solid rgba(212, 149, 42, 0.1);
    padding: 16px 24px 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

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

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: #b0bbc5;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 149, 42, 0.1);
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu .mobile-cta {
    display: inline-block;
    margin-top: 16px;
    background: var(--brand);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding-top: 72px; /* nav offset */
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0a1628 0%, #0d1823 100%);
}

.hero-bg {
    background: linear-gradient(165deg, #0a1628 0%, #0d1823 100%);
    position: relative;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px 60px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    background: rgba(212, 149, 42, 0.08);
    padding: 8px 20px;
    border-radius: 24px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2.5px;
    color: #ffffff;
    max-width: 850px;
    margin: 0 auto 24px;
}

.hero h1 em {
    font-style: normal;
    color: #d4952a;
}

.hero-sub {
    font-size: 19px;
    color: #b0bbc5;
    max-width: 640px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #d4952a;
    color: #0a1628;
    box-shadow: 0 2px 12px rgba(212, 149, 42, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    background: #e8a830;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232, 168, 48, 0.4);
}

.btn-outline {
    background: transparent;
    color: #d4952a;
    border: 2px solid #d4952a;
}

.btn-outline:hover {
    border-color: #e8a830;
    color: #e8a830;
    background: rgba(212, 149, 42, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 149, 42, 0.2);
}

.btn-accent {
    background: #f0c040;
    color: #0a1628;
    box-shadow: 0 2px 12px rgba(240, 192, 64, 0.3);
    font-weight: 700;
}

.btn-accent:hover {
    background: #f5d566;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(240, 192, 64, 0.4);
}

/* Hero trust strip */
.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 32px 0;
    border-top: 1px solid rgba(212, 149, 42, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #7a8a99;
    font-weight: 500;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: #e8a830;
}

/* ============================================
   THREE PILLARS SECTION
   ============================================ */
.pillars {
    padding: 100px 0;
    background: #f8f9fa;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #d4952a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #0a1628;
}

.section-desc {
    font-size: 18px;
    color: #666d77;
    max-width: 600px;
    line-height: 1.7;
    margin: 0 auto 56px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 44px 36px;
    border: 1px solid rgba(212, 149, 42, 0.2);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    transition: opacity 0.3s ease;
}

.pillar-card:nth-child(1)::before { background: #d4952a; }
.pillar-card:nth-child(2)::before { background: #e8a830; }
.pillar-card:nth-child(3)::before { background: #f0c040; }

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(212, 149, 42, 0.15);
    border-color: #d4952a;
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pillar-card:nth-child(1) .pillar-icon { background: rgba(212, 149, 42, 0.15); color: #d4952a; }
.pillar-card:nth-child(2) .pillar-icon { background: rgba(232, 168, 48, 0.15); color: #e8a830; }
.pillar-card:nth-child(3) .pillar-icon { background: rgba(240, 192, 64, 0.15); color: #f0c040; }

.pillar-icon svg {
    width: 28px;
    height: 28px;
}

.pillar-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.pillar-card:nth-child(1) .pillar-eyebrow { color: #d4952a; }
.pillar-card:nth-child(2) .pillar-eyebrow { color: #e8a830; }
.pillar-card:nth-child(3) .pillar-eyebrow { color: #f0c040; }

.pillar-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    color: #0a1628;
}

.pillar-card > p {
    font-size: 15px;
    color: #666d77;
    line-height: 1.7;
    margin-bottom: 24px;
}

.pillar-features {
    list-style: none;
    margin-bottom: 28px;
}

.pillar-features li {
    font-size: 14px;
    color: #666d77;
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(212, 149, 42, 0.1);
}

.pillar-features li:last-child { border-bottom: none; }

.pillar-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pillar-card:nth-child(1) .pillar-features li svg { color: #d4952a; }
.pillar-card:nth-child(2) .pillar-features li svg { color: #e8a830; }
.pillar-card:nth-child(3) .pillar-features li svg { color: #f0c040; }

.pillar-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.pillar-card:nth-child(1) .pillar-link { color: #d4952a; }
.pillar-card:nth-child(2) .pillar-link { color: #e8a830; }
.pillar-card:nth-child(3) .pillar-link { color: #f0c040; }

.pillar-link:hover { gap: 10px; }

/* ============================================
   WHY ATTIC HEALTH MATTERS
   ============================================ */
.attic-health {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid #e8eaf0;
    border-bottom: 1px solid #e8eaf0;
}

.attic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.attic-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0a1628;
}

.attic-content > p {
    font-size: 17px;
    color: #666d77;
    line-height: 1.7;
    margin-bottom: 36px;
}

.attic-issues {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.attic-issue {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(212, 149, 42, 0.15);
}

.attic-issue-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(240, 192, 64, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #f0c040;
}

.attic-issue-icon svg {
    width: 22px;
    height: 22px;
}

.attic-issue h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
    color: #0a1628;
}

.attic-issue p {
    font-size: 13px;
    color: #666d77;
    line-height: 1.6;
}

.attic-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1a2a 0%, #0d1823 100%);
    border: 1px solid rgba(212, 149, 42, 0.2);
    padding: 48px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.attic-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(212, 149, 42, 0.15);
}

.attic-stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #f0c040;
    letter-spacing: -1px;
    line-height: 1;
}

.attic-stat-text {
    font-size: 14px;
    color: #666d77;
    line-height: 1.5;
}

.attic-stat-text strong {
    display: block;
    font-size: 15px;
    color: #0a1628;
    margin-bottom: 2px;
}

/* ============================================
   THE STRAVIX MODEL
   ============================================ */
.model {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2a 100%);
    color: white;
}

.model-header {
    text-align: center;
    margin-bottom: 64px;
}

.model-header .section-label { color: #d4952a; }

.model-header .section-title {
    color: white;
    max-width: 700px;
    margin: 0 auto 16px;
}

.model-header .section-desc {
    color: #b0bbc5;
    max-width: 620px;
    margin: 0 auto;
}

.model-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.model-node {
    background: rgba(212, 149, 42, 0.08);
    border: 1px solid rgba(212, 149, 42, 0.2);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.model-node:hover {
    background: rgba(212, 149, 42, 0.15);
    transform: translateY(-4px);
    border-color: #d4952a;
}

.model-node-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.model-node:nth-child(1) .model-node-icon { background: rgba(212, 149, 42, 0.15); color: #d4952a; }
.model-node:nth-child(3) .model-node-icon { background: rgba(232, 168, 48, 0.15); color: #e8a830; }
.model-node:nth-child(5) .model-node-icon { background: rgba(240, 192, 64, 0.15); color: #f0c040; }

.model-node-icon svg { width: 30px; height: 30px; }

.model-node h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.model-node p {
    font-size: 14px;
    color: #b0bbc5;
    line-height: 1.6;
}

.model-arrow {
    text-align: center;
    color: rgba(212, 149, 42, 0.3);
    padding: 0 12px;
}

.model-arrow svg { width: 32px; height: 32px; }

.model-tagline {
    text-align: center;
    margin-top: 56px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #b0bbc5;
    letter-spacing: -0.3px;
}

.model-tagline em {
    font-style: normal;
    color: #d4952a;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: #f8f9fa;
}

.how-header {
    text-align: center;
    margin-bottom: 64px;
}

.how-header .section-desc {
    max-width: 520px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 40px 32px;
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #d4952a;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 1;
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(212, 149, 42, 0.12);
    border: 1.5px solid rgba(212, 149, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #d4952a;
}

.step-icon svg { width: 32px; height: 32px; }

.step-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    color: #0a1628;
}

.step-card p {
    font-size: 15px;
    color: #666d77;
    line-height: 1.7;
}

.how-note {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: rgba(212, 149, 42, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(212, 149, 42, 0.25);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.how-note p {
    font-size: 17px;
    font-weight: 600;
    color: #0a1628;
    font-style: italic;
}

.how-note span {
    display: block;
    font-size: 14px;
    color: #666d77;
    font-weight: 400;
    font-style: normal;
    margin-top: 4px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: 100px 0;
    background: #0a1628;
    text-align: center;
}

.final-cta .section-title {
    max-width: 600px;
    margin: 0 auto 16px;
    color: #ffffff;
}

.final-cta .section-desc {
    max-width: 480px;
    margin: 0 auto 40px;
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 48px;
}

.cta-card {
    background: #0f1a2a;
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    text-align: center;
    color: #ffffff;
}

.cta-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.cta-card:nth-child(1) .cta-card-icon { background: rgba(212, 149, 42, 0.15); color: #d4952a; }
.cta-card:nth-child(2) .cta-card-icon { background: rgba(232, 168, 48, 0.15); color: #e8a830; }
.cta-card:nth-child(3) .cta-card-icon { background: rgba(240, 192, 64, 0.15); color: #f0c040; }

.cta-card-icon svg { width: 24px; height: 24px; }

.cta-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.cta-card p {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #050c17;
    color: white;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
    margin-bottom: 14px;
}

.footer-logo span { color: #d4952a; }

.footer-brand p {
    font-size: 14px;
    color: #7a8a99;
    line-height: 1.7;
}

.footer-col h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b0bbc5;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: #7a8a99;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.footer-col a:hover { color: #d4952a; }

.footer-bottom {
    border-top: 1px solid rgba(212, 149, 42, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #4a5463;
}

.footer-location {
    font-size: 13px;
    color: #4a5463;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-location svg { width: 14px; height: 14px; }

/* ============================================
   TRUST BADGES BAR
   ============================================ */
.trust-badges {
    padding: 48px 0;
    background: #ffffff;
    border-bottom: 1px solid #eef0f2;
}

.trust-badges-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #0a1628;
    white-space: nowrap;
}

.trust-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(212, 149, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4952a;
    flex-shrink: 0;
}

.trust-badge-icon svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-counter {
    padding: 80px 0;
    background: linear-gradient(165deg, #0a1628 0%, #0d1823 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    border-radius: 16px;
    background: rgba(212, 149, 42, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.12);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(212, 149, 42, 0.12);
    transform: translateY(-4px);
    border-color: rgba(212, 149, 42, 0.3);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    color: #d4952a;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #b0bbc5;
    line-height: 1.4;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 56px;
}

.testimonials-header .section-desc {
    max-width: 540px;
    margin: 0 auto;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    flex: 0 1 calc(33.333% - 16px);
    min-width: 300px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(212, 149, 42, 0.12);
    border-color: #d4952a;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: #e8a830;
    color: #e8a830;
}

.testimonial-text {
    font-size: 15px;
    color: #444d58;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(212, 149, 42, 0.1);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4952a, #e8a830);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0;
}

.author-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -0.3px;
}

.author-location {
    font-size: 13px;
    color: #7a8a99;
    margin-top: 2px;
}

/* ============================================
   PARTNER LOGOS SECTION
   ============================================ */
.partner-logos {
    padding: 56px 0;
    background: #ffffff;
    border-top: 1px solid #eef0f2;
}

.partner-logos-header {
    text-align: center;
    margin-bottom: 32px;
}

.partner-logos-header p {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7a8a99;
}

.partner-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.partner-logo-item:hover {
    border-color: rgba(212, 149, 42, 0.3);
    background: rgba(212, 149, 42, 0.04);
}

.partner-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4952a;
    background: rgba(212, 149, 42, 0.1);
}

.partner-logo-icon svg {
    width: 20px;
    height: 20px;
}

.partner-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0a1628;
    letter-spacing: -0.3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .pillars-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .attic-grid { grid-template-columns: 1fr; gap: 48px; }
    .attic-visual { min-height: auto; padding: 32px; }
    .model-flow { grid-template-columns: 1fr; gap: 16px; }
    .model-arrow { transform: rotate(90deg); padding: 8px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { max-width: 500px; margin: 0 auto; }
    .testimonial-card { flex: 0 1 100%; min-width: 0; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .hero-inner { padding: 60px 24px 40px; }
    .hero h1 { letter-spacing: -1.5px; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; max-width: 340px; justify-content: center; }
    .hero-trust { flex-direction: column; gap: 16px; }
    .trust-badges { padding: 32px 0; }
    .trust-badges-inner { gap: 24px; }
    .trust-badge { font-size: 14px; }
    .stats-counter { padding: 56px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-item { padding: 24px 12px; }
    .testimonials { padding: 64px 0; }
    .testimonials-grid { max-width: 500px; margin: 0 auto; }
    .testimonial-card { flex: 0 1 100%; min-width: 0; }
    .partner-logos { padding: 40px 0; }
    .partner-logos-grid { gap: 24px; }
    .pillars { padding: 64px 0; }
    .attic-health { padding: 64px 0; }
    .attic-issues { grid-template-columns: 1fr; }
    .model { padding: 64px 0; }
    .how-it-works { padding: 64px 0; }
    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .final-cta { padding: 64px 0; }
    .cta-cards { grid-template-columns: 1fr; max-width: 320px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .container { padding: 0 24px; }
}

@media (max-width: 640px) {
    [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Fade-up animation variant */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO — TWO-COLUMN LAYOUT (Subpages only)
   Applied only when hero-inner contains hero-content + hero-visual children.
   Homepage hero uses .hero-bg wrapper and stays single-column (block).
   ============================================ */
.hero-content {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 360px;
}

/* Two-column layout ONLY for subpages with hero-content + hero-visual children */
.hero > .hero-inner:has(.hero-content) {
    display: flex;
    gap: 48px;
    align-items: center;
}

/* Homepage hero stays single-column (centered vertical stack) */
.hero-bg .hero-inner {
    display: block;
    text-align: center;
}

/* Hero stat cards (inspectors + homeowners) */
.hero-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.2);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #f0c040;
    letter-spacing: -1px;
    line-height: 1;
    flex-shrink: 0;
}

.hero-stat-text {
    font-size: 14px;
    color: #b0bbc5;
    line-height: 1.5;
}

.hero-stat-text strong {
    display: block;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 2px;
}

.hero-stat-text span {
    color: #7a8a99;
    font-size: 13px;
}

/* Hero stats grid (financing page) */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

/* Hero stat (partnerships / financing simple version) */
.hero-stat {
    text-align: center;
    padding: 16px;
}

/* stat-num alias for stat-number (financing page uses stat-num) */
.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    color: #d4952a;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.hero-stat .hero-stat-number {
    font-size: 42px;
    margin-bottom: 4px;
}

.hero-stat .hero-stat-text {
    color: #b0bbc5;
    font-size: 14px;
}

/* Trust chips */
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #b0bbc5;
    background: rgba(212, 149, 42, 0.08);
    padding: 8px 16px;
    border-radius: 24px;
    border: 1px solid rgba(212, 149, 42, 0.15);
}

.trust-chip svg {
    width: 16px;
    height: 16px;
    color: #e8a830;
    flex-shrink: 0;
}

/* ============================================
   HOMEOWNER STATS (below hero)
   ============================================ */
.homeowner-stats {
    background: #0d1823;
    border-top: 1px solid rgba(212, 149, 42, 0.15);
    padding: 48px 0;
}

.homeowner-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============================================
   ISSUES GRID (Homeowners)
   ============================================ */
.attic-header {
    text-align: center;
    margin-bottom: 56px;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.issue-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.issue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(212, 149, 42, 0.12);
    border-color: #d4952a;
}

.issue-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #d4952a;
}

.issue-icon svg {
    width: 26px;
    height: 26px;
}

.issue-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    color: #0a1628;
}

.issue-card p {
    font-size: 15px;
    color: #666d77;
    line-height: 1.7;
}

/* ============================================
   SERVICES SECTION (Homeowners)
   ============================================ */
.what-we-do {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2a 100%);
    color: #ffffff;
}

.what-header {
    text-align: center;
    margin-bottom: 56px;
}

.what-header .section-title {
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 16px;
}

.what-header .section-desc {
    color: #b0bbc5;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(212, 149, 42, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.15);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(212, 149, 42, 0.12);
    transform: translateY(-4px);
    border-color: #d4952a;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #d4952a;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card:nth-child(2) .service-icon { color: #e8a830; background: rgba(232, 168, 48, 0.15); }
.service-card:nth-child(3) .service-icon { color: #f0c040; background: rgba(240, 192, 64, 0.15); }

.service-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4952a;
    margin-bottom: 12px;
}

.service-card:nth-child(2) .service-tag { color: #e8a830; }
.service-card:nth-child(3) .service-tag { color: #f0c040; }

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-card > p {
    font-size: 15px;
    color: #b0bbc5;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    font-size: 14px;
    color: #b0bbc5;
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(212, 149, 42, 0.1);
}

.service-card li:last-child { border-bottom: none; }

.service-card li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #d4952a;
}

.service-card:nth-child(2) li svg { color: #e8a830; }
.service-card:nth-child(3) li svg { color: #f0c040; }

/* Step number wrap */
.step-number-wrap {
    margin-bottom: 16px;
}

/* No-pressure note (variant of how-note) */
.no-pressure-note {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: rgba(212, 149, 42, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(212, 149, 42, 0.25);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-pressure-note p {
    font-size: 17px;
    font-weight: 600;
    color: #0a1628;
    font-style: italic;
}

.no-pressure-note span {
    display: block;
    font-size: 14px;
    color: #666d77;
    font-weight: 400;
    font-style: normal;
    margin-top: 4px;
}

/* Stars (testimonials variant) */
.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}

.stars svg {
    width: 18px;
    height: 18px;
    fill: #e8a830;
    color: #e8a830;
}

/* ============================================
   LEAD FORM SECTION (Homeowners + Contact)
   ============================================ */
.lead-form-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2a 100%);
}

.lead-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.lead-form-info {
    color: #ffffff;
}

.lead-form-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.lead-form-info h2 em {
    font-style: normal;
    color: #d4952a;
}

.lead-desc {
    font-size: 17px;
    color: #b0bbc5;
    line-height: 1.7;
    margin-bottom: 36px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(212, 149, 42, 0.1);
}

.benefits-list li:last-child { border-bottom: none; }

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4952a;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 22px;
    height: 22px;
}

.benefit-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.benefit-text span {
    font-size: 14px;
    color: #7a8a99;
    line-height: 1.5;
}

/* Form card */
.lead-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.15);
}

.form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 15px;
    color: #666d77;
    margin-bottom: 28px;
}

.form-error-msg {
    background: #fef2f2;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #fecaca;
    margin-bottom: 20px;
    display: none;
}

.form-error-msg.visible { display: block; }

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #0a1628;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d4952a;
    box-shadow: 0 0 0 3px rgba(212, 149, 42, 0.12);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: #d4952a;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.form-submit-btn:hover {
    background: #e8a830;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232, 168, 48, 0.4);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-submit-btn svg {
    width: 20px;
    height: 20px;
}

.form-disclaimer {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
    margin-top: 16px;
    text-align: center;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.visible { display: block; }

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #d4952a;
}

.success-icon svg {
    width: 36px;
    height: 36px;
}

.form-success h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 15px;
    color: #666d77;
    line-height: 1.7;
}

/* ============================================
   FINAL CTA STRIP (Homeowners / Inspectors)
   ============================================ */
.final-strip {
    padding: 64px 0;
    background: #0a1628;
}

.final-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.strip-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.strip-text p {
    font-size: 16px;
    color: #b0bbc5;
}

.strip-ctas {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    padding-top: 72px;
    background: linear-gradient(165deg, #0a1628 0%, #0d1823 100%);
    color: #ffffff;
}

.about-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 32px 60px;
    text-align: center;
}

.about-hero-inner h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 700;
    letter-spacing: -2.5px;
    line-height: 1.08;
    margin-bottom: 24px;
    color: #ffffff;
    text-transform: capitalize;
}

.about-hero-inner h1 em {
    font-style: normal;
    color: #d4952a;
}

.about-hero-inner .hero-sub {
    font-size: 19px;
    color: #b0bbc5;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
    text-transform: capitalize;
}

/* Story section */
.story-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0a1628;
}

.story-content h2 em {
    font-style: normal;
    color: #d4952a;
}

.story-content > p {
    font-size: 17px;
    color: #666d77;
    line-height: 1.7;
    margin-bottom: 16px;
}

.story-visual {
    background: linear-gradient(135deg, #0f1a2a 0%, #0d1823 100%);
    border-radius: 24px;
    border: 1px solid rgba(212, 149, 42, 0.2);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.story-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.story-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #f0c040;
    letter-spacing: -1px;
    flex-shrink: 0;
}

.story-stat-label {
    font-size: 15px;
    color: #b0bbc5;
    line-height: 1.5;
}

.story-stat-label strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 2px;
}

.story-stat-divider {
    height: 1px;
    background: rgba(212, 149, 42, 0.15);
}

/* Mission section */
.mission-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2a 100%);
    color: #ffffff;
}

.mission-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #ffffff;
}

.mission-quote em {
    font-style: normal;
    color: #d4952a;
}

.mission-body {
    font-size: 17px;
    color: #b0bbc5;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* Model section (about variant) */
.model-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.model-section .section-title {
    text-decoration: none;
    -webkit-text-decoration: none;
}

.model-section .model-header {
    text-align: center;
    margin-bottom: 56px;
}

/* Pillar extras */
.pillar-who {
    font-size: 13px;
    font-weight: 600;
    color: #7a8a99;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pillar-benefit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #d4952a;
    background: rgba(212, 149, 42, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    margin-top: 8px;
}

/* Owned section */
.owned-section {
    padding: 80px 0;
    background: linear-gradient(165deg, #0a1628 0%, #0d1823 100%);
    color: #ffffff;
}

.owned-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.owned-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #d4952a;
    background: rgba(212, 149, 42, 0.1);
    padding: 10px 20px;
    border-radius: 24px;
    border: 1px solid rgba(212, 149, 42, 0.25);
    margin-bottom: 24px;
}

.owned-badge svg {
    width: 20px;
    height: 20px;
}

.owned-inner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.owned-inner p {
    font-size: 17px;
    color: #b0bbc5;
    line-height: 1.7;
}

/* Vision section */
.vision-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.vision-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0a1628;
}

.vision-content > p {
    font-size: 17px;
    color: #666d77;
    line-height: 1.7;
}

.vision-milestones {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.milestone {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(212, 149, 42, 0.1);
}

.milestone:last-child { border-bottom: none; }

.milestone-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d4952a;
    flex-shrink: 0;
    margin-top: 6px;
}

.milestone-text h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 4px;
}

.milestone-text p {
    font-size: 14px;
    color: #666d77;
    line-height: 1.6;
}

/* About CTA */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2a 100%);
    text-align: center;
}

.about-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.about-cta-inner .section-title,
.about-cta-inner h2 { color: #ffffff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -1.5px; text-decoration: none; }

.about-cta-inner .section-desc,
.about-cta-inner p {
    color: #b0bbc5;
    max-width: 480px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.7;
}

.about-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   PARTNERSHIPS PAGE
   ============================================ */
/* Opportunity */
.opportunity {
    padding: 100px 0;
    background: #f8f9fa;
}

.opp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.opp-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0a1628;
}

.opp-content h2 em {
    font-style: normal;
    color: #d4952a;
}

.opp-content > p {
    font-size: 17px;
    color: #666d77;
    line-height: 1.7;
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: #444d58;
    line-height: 1.6;
}

.check-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #d4952a;
    margin-top: 1px;
}

.check-icon svg {
    width: 22px;
    height: 22px;
}

.opp-visual {
    background: linear-gradient(135deg, #0f1a2a 0%, #0d1823 100%);
    border-radius: 24px;
    border: 1px solid rgba(212, 149, 42, 0.2);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.opp-visual-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

/* Revenue cards */
.revenue-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.revenue-card-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #f0c040;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.revenue-card-label {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.revenue-card-sub {
    font-size: 13px;
    color: #7a8a99;
}

.revenue-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(212, 149, 42, 0.1);
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(212, 149, 42, 0.25);
    font-size: 14px;
    font-weight: 600;
    color: #d4952a;
}

.revenue-highlight-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4952a;
    flex-shrink: 0;
}

/* How Partners */
.how-partners {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2a 100%);
    color: #ffffff;
}

.how-partners-header {
    text-align: center;
    margin-bottom: 64px;
}

.how-partners-header .section-title {
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto 16px;
}

.how-partners-header .section-desc {
    color: #b0bbc5;
    max-width: 520px;
    margin: 0 auto;
}

.how-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.how-step {
    text-align: center;
    flex: 1;
    padding: 0 24px;
}

.how-step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #d4952a;
    opacity: 1;
    margin-bottom: 16px;
}

.how-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #d4952a;
}

.how-step-icon svg {
    width: 30px;
    height: 30px;
}

.how-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.how-step p {
    font-size: 14px;
    color: #b0bbc5;
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 40px;
    color: rgba(212, 149, 42, 0.3);
}

.step-arrow svg {
    width: 32px;
    height: 32px;
}

/* Stravix Provides */
.stravix-provides {
    padding: 100px 0;
    background: #f8f9fa;
}

.provides-header {
    text-align: center;
    margin-bottom: 56px;
}

.provides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.provide-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.provide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(212, 149, 42, 0.12);
    border-color: #d4952a;
}

.provide-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #d4952a;
}

.provide-icon svg {
    width: 26px;
    height: 26px;
}

.provide-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 10px;
}

.provide-card p {
    font-size: 15px;
    color: #666d77;
    line-height: 1.7;
}

/* Who Partners */
.who-partners {
    padding: 100px 0;
    background: #ffffff;
}

.who-header {
    text-align: center;
    margin-bottom: 56px;
}

.partner-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.partner-type-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(212, 149, 42, 0.1);
    border-color: #d4952a;
}

.partner-type-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #d4952a;
}

.partner-type-icon svg {
    width: 28px;
    height: 28px;
}

.partner-type-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.partner-type-card p {
    font-size: 14px;
    color: #666d77;
    line-height: 1.6;
}

.who-tagline {
    font-size: 17px;
    color: #666d77;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.7;
}

.who-cta {
    text-align: center;
}

/* Installers section */
.installers {
    padding: 100px 0;
    background: linear-gradient(165deg, #0a1628 0%, #0d1823 100%);
    color: #ffffff;
}

.installer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.installer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #d4952a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(212, 149, 42, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.installer-badge svg {
    width: 16px;
    height: 16px;
}

.installer-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.installer-content h2 em {
    font-style: normal;
    color: #d4952a;
}

.installer-content > p {
    font-size: 17px;
    color: #b0bbc5;
    line-height: 1.7;
    margin-bottom: 32px;
}

.installer-perks-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4952a;
    margin-bottom: 20px;
}

.installer-perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.perk-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.perk-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4952a;
    flex-shrink: 0;
}

.perk-icon svg {
    width: 20px;
    height: 20px;
}

.perk-text strong {
    display: block;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 2px;
}

.perk-text span {
    font-size: 14px;
    color: #7a8a99;
    line-height: 1.5;
}

/* Partner form */
.partner-form-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.form-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.form-copy h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0a1628;
}

.form-copy h2 em {
    font-style: normal;
    color: #d4952a;
}

.form-copy > p {
    font-size: 17px;
    color: #666d77;
    line-height: 1.7;
    margin-bottom: 32px;
}

.form-promise {
    background: rgba(212, 149, 42, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.form-promise h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.form-promise p {
    font-size: 14px;
    color: #666d77;
    line-height: 1.6;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #666d77;
}

.response-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.partner-form {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 36px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: #d4952a;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.form-submit:hover {
    background: #e8a830;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232, 168, 48, 0.4);
}

.form-submit svg {
    width: 20px;
    height: 20px;
}

.form-note {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #d4952a;
}

.form-success-icon svg {
    width: 36px;
    height: 36px;
}

/* ============================================
   INSPECTORS PAGE
   ============================================ */
.section-header-centered {
    text-align: center;
    margin-bottom: 56px;
}

/* What You'll Do */
.what-youll-do {
    padding: 100px 0;
    background: #f8f9fa;
}

.duties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}

.duty-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.duty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(212, 149, 42, 0.12);
    border-color: #d4952a;
}

.duty-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #d4952a;
}

.duty-icon svg {
    width: 26px;
    height: 26px;
}

.duty-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 10px;
}

.duty-card p {
    font-size: 15px;
    color: #666d77;
    line-height: 1.7;
}

/* Training section */
.training {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2a 100%);
    color: #ffffff;
}

.training-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.training-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.training-content h2 em {
    font-style: normal;
    color: #d4952a;
}

.training-content > p {
    font-size: 17px;
    color: #b0bbc5;
    line-height: 1.7;
    margin-bottom: 32px;
}

.training-modules {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.training-modules > div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(212, 149, 42, 0.1);
}

.training-modules > div:last-child { border-bottom: none; }

.module-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4952a;
    flex-shrink: 0;
}

.module-icon svg {
    width: 20px;
    height: 20px;
}

.module-text strong {
    display: block;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 2px;
}

.module-text span {
    font-size: 14px;
    color: #7a8a99;
    line-height: 1.5;
}

/* Certification visual */
.cert-visual {
    background: linear-gradient(135deg, #0f1a2a 0%, #0d1823 100%);
    border-radius: 24px;
    border: 1px solid rgba(212, 149, 42, 0.2);
    padding: 48px;
}

.cert-badge-card {
    text-align: center;
    margin-bottom: 32px;
}

.cert-badge-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #d4952a;
}

.cert-badge-icon svg {
    width: 36px;
    height: 36px;
}

.cert-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cert-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cert-stat {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(212, 149, 42, 0.15);
}

.cert-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #f0c040;
    letter-spacing: -0.5px;
}

.cert-stat-label {
    font-size: 13px;
    color: #b0bbc5;
    margin-top: 4px;
}

/* Steps flow (inspectors variant) */
.steps-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step-node {
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.step-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(212, 149, 42, 0.12);
    border: 2px solid rgba(212, 149, 42, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-circle-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #d4952a;
}

.step-node h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0a1628;
}

.step-node p {
    font-size: 14px;
    color: #666d77;
    line-height: 1.6;
}

/* Compensation */
.compensation {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2a 100%);
    color: #ffffff;
}

.comp-header {
    text-align: center;
    margin-bottom: 56px;
}

.comp-header .section-title { color: #ffffff; }
.comp-header .section-desc { color: #b0bbc5; max-width: 600px; margin: 0 auto; }

.comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.comp-note {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 8px;
    padding: 36px 48px;
    background: rgba(212, 149, 42, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.2);
    border-radius: 20px;
}
.comp-note p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: -0.5px;
    font-style: italic;
    margin: 0;
}

.tier-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tier-card {
    background: rgba(212, 149, 42, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.15);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.tier-card:hover {
    background: rgba(212, 149, 42, 0.12);
    border-color: #d4952a;
}

.tier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tier-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.tier-range {
    font-size: 13px;
    color: #7a8a99;
}

.tier-rate {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #f0c040;
}

.tier-1 { border-left: 3px solid #d4952a; }
.tier-2 { border-left: 3px solid #e8a830; }
.tier-3 { border-left: 3px solid #f0c040; }
.tier-4 { border-left: 3px solid #f5d566; }

.bonuses-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bonus-card {
    background: rgba(212, 149, 42, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.15);
    border-radius: 16px;
    padding: 24px;
}

.bonus-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bonus-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4952a;
    flex-shrink: 0;
}

.bonus-icon svg {
    width: 20px;
    height: 20px;
}

.bonus-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.bonus-card p {
    font-size: 14px;
    color: #b0bbc5;
    line-height: 1.6;
}

/* Apply section */
.apply-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.apply-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0a1628;
}

.apply-desc {
    font-size: 17px;
    color: #666d77;
    line-height: 1.7;
    margin-bottom: 32px;
}

.apply-reasons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.apply-reasons > div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.reason-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4952a;
    flex-shrink: 0;
}

.reason-icon svg {
    width: 20px;
    height: 20px;
}

.reason-text strong {
    display: block;
    font-size: 15px;
    color: #0a1628;
    margin-bottom: 2px;
}

.reason-text span {
    font-size: 14px;
    color: #666d77;
    line-height: 1.5;
}

.apply-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 36px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.forms-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.forms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 36px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.form-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4952a;
    background: rgba(212, 149, 42, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.form-card-badge.free {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

.form-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.form-card-sub {
    font-size: 15px;
    color: #666d77;
    margin-bottom: 28px;
    line-height: 1.6;
}

.contact-info-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 20px;
    background: #f8f9fa;
    border: 1px solid rgba(212, 149, 42, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(212, 149, 42, 0.1);
    border-color: #d4952a;
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #d4952a;
}

.contact-card-icon svg {
    width: 26px;
    height: 26px;
}

.contact-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 14px;
    color: #666d77;
    line-height: 1.6;
}

.contact-card a {
    color: #d4952a;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover { text-decoration: underline; }

.service-area-note {
    text-align: center;
    margin-top: 48px;
    font-size: 15px;
    color: #666d77;
}

.service-area-note strong {
    color: #0a1628;
}

/* ============================================
   FINANCING PAGE
   ============================================ */
.why-financing {
    padding: 100px 0;
    background: #f8f9fa;
}

.why-financing-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-left h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0a1628;
}

.why-left h2 em {
    font-style: normal;
    color: #d4952a;
}

.why-left > p {
    font-size: 17px;
    color: #666d77;
    line-height: 1.7;
    margin-bottom: 32px;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.why-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4952a;
    flex-shrink: 0;
}

.why-icon svg {
    width: 20px;
    height: 20px;
}

.why-point strong {
    display: block;
    font-size: 15px;
    color: #0a1628;
    margin-bottom: 2px;
}

.why-point span, .why-point p {
    font-size: 14px;
    color: #666d77;
    line-height: 1.5;
}

.why-right {
    background: linear-gradient(135deg, #0f1a2a 0%, #0d1823 100%);
    border-radius: 24px;
    border: 1px solid rgba(212, 149, 42, 0.2);
    padding: 40px;
}

.cost-card-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.cost-compare {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(212, 149, 42, 0.1);
}

.cost-row:last-child { border-bottom: none; }

.cost-row-label {
    font-size: 15px;
    color: #b0bbc5;
}

.cost-row-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.cost-row.highlight {
    background: rgba(212, 149, 42, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 8px;
}

.cost-row.highlight .cost-row-val { color: #f0c040; }

.cost-note {
    font-size: 12px;
    color: #7a8a99;
    margin-top: 16px;
    font-style: italic;
}

/* Acorn Finance */
.acorn-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2a 100%);
    color: #ffffff;
}

.acorn-inner {
    max-width: 900px;
    margin: 0 auto;
}

.acorn-card {
    background: rgba(212, 149, 42, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.2);
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    margin-bottom: 48px;
}

.acorn-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.acorn-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4952a;
}

.acorn-logo-icon svg {
    width: 24px;
    height: 24px;
}

.acorn-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.acorn-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 16px;
}

.acorn-headline em {
    font-style: normal;
    color: #d4952a;
}

.acorn-desc {
    font-size: 17px;
    color: #b0bbc5;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 32px;
}

.acorn-perks {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.acorn-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #b0bbc5;
}

.acorn-perk svg {
    width: 18px;
    height: 18px;
    color: #d4952a;
}

.acorn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d4952a;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    letter-spacing: -0.3px;
}
.acorn-cta:hover {
    background: #e8a830;
    transform: translateY(-2px);
    color: #ffffff;
}
.acorn-cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.acorn-disclaimer {
    font-size: 12px;
    color: #7a8a99;
    margin-top: 20px;
}

.acorn-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.acorn-feature {
    background: rgba(212, 149, 42, 0.06);
    border: 1px solid rgba(212, 149, 42, 0.15);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}

.acorn-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #d4952a;
}

.acorn-feature-icon svg {
    width: 24px;
    height: 24px;
}

.acorn-feature h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.acorn-feature p {
    font-size: 14px;
    color: #b0bbc5;
    line-height: 1.6;
}

/* Financing how-it-works header variant */
.how-it-works-header {
    text-align: center;
    margin-bottom: 64px;
}

/* Steps (financing variant) */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
}

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #d4952a;
    opacity: 1;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(212, 149, 42, 0.12);
    border-radius: 16px;
    margin: 0 auto 16px;
    font-size: 28px;
}

.step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: #666d77;
    line-height: 1.6;
}

/* Services financed */
.services-financed {
    padding: 100px 0;
    background: #ffffff;
}

.services-financed-header {
    text-align: center;
    margin-bottom: 56px;
}

/* Service card with icon variant (financing) */
.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212, 149, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #d4952a;
}

.service-card-icon svg {
    width: 26px;
    height: 26px;
}

.price-range {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #d4952a;
    background: rgba(212, 149, 42, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    margin-top: 12px;
}

/* Services financed — override dark card text for white-background section */
.services-financed .service-card {
    background: #ffffff;
    border: 1px solid rgba(10, 22, 40, 0.10);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.services-financed .service-card:hover {
    background: #fafbfc;
    border-color: #d4952a;
    box-shadow: 0 8px 32px rgba(212, 149, 42, 0.12);
}
.services-financed .service-card h3 {
    color: #0a1628;
}
.services-financed .service-card > p {
    color: #4b5563;
}
.services-financed .price-range {
    color: #b87a1a;
    background: rgba(212, 149, 42, 0.10);
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq-header {
    text-align: center;
    margin-bottom: 56px;
}

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

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(212, 149, 42, 0.1);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a1628;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover { color: #d4952a; }

.faq-icon {
    width: 24px;
    height: 24px;
    color: #d4952a;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

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

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: #666d77;
    line-height: 1.7;
}

/* Final CTA buttons (financing) */
.final-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   ADDITIONAL BUTTON VARIANTS
   ============================================ */
.btn-secondary {
    background: rgba(212, 149, 42, 0.1);
    color: #d4952a;
    border: 1px solid rgba(212, 149, 42, 0.3);
}

.btn-secondary:hover {
    background: rgba(212, 149, 42, 0.2);
    transform: translateY(-2px);
}

.btn-white {
    background: #ffffff;
    color: #0a1628;
    font-weight: 700;
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-gold-outline {
    background: transparent;
    color: #d4952a;
    border: 2px solid #d4952a;
}

.btn-gold-outline:hover {
    border-color: #e8a830;
    color: #e8a830;
    background: rgba(212, 149, 42, 0.1);
    transform: translateY(-2px);
}

/* Light text modifier */
.light { color: #b0bbc5 !important; }

/* Gold text modifier */
.gold { color: #d4952a; font-style: normal; }

/* ============================================
   RESPONSIVE — SUBPAGES
   ============================================ */
@media (max-width: 1024px) {
    .hero .hero-inner:has(.hero-content) {
        flex-direction: column;
        text-align: center;
    }
    .hero-content { text-align: center; }
    .hero-visual { flex: none; width: 100%; max-width: 420px; margin: 0 auto; }
    .hero-trust { justify-content: center; flex-wrap: wrap; }
    .story-grid, .opp-grid, .vision-grid { grid-template-columns: 1fr; gap: 48px; }
    .installer-inner, .training-inner { grid-template-columns: 1fr; gap: 48px; }
    .lead-form-wrapper, .form-inner, .apply-wrapper { grid-template-columns: 1fr; gap: 48px; }
    .why-financing-inner { grid-template-columns: 1fr; gap: 48px; }
    .comp-grid { grid-template-columns: 1fr; }
    .provides-grid, .duties-grid { grid-template-columns: 1fr 1fr; }
    .partner-types { grid-template-columns: 1fr 1fr; }
    .how-steps, .steps-flow, .steps { flex-direction: column; align-items: center; gap: 32px; }
    .step-arrow { transform: rotate(90deg); }
    .acorn-features { grid-template-columns: 1fr 1fr; }
    .contact-cards { grid-template-columns: 1fr; max-width: 400px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .homeowner-stats-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .issues-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .forms-grid { grid-template-columns: 1fr; }
    .provides-grid, .duties-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .partner-types { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .final-strip-inner { flex-direction: column; text-align: center; }
    .strip-ctas { flex-direction: column; width: 100%; max-width: 340px; }
    .strip-ctas .btn { width: 100%; justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .cert-stat-row { grid-template-columns: 1fr; }
    .acorn-features { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
    .acorn-perks { flex-direction: column; align-items: center; }
    .acorn-card { padding: 36px 24px; }
    .lead-form-card, .partner-form, .apply-form-card, .form-card { padding: 28px 24px; }
    .hero-visual { max-width: 100%; }
    .about-hero-inner { padding: 60px 24px 40px; }
}

/* ============================================
   PARTNER DASHBOARD PAGE
   ============================================ */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 32px 60px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.page-header p {
    font-size: 15px;
    color: #666d77;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Dashboard Stats Cards */
.main .stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    max-width: none;
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(212, 149, 42, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 149, 42, 0.08);
    border-color: rgba(212, 149, 42, 0.25);
}

.stat-card .stat-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7a8a99;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.stat-card .stat-value.green { color: #22c55e; }
.stat-card .stat-value.brand { color: #d4952a; }

.stat-card .stat-sub {
    font-size: 13px;
    color: #7a8a99;
    line-height: 1.4;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    width: fit-content;
}

.filter-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #666d77;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    color: #0a1628;
    background: #ffffff;
}

.filter-btn.active {
    background: #ffffff;
    color: #d4952a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Table */
.table-container {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(212, 149, 42, 0.12);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eef0f2;
}

.table-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a1628;
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7a8a99;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eef0f2;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: color 0.2s;
}

thead th:hover { color: #d4952a; }

tbody td {
    padding: 16px;
    font-size: 14px;
    color: #444d58;
    border-bottom: 1px solid #f5f6f8;
    vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover { background: rgba(212, 149, 42, 0.02); }

.partner-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -0.3px;
}

.partner-contact {
    font-size: 13px;
    color: #7a8a99;
    margin-top: 2px;
}

.revenue-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #0a1628;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: capitalize;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.badge-active { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.badge-active .badge-dot { background: #22c55e; }
.badge-onboarding { background: rgba(212, 149, 42, 0.1); color: #d4952a; }
.badge-onboarding .badge-dot { background: #d4952a; }
.badge-inquiry { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.badge-inquiry .badge-dot { background: #3b82f6; }
.badge-inactive { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.badge-inactive .badge-dot { background: #9ca3af; }

/* Completion Bar */
.completion-bar {
    width: 100%;
    height: 6px;
    background: #f0f1f3;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.completion-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Stars */
.stars {
    color: #e8a830;
    font-size: 16px;
    letter-spacing: 1px;
}

.stars-muted {
    color: #d1d5db;
}

/* Action Menu */
.action-cell {
    position: relative;
}

.btn-sm {
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 8px;
    line-height: 1;
    min-width: auto;
    letter-spacing: 2px;
}

.action-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 100;
    min-width: 180px;
    overflow: hidden;
}

.action-menu.open { display: block; }

.action-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: #444d58;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s;
}

.action-menu button:hover { background: #f8f9fa; }
.action-menu button.danger { color: #dc2626; }
.action-menu button.danger:hover { background: #fef2f2; }

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.modal h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef0f2;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    z-index: 3000;
    transform: translateY(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.toast.show { transform: translateY(0); }
.toast-success { background: #16a34a; }
.toast-error { background: #dc2626; }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 15px;
    color: #666d77;
    margin-bottom: 24px;
}

/* Loading Spinner */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #eef0f2;
    border-top-color: #d4952a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dashboard responsive */
@media (max-width: 1024px) {
    .main .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .main { padding: 88px 16px 40px; }
    .page-header { flex-direction: column; align-items: flex-start; }
    .main .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-bar { flex-wrap: wrap; width: 100%; }
    .modal { margin: 16px; padding: 24px; }
}

@media (max-width: 480px) {
    .main .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TRAINING PAGE
   ============================================ */
.page {
    min-height: 100vh;
    padding-top: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.auth-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 44px;
    max-width: 440px;
    width: 100%;
    margin: 40px 24px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.auth-card .subtitle {
    font-size: 15px;
    color: #666d77;
    margin-bottom: 28px;
    line-height: 1.6;
}

.auth-card .form-group {
    margin-bottom: 18px;
}

.auth-card .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.auth-card .form-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background: #ffffff;
    color: #111827;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-card .form-group input:focus {
    outline: none;
    border-color: #d4952a;
    box-shadow: 0 0 0 3px rgba(212, 149, 42, 0.12);
}

.auth-card .error-msg {
    display: none;
    color: #dc2626;
    font-size: 14px;
    padding: 10px 14px;
    background: #fef2f2;
    border-radius: 10px;
    border: 1px solid #fecaca;
    margin-bottom: 16px;
}

.auth-card .btn-gold {
    width: 100%;
    padding: 14px;
    background: #d4952a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 6px;
}

.auth-card .btn-gold:hover {
    background: #e8a830;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 149, 42, 0.3);
}

.auth-card .toggle-link {
    text-align: center;
    font-size: 14px;
    color: #666d77;
    margin-top: 20px;
}

.auth-card .toggle-link a {
    color: #d4952a;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.auth-card .toggle-link a:hover {
    text-decoration: underline;
}

/* Payment Wall */
.payment-wall {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 44px;
    max-width: 640px;
    width: 100%;
    margin: 40px 24px;
    border: 1px solid rgba(212, 149, 42, 0.15);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.payment-wall .badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #d4952a;
    background: rgba(212, 149, 42, 0.08);
    padding: 8px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.payment-wall h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.payment-wall .sub {
    font-size: 16px;
    color: #666d77;
    margin-bottom: 36px;
    line-height: 1.6;
}

.modules-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.module-prev {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid #eef0f2;
    text-align: center;
    transition: all 0.3s ease;
}

.module-prev:hover {
    border-color: rgba(212, 149, 42, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.module-prev .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.module-prev h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.module-prev p {
    font-size: 13px;
    color: #666d77;
    line-height: 1.5;
}

.price-box {
    background: linear-gradient(135deg, #0a1628 0%, #0d1823 100%);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(212, 149, 42, 0.2);
}

.price-box .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #d4952a;
    letter-spacing: -1.5px;
}

.price-box .price span {
    font-size: 18px;
    font-weight: 500;
    color: #b0bbc5;
}

.price-box .desc {
    font-size: 14px;
    color: #b0bbc5;
    margin-top: 8px;
    line-height: 1.5;
}

.btn-stripe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 28px;
    background: #d4952a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(212, 149, 42, 0.3);
}

.btn-stripe:hover {
    background: #e8a830;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 168, 48, 0.4);
}

.payment-wall .hint {
    font-size: 13px;
    color: #7a8a99;
    margin: 20px 0 12px;
}

.payment-wall .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    color: #d4952a;
    border: 2px solid rgba(212, 149, 42, 0.3);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.payment-wall .btn-outline:hover {
    border-color: #d4952a;
    background: rgba(212, 149, 42, 0.06);
}

/* ============================================
   TRAINING DASHBOARD
   ============================================ */
#mainView .hero {
    padding-top: 72px;
    background: linear-gradient(165deg, #0a1628 0%, #0d1823 100%);
    text-align: center;
    padding-bottom: 48px;
}

#mainView .hero .badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #d4952a;
    background: rgba(212, 149, 42, 0.1);
    padding: 8px 20px;
    border-radius: 24px;
    margin-bottom: 20px;
    margin-top: 48px;
}

#mainView .hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}

#mainView .hero h1 em {
    font-style: normal;
    color: #d4952a;
}

#mainView .hero p {
    font-size: 17px;
    color: #b0bbc5;
    line-height: 1.7;
}

/* Training Stats Bar */
.stats {
    background: #ffffff;
    border-bottom: 1px solid #eef0f2;
    padding: 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.stats-inner .stat-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    border-right: 1px solid #eef0f2;
}

.stats-inner .stat-card:last-child { border-right: none; }

.stats-inner .stat-card .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #d4952a;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.stats-inner .stat-card .label {
    font-size: 13px;
    font-weight: 600;
    color: #7a8a99;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Training Section Title Override */
#mainView .main .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    margin-top: 48px;
    text-align: left;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.module-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(212, 149, 42, 0.12);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(212, 149, 42, 0.1);
    border-color: rgba(212, 149, 42, 0.25);
}

.module-card .module-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212, 149, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.module-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.module-card p {
    font-size: 14px;
    color: #666d77;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.badge-completed { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.badge-inprogress { background: rgba(212, 149, 42, 0.1); color: #d4952a; }
.badge-notstarted { background: rgba(107, 114, 128, 0.08); color: #6b7280; }

/* Progress Bar */
.progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #f0f1f3;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4952a, #e8a830);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-pct {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #d4952a;
    min-width: 36px;
    text-align: right;
}

/* Module Button */
.module-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.btn-start {
    background: #d4952a;
    color: #ffffff;
}

.btn-start:hover {
    background: #e8a830;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 149, 42, 0.3);
}

.btn-continue {
    background: rgba(212, 149, 42, 0.1);
    color: #d4952a;
    border: 1px solid rgba(212, 149, 42, 0.3);
}

.btn-continue:hover {
    background: rgba(212, 149, 42, 0.2);
    transform: translateY(-1px);
}

.btn-review {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.btn-review:hover {
    background: rgba(34, 197, 94, 0.15);
    transform: translateY(-1px);
}

/* Coach Card */
.coach-card {
    background: linear-gradient(135deg, #0f1a2a 0%, #0d1823 100%);
    border: 1px solid rgba(212, 149, 42, 0.2);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.coach-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(240, 192, 64, 0.15);
    border: 1px solid rgba(240, 192, 64, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.coach-body { flex: 1; }

.coach-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4952a;
    background: rgba(212, 149, 42, 0.1);
    padding: 5px 12px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.coach-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.coach-body p {
    font-size: 15px;
    color: #b0bbc5;
    line-height: 1.7;
    margin-bottom: 16px;
}

.coach-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.coach-chip {
    font-size: 12px;
    font-weight: 600;
    color: #b0bbc5;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-coach {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: #d4952a;
    color: #ffffff;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-coach:hover {
    background: #e8a830;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 149, 42, 0.3);
}

/* Certification Section */
.cert-section {
    text-align: center;
    padding: 48px 32px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 2px dashed #d1d5db;
    margin-bottom: 48px;
    opacity: 0.7;
}

.cert-section.unlocked {
    border: 2px solid #d4952a;
    background: rgba(212, 149, 42, 0.04);
    opacity: 1;
}

.cert-section .cert-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.cert-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.cert-section p {
    font-size: 15px;
    color: #666d77;
    line-height: 1.6;
}

/* Logout link */
.nav-links .logout {
    color: #7a8a99 !important;
    font-size: 13px !important;
}

.nav-links .logout:hover { color: #dc2626 !important; }

/* ============================================
   COACH PAGE - DIFFICULTY VIEW
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#difficultyView {
    padding: 96px 24px 48px;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.diff-header {
    text-align: center;
    margin-bottom: 40px;
}

.diff-badge {
    display: inline-block;
    background: rgba(212, 149, 42, 0.12);
    color: #d4952a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.diff-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.diff-header p {
    font-size: 16px;
    color: #666d77;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.diff-card {
    background: #ffffff;
    border: 2px solid #eef0f2;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.diff-card:hover {
    border-color: #d4952a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 149, 42, 0.12);
}

.diff-card.selected {
    border-color: #d4952a;
    background: rgba(212, 149, 42, 0.04);
    box-shadow: 0 0 0 3px rgba(212, 149, 42, 0.15);
}

.diff-emoji {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1;
}

.diff-level {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.diff-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.diff-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #eef0f2;
}

.diff-dot.filled {
    background: #d4952a;
}

.diff-name {
    font-size: 13px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 8px;
}

.diff-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.tag-easy { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.tag-medium { background: rgba(212, 149, 42, 0.1); color: #d4952a; }
.tag-medium-hard { background: rgba(234, 88, 12, 0.1); color: #ea580c; }
.tag-hard { background: rgba(220, 38, 38, 0.1); color: #dc2626; }
.tag-expert { background: rgba(30, 30, 30, 0.1); color: #1a1a1a; }

.diff-desc {
    font-size: 12px;
    color: #7a8a99;
    line-height: 1.5;
}

.diff-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.history-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666d77;
    text-decoration: none;
    transition: color 0.2s;
}

.history-link:hover { color: #0a1628; }

.btn-start {
    background: #d4952a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-start:hover:not(:disabled) {
    background: #e8a830;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 149, 42, 0.3);
}

.btn-start:disabled {
    background: #eef0f2;
    color: #b0bbc5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-end {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-end:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
    color: #fee2e2;
}

/* ============================================
   COACH PAGE - CHAT VIEW
   ============================================ */
#chatView {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #f8f9fa;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #0a1628;
    border-bottom: 1px solid rgba(212, 149, 42, 0.15);
    flex-shrink: 0;
}

.chat-persona {
    display: flex;
    align-items: center;
    gap: 12px;
}

.persona-avatar {
    width: 44px;
    height: 44px;
    background: rgba(212, 149, 42, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.persona-info { display: flex; flex-direction: column; }

.persona-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.persona-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.chat-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.turn-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.msg-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.msg-row.rep {
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(212, 149, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.msg-avatar.rep {
    background: rgba(10, 22, 40, 0.15);
}

.msg-bubble {
    max-width: 70%;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid #eef0f2;
}

.msg-bubble.rep {
    background: #0a1628;
    border-color: #0a1628;
}

.msg-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(10, 22, 40, 0.5);
    margin-bottom: 4px;
}

.msg-bubble.rep .msg-label { color: rgba(255, 255, 255, 0.5); }

.msg-bubble > div:last-child,
.msg-bubble > p,
.msg-bubble { font-size: 15px; color: #0a1628; line-height: 1.6; }

.msg-bubble.rep > div:last-child,
.msg-bubble.rep > p,
.msg-bubble.rep { color: #ffffff; }

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #eef0f2;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #d4952a;
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-area {
    padding: 16px 24px;
    background: #ffffff;
    border-top: 1px solid #eef0f2;
    flex-shrink: 0;
}

.chat-input-inner {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    max-width: 800px;
    margin: 0 auto;
}

.chat-textarea {
    flex: 1;
    resize: none;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #0a1628;
    background: #f8f9fa;
    line-height: 1.5;
    max-height: 120px;
    overflow-y: auto;
}

.chat-textarea:focus { outline: none; border-color: #d4952a; }

.btn-send {
    width: 44px;
    height: 44px;
    background: #d4952a;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.btn-send:hover:not(:disabled) { background: #e8a830; transform: translateY(-1px); }
.btn-send:disabled { background: #eef0f2; cursor: not-allowed; }

.btn-send svg { width: 18px; height: 18px; color: #ffffff; }

.input-hint {
    text-align: center;
    font-size: 11px;
    color: #b0bbc5;
    margin-top: 8px;
}

/* ============================================
   COACH PAGE - RESULTS VIEW
   ============================================ */
#resultsView {
    padding: 96px 24px 48px;
    max-width: 640px;
    margin: 0 auto;
}

.results-inner {}

.results-header {
    text-align: center;
    margin-bottom: 32px;
}

.results-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.results-header p {
    font-size: 15px;
    color: #666d77;
}

.score-section {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
    padding: 32px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef0f2;
}

.score-circle {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.score-circle svg { transform: rotate(-90deg); }

.track { fill: none; stroke: #eef0f2; stroke-width: 10; }
.fill { fill: none; stroke-width: 10; stroke-linecap: round; }

.score-inner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0a1628;
    line-height: 1;
}

.score-label {
    font-size: 12px;
    color: #7a8a99;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.score-meta { flex: 1; }

.outcome-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.outcome-closed { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.outcome-stall { background: rgba(212, 149, 42, 0.1); color: #d4952a; }
.outcome-lost { background: rgba(220, 38, 38, 0.1); color: #dc2626; }
.outcome-other { background: #f0f1f3; color: #7a8a99; }

.difficulty-info { font-size: 13px; color: #7a8a99; }

.results-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef0f2;
    padding: 24px;
    margin-bottom: 20px;
}

.results-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 16px;
}

.cat-row { margin-bottom: 16px; }
.cat-row:last-child { margin-bottom: 0; }

.cat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.cat-name { font-size: 14px; font-weight: 600; color: #0a1628; }
.cat-score { font-size: 13px; color: #7a8a99; font-weight: 600; }

.cat-bar {
    height: 6px;
    background: #f0f1f3;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.cat-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.cat-feedback { font-size: 12px; color: #7a8a99; line-height: 1.5; }

.empty-state { font-size: 14px; color: #7a8a99; padding: 12px 0; }

.flag-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f1f3;
}
.flag-item:last-child { border-bottom: none; }
.flag-icon { color: #dc2626; font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.flag-text { font-size: 14px; color: #0a1628; font-style: italic; }

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f1f3;
}
.highlight-item:last-child { border-bottom: none; }
.highlight-icon { color: #d4952a; font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.highlight-text { font-size: 14px; color: #0a1628; }

.feedback-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f1f3;
}
.feedback-item:last-child { border-bottom: none; }
.feedback-icon { color: #16a34a; font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.feedback-text { font-size: 14px; color: #0a1628; line-height: 1.5; }

.results-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-action.primary { background: #d4952a; color: #ffffff; }
.btn-action.primary:hover { background: #e8a830; transform: translateY(-1px); }
.btn-action.secondary { background: rgba(212, 149, 42, 0.1); color: #d4952a; border: 1px solid rgba(212, 149, 42, 0.3); }
.btn-action.secondary:hover { background: rgba(212, 149, 42, 0.2); }
.btn-action.outline { background: transparent; color: #666d77; border: 1px solid #eef0f2; }
.btn-action.outline:hover { background: #f8f9fa; }

/* ============================================
   COACH PAGE - HISTORY MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 22, 40, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.modal-overlay.open { display: flex; }

.modal {
    background: #ffffff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eef0f2;
    flex-shrink: 0;
}

.modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a1628;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #7a8a99;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.modal-close:hover { background: #f0f1f3; color: #0a1628; }

.modal-body {
    overflow-y: auto;
    padding: 16px 24px;
    flex: 1;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f1f3;
}

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

.hist-diff { font-size: 24px; }

.hist-info { flex: 1; }

.hist-label { font-size: 14px; font-weight: 600; color: #0a1628; }
.hist-date { font-size: 12px; color: #7a8a99; margin-top: 2px; }

.hist-score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    min-width: 36px;
    text-align: right;
}

.no-history {
    text-align: center;
    padding: 40px 0;
    font-size: 15px;
    color: #7a8a99;
}

/* ============================================
   COACH PAGE - RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .diff-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .diff-grid { grid-template-columns: 1fr; }
    #difficultyView { padding: 88px 16px 40px; }
    .score-section { flex-direction: column; padding: 24px; }
    .score-circle { width: 120px; height: 120px; }
    .score-num { font-size: 28px; }
    .msg-bubble { max-width: 90%; }
    #resultsView { padding: 88px 16px 40px; }
}

/* Training responsive */
@media (max-width: 1024px) {
    .modules-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 48px; }
}

@media (max-width: 768px) {
    .auth-card, .payment-wall { padding: 32px 24px; margin: 24px 16px; }
    .modules-preview { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto 36px; }
    .payment-wall h1 { font-size: 26px; }
    .coach-card { flex-direction: column; padding: 28px 24px; }
    .stats-inner { grid-template-columns: 1fr; }
    .stats-inner .stat-card { border-right: none; border-bottom: 1px solid #eef0f2; padding: 20px; }
    .stats-inner .stat-card:last-child { border-bottom: none; }
}
