/* ═══════════════════════════════════════════════════════
   Card IA — v5 Ultra Premium SaaS 2026
   Level: Stripe / Linear / Vercel
   ═══════════════════════════════════════════════════════ */

/* Font loaded via layout.php preconnect+link (no duplicate @import) */

:root {
    --bg: #050507;
    --bg-1: #0a0a0f;
    --bg-2: #0f0f16;
    --bg-3: #16161f;
    --bg-4: #1e1e28;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #f0f0f5;
    --text-2: #9d9db5;
    --text-3: #6b6b80;
    --text-4: #3a3a4a;
    --violet: #7c5cfc;
    --violet-light: #a78bfa;
    --blue: #3b82f6;
    --cyan: #22d3ee;
    --emerald: #10b981;
    --rose: #f43f5e;
    --amber: #f59e0b;
    --grad: linear-gradient(135deg, #7c5cfc, #3b82f6, #22d3ee);
    --grad-glow: linear-gradient(135deg, rgba(124,92,252,0.15), rgba(59,130,246,0.1), rgba(34,211,238,0.08));
    --font: 'Inter', -apple-system, system-ui, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --max-w: 1320px;
    --header-h: 68px;
    --section-gap: clamp(140px, 18vw, 240px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text-2); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
::selection { background: rgba(124,92,252,0.25); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(24px, 5vw, 56px); }

/* ═══ 1. NAVBAR ═══════════════════════════════════════ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    height: var(--header-h);
    background: rgba(5,5,7,0.5);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid transparent;
    transition: all 0.4s;
}
.site-header.scrolled { background: rgba(5,5,7,0.9); border-color: var(--border); }
.header-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(28px, 5vw, 56px);
    height: 100%; display: flex; align-items: center; gap: 40px;
}
.logo { font-size: 1.1rem; font-weight: 800; color: var(--text); letter-spacing: -0.04em; display: flex; align-items: center; gap: 8px; }
.logo-highlight { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-icon svg { display: block; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.nav-link { padding: 8px 16px; color: var(--text-3); font-size: 0.875rem; font-weight: 500; border-radius: 8px; transition: all 0.2s; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--text); }
.nav-icon { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-toggle { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--text-3); transition: all 0.2s; }
.search-toggle:hover { color: var(--text); background: rgba(255,255,255,0.04); }

/* Buttons */
.btn-primary, .btn-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px;
    background: var(--grad);
    color: #fff; font-size: 0.9375rem; font-weight: 600; border-radius: 12px;
    transition: all 0.35s var(--ease);
    box-shadow: 0 4px 16px rgba(124,92,252,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover, .btn-cta:hover {
    color: #fff; transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(124,92,252,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-lg { padding: 18px 40px; font-size: 1.0625rem; border-radius: 14px; }
.btn-sm { padding: 7px 16px; font-size: 0.8125rem; }
.btn-ghost, .btn-outline {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px;
    border: 1px solid var(--border-hover); border-radius: 10px;
    color: var(--text-2); font-size: 0.875rem; font-weight: 500;
    transition: all 0.3s var(--ease);
}
.btn-ghost:hover, .btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.03); }
.btn-ghost.btn-lg, .btn-outline.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }

.mobile-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 10px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mobile-toggle span { display: block; height: 2px; width: 22px; background: var(--text); border-radius: 2px; transition: 0.3s; }
/* Hamburger → X animation */
.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Mobile menu (outside header, own stacking context) ── */
.mobile-menu {
    display: none; position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 99999;
    overflow-y: auto; padding: 0;
    opacity: 0; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    pointer-events: none;
}
.mobile-menu.open {
    display: block; opacity: 1; transform: none; pointer-events: auto;
}
.mobile-menu-nav {
    display: flex; flex-direction: column;
    max-width: var(--max-w); margin: 0 auto;
    padding: 16px 24px;
}
.mobile-menu-link {
    display: flex; align-items: center;
    padding: 20px 16px; font-size: 1.15rem; font-weight: 600;
    color: var(--text) !important; text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s, padding-left 0.2s;
}
.mobile-menu-link:last-child { border-bottom: none; }
.mobile-menu-link:hover, .mobile-menu-link:active {
    background: rgba(124,92,252,0.08); padding-left: 24px;
}

/* Search */
.search-overlay { position: fixed; inset: 0; background: rgba(5,5,7,0.9); backdrop-filter: blur(12px); z-index: 200; display: flex; align-items: start; justify-content: center; padding-top: 20vh; opacity: 0; pointer-events: none; transition: 0.3s; }
.search-overlay[hidden] { display: none; }
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-box { width: 100%; max-width: 540px; position: relative; }
.search-box input { width: 100%; padding: 18px 22px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; color: var(--text); font-size: 1.05rem; font-family: var(--font); outline: none; transition: 0.2s; }
.search-box input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,252,0.15); }
.search-box input::placeholder { color: var(--text-4); }
.search-close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 1.3rem; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.search-close:hover { background: rgba(255,255,255,0.05); }

/* ═══ LAYOUT ══════════════════════════════════════════ */
#content {
    padding-top: var(--header-h);
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: clamp(24px, 5vw, 56px);
    padding-right: clamp(24px, 5vw, 56px);
}

/* ═══ 2. HERO ═════════════════════════════════════════ */
.hero-bg { position: fixed; top: 0; left: 0; right: 0; height: 100vh; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-orb { position: absolute; border-radius: 50%; }
.hero-orb-1 { width: 800px; height: 600px; top: -200px; left: 5%; background: radial-gradient(circle, rgba(124,92,252,0.08) 0%, transparent 70%); filter: blur(100px); }
.hero-orb-2 { width: 600px; height: 500px; top: 0; right: 0%; background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 70%); filter: blur(100px); }
.hero-grid { display: none; }

