/* ========================================
   EINBLICK KI — PUBLIC WEBSITE
   Light, minimalist, professional SaaS
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #eef2ff;
    --accent: #0ea5e9;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --swiss-red: #dc2626;
    --success: #10b981;
    --warning: #f59e0b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span { color: var(--primary); }

.logo-icon {
    width: 28px;
    height: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dark); }

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    padding: 0.25rem;
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 2rem;
    flex-direction: column;
    gap: 1rem;
}

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

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
}
.btn-ghost:hover { background: var(--gray-100); }

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

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

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

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    border-radius: 10px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 4rem;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

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

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 480px;
}

.hero-cta { display: flex; gap: 0.75rem; margin-bottom: 3rem; }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.125rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 6rem 2rem;
}

.section--alt {
    background: var(--gray-50);
}

.section--dark {
    background: var(--dark);
    color: var(--white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section--dark .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section--dark .section-title {
    color: var(--white);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.section--dark .section-desc {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   FEATURE GRID
   ======================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}

.feature-card-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.375rem;
}

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

/* ========================================
   AI MODES SECTION
   ======================================== */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.mode-card {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.mode-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}

.mode-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--gray-50);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.mode-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.375rem;
}

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

/* ========================================
   USE CASES GRID
   ======================================== */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.use-case-card {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

.use-case-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.use-case-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.use-case-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   SCROLL CAROUSEL (mobile horizontal scroll)
   ======================================== */
.scroll-carousel-wrapper {
    position: relative;
}

.scroll-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.scroll-carousel::-webkit-scrollbar {
    display: none;
}

.scroll-carousel-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: var(--dark);
    font-size: 1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.scroll-carousel-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.scroll-carousel-arrow--left { left: -8px; }
.scroll-carousel-arrow--right { right: -8px; }

/* Table scroll wrapper */
.table-scroll-wrapper {
    position: relative;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.table-scroll::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .scroll-carousel-arrow {
        display: flex;
    }
    
    .scroll-carousel .use-case-grid {
        display: flex;
        gap: 1rem;
        padding: 0.5rem;
    }

    .scroll-carousel .use-case-card {
        min-width: 280px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .table-scroll-wrapper .scroll-carousel-arrow {
        display: flex;
    }
}

/* ========================================
   DATA SOVEREIGNTY SECTION
   ======================================== */
.sovereignty-section {
    background: var(--white);
    padding: 6rem 2rem;
}

.sovereignty-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.sovereignty-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 1.5rem;
}

.sovereignty-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.sovereignty-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.sovereignty-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.sovereignty-table th,
.sovereignty-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.9rem;
}

.sovereignty-table thead th {
    background: var(--gray-50);
    font-weight: 700;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-200);
}

.sovereignty-table thead th:first-child {
    color: var(--gray-400);
}

.sovereignty-table tbody td {
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}

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

.sovereignty-table .col-einblick {
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary-dark, #4338ca);
    font-weight: 600;
}

.sovereignty-table thead .col-einblick {
    background: var(--primary);
    color: var(--white);
}

/* When table is on a light background (comparison section) */
.section .sovereignty-table {
    border-color: var(--gray-200);
}

.section .sovereignty-table thead th {
    background: var(--gray-50);
    color: var(--dark);
    border-bottom-color: var(--gray-200);
}

.section .sovereignty-table tbody td {
    color: var(--gray-600);
    border-bottom-color: var(--gray-100);
}

.section .sovereignty-table tbody td:first-child {
    color: var(--dark);
    font-weight: 600;
}

.section .sovereignty-table .col-einblick {
    color: var(--primary-dark, #4338ca);
    background: rgba(99, 102, 241, 0.06);
}

.section .sovereignty-table thead .col-einblick {
    color: var(--white);
    background: var(--primary);
}

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

.sovereignty-point {
    padding: 1.25rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    text-align: center;
}

.sovereignty-point-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sovereignty-point h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

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

/* ========================================
   MODULE CARDS (Premium page + landing)
   ======================================== */
.module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.module-card {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.module-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}

.module-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.module-card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.module-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.module-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.module-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.module-card-price .price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
}

.module-card-price .unit {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.module-category-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding-top: 2rem;
}

.module-category-title:first-child {
    padding-top: 0;
}

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.pricing-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.12);
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.pricing-card-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.pricing-card-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-card-price .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

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

.pricing-card-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-card-features li {
    padding: 0.375rem 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 0.8rem;
}

/* ========================================
   TESTIMONIAL
   ======================================== */
.testimonial-section {
    padding: 6rem 2rem;
    background: var(--gray-50);
}

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

.testimonial-quote-mark {
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

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

/* ========================================
   CTA
   ======================================== */
.cta {
    padding: 5rem 2rem;
    background: var(--dark);
    text-align: center;
}

.cta-content {
    max-width: 560px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

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

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 4rem 2rem 2rem;
    background: #070a10;
    color: var(--gray-400);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer-swiss {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.125rem;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-decoration: none;
}

.contact-info-item a:hover { color: var(--primary); }

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.375rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--dark);
    transition: border-color 0.2s;
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

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

.form-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    display: none;
}

.form-status.success { color: var(--success); display: block; }
.form-status.error { color: var(--swiss-red); display: block; }

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gray-400);
    transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
    content: '−';
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.legal-content .legal-date {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.75rem;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin: 1.5rem 0 0.5rem;
}

.legal-content p {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

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

.legal-content li {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
    line-height: 1.6;
}

/* ========================================
   PAGE HERO (subpages)
   ======================================== */
.page-hero {
    padding: 8rem 2rem 3rem;
    text-align: center;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   INLINE GRID REPLACEMENTS
   ======================================== */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.pricing-explainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 280px; margin: 2rem auto 0; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .modes-grid { grid-template-columns: repeat(2, 1fr); }
    .sovereignty-points { grid-template-columns: repeat(2, 1fr); }
    .module-grid { grid-template-columns: repeat(2, 1fr); }
    .use-case-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding-top: 5rem; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
    .section { padding: 4rem 1.5rem; }
    .section-title { font-size: 1.75rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .modes-grid { grid-template-columns: 1fr; }
    .module-grid { grid-template-columns: 1fr; }
    .use-case-grid { grid-template-columns: 1fr; }
    .sovereignty-section { padding: 4rem 1.5rem; }
    .sovereignty-points { grid-template-columns: 1fr 1fr; }
    .sovereignty-table { font-size: 0.75rem; }
    .sovereignty-table th,
    .sovereignty-table td { padding: 0.625rem 0.375rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; }
    .cta h2 { font-size: 1.75rem; }
    .testimonial-quote { font-size: 1.1rem; }
    .page-hero h1 { font-size: 2rem; }
    .tier-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .pricing-explainer { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .sovereignty-points { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .sovereignty-table { font-size: 0.7rem; }
    .sovereignty-table th,
    .sovereignty-table td { padding: 0.5rem 0.25rem; }
    .hero h1 { font-size: 1.75rem; }
    .section-title { font-size: 1.5rem; }
}

