:root {
    --bg-base: #04061a;
    --bg-mid: #070c2a;
    --bg-card: #0b1035;
    --bg-card2: #0d1440;
    --purple: #8b3dff;
    --purple-light: #a855f7;
    --purple-glow: rgba(139, 61, 255, 0.35);
    --cyan: #22d3ee;
    --cyan-glow: rgba(34, 211, 238, 0.2);
    --text-primary: #e2e8f7;
    --text-secondary: #7a8ab5;
    --text-muted: #3d4f7a;
    --border: rgba(139, 61, 255, 0.15);
    --border-light: rgba(255, 255, 255, 0.05);
    --danger: #f43f5e;
    --warn: #f59e0b;
    --safe: #10b981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Syne', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ─── BACKGROUND MESH ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(139, 61, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(34, 211, 238, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 60% 40%, rgba(139, 61, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Scan line overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(4, 6, 26, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}


.nav-logo-text span:first-child {
    color: var(--text-primary);
}

.nav-logo-text span:last-child {
    color: var(--purple-light);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    font-family: 'JetBrains Mono', monospace;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--safe);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    padding: 3px 10px;
}

.nav-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--safe);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    letter-spacing: 0.3px;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-ghost:hover {
    border-color: var(--purple);
    color: var(--purple-light);
    background: rgba(139, 61, 255, 0.08);
}

.btn-primary {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 0 20px var(--purple-glow);
}

.btn-primary:hover {
    background: var(--purple-light);
    box-shadow: 0 0 30px rgba(139, 61, 255, 0.5);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}

.btn-xl {
    padding: 18px 44px;
    font-size: 17px;
    border-radius: 12px;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 100px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--purple-light);
    background: rgba(139, 61, 255, 0.1);
    border: 1px solid rgba(139, 61, 255, 0.3);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-tag svg {
    width: 14px;
    height: 14px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease forwards;
}

.hero h3 {
    font-size: clamp(18px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-top: 30px;
    animation: fadeUp 0.8s ease forwards;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #a78bfa, #8b3dff, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 48px;
    font-weight: 400;
    animation: fadeUp 0.8s 0.1s ease both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeUp 0.8s 0.2s ease both;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    animation: fadeUp 0.8s 0.3s ease both;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ─── DIVIDER ─── */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    position: relative;
    z-index: 1;
}

/* ─── FEATURES ─── */
.features {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(139, 61, 255, 0.15);
    border: 1px solid rgba(139, 61, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
}

/* ─── RECENT ANALYSES ─── */
.recent-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px 80px;
}

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

.section-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title .dot {
    width: 8px;
    height: 8px;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--purple);
    animation: pulse-dot 2s infinite;
}

.section-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
}

/* Table */
.table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 40px 1fr 180px 120px 120px 100px 80px;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-light);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-row {
    display: grid;
    grid-template-columns: 40px 1fr 180px 120px 120px 100px 80px;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    align-items: center;
    transition: background 0.2s;
    cursor: pointer;
    animation: fadeIn 0.4s ease both;
}

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

.table-row:hover {
    background: rgba(139, 61, 255, 0.05);
}

.row-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.file-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.file-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.file-type {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.hash-cell {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-cell {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
}

.platform-cell {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.score-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    min-width: 28px;
}

.score-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease;
}

.verdict-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    padding: 4px 10px;
    white-space: nowrap;
}

.verdict-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.verdict-malicious {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: var(--danger);
}

.verdict-malicious::before {
    background: var(--danger);
}

.verdict-suspicious {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--warn);
}

.verdict-suspicious::before {
    background: var(--warn);
}

.verdict-clean {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--safe);
}

.verdict-clean::before {
    background: var(--safe);
}

.verdict-unknown {
    background: rgba(122, 138, 181, 0.1);
    border: 1px solid rgba(122, 138, 181, 0.2);
    color: var(--text-muted);
}

.verdict-unknown::before {
    background: var(--text-muted);
}

/* ─── THREAT TICKER ─── */
.threat-ticker {
    position: relative;
    z-index: 1;
    background: rgba(244, 63, 94, 0.05);
    border-top: 1px solid rgba(244, 63, 94, 0.15);
    border-bottom: 1px solid rgba(244, 63, 94, 0.15);
    overflow: hidden;
    padding: 12px 0;
    margin-bottom: 0;
}

.ticker-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(244, 63, 94, 0.15);
    border-right: 1px solid rgba(244, 63, 94, 0.2);
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--danger);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
    gap: 8px;
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 30s linear infinite;
    padding-left: 180px;
    gap: 0;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 0 40px;
}

.ticker-item .ti-name {
    color: var(--danger);
}

.ticker-item .ti-sep {
    color: var(--text-muted);
}

/* ─── CTA STRIP ─── */
.cta-strip {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 48px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(139, 61, 255, 0.15) 0%, rgba(34, 211, 238, 0.05) 100%);
    border: 1px solid rgba(139, 61, 255, 0.3);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 61, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