.hero {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    padding: clamp(60px, 8vh, 120px) 0;
}
.hero-content {}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px 6px 6px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    margin-bottom: 28px;
    font-size: 0.8125rem; color: var(--text-2); font-weight: 500;
}
.hero-badge-text {}
.hero h1 {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: var(--text);
    margin-bottom: 28px;
}
.gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle, .hero p {
    font-size: 1.15rem; color: var(--text-2);
    max-width: 480px; line-height: 1.8;
    margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { margin-top: 56px; }
.hero-trust-label { font-size: 0.6875rem; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }
.hero-trust-logos { display: flex; align-items: center; gap: 28px; margin-top: 14px; flex-wrap: wrap; }
.trust-logo { font-size: 0.8125rem; font-weight: 600; color: var(--text-4); transition: color 0.3s; }
.trust-logo:hover { color: var(--text-3); }

/* Hero visual — right side mockup */
.hero-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 400px;
}
.hero-mockup {
    position: relative; width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 32px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04), 0 0 80px rgba(124,92,252,0.06);
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.6s var(--ease);
}
.hero-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.hero-mockup::before {
    content: '';
    position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--blue), transparent);
    opacity: 0.5;
}
.mockup-header { display: flex; gap: 6px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: var(--rose); }
.mockup-dot:nth-child(2) { background: var(--amber); }
.mockup-dot:nth-child(3) { background: var(--emerald); }
.mockup-tools { display: flex; flex-direction: column; gap: 10px; }
.mockup-tool {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.35s var(--ease);
    animation: float-in 0.8s var(--ease) backwards;
}
.mockup-tool:hover {
    background: var(--bg-4);
    border-color: var(--border-hover);
    transform: translateX(4px);
}
.mockup-tool:nth-child(1) { animation-delay: 0.2s; }
.mockup-tool:nth-child(2) { animation-delay: 0.4s; }
.mockup-tool:nth-child(3) { animation-delay: 0.6s; }
.mockup-tool-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.625rem; font-weight: 800;
}
.mockup-tool-icon.violet { background: rgba(124,92,252,0.12); color: var(--violet-light); }
.mockup-tool-icon.blue { background: rgba(59,130,246,0.12); color: var(--blue); }
.mockup-tool-icon.cyan { background: rgba(34,211,238,0.12); color: var(--cyan); }
.mockup-tool-name { font-size: 0.8125rem; font-weight: 600; color: var(--text); flex: 1; }
.mockup-tool-score { font-size: 0.6875rem; font-weight: 700; color: var(--text-3); background: var(--bg); padding: 3px 8px; border-radius: 6px; }
.hero-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(124,92,252,0.08), transparent 70%);
    filter: blur(60px); pointer-events: none;
}

@keyframes float-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ BADGE ═══════════════════════════════════════════ */
.badge-live {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px;
    background: rgba(16,185,129,0.1);
    color: var(--emerald);
    border-radius: 100px;
    font-size: 0.6875rem; font-weight: 600;
}
.badge-live::before { content: ''; width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); } 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); } }

/* ═══ 3. STATS ════════════════════════════════════════ */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border); border-radius: 16px;
    overflow: hidden;
    margin: 0 0 var(--section-gap);
    background: var(--bg-1);
}
.stat { padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px); text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--border); }
.stat-value { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.05em; color: var(--text); }
.stat-label { font-size: 0.875rem; color: var(--text-3); margin-top: 8px; font-weight: 500; }

