:root {
    --bg-primary: #090D16;
    --bg-secondary: #0F1624;
    --bg-card: #131C2E;
    --bg-card-hover: #182338;
    --border-subtle: rgba(148, 163, 184, 0.14);
    --border-highlight: rgba(56, 189, 248, 0.45);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #8A9AB2;
    --accent-indigo: #4F46E5;
    --accent-cyan: #0EA5E9;
    --accent-sky: #38BDF8;
    --accent-emerald: #10B981;
    --accent-danger: #EF4444;
    --accent-amber: #F59E0B;
    --control-height: 48px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

body {
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.22), rgba(14, 165, 233, 0.22));
    border-bottom: 1px solid var(--border-subtle);
    padding: 9px 0;
    font-size: 0.85rem;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
}

.badge-pill {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: 999px;
}

.announcement-text {
    color: #E2E8F0;
}

.announcement-link {
    color: var(--accent-sky);
    font-weight: 600;
}

.announcement-link:hover {
    text-decoration: underline;
}

/* Header & Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 13, 22, 0.84);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', sans-serif;
    font-weight: 800;
    font-size: 1.32rem;
    letter-spacing: -0.03em;
    color: #fff;
}

.brand-os {
    color: var(--accent-sky);
    margin-left: 3px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.main-nav a:hover {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0 9px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-toggle:hover {
    border-color: var(--accent-sky);
}

.lang-opt.active {
    color: var(--accent-sky);
}

.lang-divider {
    opacity: 0.4;
}

/* Form Controls & Buttons — Strict Height Parity */
.input-field,
.select-field {
    height: var(--control-height);
    line-height: calc(var(--control-height) - 2px);
    padding: 0 14px;
    background: #0B111E;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-field {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

textarea.input-field {
    height: auto;
    line-height: 1.5;
    padding: 12px 14px;
    resize: vertical;
}

.input-field:focus,
.select-field:focus {
    outline: none;
    border-color: var(--accent-sky);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--control-height);
    padding: 0 22px;
    border-radius: var(--radius-sm);
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-sm {
    height: 38px;
    padding: 0 16px;
    font-size: 0.86rem;
}

.btn-lg {
    height: var(--control-height);
    padding: 0 26px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    color: #fff;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.38);
}

.btn-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.3);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-sky);
    background: rgba(56, 189, 248, 0.08);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 76px 0 88px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-1 {
    width: 480px;
    height: 480px;
    background: rgba(79, 70, 229, 0.22);
    top: -120px;
    left: -100px;
}

