/* ============================================
   CALY-ELEC LANDING PAGE
   Style industriel sombre + accents jaune/orange
   ============================================ */

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

:root {
    /* Industrial palette */
    --bg-darker: #0a0e16;
    --bg-dark: #131824;
    --bg: #1a1f2e;
    --bg-elevated: #232938;
    --bg-light: #2d3548;
    --border: #2a3142;
    --border-light: #3a4256;

    /* Text */
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Accents (Hager/Schneider style) */
    --primary: #f59e0b;       /* amber 500 */
    --primary-dark: #d97706;  /* amber 600 */
    --primary-light: #fbbf24; /* amber 400 */
    --accent: #fb923c;        /* orange 400 */

    /* Status colors */
    --success: #22c55e;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Phase colors (electrical convention) */
    --color-l1: #ef4444;
    --color-l2: #e0e0e0;
    --color-l3: #a16207;
    --color-n: #3b82f6;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Layout */
    --container-max: 1280px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.15);

    /* Transitions */
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg-darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── BUTTONS ───────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #1a1a1a;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    border-color: var(--border-light);
    color: var(--text);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(245, 158, 11, 0.05);
}

.btn-ghost {
    color: var(--text-muted);
    padding: 8px 16px;
}
.btn-ghost:hover { color: var(--text); }