/* ═══ COMMUNITY CTA ══════════════════════════════════ */
.community-cta { margin-bottom: var(--section-gap); position: relative; z-index: 1; }
.community-cta-inner {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
    background: var(--bg-1); border: 1px solid var(--border); border-radius: 20px;
    padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 56px);
}
.community-cta-glow {
    position: absolute; top: -60%; right: -20%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,92,252,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.community-cta-content { position: relative; z-index: 1; max-width: 580px; }
.community-cta-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px; border-radius: 100px;
    background: rgba(124,92,252,0.1); color: var(--violet-light);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.community-cta-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #22d3ee; box-shadow: 0 0 8px rgba(34,211,238,0.6);
    animation: communityPulse 2s ease-in-out infinite;
}
@keyframes communityPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.community-cta-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--text); letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1.3; }
.community-cta-content p { font-size: 0.9375rem; line-height: 1.75; color: var(--text-3); margin-bottom: 28px; }
.community-cta-features { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 32px; }
.community-cta-feature {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8125rem; font-weight: 500; color: var(--text-2);
}
.community-cta-feature svg { color: var(--violet-light); flex-shrink: 0; }
.community-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 12px;
    background: linear-gradient(135deg, #7c5cfc, #3b82f6);
    color: #fff; font-size: 0.9375rem; font-weight: 600;
    text-decoration: none; transition: all 0.35s var(--ease);
    box-shadow: 0 4px 20px rgba(124,92,252,0.3);
}
.community-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,92,252,0.45); color: #fff; }
.community-cta-btn svg { transition: transform 0.3s; }
.community-cta-btn:hover svg { transform: translateX(4px); }
.community-cta-visual { position: relative; z-index: 1; text-align: center; }
.community-cta-avatars { display: flex; justify-content: center; gap: 0; margin-bottom: 12px; }
.community-cta-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--bg-2); border: 2px solid var(--bg-1);
    display: flex; align-items: center; justify-content: center;
    margin-left: -10px; color: var(--text-3);
    animation: communityFloat 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.3s);
}
.community-cta-avatar:first-child { margin-left: 0; }
.community-cta-avatar--plus { background: linear-gradient(135deg, #7c5cfc, #3b82f6); color: #fff; font-weight: 700; font-size: 0.875rem; }
@keyframes communityFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.community-cta-join-text { font-size: 0.75rem; color: var(--text-4); font-weight: 500; }
@media (max-width: 768px) {
    .community-cta-inner { grid-template-columns: 1fr; text-align: center; }
    .community-cta-content { max-width: 100%; }
    .community-cta-features { justify-content: center; }
    .community-cta-btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .community-cta-features { flex-direction: column; align-items: center; }
}

/* ═══ SECTIONS ════════════════════════════════════════ */
.home-section { margin-bottom: var(--section-gap); position: relative; z-index: 1; }
.section-header {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 48px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.section-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.section-header a { font-size: 0.8125rem; color: var(--text-3); transition: color 0.2s; }
.section-header a:hover { color: var(--violet-light); }
.section-header-center { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.section-eyebrow {
    display: inline-block;
    font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.2em;
    background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 16px;
}
.section-header-center h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900; letter-spacing: -0.045em; line-height: 1.08;
    color: var(--text); margin-bottom: 24px;
}
.section-subtitle { font-size: 1.1rem; color: var(--text-2); max-width: 540px; margin: 0 auto; line-height: 1.75; }
.section-divider { display: none; }
.section-raised {
    background: var(--bg-1);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 48px);
    margin-left: calc(clamp(24px, 5vw, 56px) * -1);
    margin-right: calc(clamp(24px, 5vw, 56px) * -1);
}

/* ═══ TAGS ════════════════════════════════════════════ */
.tag { padding: 4px 10px; background: var(--bg-3); border-radius: 6px; font-size: 0.6875rem; font-weight: 500; color: var(--text-3); }
.tag-free { background: rgba(16,185,129,0.1); color: var(--emerald); }

/* ═══ 5. CARDS (Value Props) ═══════════════��══════════ */
.card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: clamp(32px, 4vw, 52px);
    transition: all 0.45s var(--ease);
    position: relative; overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(124,92,252,0.4), rgba(59,130,246,0.3), transparent);
    opacity: 0; transition: opacity 0.5s; border-radius: 2px;
}
.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 60px rgba(124,92,252,0.08);
}
.card:hover::before { opacity: 1; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ═══ BENTO ═══════════════════════════════════════════ */
.bento-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.bento-card {
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 20px;
    padding: clamp(36px, 5vw, 60px);
    display: flex; flex-direction: column; gap: 24px;
    transition: all 0.45s var(--ease);
    color: var(--text-2); position: relative; overflow: hidden;
}
.bento-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 28px 80px rgba(0,0,0,0.35), 0 0 60px rgba(124,92,252,0.06); color: var(--text-2); }
.bento-large { grid-row: 1 / 3; }
.bento-glow-violet, .bento-glow-cyan, .bento-glow-amber { position: relative; }
.bento-glow-violet::before, .bento-glow-cyan::before, .bento-glow-amber::before { content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; opacity: 0; transition: opacity 0.5s; }
.bento-glow-violet::before { background: linear-gradient(90deg, transparent, var(--violet), transparent); }
.bento-glow-cyan::before { background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.bento-glow-amber::before { background: linear-gradient(90deg, transparent, var(--amber), transparent); }
.bento-card:hover::before { opacity: 0.6; }
.bento-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.bento-icon-primary { background: rgba(124,92,252,0.1); color: var(--violet-light); }
.bento-icon-accent { background: rgba(34,211,238,0.08); color: var(--cyan); }
.bento-icon-warn { background: rgba(245,158,11,0.08); color: var(--amber); }
.bento-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.bento-card p { font-size: 0.9375rem; line-height: 1.75; flex: 1; }
.bento-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }

/* ═══ 7. PERSONAS ═════════════════════════════════════ */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.persona-card {
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 18px;
    padding: clamp(32px, 4vw, 48px);
    transition: all 0.45s var(--ease);
    position: relative; overflow: hidden;
}
.persona-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--grad); opacity: 0; transition: opacity 0.5s; border-radius: 0 0 18px 18px;
}
.persona-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 0 40px rgba(124,92,252,0.05); }
.persona-card:hover::before { opacity: 1; }
.persona-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.persona-icon-violet { background: rgba(124,92,252,0.1); color: var(--violet-light); }
.persona-icon-cyan { background: rgba(34,211,238,0.08); color: var(--cyan); }
.persona-icon-emerald { background: rgba(16,185,129,0.08); color: var(--emerald); }
.persona-icon-amber { background: rgba(245,158,11,0.08); color: var(--amber); }
.persona-icon-rose { background: rgba(244,63,94,0.08); color: var(--rose); }
.persona-emoji { font-size: 1.5rem; margin-bottom: 16px; }
.persona-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.persona-card p { font-size: 0.875rem; line-height: 1.7; }