.hero-glow-2 {
    width: 440px;
    height: 440px;
    background: rgba(14, 165, 233, 0.18);
    bottom: -80px;
    right: -80px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-sky);
    margin-bottom: 22px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.hero-title {
    font-size: clamp(2.3rem, 4.2vw, 3.55rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, #60A5FA 0%, #38BDF8 50%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 620px;
}

.hero-waitlist-form {
    background: rgba(19, 28, 46, 0.85);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.hero-form-row {
    display: grid;
    grid-template-columns: 1.25fr 1fr auto;
    gap: 10px;
    align-items: center;
}

.hero-form-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Hero OS Window Mockup */
.os-window {
    background: var(--bg-secondary);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.os-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0B101B;
    border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
    display: flex;
    gap: 7px;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
}

.window-dots span:nth-child(1) { background: #EF4444; }
.window-dots span:nth-child(2) { background: #F59E0B; }
.window-dots span:nth-child(3) { background: #10B981; }

.window-url {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.76rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 12px;
    border-radius: 6px;
}

.window-badge {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: #34D399;
    background: rgba(16, 185, 129, 0.14);
    padding: 2px 8px;
    border-radius: 99px;
}

.os-window-body {
    padding: 20px;
}

.mock-kpi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.mock-kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.kpi-label {
    display: block;
    font-size: 0.76rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.kpi-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.kpi-trend {
    font-size: 0.78rem;
    color: var(--accent-emerald);
    font-weight: 600;
}

.kpi-sub {
    font-size: 0.74rem;
    color: var(--accent-sky);
    font-weight: 600;
}

.mock-pipeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.mock-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    flex-shrink: 0;
}

.icon-blue { background: rgba(59, 130, 246, 0.18); color: #60A5FA; }
.icon-purple { background: rgba(139, 92, 246, 0.18); color: #A78BFA; }
.icon-emerald { background: rgba(16, 185, 129, 0.18); color: #34D399; }
.icon-amber { background: rgba(245, 158, 11, 0.18); color: #FBBF24; }

.mock-details {
    flex: 1;
    min-width: 0;
}

.mock-details strong {
    display: block;
    font-size: 0.85rem;
    color: #F1F5F9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-details span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.mock-status {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
}

.status-green { background: rgba(16, 185, 129, 0.15); color: #34D399; }
.status-cyan { background: rgba(14, 165, 233, 0.15); color: #38BDF8; }
.status-emerald { background: rgba(52, 211, 153, 0.15); color: #6EE7B7; }
.status-amber { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }

/* Sections General */
.section {
    padding: 88px 0;
    border-top: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent-sky);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Sprawl Comparison */
.sprawl-comparison {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    align-items: stretch;
}

.sprawl-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sprawl-new {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.14) 0%, rgba(19, 28, 46, 0.95) 100%);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-lg);
}

.sprawl-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 12px;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.16);
    color: #F87171;
}

.badge-primary {
    background: rgba(56, 189, 248, 0.18);
    color: var(--accent-sky);
}

.sprawl-card-header h3 {
    font-size: 1.4rem;
    margin-bottom: 22px;
}

.sprawl-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
}

.sprawl-old .sprawl-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.16);
    color: var(--text-secondary);
}

.sprawl-cost {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    color: #F87171;
    font-weight: 600;
}

.sprawl-list-check li {
    position: relative;
    padding-left: 28px;
    color: #E2E8F0;
    font-size: 0.96rem;
}

.sprawl-list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-emerald);
    font-weight: 800;
}

.sprawl-footer {
    padding: 14px 16px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: #FCA5A5;
    font-weight: 500;
}

.sprawl-footer-highlight {
    background: rgba(16, 185, 129, 0.12);
    color: #6EE7B7;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.35);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
}

/* AI Spotlight Card (Claude Integration) */
.ai-spotlight-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(147, 51, 234, 0.10) 50%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(129, 140, 248, 0.35);
    border-radius: var(--radius-lg);
    padding: 34px 38px;
    margin-bottom: 36px;
    box-shadow: 0 10px 36px rgba(79, 70, 229, 0.18);
    position: relative;
    overflow: hidden;
}

.ai-spotlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.ai-spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(99, 102, 241, 0.22);
    border: 1px solid rgba(129, 140, 248, 0.45);
    color: #c7d2fe;
    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}

.ai-spotlight-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.ai-spotlight-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 880px;
    margin-bottom: 24px;
}

.ai-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ai-feature-item {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ai-feature-item:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 140, 248, 0.4);
}

.ai-feature-item strong {
    display: block;
    color: #e0e7ff;
    font-size: 0.98rem;
    margin-bottom: 7px;
}

.ai-feature-item span {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 820px) {
    .ai-features-row {
        grid-template-columns: 1fr;
    }
    .ai-spotlight-card {
        padding: 24px 20px;
    }
}

/* Industry Modules Tabs */
.module-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.module-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: var(--control-height);
    padding: 0 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.module-tab:hover {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.35);
}

.module-tab.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.28), rgba(14, 165, 233, 0.28));
    border-color: var(--accent-sky);
    color: #fff;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.18);
}

.module-panel {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.module-panel.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.module-panel-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 36px;
    align-items: center;
}

.module-badge {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.75rem;
    color: var(--accent-sky);
    font-weight: 600;
    margin-bottom: 10px;
}

.module-info h3 {
    font-size: 1.65rem;
    margin-bottom: 14px;
}

.module-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.module-Waitlist-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.module-Waitlist-bullets li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    color: #E2E8F0;
}

.module-Waitlist-bullets li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-sky);
    font-weight: 700;
}

