:root {
    --navy: #0c1f3d;
    --navy-light: #152d54;
    --teal: #5150B3;
    --teal-light: #6e6dc8;
    --brand: #5150B3;
    --brand-light: #6e6dc8;
    --brand-dark: #3f3e96;
    --brand-darker: #2d2c6e;
    --brand-gradient: linear-gradient(145deg, #5150B3 0%, #4342a0 45%, #3f3e96 100%);
    --brand-gradient-soft: linear-gradient(135deg, #5150B3 0%, #3f3e96 100%);
    --brand-gradient-deep: linear-gradient(180deg, #4342a0 0%, #2d2c6e 100%);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --slate: #64748b;
    --slate-light: #94a3b8;
    --bg: #f8fafc;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(12, 31, 61, 0.08);
    --shadow-lg: 0 20px 60px rgba(12, 31, 61, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--navy);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(12,31,61,0.06);
    transition: box-shadow 0.3s;
}

.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

.header .logo-img-light { display: none; }
.header .logo-img-dark { display: block; }

.footer .logo-img-light { display: block; }
.footer .logo-img-dark { display: none; }

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 800;
}

.nav { display: flex; align-items: center; gap: 2rem; }

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate);
    transition: color 0.2s;
}

.nav a:hover { color: var(--navy); }

.nav a.btn-primary,
.nav a.btn-primary:hover {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--teal), #3f3e96);
    color: white;
    box-shadow: 0 4px 14px rgba(81, 80, 179,0.35);
}

.btn-primary:hover { box-shadow: 0 6px 20px rgba(81, 80, 179,0.45); }

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #d97706);
    color: var(--navy);
    box-shadow: 0 4px 14px rgba(245,158,11,0.35);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--navy);
}

/* Hero */
.hero {
    position: relative;
    padding: 9rem 0 6rem;
    background: var(--brand-gradient);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(110, 109, 200, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    margin-bottom: 1.25rem;
}

.hero h1 em {
    font-style: italic;
    color: #fff;
}

.hero-lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.hero-visual {
    position: relative;
}

.hero-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 1.75rem;
    backdrop-filter: blur(8px);
}

.hero-card-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.hero-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(81, 80, 179,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hero-card-item strong { display: block; font-size: 0.95rem; }
.hero-card-item span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate);
    max-width: 640px;
    margin-bottom: 3rem;
}

/* Pain points */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pain-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-top: 3px solid #ef4444;
}

.pain-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pain-card p { font-size: 0.9rem; color: var(--slate); }

/* Platform */
.platform { background: white; }

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list { list-style: none; }

.feature-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.feature-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(81, 80, 179,0.12);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 700;
}

.feature-list strong { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.feature-list span { font-size: 0.85rem; color: var(--slate); }

.platform-visual {
    background: var(--brand-gradient-soft);
    border-radius: var(--radius);
    padding: 2rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.kpi-box {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.kpi-box .num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--teal-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.kpi-box .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 0.25rem; }

/* Qualiopi modules */
.qualiopi { background: var(--bg); }

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.module-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.module-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.module-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.module-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.module-card p { font-size: 0.85rem; color: var(--slate); }

/* Qualiopi Suite — présentation contrôles */
.qualiopi-pitch {
    margin-bottom: 3rem;
}

.qualiopi-lead {
    max-width: 52rem;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.65;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.control-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--teal);
}

.control-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.control-card .control-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.control-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.55;
}

.control-card li + li { margin-top: 0.35rem; }

.time-savings {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: linear-gradient(135deg, #5053a9 0%, #4346a0 100%);
    border-radius: var(--radius);
    padding: 1.75rem;
    color: white;
    margin-bottom: 2.5rem;
}

.time-savings-item {
    text-align: center;
}

.time-savings-item .num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
}

.time-savings-item .lbl {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.35rem;
    line-height: 1.35;
}

.qualiopi-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 2.5rem;
}

.flow-col {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.flow-col h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.flow-col.before h3 { color: #b45309; }
.flow-col.after h3 { color: var(--teal); }

.flow-col ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.55;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--teal);
    font-weight: 700;
}

.partner-pitch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.partner-pitch-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.partner-pitch-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.partner-pitch-card p,
.partner-pitch-card ul {
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.55;
}

.partner-pitch-card ul {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
}

@media (max-width: 900px) {
    .controls-grid,
    .modules-grid,
    .partner-pitch-grid { grid-template-columns: 1fr; }
    .time-savings { grid-template-columns: repeat(2, 1fr); }
    .qualiopi-flow { grid-template-columns: 1fr; }
    .flow-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
}

.catalogue { background: white; }

.catalogue-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 240px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--teal);
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #f1f5f9;
    color: var(--slate);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.pill.active, .pill:hover {
    background: var(--brand);
    color: white;
}

.catalogue-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--slate);
}

.catalogue-stats strong { color: var(--navy); }

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.formations-grid::-webkit-scrollbar { width: 6px; }
.formations-grid::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

.formation-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.formation-card:hover {
    border-color: var(--teal);
    box-shadow: 0 4px 16px rgba(81, 80, 179, 0.12);
}

.formation-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #f1f5f9;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.formation-thumb--flag {
    background: #fff;
    border: 1px solid #e2e8f0;
}

.formation-thumb--flag img {
    object-fit: contain;
    padding: 4px;
}

.formation-thumb-fallback {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}


.formation-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.formation-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.formation-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--slate);
}