/* ═══ 8. STEPS ════════════════════════════════════════ */
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0; max-width: 960px; margin: 0 auto; }
.step-card {
    text-align: center; padding: 0 clamp(16px, 2vw, 32px);
    position: relative;
}
.step-number {
    width: 68px; height: 68px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    background: var(--grad);
    color: #fff; font-weight: 900; font-size: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(124,92,252,0.35), 0 0 60px rgba(124,92,252,0.1);
    transition: all 0.35s var(--ease);
}
.step-card:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(124,92,252,0.45), 0 0 80px rgba(124,92,252,0.15);
}
.step-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step-card p { font-size: 0.875rem; line-height: 1.7; }
.step-connector { padding: 28px 8px 0; color: var(--text-4); }

/* ═══ 9. TOOL CARDS ═══════════════════════════════════ */
.tool-card { display: flex; flex-direction: column; gap: 16px; }
.tool-card-header { display: flex; align-items: center; gap: 14px; }
.tool-card-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-gradient-violet { background: rgba(124,92,252,0.1); color: var(--violet-light); }
.icon-gradient-cyan { background: rgba(34,211,238,0.08); color: var(--cyan); }
.icon-gradient-rose { background: rgba(244,63,94,0.08); color: var(--rose); }
.icon-gradient-emerald { background: rgba(16,185,129,0.08); color: var(--emerald); }
.tool-card-name { font-weight: 700; font-size: 1rem; color: var(--text); }
.tool-card-category { font-size: 0.75rem; color: var(--text-3); }
.tool-card-desc { font-size: 0.875rem; line-height: 1.65; flex: 1; }
.tool-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.tool-card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tool-card-score { display: flex; align-items: center; gap: 6px; }

/* Score */
.score-bar { width: 64px; height: 4px; background: var(--bg-4); border-radius: 100px; overflow: hidden; }
.score-bar-fill { height: 100%; background: var(--grad); border-radius: 100px; transition: width 1.5s var(--ease); }
.score-label { font-size: 0.6875rem; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.score-inline { display: flex; align-items: center; gap: 10px; }
.score-inline .score-bar { width: 100px; }

/* ═══ 10. LEADERBOARD ═════════════════════════════════ */
.leaderboard-card { padding: 0; overflow: hidden; }
.leaderboard-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid var(--border); }
.leaderboard-source { font-size: 0.6875rem; color: var(--text-4); }
.leaderboard-table { width: 100%; border-collapse: collapse; }
.leaderboard-table th { text-align: left; padding: 12px 28px; font-size: 0.6875rem; color: var(--text-4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--border); }
.leaderboard-table td { padding: 16px 28px; font-size: 0.875rem; border-bottom: 1px solid rgba(255,255,255,0.03); transition: background 0.2s; }
.leaderboard-table tr:last-child td { border-bottom: none; }
.leaderboard-table tr:hover td { background: rgba(255,255,255,0.02); }
.leaderboard-gold .rank { color: var(--violet-light); font-weight: 800; }
.rank { font-weight: 700; color: var(--text-4); }
.model-name { font-weight: 700; color: var(--text); }
.company { color: var(--text-2); }

/* ═══ 11. CATEGORY CARDS ══════════════════════════════ */
.card-category { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 32px 20px; }
.category-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.category-name { font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.category-count { font-size: 0.75rem; color: var(--text-3); }
.card-category-highlight { border-color: rgba(16,185,129,0.15); }
.card-category-highlight:hover { border-color: rgba(16,185,129,0.3); }

/* ═══ 12. FEATURE CARDS (WHY US) ═════════════════════ */
.feature-card { display: flex; flex-direction: column; gap: 12px; }
.feature-number {
    font-size: 0.6875rem; font-weight: 800;
    background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    letter-spacing: 0.08em;
}
.feature-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); }
.feature-card p { font-size: 0.875rem; line-height: 1.75; }

/* ═══ 13. VS CARDS ════════════════════════════════════ */
.vs-card { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.vs-teams { display: flex; align-items: center; justify-content: center; gap: 14px; }
.vs-name { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.vs-badge {
    font-size: 0.625rem; font-weight: 800;
    background: var(--grad); color: #fff;
    padding: 4px 10px; border-radius: 6px;
    letter-spacing: 0.06em;
}
.vs-desc { font-size: 0.875rem; line-height: 1.65; flex: 1; }
.vs-cta { font-size: 0.8125rem; color: var(--text-3); transition: color 0.2s; }
.vs-card:hover .vs-cta { color: var(--violet-light); }

/* Source */
.source-grid { gap: 1px !important; background: var(--border); border-radius: 14px; overflow: hidden; }
.source-card { background: var(--bg-2); padding: 28px 24px; }
.source-name { font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.source-desc { font-size: 0.8125rem; line-height: 1.65; }

/* ═══ 14. CTA / NEWSLETTER ════════════════════════════ */
.cta-block {
    position: relative; overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(56px, 8vw, 100px) clamp(40px, 6vw, 80px);
    display: flex; align-items: center; gap: clamp(48px, 7vw, 96px);
}
.cta-block::before {
    content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--blue), transparent);
    opacity: 0.4;
}
.cta-glow { position: absolute; top: -40%; right: -15%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(124,92,252,0.06), transparent 70%); filter: blur(80px); pointer-events: none; }
.cta-content { flex: 1; position: relative; }
.cta-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: var(--text); margin: 12px 0 16px; letter-spacing: -0.03em; }
.cta-content p { line-height: 1.75; max-width: 420px; }
.cta-form { flex-shrink: 0; width: 340px; position: relative; }
.cta-input-group { display: flex; gap: 8px; }
.cta-input-group input { flex: 1; padding: 13px 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: var(--font); font-size: 0.9rem; outline: none; transition: 0.2s; }
.cta-input-group input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,252,0.12); }
.cta-input-group input::placeholder { color: var(--text-4); }
.cta-disclaimer { font-size: 0.6875rem; color: var(--text-4); margin-top: 12px; }