.module-spec-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
}

.spec-header {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.74rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec-tags span {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.24);
    color: #E0F2FE;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
}

/* Security Section */
.security-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
    align-items: center;
}

.security-content .section-title,
.security-content .section-desc {
    text-align: left;
}

.security-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.sec-pillar h3 {
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.sec-pillar p {
    color: var(--text-secondary);
    font-size: 0.93rem;
}

.compliance-seal {
    background: linear-gradient(160deg, #131C2E 0%, #0D1524 100%);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-lg);
}

.seal-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.16);
    color: #34D399;
    margin-bottom: 16px;
}

.compliance-seal h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.compliance-seal p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.seal-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.93rem;
    color: #E2E8F0;
}

/* Packages Section */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.package-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-featured {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.16) 0%, var(--bg-card) 100%);
    border-color: var(--accent-sky);
    box-shadow: var(--shadow-lg);
}

.featured-ribbon {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 99px;
    letter-spacing: 0.06em;
}

.pkg-label {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.74rem;
    color: var(--accent-sky);
    font-weight: 600;
}

.pkg-top h3 {
    font-size: 1.45rem;
    margin: 8px 0 10px;
}

.pkg-subtitle {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.pkg-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 0.92rem;
    color: #E2E8F0;
}

.pkg-features li {
    position: relative;
    padding-left: 22px;
}

.pkg-features li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--accent-sky);
    font-weight: 800;
}

.pkg-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 6px;
}

.pkg-price-main {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pkg-price-unit {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pkg-price-meta {
    font-size: 0.82rem;
    color: var(--accent-sky);
    margin-bottom: 16px;
    font-weight: 500;
}

.plans-compare-trigger-wrap {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.plans-compare-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
}

/* Shown only once plans are published from the Plan Builder (app.js renderPlansUi). */
.plans-compare-toggle-btn[hidden] {
    display: none;
}

.plans-compare-chevron {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.plans-compare-toggle-btn[aria-expanded="true"] .plans-compare-chevron {
    transform: rotate(180deg);
}

.packages-custom-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.packages-custom-note a {
    color: var(--accent-sky);
    text-decoration: underline;
}

.plans-compare-matrix-wrap {
    margin-top: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.plans-compare-matrix-scroll {
    overflow-x: auto;
    width: 100%;
}

.m365-matrix-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.m365-matrix-table th,
.m365-matrix-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    vertical-align: middle;
}

.m365-matrix-table th:last-child,
.m365-matrix-table td:last-child {
    border-right: none;
}

.m365-matrix-corner {
    width: 34%;
    background: rgba(15, 23, 42, 0.85);
    vertical-align: bottom !important;
}

.m365-matrix-plan-th {
    text-align: center !important;
    background: rgba(15, 23, 42, 0.72);
    vertical-align: top !important;
}

.m365-matrix-plan-th.is-featured {
    background: rgba(79, 70, 229, 0.16);
    border-top: 3px solid var(--accent-sky);
}

.m365-plan-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-sky);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.m365-plan-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.m365-plan-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 6px 0 2px;
}

.m365-plan-subprice {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.m365-section-row td {
    background: rgba(56, 189, 248, 0.09);
    color: var(--accent-sky);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 16px;
}

.m365-cell-val {
    text-align: center !important;
    color: #E2E8F0;
}

.m365-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.18);
    color: #34D399;
    font-weight: 800;
    font-size: 0.85rem;
}

.m365-dash {
    color: #64748B;
    font-weight: 600;
}

.m365-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(56, 189, 248, 0.14);
    color: var(--accent-sky);
}

.selected-plan-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #E2E8F0;
    font-size: 0.86rem;
}

.selected-plan-clear {
    background: none;
    border: none;
    color: var(--accent-sky);
    cursor: pointer;
    font-size: 0.82rem;
    text-decoration: underline;
}

/* Waitlist Section */
.waitlist-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 44px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.waitlist-Copy h2 {
    font-size: 2.1rem;
    margin-bottom: 14px;
}

