/* ============================================
   VeriSite.fr - Complete Stylesheet
   Brand: Deep blue (#1e3a5f), Green (#22c55e),
          Orange (#f59e0b), Red (#ef4444)
   Font: Inter (Google Fonts)
   ============================================ */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

button, input {
    font-family: inherit;
    font-size: inherit;
    border: none;
}

/* Focus visible pour accessibilité clavier */
*:focus-visible {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

input:focus {
    outline: none; /* remplacé par box-shadow dans les composants */
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

/* --- CSS Variables --- */
:root {
    --primary: #1e3a5f;
    --primary-light: #2a5080;
    --primary-dark: #152a45;
    --accent-green: #22c55e;
    --accent-green-light: #4ade80;
    --accent-orange: #f59e0b;
    --accent-orange-light: #fbbf24;
    --accent-red: #ef4444;
    --accent-red-light: #f87171;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.3s ease;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Section Spacing --- */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background var(--transition);
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.navbar-logo svg {
    width: 28px;
    height: 28px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
}

.navbar-links a:hover {
    color: var(--white);
}

.navbar-cta {
    background: var(--accent-green);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.navbar-cta:hover {
    background: var(--accent-green-light);
    transform: translateY(-1px);
}

.navbar-mobile-toggle {
    display: none;
    background: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 140px 0 100px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(34,197,94,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* --- Scan Form --- */
.scan-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1);
    transition: box-shadow var(--transition);
}

.scan-form:focus-within {
    box-shadow: var(--shadow-xl), 0 0 0 3px rgba(34,197,94,0.3);
}

.scan-form input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--gray-800);
    background: transparent;
    min-width: 0;
}

.scan-form input::placeholder {
    color: var(--gray-400);
}

.scan-form button {
    padding: 16px 28px;
    background: var(--accent-green);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scan-form button:hover {
    background: #1ea84e;
}

.scan-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--gray-400);
}

.scan-form button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.hero-social-proof strong {
    color: var(--accent-green);
    font-weight: 700;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-trust svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* --- Loading State --- */
.scan-loading {
    display: none;
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: center;
}

.scan-loading.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.loading-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-green-light));
    border-radius: 3px;
    width: 0%;
    transition: width 0.5s ease;
}

.loading-status {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--accent-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Results Section --- */
.results-section {
    display: none;
    padding: 60px 0 80px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.results-section.active {
    display: block;
    animation: slideIn 0.6s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.results-url {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.results-url strong {
    color: var(--primary);
}

/* --- Score Circle --- */
.score-circle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.score-circle {
    position: relative;
    width: 180px;
    height: 180px;
}

.score-circle svg {
    width: 180px;
    height: 180px;
    transform: rotate(-90deg);
}

.score-circle-bg {
    fill: none;
    stroke: var(--gray-200);
    stroke-width: 10;
}

.score-circle-fill {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 502.65;
    stroke-dashoffset: 502.65;
    transition: stroke-dashoffset 1.5s ease, stroke 0.5s ease;
}

.score-circle-fill.green { stroke: var(--accent-green); }
.score-circle-fill.orange { stroke: var(--accent-orange); }
.score-circle-fill.red { stroke: var(--accent-red); }

.score-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.score-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* --- Category Scores --- */
.category-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 2.5rem;
}

.category-score-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.category-score-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.category-score-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.category-score-value {
    font-size: 0.85rem;
    font-weight: 700;
}

.category-score-value.green { color: var(--accent-green); }
.category-score-value.orange { color: var(--accent-orange); }
.category-score-value.red { color: var(--accent-red); }

.category-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
    overflow: hidden;
}

.category-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease 0.3s;
    width: 0%;
}

.category-bar-fill.green { background: var(--accent-green); }
.category-bar-fill.orange { background: var(--accent-orange); }
.category-bar-fill.red { background: var(--accent-red); }

/* --- Issues Summary --- */
.issues-summary {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.issue-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
}

.issue-badge.critical {
    background: #fef2f2;
    color: var(--accent-red);
    border: 1px solid #fecaca;
}

.issue-badge.major {
    background: #fffbeb;
    color: var(--accent-orange);
    border: 1px solid #fed7aa;
}

.issue-badge.minor {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.issue-badge svg {
    width: 16px;
    height: 16px;
}

/* --- Issues List --- */
.issues-list {
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.issues-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.issue-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 8px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.issue-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.issue-icon.critical {
    background: #fef2f2;
    color: var(--accent-red);
}

.issue-icon.major {
    background: #fffbeb;
    color: var(--accent-orange);
}

.issue-icon.minor {
    background: #f0fdf4;
    color: #16a34a;
}

.issue-icon svg {
    width: 12px;
    height: 12px;
}

.issue-text {
    flex: 1;
}

.issue-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.issue-text span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.issues-blur {
    position: relative;
    overflow: hidden;
}

.issues-blur::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--gray-50));
    pointer-events: none;
}