/* ═══ 15. FAQ ═════════════════════════════════════════ */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
    padding: 22px 0; font-weight: 600; font-size: 0.9375rem; color: var(--text);
    cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-4); transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--violet-light); }
.faq-item summary:hover { color: var(--violet-light); }
.faq-item p, .faq-item div { padding-bottom: 22px; line-height: 1.8; font-size: 0.9rem; }
.faq-item a { color: var(--violet-light); }
.faq-item a:hover { text-decoration: underline; }

/* ═══ SHOP LAYOUT ═════════════════════════════════════ */
.shop-hero { padding: 60px 0 48px; position: relative; z-index: 1; max-width: 600px; }
.shop-hero h1 { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 900; color: var(--text); letter-spacing: -0.04em; margin-bottom: 14px; }
.shop-hero p { font-size: 1.05rem; line-height: 1.75; }

.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; position: relative; z-index: 1; margin-bottom: var(--section-gap); align-items: start; overflow: visible; }

.shop-sidebar { position: sticky; top: 76px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.sidebar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sidebar-title { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.sidebar-clear { font-size: 0.6875rem; color: var(--text-3); }
.sidebar-clear:hover { color: var(--rose); }
.sidebar-search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 20px; transition: 0.2s; }
.sidebar-search:focus-within { border-color: var(--violet); }
.sidebar-search svg { flex-shrink: 0; color: var(--text-4); }
.sidebar-search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-family: var(--font); font-size: 0.8125rem; }
.sidebar-search input::placeholder { color: var(--text-4); }
.sidebar-group { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 4px; }
.sidebar-group summary { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; }
.sidebar-group summary::-webkit-details-marker { display: none; }
.sidebar-group summary::after { content: '+'; font-size: 0.875rem; color: var(--text-4); }
.sidebar-group[open] summary::after { content: '\2212'; }
.sidebar-options { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; }
.sidebar-checkbox { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; transition: background 0.15s; font-size: 0.8125rem; }
.sidebar-checkbox:hover { background: rgba(255,255,255,0.03); }
.sidebar-checkbox input { display: none; }
.checkbox-mark { width: 16px; height: 16px; flex-shrink: 0; border: 1.5px solid var(--border-hover); border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.sidebar-checkbox input:checked + .checkbox-mark { background: var(--violet); border-color: var(--violet); }
.sidebar-checkbox input:checked + .checkbox-mark::after { content: ''; width: 8px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); margin-top: -1px; }
.checkbox-label { flex: 1; color: var(--text-2); }
.sidebar-checkbox input:checked ~ .checkbox-label { color: var(--text); font-weight: 600; }
.checkbox-count { font-size: 0.625rem; color: var(--text-4); font-variant-numeric: tabular-nums; }
.shop-content { min-width: 0; }
.shop-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.shop-result-count { font-size: 0.8125rem; color: var(--text-3); font-weight: 500; }
.shop-filter-toggle { display: none; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.8125rem; color: var(--text-2); }
.shop-active-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.active-tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; background: rgba(124,92,252,0.08); border: 1px solid rgba(124,92,252,0.15); border-radius: 100px; font-size: 0.75rem; color: var(--violet-light); transition: all 0.15s; }
.active-tag:hover { border-color: var(--rose); color: var(--rose); background: rgba(244,63,94,0.05); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.shop-card { display: flex; flex-direction: column; padding: clamp(16px, 3vw, 28px); background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; transition: all 0.4s var(--ease); color: var(--text-2); position: relative; overflow: hidden; min-width: 0; }
.shop-card::after { content: ''; position: absolute; top: -1px; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, transparent, rgba(124,92,252,0.3), transparent); opacity: 0; transition: opacity 0.4s; border-radius: 2px; }
.shop-card:hover { border-color: var(--border-hover); background: var(--bg-3); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 40px rgba(124,92,252,0.05); color: var(--text-2); }
.shop-card:hover::after { opacity: 1; }
.shop-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.shop-card-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(124,92,252,0.1); color: var(--violet-light); font-size: 0.5625rem; font-weight: 800; border-radius: 8px; }
.shop-card-score { font-size: 0.6875rem; font-weight: 700; color: var(--text-3); padding: 3px 8px; border: 1px solid var(--border); border-radius: 6px; transition: 0.2s; font-variant-numeric: tabular-nums; }
.shop-card:hover .shop-card-score { color: var(--violet-light); border-color: rgba(124,92,252,0.3); }
.shop-card-body { flex: 1; }
.shop-card-name { font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.shop-card-company { font-size: 0.6875rem; color: var(--text-4); display: block; margin-bottom: 8px; }
.shop-card-desc { font-size: 0.8125rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.shop-card-cat { font-size: 0.6875rem; color: var(--text-4); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 48px; }
.pagination-link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; font-size: 0.875rem; font-weight: 500; color: var(--text-3); border: 1px solid var(--border); border-radius: 8px; transition: 0.2s; }
.pagination-link:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-3); }
.pagination-link.active { color: #fff; background: var(--violet); border-color: var(--violet); }
.outils-empty { text-align: center; padding: 80px 0; }
.outils-empty p { color: var(--text-3); margin-bottom: 24px; }

/* ═══ ROADMAP ═════════════════════════════════════════ */
.roadmap { position: relative; max-width: 700px; margin: 0 auto; padding-left: 40px; }
.roadmap-line {
    position: absolute; left: 11px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--violet), var(--blue), var(--border));
}
.roadmap-item { position: relative; margin-bottom: 32px; }
.roadmap-item:last-child { margin-bottom: 0; }
.roadmap-marker {
    position: absolute; left: -40px; top: 28px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 2px solid var(--border);
    z-index: 2;
    transition: all 0.3s var(--ease);
}
.roadmap-done .roadmap-marker { background: var(--emerald); border-color: var(--emerald); box-shadow: 0 0 12px rgba(16,185,129,0.3); }
.roadmap-active .roadmap-marker {
    background: var(--violet); border-color: var(--violet);
    box-shadow: 0 0 16px rgba(124,92,252,0.4);
    animation: pulse-marker 2s infinite;
}
@keyframes pulse-marker { 0%,100% { box-shadow: 0 0 16px rgba(124,92,252,0.4); } 50% { box-shadow: 0 0 28px rgba(124,92,252,0.6); } }
.roadmap-content { padding: 0; }
.roadmap-content.card { padding: clamp(28px, 3vw, 40px); }
.roadmap-year {
    font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 8px;
}
.roadmap-content h3 { font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 16px; letter-spacing: -0.02em; }
.roadmap-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.roadmap-list li {
    font-size: 0.875rem; line-height: 1.65; color: var(--text-2);
    padding-left: 16px; position: relative;
}
.roadmap-list li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--text-4);
}
.roadmap-done .roadmap-list li::before { background: var(--emerald); }
.roadmap-active .roadmap-list li::before { background: var(--violet); }