.waitlist-Copy p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.wl-perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wl-perk {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wl-perk strong {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.82rem;
    color: var(--accent-sky);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 5px 9px;
    border-radius: 6px;
}

.waitlist-form-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 30px;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 6px;
}

.form-privacy {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Honeypot anti-spam trap: invisible to humans and screen readers, exposed to automated crawlers */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.turnstile-wrap {
    display: flex;
    justify-content: center;
    margin: 4px 0 8px 0;
    min-height: 0;
}

.form-error {
    margin: 0 0 12px 0;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(248, 113, 113, 0.5);
    background: rgba(248, 113, 113, 0.12);
    color: #fecaca;
    font-size: 14px;
    line-height: 1.45;
}

.waitlist-success {
    text-align: center;
    padding: 32px 16px;
}

.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.18);
    color: var(--accent-emerald);
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.waitlist-success h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.waitlist-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 44px 0;
    background: #060911;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand p {
    margin-top: 6px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-social-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    transition: transform 0.15s ease, fill 0.15s ease;
}

.footer-social-link:hover svg {
    fill: #1877F2;
    transform: scale(1.1);
}

.module-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Interactive ROI Calculator */
.roi-calculator {
    margin-top: 40px;
    background: linear-gradient(145deg, rgba(19, 28, 46, 0.95), rgba(15, 22, 36, 0.98));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.roi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 28px;
}

.roi-header h3 {
    font-size: 1.55rem;
}

.roi-team-control {
    min-width: 280px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
}

.roi-team-control label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.roi-team-control strong {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 1.15rem;
    color: var(--accent-sky);
}

.roi-slider {
    width: 100%;
    accent-color: var(--accent-sky);
    cursor: pointer;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}

.roi-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.roi-tools {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roi-check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.roi-check-item:hover {
    border-color: var(--accent-sky);
}

.roi-check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-sky);
    flex-shrink: 0;
}

.roi-tool-name {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 500;
    color: #E2E8F0;
}

.roi-tool-rate {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.roi-results {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.roi-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.roi-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.roi-stat-label {
    display: block;
    font-size: 0.76rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.roi-stat-val {
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.text-danger { color: #F87171; }
.text-sky { color: var(--accent-sky); }

.roi-highlight-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(14, 165, 233, 0.14));
    border: 1px solid rgba(16, 185, 129, 0.38);
    border-radius: var(--radius-sm);
    padding: 18px;
    text-align: center;
}

.roi-highlight-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #A7F3D0;
    margin-bottom: 4px;
}

.roi-highlight-value {
    display: block;
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #34D399;
    margin-bottom: 6px;
}

.roi-highlight-sub {
    font-size: 0.76rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-surface);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.faq-item[open] {
    border-color: rgba(99, 102, 241, 0.45);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--accent-sky);
    font-size: 1.2rem;
    line-height: 1;
    margin-left: 16px;
    flex-shrink: 0;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: rgba(99, 102, 241, 0.2);
    color: #A5B4FC;
}

.faq-answer {
    padding: 0 28px 24px 28px;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 16px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid,
    .sprawl-comparison,
    .roi-grid,
    .module-panel-grid,
    .security-grid,
    .waitlist-box {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .packages-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 680px) {
    .hero-form-row,
    .form-row-2,
    .feature-grid,
    .packages-grid,
    .mock-kpi-row,
    .roi-stat-row {
        grid-template-columns: 1fr;
    }

    .waitlist-box,
    .module-panel,
    .roi-calculator {
        padding: 24px;
    }
}

/* Buttons whose label can be long (French especially): wrap onto two lines instead of
   overflowing the fixed-height pill. */
.btn-wrap {
    height: auto;
    min-height: var(--control-height);
    padding: 10px 22px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.main-nav a.nav-current {
    color: var(--text-primary);
}

/* Partners page (partners.html) and the home page's partners section */
.partner-hero {
    padding: 72px 0 64px;
}

.partner-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    text-align: center;
}

.partner-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 18px;
}

.partner-hero-sub {
    color: var(--text-secondary);
    font-size: 1.08rem;
    max-width: 760px;
    margin: 0 auto 30px;
}

.partner-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}