.formation-meta .tag {
    background: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.formation-meta .hours { color: var(--teal); font-weight: 600; }

.formation-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.formation-modal[hidden] { display: none; }

.formation-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    border: 0;
    cursor: pointer;
}

.formation-modal-panel {
    position: relative;
    width: min(720px, 100%);
    max-height: min(85vh, 900px);
    overflow: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    padding: 1.75rem;
}

.formation-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--navy);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.formation-modal-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-right: 2.5rem;
}

.formation-modal-header img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
}

.formation-modal-header h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.formation-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.formation-modal-body {
    color: var(--slate);
    line-height: 1.7;
    font-size: 0.95rem;
}

.formation-modal-body p { margin-bottom: 0.75rem; }
.formation-modal-body ul,
.formation-modal-body ol { margin: 0.5rem 0 0.75rem 1.25rem; }

.formation-modal-loading {
    color: var(--slate);
    font-style: italic;
}

.formation-modal-footer {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.step-card {
    text-align: center;
    padding: 2rem 1.25rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-card::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
}

.step-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p { font-size: 0.85rem; color: var(--slate); }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid transparent;
}

.price-card.featured {
    border-color: var(--teal);
    position: relative;
}

.price-card.featured::before {
    content: 'Recommandé';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.price-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.price-amount small { font-size: 1rem; font-weight: 500; color: var(--slate); }

.price-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.price-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--slate);
    padding-left: 1.5rem;
    position: relative;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

.pricing-setup-wrap {
    max-width: 480px;
    margin: 0 auto 3rem;
}

.pricing-packs-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.pricing-packs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.pricing-packs-grid .price-card {
    padding: 1.75rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.pricing-packs-grid .price-card h3 {
    min-height: 2.75em;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.pricing-packs-grid .price-features {
    flex-grow: 1;
}

.pricing-packs-grid .price-card.featured::before {
    content: 'Le plus complet';
}

.pricing-packs-grid .price-amount {
    font-size: 2rem;
}

.pack-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.price-annual {
    margin: 1rem 0 1.25rem;
    padding: 0.85rem 0 0;
    border-top: 1px dashed #e2e8f0;
}

.price-annual-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 0.35rem;
}

.price-amount--annual {
    font-size: 1.45rem !important;
}

.price-annual-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.price-annual-strike {
    font-size: 0.9rem;
    color: var(--slate-light);
    text-decoration: line-through;
    font-weight: 500;
}

.pricing-footnote {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--slate);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .pricing-packs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .pricing-packs-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
}

/* Pack catalog detail */
.pack-catalog {
    padding: 4rem 0 5rem;
    background: var(--bg);
}

.pack-catalog-inner {
    text-align: center;
}

.pack-catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0 1.5rem;
}

.pack-catalog-tab {
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--navy);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.pack-catalog-tab:hover {
    border-color: var(--teal);
}

.pack-catalog-tab.active {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
}

.pack-catalog-panel {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
    text-align: left;
    overflow: hidden;
}

.pack-catalog-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.pack-catalog-stat {
    background: linear-gradient(180deg, #fafafe 0%, #fff 100%);
    padding: 1.25rem 1rem;
    text-align: center;
}

.pack-catalog-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1.2;
}

.pack-catalog-stat span {
    font-size: 0.8rem;
    color: var(--slate);
}

.pack-catalog-search {
    padding: 1rem 1.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.pack-catalog-search .search-box {
    max-width: 100%;
}

.pack-catalog-body {
    padding: 1.5rem 1.75rem 1.75rem;
    max-height: 520px;
    overflow-y: auto;
}

.pack-catalog-group + .pack-catalog-group {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.pack-catalog-group-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.pack-catalog-group-head h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
}

.pack-catalog-group-head span {
    font-size: 0.75rem;
    color: var(--slate);
    white-space: nowrap;
}

.pack-catalog-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 1rem;
}

.pack-catalog-card {
    padding: 0.75rem 1rem;
    align-items: center;
}

.pack-catalog-card .formation-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
}

.pack-catalog-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.pack-catalog-card-title {
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}

.pack-catalog-card-hours {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--teal);
    background: rgba(81, 80, 179, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

.pack-catalog-empty {
    text-align: center;
    color: var(--slate);
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .pack-catalog-stats { grid-template-columns: 1fr; }
    .pack-catalog-cards { grid-template-columns: 1fr; }
    .pack-catalog-body { max-height: none; }
}

/* CTA */
.cta-section {
    position: relative;
    background: var(--brand-gradient);
    color: white;
    text-align: center;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(110, 109, 200, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.hero .btn-gold,
.cta-section .btn-gold {
    color: #fff;
}

/* Demo form */
.demo-section { background: var(--bg); }

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.demo-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
}

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

/* Footer */
.footer {
    position: relative;
    background: var(--brand-gradient);
    color: rgba(255,255,255,0.85);
    padding: 3rem 0 2rem;
    font-size: 0.85rem;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(110, 109, 200, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.footer .container {
    position: relative;
}

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

.footer .logo { color: white; margin-bottom: 1rem; }

.footer a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--slate);
}

@media (max-width: 968px) {
    .hero-grid, .platform-grid, .demo-grid { grid-template-columns: 1fr; }
    .pain-grid, .modules-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav { display: none; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem;
        box-shadow: var(--shadow);
        gap: 1rem;
    }
    .menu-toggle { display: block; }
    .hero { padding-top: 7rem; }
    .hero-visual { display: none; }
}

@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
}