/* ═══ ABOUT TEAM ═════════════════════════════════════ */
.about-team { max-width: 700px; margin: 0 auto; }
.about-team-card { display: flex; flex-direction: column; gap: 20px; }
.about-team-info { display: flex; align-items: center; gap: 20px; }
.about-team-avatar {
    width: 64px; height: 64px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad);
    color: #fff; font-size: 1.25rem; font-weight: 800;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(124,92,252,0.25);
}
.about-team-info h3 { font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.about-team-role { font-size: 0.8125rem; color: var(--text-3); }
.about-team-bio { font-size: 0.9375rem; line-height: 1.8; color: var(--text-2); }

/* ═══ CLASSEMENT HERO IMAGE ════════════════════════════ */
.classement-hero-img {
    margin: 20px 0 32px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.classement-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ═══ MODEL SCORES GRID ═══════════════════════════════ */
.model-scores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 28px; }
.model-score-item { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; }
.model-score-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.model-score-label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.model-score-value { font-size: 0.875rem; font-weight: 800; color: var(--violet-light); }

/* ═══ BREADCRUMB ══════════════════════════════════════ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--text-3); margin-bottom: 40px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--text-4); }

/* ═══ TOOL DETAIL ═════════════════════════════════════ */
.tool-detail { padding-top: 48px; }

/* Update date */
.tool-update-date {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.75rem; color: var(--text-3); font-weight: 500;
    margin-bottom: 28px;
}
.tool-update-date svg { color: var(--text-4); }

/* Table of contents (collapsible) */
.tool-toc { margin-bottom: 48px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.tool-toc-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
    font-size: 0.8125rem; font-weight: 600; color: var(--text-2);
    cursor: pointer; list-style: none;
    transition: color 0.2s;
}
.tool-toc-toggle::-webkit-details-marker { display: none; }
.tool-toc-toggle::after { content: '+'; font-size: 1rem; color: var(--text-4); transition: transform 0.3s var(--ease); }
.tool-toc[open] .tool-toc-toggle::after { transform: rotate(45deg); color: var(--violet-light); }
.tool-toc-toggle:hover { color: var(--text); }
.tool-toc-list { display: flex; flex-direction: column; gap: 6px; list-style: decimal; padding: 0 24px 20px 44px; }
.tool-toc-list li { font-size: 0.8125rem; color: var(--text-2); }
.tool-toc-list a { color: var(--text-2); transition: color 0.2s; }
.tool-toc-list a:hover { color: var(--violet-light); }

/* Audience grid */
.tool-audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.tool-audience-item { background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: all 0.3s var(--ease); }
.tool-audience-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.tool-audience-item h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tool-audience-item p { font-size: 0.8125rem; line-height: 1.7; color: var(--text-2); }

/* Hero outil */
.tool-hero {
    display: flex; align-items: start; justify-content: space-between; gap: 48px;
    margin-bottom: clamp(48px, 6vw, 72px);
}
.tool-hero-content { flex: 1; }
.tool-hero-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tool-hero-content h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--text); letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 14px; }
.tool-hero-tagline { font-size: 1.05rem; color: var(--text-2); line-height: 1.75; margin-bottom: 28px; }
.tool-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Score circle */
.tool-hero-score { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; padding-top: 16px; }
.tool-score-circle {
    width: 100px; height: 100px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--bg-2);
    border: 2px solid var(--border);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.tool-score-circle::before {
    content: ''; position: absolute; top: -2px; left: 10%; right: 10%; height: 2px;
    background: var(--grad); border-radius: 2px;
}
.tool-score-value { font-size: 2rem; font-weight: 900; color: var(--text); letter-spacing: -0.04em; line-height: 1; }
.tool-score-max { font-size: 0.75rem; color: var(--text-3); font-weight: 500; }
.tool-score-label { font-size: 0.6875rem; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.tool-score-stars { display: flex; gap: 2px; }
.star { font-size: 0.875rem; color: var(--text-4); }
.star-filled { color: var(--amber); }
.tool-score-note { font-size: 0.6875rem; color: var(--text-4); }
.tool-score-circle-sm { width: 72px; height: 72px; border-radius: 16px; }
.tool-score-circle-sm .tool-score-value { font-size: 1.5rem; }
.tool-score-circle-sm .tool-score-max { font-size: 0.625rem; }

/* Recap table */
.tool-recap-card { padding: clamp(24px, 3vw, 36px); }
.tool-recap-card h2 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 20px; letter-spacing: -0.02em; }
.tool-recap-table { width: 100%; border-collapse: collapse; }
.tool-recap-table tr { border-bottom: 1px solid var(--border); }
.tool-recap-table tr:last-child { border-bottom: none; }
.recap-label { padding: 14px 0; font-size: 0.875rem; color: var(--text-3); font-weight: 500; width: 180px; }
.recap-value { padding: 14px 0; font-size: 0.875rem; color: var(--text); }
.recap-value a { color: var(--violet-light); }
.recap-value a:hover { text-decoration: underline; }