.partner-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: left;
}

.partner-stats li {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.partner-stats strong {
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-sky);
}

.partner-stats span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.35);
}

.partner-card-accent {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.14) 0%, rgba(19, 28, 46, 0.95) 100%);
}

.partner-card-tag {
    align-self: flex-start;
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent-sky);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 14px;
}

.partner-card-tag-emerald {
    color: #6EE7B7;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.partner-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.partner-card-for {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.partner-card-link {
    margin-top: auto;
    padding-top: 6px;
    color: var(--accent-sky);
    font-weight: 600;
}

.partner-card-link:hover {
    color: #fff;
}

.partner-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-checklist li {
    position: relative;
    padding-left: 26px;
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.partner-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-emerald);
    font-weight: 700;
}

.partner-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.18) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(129, 140, 248, 0.35);
    border-radius: var(--radius-lg);
    padding: 34px 38px;
    max-width: 1040px;
    margin: 0 auto;
}

.partner-cta > div {
    flex: 1 1 420px;
}

.partner-cta h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.partner-cta p {
    color: var(--text-secondary);
}

@media (max-width: 820px) {
    .partner-grid,
    .partner-stats {
        grid-template-columns: 1fr;
    }

    .partner-card,
    .partner-cta {
        padding: 24px;
    }

    .partner-hero {
        padding: 48px 0 40px;
    }
}

/* Phones and tablets: a grid that collapses to one column must not grow wider than the screen
   (1fr = minmax(auto, 1fr) let long hero text and the savings calculator push the page to
   ~520px on a 375px phone, cutting off buttons). */
@media (max-width: 1024px) {
    .hero-grid,
    .sprawl-comparison,
    .roi-grid,
    .module-panel-grid,
    .security-grid,
    .waitlist-box {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .hero-form-row,
    .form-row-2,
    .feature-grid,
    .packages-grid,
    .mock-kpi-row,
    .roi-stat-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* One card centred (the home page's partner section, the partners page's permissions). */
.partner-grid-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
}

/* Solo Rebate: the banner under the home hero, and its block in Forfaits (#solo). */
.solo-banner {
    display: flex;
    align-items: center;
    gap: 14px 18px;
    flex-wrap: wrap;
    margin: 0 auto 8px;
    padding: 14px 22px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.solo-banner:hover {
    border-color: rgba(16, 185, 129, 0.6);
    transform: translateY(-1px);
}

.solo-banner-tag {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #6EE7B7;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 999px;
    padding: 4px 12px;
    white-space: nowrap;
}

.solo-banner-text {
    flex: 1 1 320px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.solo-banner-link {
    color: #6EE7B7;
    font-weight: 700;
    white-space: nowrap;
}

.solo-rebate {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px 40px;
    align-items: center;
    margin-top: 32px;
    padding: 32px 36px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(19, 28, 46, 0.95) 60%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    scroll-margin-top: 90px;
}

.solo-rebate-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.solo-rebate h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.solo-rebate-copy p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.solo-rebate-copy p:last-child {
    margin-bottom: 0;
}

@media (max-width: 820px) {
    .solo-rebate {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px;
    }
}

/* Optional Add-Ons card shown under the 3 modular bundles (index.html #packages & plans.html #bundles) */
.addons-card {
    margin-top: 32px;
    padding: 32px 36px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(19, 28, 46, 0.96) 65%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-lg);
}

.addons-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 720px;
}

.addons-card-header h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.addons-card-header p {
    color: var(--text-secondary);
    margin: 0;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin-top: 24px;
}

.addon-item {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    transition: border-color 0.2s ease;
}

.addon-item:hover {
    border-color: rgba(56, 189, 248, 0.35);
}

.addon-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.addon-item-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.addon-item-title-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.addon-badge {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6EE7B7;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 999px;
    padding: 2px 8px;
}

.addon-price {
    font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-sky);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 999px;
    padding: 2px 10px;
    white-space: nowrap;
}

.addon-note {
    font-size: 0.8rem;
    color: var(--accent-sky);
    margin-top: 6px;
}

