/* ===== CSS Variables ===== */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --secondary: #64748B;
    --dark: #0F172A;
    --gray-900: #1E293B;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748B;
    --gray-500: #94A3B8;
    --gray-400: #CBD5E1;
    --gray-300: #E2E8F0;
    --gray-200: #F1F5F9;
    --gray-100: #F8FAFC;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

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

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-800);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
    border-color: var(--gray-400);
}

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

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

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

.btn-white:hover {
    background-color: var(--gray-100);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--gray-100);
    color: var(--primary);
}

/* Language Selector */
.lang-selector {
    position: relative;
    margin-left: 1.5rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border: none;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: var(--gray-200);
    color: var(--primary);
}

.lang-btn svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.lang-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 0.25rem;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.lang-selector:hover .lang-btn::after {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 8px; /* Zone tampon pour éviter la fermeture */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.3s; /* Délai de 0.3s avant fermeture */
    z-index: 200;
}

.lang-dropdown-inner {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 140px;
    overflow: hidden;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0s linear 0s; /* Pas de délai à l'ouverture */
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.15s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-dropdown a:last-child {
    border-bottom: none;
}

.lang-dropdown a:hover {
    background-color: var(--gray-50);
    color: var(--primary);
    padding-left: 1.25rem;
}

.lang-dropdown a.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.lang-dropdown a.active:hover {
    padding-left: 1rem;
}

/* Flag emojis for languages */
.lang-dropdown a::before {
    font-size: 1.125rem;
}

/* Langues spécifiques - matcher les deux formats de liens */
.lang-dropdown a[href*="/en/"]::before,
.lang-dropdown a[href^="en/"]::before { content: '🇬🇧'; }
.lang-dropdown a[href*="/es/"]::before,
.lang-dropdown a[href^="es/"]::before { content: '🇪🇸'; }
.lang-dropdown a[href*="/de/"]::before,
.lang-dropdown a[href^="de/"]::before { content: '🇩🇪'; }
.lang-dropdown a[href*="/it/"]::before,
.lang-dropdown a[href^="it/"]::before { content: '🇮🇹'; }
.lang-dropdown a[href*="/pt/"]::before,
.lang-dropdown a[href^="pt/"]::before { content: '🇵🇹'; }
.lang-dropdown a[href*="/nl/"]::before,
.lang-dropdown a[href^="nl/"]::before { content: '🇳🇱'; }
.lang-dropdown a[href*="/pl/"]::before,
.lang-dropdown a[href^="pl/"]::before { content: '🇵🇱'; }
.lang-dropdown a[href*="/ru/"]::before,
.lang-dropdown a[href^="ru/"]::before { content: '🇷🇺'; }
.lang-dropdown a[href*="/tr/"]::before,
.lang-dropdown a[href^="tr/"]::before { content: '🇹🇷'; }
.lang-dropdown a[href*="/ar/"]::before,
.lang-dropdown a[href^="ar/"]::before { content: '🇸🇦'; }
.lang-dropdown a[href*="/ja/"]::before,
.lang-dropdown a[href^="ja/"]::before { content: '🇯🇵'; }
.lang-dropdown a[href*="/zh/"]::before,
.lang-dropdown a[href^="zh/"]::before { content: '🇨🇳'; }
/* FR en dernier - seulement pour les liens racine */
.lang-dropdown a[href="index.html"]::before,
.lang-dropdown a[href="../index.html"]::before { content: '🇫🇷'; }

.mobile-lang-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.5rem;
    justify-content: center;
}

.mobile-lang-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: all 0.2s ease;
}

.mobile-lang-links a:hover {
    background: var(--gray-200);
    transform: scale(1.05);
}