/* Section detail */
.tool-detail-section { margin-bottom: clamp(48px, 6vw, 72px); }
.tool-detail-section h2 { font-size: 1.35rem; font-weight: 800; color: var(--text); margin-bottom: 18px; letter-spacing: -0.025em; }
.tool-detail-desc { font-size: 1rem; line-height: 1.85; color: var(--text-2); margin-bottom: 12px; }
.tool-detail-desc a { color: var(--violet-light); }
.tool-detail-desc a:hover { text-decoration: underline; }
.tool-detail-list { display: flex; flex-direction: column; gap: 12px; }
.tool-detail-list li { font-size: 0.9375rem; line-height: 1.7; padding-left: 18px; position: relative; color: var(--text-2); }
.tool-detail-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--text-4); }
.pros-list li::before { background: var(--emerald); }
.cons-list li::before { background: var(--rose); }

/* Features grid */
.tool-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 24px; }
.tool-feature-item {
    display: flex; align-items: start; gap: 14px;
    padding: 18px 20px;
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px;
    transition: all 0.3s var(--ease);
}
.tool-feature-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.tool-feature-num { font-size: 0.6875rem; font-weight: 800; color: var(--violet-light); flex-shrink: 0; margin-top: 2px; letter-spacing: 0.05em; }
.tool-feature-text { font-size: 0.9375rem; color: var(--text); font-weight: 500; }

/* Steps */
.tool-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.tool-step {
    display: flex; align-items: start; gap: 20px;
    padding: 28px;
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px;
    transition: all 0.3s var(--ease);
}
.tool-step:hover { border-color: var(--border-hover); transform: translateX(4px); }
.tool-step-num {
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad); color: #fff;
    font-weight: 800; font-size: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(124,92,252,0.25);
}
.tool-step h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.tool-step p { font-size: 0.875rem; line-height: 1.7; color: var(--text-2); }

/* Pros/Cons */
.tool-detail-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.proscons-card { padding: clamp(24px, 3vw, 36px); }
.proscons-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.proscons-title-pro { color: var(--emerald); }
.proscons-title-con { color: var(--rose); }

/* Verdict */
.tool-verdict { padding: clamp(32px, 4vw, 48px); text-align: center; }
.verdict-header { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 20px; }
.verdict-header h2 { margin-bottom: 0; }
.comparatif-links { display: flex; flex-direction: column; gap: 8px; }
.comparatif-link { display: block; padding: 16px 22px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; font-size: 0.9375rem; font-weight: 600; color: var(--text-2); transition: all 0.25s var(--ease); }
.comparatif-link:hover { border-color: var(--violet); color: var(--violet-light); transform: translateX(4px); }
.tool-detail-nav { display: flex; justify-content: space-between; margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--border); }
.tool-detail-nav a { font-size: 0.8125rem; color: var(--text-3); }
.tool-detail-nav a:hover { color: var(--violet-light); }

/* Category hero */
.category-hero { padding: 48px 0 0; }
.category-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--text); letter-spacing: -0.03em; margin-bottom: 14px; }
.category-hero p { font-size: 1.05rem; line-height: 1.75; max-width: 600px; }
.empty-state { text-align: center; padding: 80px 0; color: var(--text-3); }

/* ═══ 16. FOOTER ══════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--border); margin-top: var(--section-gap); position: relative; z-index: 1; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 72px clamp(24px, 5vw, 56px) 40px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-logo { font-size: 1.1rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.footer-tagline { color: var(--text-3); font-size: 0.875rem; margin-top: 10px; line-height: 1.65; }
.footer-company { color: var(--text-4); font-size: 0.75rem; margin-top: 24px; }
.footer-heading { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-4); margin-bottom: 22px; }
.footer-links li + li { margin-top: 14px; }
.footer-links a { color: var(--text-3); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; text-align: center; font-size: 0.75rem; color: var(--text-4); }
.footer-social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--text-3); border: 1px solid var(--border); border-radius: 10px; margin-top: 16px; transition: color 0.2s, border-color 0.2s; }
.footer-social:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* Legal */
.legal-content { max-width: 680px; margin: 0 auto; padding-top: 80px; }
.legal-content h1 { font-size: 2.5rem; font-weight: 900; color: var(--text); margin-bottom: 40px; letter-spacing: -0.04em; }
.legal-content h2 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 48px 0 14px; }
.legal-content p, .legal-content li { line-height: 1.85; margin-bottom: 14px; font-size: 0.9375rem; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content a { color: var(--violet-light); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--text); font-weight: 600; }