/* ─── FOOTER ─── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-light);
    padding: 32px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    font-size: 16px;
    font-weight: 700;
}

.footer-logo span:last-child {
    color: var(--purple-light);
}

.footer-copy {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--purple-light);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes glitch {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 1px);
    }

    40% {
        transform: translate(2px, -1px);
    }

    60% {
        transform: translate(-1px, 2px);
    }

    80% {
        transform: translate(1px, -2px);
    }
}

.terminal-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--purple-light);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Mini network graph decoration */
.network-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    opacity: 0.04;
    pointer-events: none;
}

/* Recent Analyses Section */
.recent-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fdfbff;
}

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

.analyses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.analysis-card {
    background: var(--bg-card);
    border: 1px solid rgba(230, 216, 237, 0.25);
    border-radius: 14px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(230, 216, 237, 0.4);
}

.analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.analysis-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-clean {
    background: rgba(106, 222, 138, 0.15);
    color: #6ade8a;
    border: 1px solid rgba(106, 222, 138, 0.3);
}

.status-malicious {
    background: rgba(255, 98, 98, 0.15);
    color: #ff8a8a;
    border: 1px solid rgba(255, 98, 98, 0.3);
}

.status-suspicious {
    background: rgba(255, 207, 90, 0.15);
    color: #ffcf5a;
    border: 1px solid rgba(255, 207, 90, 0.3);
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
}

.analysis-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.analysis-hash {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(26, 16, 29, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(230, 216, 237, 0.15);
}

.hash-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.hash-value {
    font-family: ui-monospace, 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--light-accent);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.analysis-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: rgba(26, 16, 29, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(230, 216, 237, 0.1);
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light-accent);
    display: block;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ── SEARCH FORM ── */
.navbar .d-flex {
    flex: 1;
    display: flex !important;
    align-items: center;
    gap: 8px;
    max-width: 560px;
    /* Centre la form dans la navbar si mx-auto Bootstrap est absent */
    margin: 0 auto;
}



/* Inputs & Buttons */
.form-control {
background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
border-radius: 10px; padding: 9px 12px; outline: none; transition: .2s ease;
}
.form-control::placeholder { color: var(--text-mute); }
.form-control:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(139,61,255,.2); }



.hero-search-form {
    display: inline-flex;
}

.hero-search-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: text;
    min-width: 260px;
}

.hero-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 400;
    width: 100%;
    caret-color: var(--purple-light);
}

.hero-search-input::placeholder {
    color: var(--text-secondary);
}

.hero-search-wrapper:focus-within {
    border-color: var(--purple);
    color: var(--purple-light);
    background: rgba(139, 61, 255, 0.08);
}

/* Mobile */
@media (max-width: 768px) {
    .hero-search-wrapper {
        min-width: 0;
        width: 100%;
    }
}




/* ─────────────────────────────────────────────
   RESPONSIVE — MOBILE  (≤ 768px)
   ───────────────────────────────────────────── */
@media (max-width: 768px) {

    /* ── NAV ── */
    nav {
        padding: 0 16px;
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    nav .d-flex {
        width: 100%;
        order: 3;
    }

    nav .d-flex input[type="search"] {
        min-width: 0 !important;
        width: 100% !important;
        flex: 1;
    }

    /* ── THREAT TICKER ── */
    .threat-ticker {
        margin-top: 56px !important;
    }

    /* ── HERO ── */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1 {
        font-size: clamp(32px, 9vw, 48px);
        letter-spacing: -1px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-stats {
        gap: 24px;
    }

    /* ── FEATURES (les 6 blocs "Analyse dynamique" etc.) ── */
    .features {
        padding: 48px 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;   /* 1 colonne → empilés */
    }

    /* ── RECENT ANALYSES ── */
    .recent-section {
        padding: 32px 16px 48px;
    }

    .section-header {
        display: block!important;
        align-items: center;
    }

    /* ── CTA ── */
    .cta-strip {
        padding: 0 16px;
        margin: 40px auto;
    }

    .cta-card {
        flex-direction: column;
        padding: 32px 20px;
        gap: 24px;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 14px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        justify-content: center;
        width: 100%;
    }

    /* ── FOOTER ── */
    footer {
        flex-direction: column;
        padding: 24px 16px;
        gap: 16px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 8px;
    }
    .nav-search{
        display: none;
    }
}

/* ─────────────────────────────────────────────
   TABLETTE  (769px – 1024px)
   ───────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {

    nav {
        padding: 0 24px;
    }

    .features {
        padding: 60px 24px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recent-section {
        padding: 40px 24px 60px;
    }

    .cta-strip {
        padding: 0 24px;
    }

    .cta-card {
        flex-direction: column;
        padding: 40px 32px;
        gap: 24px;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    footer {
        padding: 24px 24px;
    }
}