.mobile-lang-links a.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* ===== Hero Section ===== */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Code Preview */
.code-preview {
    background-color: var(--gray-900);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background-color: var(--gray-800);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background-color: #FF5F57; }
.code-dot.yellow { background-color: #FFBD2E; }
.code-dot.green { background-color: #28CA41; }

.code-filename {
    margin-left: 0.75rem;
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.code-content {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.code-content code {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-300);
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--gray-600);
    margin-top: 0.75rem;
    font-size: 1.125rem;
}

/* ===== Products Section ===== */
.products {
    padding: 5rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.product-icon.auto {
    background-color: #DBEAFE;
    color: #2563EB;
}

.product-icon.moto {
    background-color: #FEE2E2;
    color: #DC2626;
}

.product-icon.camper {
    background-color: #D1FAE5;
    color: #059669;
}

.product-icon.utility {
    background-color: #FEF3C7;
    color: #D97706;
}

.product-icon.pack {
    background-color: #E0E7FF;
    color: #4F46E5;
}

/* Featured Product Card (Pack Complet) */
.product-card.featured {
    position: relative;
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, #EEF4FF 0%, #F8FAFF 50%, var(--white) 100%);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), var(--shadow-lg);
    transform: scale(1.02);
}

.product-card.featured:hover {
    border-color: var(--primary-dark);
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), var(--shadow-xl);
}

.product-card.featured .product-footer {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    margin: 0 -1.75rem -1.75rem;
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.product-card.featured .product-price {
    color: var(--primary);
}

.product-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5); }
}

.product-card h3 {
    margin-bottom: 0.75rem;
}

.product-card > p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

.product-footer .btn {
    text-align: center;
}

/* Pack Complet spans full width on larger screens */
.product-card.featured {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
    width: 100%;
}

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

    .product-card.featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        max-width: none;
    }
}

/* ===== Benefits Section ===== */
.benefits {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

@media (max-width: 968px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA Section ===== */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--gray-900);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo span {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    max-width: 280px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Product Page Specific ===== */
.product-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.product-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-hero-content {
    padding-top: 1rem;
}

.product-hero h1 {
    margin-bottom: 1rem;
}

.product-hero .description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.product-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-stat {
    display: flex;
    flex-direction: column;
}

.product-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.product-stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.format-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.format-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

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

.product-price-box {
    background-color: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.product-price-box .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.product-price-box .price-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.product-price-box .btn {
    width: 100%;
}

/* Data Preview Section */
.data-preview-section {
    padding: 4rem 0;
}

.preview-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.preview-tab {
    padding: 0.625rem 1.25rem;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-tab:hover {
    background-color: var(--gray-200);
}

.preview-tab.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.preview-content {
    background-color: var(--gray-900);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.preview-content pre {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
    max-height: 400px;
}

.preview-content code {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--gray-300);
}

.preview-table-wrapper {
    overflow-x: auto;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.preview-table th,
.preview-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.preview-table th {
    background-color: var(--gray-100);
    font-weight: 600;
    color: var(--gray-700);
}

.preview-table tr:last-child td {
    border-bottom: none;
}

.preview-table tr:hover td {
    background-color: var(--gray-50);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--gray-100);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.feature-item svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--success);
}

.feature-item span {
    font-size: 0.9375rem;
    color: var(--gray-700);
}

@media (max-width: 968px) {
    .product-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
}

/* ===== FAQ Page ===== */
.faq-section {
    padding: 8rem 0 5rem;
}

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

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--gray-50);
}

.faq-question svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.25rem 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 8rem 0 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-text {
    font-size: 0.9375rem;
}

.contact-detail-text strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.125rem;
}

.contact-detail-text span {
    color: var(--gray-600);
}

.contact-form {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background-color: var(--white);
    color: var(--dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

.contact-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

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

.form-message-success {
    background-color: #ECFDF5;
    border: 1px solid var(--success);
    color: #065F46;
}

.form-message-error {
    background-color: #FEF2F2;
    border: 1px solid var(--error);
    color: #991B1B;
}

.form-message-icon {
    font-size: 1.25rem;
    font-weight: 600;
}

.form-message-success .form-message-icon {
    color: var(--success);
}

.form-message-error .form-message-icon {
    color: var(--error);
}

.form-message-text {
    flex: 1;
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== Legal Pages ===== */
.legal-section {
    padding: 8rem 0 5rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* ===== Utilities ===== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