/* 404 */
.page-404 { text-align: center; padding: 120px 0 80px; max-width: 640px; margin: 0 auto; }
.page-404 h1 { font-size: clamp(6rem, 15vw, 10rem); font-weight: 900; letter-spacing: -0.06em; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0.4; line-height: 1; margin-bottom: 24px; }
.page-404 p { font-size: 1.1rem; margin: 0 0 32px; color: var(--text-2); }
.page-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.page-404-links { text-align: left; margin-top: 48px; padding: 32px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; }
.page-404-links h2 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.page-404-links ul { display: flex; flex-direction: column; gap: 10px; }
.page-404-links a { font-size: 0.9rem; color: var(--violet-light); }
.page-404-links a:hover { text-decoration: underline; }
@media (max-width: 480px) {
    .page-404-actions { flex-direction: column; }
    .page-404-actions .btn-cta, .page-404-actions .btn-ghost { width: 100%; justify-content: center; }
}

/* ═══ ANIMATIONS ══════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
/* Fallback: if JS fails or observer doesn't fire, show content after 2s */
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; } }

/* ═══ ACCESSIBILITY ══════════════════════════════════ */
/* Focus visible for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, details > summary:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--violet-light);
    outline-offset: 2px;
    border-radius: 4px;
}
main:focus { outline: none; }

/* Skip-to-content link (WCAG 2.4.1 Bypass Blocks) */
.skip-link {
    position: absolute;
    top: -100px; left: 16px;
    z-index: 100000;
    padding: 10px 18px;
    background: var(--violet);
    color: #fff; font-weight: 600; font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

/* Contact form (replaces previous inline styles) */
.contact-card { margin-top: 32px; max-width: 600px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field label { font-size: 0.875rem; font-weight: 500; color: var(--text-2); }
.contact-field input, .contact-field textarea {
    width: 100%; padding: 12px 16px;
    background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); font-family: var(--font); font-size: 0.95rem;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field input:focus, .contact-field textarea:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(124,92,252,0.15);
}
.contact-field input:invalid:not(:placeholder-shown), .contact-field textarea:invalid:not(:placeholder-shown) {
    border-color: var(--rose);
}
.contact-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-gdpr { font-size: 0.8125rem; color: var(--text-3); line-height: 1.6; }
.contact-gdpr a { color: var(--violet-light); }
.contact-gdpr a:hover { text-decoration: underline; }
.contact-form .btn-cta { align-self: flex-start; }
.contact-alert { margin-top: 32px; max-width: 600px; }
.contact-alert--success { border-color: var(--emerald); background: rgba(16,185,129,0.05); }
.contact-alert--success .contact-alert-title { color: var(--emerald); font-weight: 600; }
.contact-alert--error { border-color: var(--rose); background: rgba(244,63,94,0.05); }
.contact-alert--error .contact-alert-title { color: var(--rose); font-weight: 600; }
.contact-alert-body { color: var(--text-2); font-size: 0.875rem; margin-top: 8px; }
.contact-alt { margin-top: 40px; }
.contact-alt h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.contact-alt p { color: var(--text-2); }
.contact-alt a { color: var(--violet-light); }
.contact-alt a:hover { text-decoration: underline; }

/* Responsive form */
@media (max-width: 480px) {
    .contact-form .btn-cta { width: 100%; }
}

/* Prevent CLS on images that lack explicit dimensions in content */
img:not([width]):not([height]) { aspect-ratio: attr(data-ar) / 1; }
/* Fix contrast for text-3 and text-4 (WCAG AA) */
.leaderboard-source, .footer-heading { color: var(--text-2); }
.footer-company, .footer-bottom p { color: var(--text-3); }

/* Fix touch targets (min 44x44px) */
.search-toggle { min-width: 44px; min-height: 44px; }
.mobile-toggle { min-width: 44px; min-height: 44px; }
.pagination-link { min-width: 44px; min-height: 44px; }

/* Leaderboard table mobile scroll */
.leaderboard-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 404 responsive */
.page-404 h1 { font-size: clamp(6rem, 15vw, 10rem); }

/* ═══ RESPONSIVE ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .persona-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-nav--desktop { display: none !important; }
    .mobile-toggle { display: flex !important; }
    .hero { min-height: auto; padding-top: 80px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat + .stat::before { display: none; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large { grid-row: auto; }
    .persona-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .step-connector { display: none; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .cta-block { flex-direction: column; gap: 32px; }
    .cta-form { width: 100%; }
    .cta-input-group { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .leaderboard-table th:nth-child(5), .leaderboard-table td:nth-child(5) { display: none; }
    .tool-hero { flex-direction: column; }
    .tool-detail-proscons { grid-template-columns: 1fr; }
    .tool-features-grid { grid-template-columns: 1fr; }
    .verdict-header { flex-direction: column; }
    .shop-layout { grid-template-columns: 1fr; overflow: visible; }
    .shop-sidebar { position: static; display: none; }
    .shop-sidebar.open { display: block; }
    .shop-filter-toggle { display: flex; }
    .shop-content { width: 100%; min-width: 0; overflow: visible; }
    .shop-grid { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
    .section-raised { margin-left: -24px; margin-right: -24px; }
    .header-contact { display: none; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr; }
    .shop-grid { grid-template-columns: 1fr; }
    .leaderboard-table th:nth-child(4), .leaderboard-table td:nth-child(4) { display: none; }
}