.addon-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .addons-card {
        padding: 24px;
    }

    .addons-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Mid-size screens: the menu's links sit closer so they never crowd the logo or the
   language switch before the menu hides at 1024px. */
@media (max-width: 1200px) {
    .main-nav {
        gap: 18px;
        font-size: 0.88rem;
    }
}

/* Phones: a compact header. */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .brand-logo {
        gap: 7px;
    }

    .brand-logo .logo-icon {
        width: 28px;
        height: 28px;
    }

    .brand-name {
        font-size: 1.05rem;
    }

}

/* Phones: full-size buttons wrap a long label onto two lines (the French labels especially)
   instead of clipping it inside the fixed-height pill. */
@media (max-width: 680px) {
    .btn:not(.btn-sm) {
        height: auto;
        min-height: var(--control-height);
        padding-top: 10px;
        padding-bottom: 10px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
}

/* ==========================================================================
   Dedicated Plans & Pricing Page (plans.html)
   ========================================================================== */
.plans-hero {
    padding: 132px 0 48px;
}

.plans-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.plans-hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 14px 0 18px;
}

.plans-hero-sub {
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto;
}

.seat-estimator {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.seat-estimator[hidden] {
    display: none;
}

.seat-estimator-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seat-estimator-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.seat-estimator-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.seat-estimator-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    flex: 1 1 320px;
    justify-content: flex-end;
}

.seat-range {
    flex: 1 1 180px;
    max-width: 280px;
    accent-color: var(--accent-sky);
    cursor: pointer;
}

.seat-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
}

.seat-step-btn {
    width: 38px;
    height: var(--control-height);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.seat-step-btn:hover {
    background: rgba(56, 189, 248, 0.12);
}

.seat-number-input {
    width: 64px;
    height: var(--control-height);
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.seat-number-input:focus {
    outline: 2px solid var(--accent-sky);
    outline-offset: -2px;
}

.seat-solo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #6EE7B7;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.32);
    border-radius: 999px;
    padding: 5px 12px;
    white-space: nowrap;
}

.seat-solo-pill[hidden] {
    display: none;
}

.pkg-trial-pill {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #6EE7B7;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pkg-estimate-box {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.22);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.pkg-estimate-total {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.pkg-seat-warn {
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #FBBF24;
}

.plans-state-card {
    padding: 40px 28px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    max-width: 680px;
    margin: 0 auto;
}

.plans-state-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.plans-state-card p {
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.plans-state-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.plans-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.plans-skeleton-card {
    min-height: 420px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(110deg, var(--bg-card) 30%, rgba(56, 189, 248, 0.07) 50%, var(--bg-card) 70%);
    background-size: 200% 100%;
    animation: plansShimmer 1.4s ease-in-out infinite;
}

@keyframes plansShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .plans-skeleton-card {
        animation: none;
    }
}

.plans-matrix-always-open {
    margin-top: 12px;
}

.plans-compare-matrix-scroll:focus-visible {
    outline: 2px solid var(--accent-sky);
    outline-offset: -2px;
}

.m365-matrix-table tbody th.m365-row-header {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    background: var(--bg-card);
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.m365-section-row th {
    background: rgba(56, 189, 248, 0.08);
    color: var(--accent-sky);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 16px;
}

.main-nav a[aria-current="page"] {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--accent-sky);
}

.plans-bundles-section[hidden],
.plans-comparison-section[hidden] {
    display: none;
}

@media (max-width: 720px) {
    .plans-hero {
        padding: 112px 0 36px;
    }

    .seat-estimator {
        padding: 18px;
    }

    .seat-estimator-controls {
        justify-content: flex-start;
    }
}

/* Footer Cookie Settings button (matches .footer-links a) & Law 25 s. 8 waitlist collection notice */
.footer-link-btn {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-link-btn:hover,
.footer-link-btn:focus-visible {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-collection-notice {
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: center;
}

.form-collection-notice a {
    color: var(--accent-sky);
    text-decoration: underline;
    text-underline-offset: 2px;
}