.btn-lg {
    padding: 16px 30px;
    font-size: 1rem;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ── HEADER ────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 14, 22, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    flex-shrink: 0;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    box-shadow: var(--shadow-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-tag { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.15em; margin-top: 3px; }

.main-nav {
    display: flex;
    gap: 32px;
}
.main-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.main-nav a:hover { color: var(--primary); }

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── HERO ──────────────────────────────────── */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(251, 146, 60, 0.06) 0%, transparent 40%),
        linear-gradient(rgba(245, 158, 11, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { max-width: 640px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}
.hero-title .accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero-subtitle strong { color: var(--text); }

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.trust-item svg { color: var(--success); flex-shrink: 0; }

/* Hero visual (right side) */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
    z-index: 2;
}
.hero-card-header {
    padding: 14px 18px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-card-dots { display: flex; gap: 6px; }
.hero-card-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--bg-light);
}
.hero-card-dots span:nth-child(1) { background: #ff5f56; }
.hero-card-dots span:nth-child(2) { background: #ffbd2e; }
.hero-card-dots span:nth-child(3) { background: #27c93f; }
.hero-card-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: monospace;
}
.hero-card-body {
    padding: 24px;
    background: var(--bg-darker);
}
.hero-card-body svg {
    width: 100%;
    height: auto;
}
.anim-dot { animation: flowDot 3s linear infinite; }
.anim-dot-1 { animation-delay: 0s; }
.anim-dot-2 { animation-delay: 1.5s; }
@keyframes flowDot {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(280px); opacity: 0; }
}
.hero-card-footer {
    padding: 14px 18px;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lab-badge {
    background: var(--primary);
    color: #1a1a1a;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.lab-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
}
.hero-decor-1 {
    width: 240px;
    height: 240px;
    background: var(--primary);
    top: -40px;
    right: -40px;
}
.hero-decor-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: -40px;
    left: -40px;
}

/* ── STATS BANNER ──────────────────────────── */
.stats-banner {
    padding: 50px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.stat-item {
    text-align: center;
}
.stat-value {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ── SECTIONS COMMON ───────────────────────── */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.section-tag.accent {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.3);
    color: var(--accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.section-title .accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.section-subtitle strong { color: var(--text); }

/* ── PROBLEM SECTION ───────────────────────── */
.problem-section {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.problem-card {
    padding: 36px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.problem-card:hover {
    border-color: var(--danger);
    transform: translateY(-4px);
}
.problem-icon {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--danger);
    margin-bottom: 20px;
}
.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.problem-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.problem-card strong { color: var(--text); }

/* ── SOLUTION SECTION ──────────────────────── */
.solution-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

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

.solution-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    overflow: hidden;
}
.solution-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.solution-card-featured {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.solution-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--bg-light);
    line-height: 1;
}

.solution-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.solution-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.solution-card strong { color: var(--text); }

.solution-features {
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.solution-features li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.solution-features li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ── DEMO SECTION ──────────────────────────── */
.demo-section {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.demo-card {
    padding: 32px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    color: var(--text);
    cursor: pointer;
    display: block;
}
.demo-card:hover {
    border-color: var(--primary);
    background: var(--bg-elevated);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.demo-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all var(--transition);
}
.demo-card:hover .demo-card-icon {
    background: var(--primary);
    color: #1a1a1a;
}
.demo-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.demo-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
    min-height: 50px;
}
.demo-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap var(--transition);
}
.demo-card:hover .demo-card-link { color: var(--primary-light); }

/* ── PARCOURS SECTION ──────────────────────── */
.parcours-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

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

.persona-card {
    padding: 36px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.persona-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}
.persona-card-featured {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.persona-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    line-height: 1;
}

.persona-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: 14px;
}

.persona-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.persona-card blockquote {
    padding: 14px 18px;
    background: var(--bg-elevated);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.persona-parcours {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.parcours-badge {
    padding: 6px 14px;
    background: var(--primary);
    color: #1a1a1a;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.persona-card > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
}
.persona-card strong { color: var(--text); }

.persona-card ul {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.persona-card ul li {
    padding: 5px 0 5px 20px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.persona-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* ── TRUST BADGES SECTION ──────────────────── */
.trust-section {
    padding: 60px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.trust-badge svg {
    color: var(--primary);
    flex-shrink: 0;
}
.trust-badge strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 4px;
}
.trust-badge span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── PRICING SECTION ───────────────────────── */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    padding: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.pricing-tab {
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition);
}
.pricing-tab.active {
    background: var(--primary);
    color: #1a1a1a;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-grid.hidden { display: none; }

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}
.pricing-card-featured {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}
.pricing-card-featured:hover { transform: scale(1.05) translateY(-4px); }
.pricing-card-wide {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #1a1a1a;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    box-shadow: var(--shadow-sm);
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.pricing-price {
    margin-bottom: 12px;
}
.price-amount {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.pricing-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-features {
    flex: 1;
    margin-bottom: 24px;
}
.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(58, 66, 86, 0.5);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features strong { color: var(--text); }

/* ── FINAL CTA ─────────────────────────────── */
.final-cta {
    padding: 100px 0;
    background: var(--bg-darker);
}

.cta-box {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-box h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.02em;
}
.cta-box h2 .accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-box p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    position: relative;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    position: relative;
}

/* ── FAQ SECTION ───────────────────────────── */
.faq-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

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

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item[open] { border-color: var(--primary); }

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--primary); }

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item strong { color: var(--text); }

/* ── FOOTER ────────────────────────────────── */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text);
}

.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--primary); }

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-legal-mini {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 16px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.85rem;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

/* ── MOBILE NAV (slide-down panel) ──────────── */
.main-nav.mobile-open {
    display: flex;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    z-index: 99;
}
.main-nav.mobile-open a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
}
.main-nav.mobile-open a:last-child { border-bottom: none; }

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ── RESPONSIVE — TABLET (≤ 1024px) ────────── */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }

    .header-inner { padding: 14px 20px; }

    /* Hero passes to 1 column */
    .hero { padding: 70px 0 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 50px; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-visual { max-width: 460px; margin: 0 auto; }
    .hero-cta { justify-content: center; }
    .hero-trust { justify-content: center; }

    /* Stats: 3 cols */
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .stat-value { font-size: 2.2rem; }

    /* Section grids */
    .problem-grid,
    .solution-grid,
    .demo-grid,
    .parcours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    /* If 3 items in grid of 2, last one spans full width */
    .problem-grid > :nth-child(3),
    .solution-grid > :nth-child(3),
    .demo-grid > :nth-child(3),
    .parcours-grid > :nth-child(3) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Pricing: stack */
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
    .pricing-card-featured { transform: none; }
    .pricing-card-featured:hover { transform: translateY(-4px); }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-col:first-child { grid-column: 1 / -1; }

    /* Section sizes */
    .problem-section, .solution-section, .demo-section,
    .parcours-section, .pricing-section, .final-cta, .faq-section {
        padding: 80px 0;
    }
}