/* --- Results CTAs --- */
.results-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Risk Section --- */
.risk-section {
    background: var(--white);
}

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

.risk-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.risk-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.risk-icon.red { background: #fef2f2; color: var(--accent-red); }
.risk-icon.orange { background: #fffbeb; color: var(--accent-orange); }
.risk-icon.blue { background: #eff6ff; color: #3b82f6; }

.risk-icon svg {
    width: 28px;
    height: 28px;
}

.risk-card h3 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.risk-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 8px;
}

.risk-card.orange-amount .risk-amount {
    color: var(--accent-orange);
}

.risk-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* --- How it Works --- */
.how-section {
    background: var(--gray-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.step-number svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* --- What We Check --- */
.checks-section {
    background: var(--white);
}

.checks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.check-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.check-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.check-icon svg {
    width: 24px;
    height: 24px;
}

.check-icon.green { background: #f0fdf4; color: var(--accent-green); }
.check-icon.blue { background: #eff6ff; color: #3b82f6; }
.check-icon.purple { background: #faf5ff; color: #8b5cf6; }
.check-icon.orange { background: #fffbeb; color: var(--accent-orange); }
.check-icon.cyan { background: #ecfeff; color: #06b6d4; }

.check-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.check-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 8px;
}

.check-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* --- Pricing --- */
.pricing-section {
    background: var(--gray-50);
}

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

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

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

.pricing-card.popular {
    border: 2px solid var(--accent-green);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.pricing-price {
    margin-bottom: 24px;
}

.pricing-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-price .period {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.pricing-features {
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent-green);
    margin-top: 2px;
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-features li.disabled svg {
    color: var(--gray-300);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--white);
}

.btn-primary:hover {
    background: #1ea84e;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* --- FAQ --- */
.faq-section {
    background: var(--white);
}

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

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--gray-400);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand svg {
    width: 24px;
    height: 24px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
}

.footer-france {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Scan Error --- */
.scan-error {
    display: none;
    max-width: 600px;
    margin: 1.5rem auto 0;
    padding: 14px 20px;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: var(--radius);
    color: #fca5a5;
    font-size: 0.9rem;
    text-align: center;
}

.scan-error.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* --- Results Page --- */
.results-page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 120px 0 40px;
    text-align: center;
}

.results-page-hero h1 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.results-page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.results-page-body {
    padding: 40px 0 80px;
    background: var(--gray-50);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    transition: opacity var(--transition);
}

.share-btn:hover {
    opacity: 0.9;
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.facebook { background: #1877f2; }

.share-btn svg {
    width: 16px;
    height: 16px;
}

/* --- Error Page State --- */
.error-state {
    text-align: center;
    padding: 80px 20px;
}

.error-state svg {
    width: 80px;
    height: 80px;
    color: var(--gray-300);
    margin-bottom: 24px;
}

.error-state h2 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.error-state p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .risk-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-mobile-toggle {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .scan-form {
        flex-direction: column;
    }

    .scan-form button {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps-grid::before {
        display: none;
    }

    .risk-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .category-scores {
        grid-template-columns: 1fr 1fr;
    }

    .issues-summary {
        gap: 12px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.65rem;
    }

    .category-scores {
        grid-template-columns: 1fr;
    }

    .checks-grid {
        grid-template-columns: 1fr;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }
}