/* ── RESPONSIVE — MOBILE (≤ 768px) ─────────── */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    /* Header: hide nav, show hamburger */
    .main-nav { display: none; }
    .header-cta .btn-ghost { display: none; }
    .header-cta .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
    .mobile-menu-toggle { display: flex; }
    .logo-tag { display: none; }
    .logo-name { font-size: 1rem; }
    .logo-icon { width: 38px; height: 38px; }

    /* Hero */
    .hero { padding: 50px 0 40px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .hero-subtitle { font-size: 1rem; margin-bottom: 28px; }
    .hero-badge { font-size: 0.72rem; padding: 6px 12px; }
    .hero-cta { flex-direction: column; gap: 12px; }
    .hero-cta .btn { width: 100%; padding: 16px 20px; font-size: 0.95rem; }
    .hero-trust {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: left;
    }
    .trust-item { font-size: 0.8rem; }

    /* Hero visual (smaller card) */
    .hero-visual { max-width: 100%; }
    .hero-card-title { font-size: 0.75rem; }
    .hero-decor { display: none; }

    /* Stats: 2 cols */
    .stats-banner { padding: 36px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
    .stat-value { font-size: 1.8rem; }
    .stat-label { font-size: 0.72rem; }

    /* Section header */
    .section-header { margin-bottom: 40px; }
    .section-tag { font-size: 0.7rem; padding: 5px 14px; }
    .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .section-subtitle { font-size: 0.95rem; }

    /* All grids: 1 col */
    .problem-grid,
    .solution-grid,
    .demo-grid,
    .parcours-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .problem-grid > :nth-child(3),
    .solution-grid > :nth-child(3),
    .demo-grid > :nth-child(3),
    .parcours-grid > :nth-child(3) {
        max-width: 100%;
    }
    .trust-badges { grid-template-columns: 1fr; }

    /* Cards padding reduction */
    .problem-card, .solution-card, .demo-card, .persona-card { padding: 28px 22px; }
    .solution-number { font-size: 2.4rem; top: 18px; right: 22px; }
    .persona-card-featured { transform: none; }

    /* Sections */
    .problem-section, .solution-section, .demo-section,
    .parcours-section, .pricing-section, .final-cta, .faq-section {
        padding: 60px 0;
    }

    /* Pricing tabs: full width */
    .pricing-tabs { width: 100%; max-width: 360px; }
    .pricing-tab { flex: 1; padding: 12px 16px; font-size: 0.85rem; }
    .pricing-card { padding: 32px 24px; }

    /* CTA box */
    .cta-box { padding: 40px 24px; }
    .cta-box h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .cta-buttons { flex-direction: column; gap: 12px; }
    .cta-buttons .btn { width: 100%; }

    /* FAQ */
    .faq-item summary { padding: 16px 18px; font-size: 0.92rem; }
    .faq-item p { padding: 0 18px 18px; font-size: 0.88rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-col:first-child { grid-column: auto; }
    .site-footer { padding: 50px 0 24px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 14px; padding-top: 24px; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 18px; }
}

/* ── RESPONSIVE — SMALL MOBILE (≤ 480px) ───── */
@media (max-width: 480px) {
    .stats-grid { gap: 24px 16px; }
    .hero-title { font-size: clamp(1.6rem, 9vw, 2.1rem); }
    .hero-card-body { padding: 16px; }
    .pricing-tabs { font-size: 0.8rem; }
    .pricing-tab { padding: 10px 12px; font-size: 0.78rem; }
}

/* ── TOUCH OPTIMIZATIONS ───────────────────── */
@media (hover: none) and (pointer: coarse) {
    /* Bigger tap targets */
    .btn { min-height: 44px; }
    .main-nav a { min-height: 44px; display: flex; align-items: center; }
    .pricing-tab { min-height: 44px; }
    .faq-item summary { min-height: 50px; }
    /* Disable hover transforms (jumpy on touch) */
    .problem-card:hover,
    .solution-card:hover,
    .demo-card:hover,
    .persona-card:hover,
    .pricing-card:hover { transform: none; }
}
