/* ==========================================
   E-VOTING PLATFORM - STYLES PRINCIPAUX
   Version: 2.1.0
   Description: CSS moderne avec animations
   ========================================== */

/* ==========================================
   RESET & BASE
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs primaires */
    --primary: #0b57d0;
    --primary-dark: #00385F;
    --primary-light: #004b89;
    --secondary: #0b57d0;
    --accent: #de382c;
    
    /* Anciennes couleurs (conservées pour compatibilité) */
    --blue-600: #0b57d0;
    --indigo-600: #004b89;
    --purple-600: #12518e;
    
    /* Couleurs neutres */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    
    /* Couleurs d'accentuation */
    --green-600: #16a34a;
    --red-600: #dc2626;
    --orange-600: #ea580c;
    --yellow-600: #ca8a04;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-900);
    background: linear-gradient(to bottom, var(--slate-50), white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--slate-300);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    position: relative;
}

/* Logo */
.logo-link {
    text-decoration: none;
    transition: var(--transition-base);
}

.logo-link:hover {
    opacity: 0.9;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    margin: 0;
}

.logo-tagline {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link i {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--slate-50);
}

.nav-link:hover i {
    opacity: 1;
    transform: translateY(-1px);
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--slate-200);
    margin: 0 0.5rem;
}

/* Mobile Menu Toggle - Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: var(--transition-base);
}

.mobile-menu-toggle:hover {
    opacity: 0.7;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--slate-900);
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    background: white;
    border-radius: 0 0 20px 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--slate-700);
    text-decoration: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    transition: var(--transition-base);
}

.mobile-link i {
    font-size: 1.125rem;
    color: var(--primary);
    width: 24px;
}

.mobile-link:hover,
.mobile-link:active {
    background: var(--slate-50);
    color: var(--primary);
}

.mobile-menu-divider {
    height: 1px;
    background: var(--slate-200);
    margin: 0.5rem 0;
}

.mobile-link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    margin-top: 0.5rem;
}

.mobile-link-button.secondary {
    background: var(--slate-50);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.mobile-link-button.secondary:hover {
    background: var(--slate-100);
}

.mobile-link-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(11, 87, 208, 0.3);
}

.mobile-link-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 87, 208, 0.4);
}

.mobile-link-button.accent {
    background: linear-gradient(135deg, var(--accent), #c42f24);
    color: white;
    box-shadow: 0 4px 12px rgba(222, 56, 44, 0.3);
}

.mobile-link-button.accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(222, 56, 44, 0.4);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-primary,
.btn-secondary,
.btn-accent,
.btn-cta-primary,
.btn-cta-secondary,
.btn-cta-white,
.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(11, 87, 208, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 87, 208, 0.35);
}

.btn-primary i {
    transition: var(--transition-base);
}

.btn-primary:hover i {
    transform: translateX(2px);
}

.btn-secondary {
    background: white;
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
    background: var(--slate-50);
    border-color: var(--slate-300);
}

.btn-secondary i {
    transition: var(--transition-base);
}

.btn-secondary:hover i {
    transform: scale(1.1);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #c42f24);
    color: white;
    box-shadow: 0 4px 12px rgba(222, 56, 44, 0.25);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(222, 56, 44, 0.35);
}

.btn-accent i {
    transition: var(--transition-base);
}

.btn-accent:hover i {
    transform: scale(1.1);
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.btn-cta-primary i {
    transition: var(--transition-base);
}

.btn-cta-primary:hover i {
    transform: translateX(4px);
}

.btn-cta-secondary {
    background: white;
    color: var(--slate-700);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
}

.btn-cta-secondary:hover {
    background: var(--slate-50);
}

.btn-cta-white {
    background: white;
    color: var(--blue-600);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    box-shadow: var(--shadow-xl);
}

.btn-cta-white:hover {
    transform: scale(1.05);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border: 2px solid white;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    position: relative;
    padding: 5rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(11, 87, 208, 0.03) 0%, 
        rgba(0, 75, 137, 0.05) 50%, 
        rgba(0, 56, 95, 0.03) 100%
    );
    background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    color: #fbbf24;
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--slate-900);
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600), var(--purple-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--slate-600);
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.badge i {
    color: var(--blue-600);
}

.badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
}

/* ==========================================
   SECTIONS
   ========================================== */

.features,
.use-cases,
.comparison {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--slate-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* ==========================================
   FEATURES GRID
   ========================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-icon.blue {
    background: linear-gradient(135deg, var(--blue-600), #3b82f6);
}

.feature-icon.purple {
    background: linear-gradient(135deg, var(--purple-600), #a855f7);
}

.feature-icon.green {
    background: linear-gradient(135deg, var(--green-600), #22c55e);
}

.feature-icon.red {
    background: linear-gradient(135deg, var(--red-600), #ef4444);
}

.feature-icon.orange {
    background: linear-gradient(135deg, var(--orange-600), #f97316);
}

.feature-icon.indigo {
    background: linear-gradient(135deg, var(--indigo-600), #6366f1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--slate-600);
    line-height: 1.7;
}

/* ==========================================
   USE CASES
   ========================================== */

.use-cases {
    background: linear-gradient(to bottom, var(--slate-50), white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-base);
}

.use-case-card:hover {

    border-color: var(--accent);
    border-width: 2px;
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.use-case-icon i {
    font-size: 1.5rem;
    color: var(--blue-600);
}

.use-case-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.use-case-description {
    font-size: 0.875rem;
    color: var(--slate-600);
}

/* ==========================================
   COMPARISON
   ========================================== */

.comparison-box {
    max-width: 56rem;
    margin: 0 auto;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05), 
        rgba(79, 70, 229, 0.05)
    );
    border: 2px solid var(--blue-200);
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-title.inactive {
    color: var(--slate-400);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.comparison-list.inactive li {
    color: var(--slate-500);
}

.comparison-list i {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.comparison-list .fa-check {
    color: var(--green-600);
}

.comparison-list .fa-times {
    color: var(--slate-400);
}

@media (max-width: 768px) {
    .comparison-table {
        display: none;
    }
    
    .comparison-mobile {
        display: block;
    }
    
    .comparison-card {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        box-shadow: var(--shadow-md);
    }
}

@media (min-width: 769px) {
    .comparison-mobile {
        display: none;
    }
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600), var(--purple-600));
    opacity: 0.1;
}

.cta-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600), var(--purple-600));
    padding: 4rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    border-radius: 50%;
    object-fit: cover;
}

.footer-col h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--slate-400);
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.footer-social a:hover {
    color: white;
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-tagline {
        font-size: 0.5625rem;
    }
    
    .comparison-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-content {
        height: 64px;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 0.875rem;
    }
    
    .logo-tagline {
        display: none;
    }
    
    .mobile-menu {
        top: 64px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}


/* ==========================================
   LEGAL
   ========================================== */

    .legal-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 120px 20px 80px;
    }

    .legal-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .legal-header h1 {
        font-size: 3rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin-bottom: 16px !important;
        line-height: 1.2 !important;
    }

    .legal-header .update-date {
        font-size: 0.95rem;
        color: #64748b;
        font-weight: 500;
    }

    .legal-content {
        background: white;
        border-radius: 16px;
        padding: 48px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .legal-section {
        margin-bottom: 48px;
    }

    .legal-section:last-child {
        margin-bottom: 0;
    }

    .legal-section h2 {
        font-size: 1.75rem !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        margin-bottom: 20px !important;
        padding-bottom: 12px !important;
        border-bottom: 2px solid #e2e8f0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .legal-section h2 i {
        color: #3b82f6;
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        color: #334155 !important;
        margin: 24px 0 12px !important;
    }

    .legal-section p {
        font-size: 1rem !important;
        line-height: 1.8 !important;
        color: #475569 !important;
        margin-bottom: 16px !important;
    }

    .legal-section ul {
        list-style: none !important;
        padding-left: 0 !important;
        margin: 16px 0 !important;
    }

    .legal-section ul li {
        padding-left: 28px !important;
        position: relative !important;
        margin-bottom: 12px !important;
        color: #475569 !important;
        line-height: 1.7 !important;
    }

    .legal-section ul li::before {
        content: "•" !important;
        position: absolute !important;
        left: 8px !important;
        color: #3b82f6 !important;
        font-weight: bold !important;
        font-size: 1.2rem !important;
    }

    .info-box {
        background: #f1f5f9;
        border-left: 4px solid #3b82f6;
        padding: 20px 24px;
        border-radius: 8px;
        margin: 24px 0;
    }

    .info-box p {
        margin-bottom: 0 !important;
        color: #334155 !important;
    }

    .info-box strong {
        color: #1e293b;
    }

    .contact-card {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 32px;
        border-radius: 12px;
        margin-top: 48px;
        text-align: center;
    }

    .contact-card h3 {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        color: white !important;
        margin-bottom: 16px !important;
    }

    .contact-card p {
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: 24px !important;
    }

    .contact-card a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: white;
        color: #667eea;
        padding: 12px 28px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .contact-card a:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .back-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #3b82f6;
        text-decoration: none;
        font-weight: 600;
        margin-bottom: 32px;
        transition: gap 0.2s;
    }

    .back-link:hover {
        gap: 12px;
    }

    @media (max-width: 768px) {
        .legal-container {
            padding: 100px 16px 60px;
        }

        .legal-header h1 {
            font-size: 2rem !important;
        }

        .legal-content {
            padding: 32px 24px;
        }

        .legal-section h2 {
            font-size: 1.5rem !important;
        }

        .contact-card {
            padding: 24px;
        }
    }


/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeIn 0.6s ease-out backwards;
}

.hero-badge {
    animation-delay: 0.1s;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.3s;
}

.trust-badges {
    animation-delay: 0.4s;
}

.hero-cta {
    animation-delay: 0.5s;
}

.stats {
    animation-delay: 0.6s;
}

/* Smooth scroll */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(11, 87, 208, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(11, 87, 208, 0.5);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.25rem;
    }
}

/* ==========================================
   CALCULATOR SECTION
   ========================================== */

.calculator {
    padding: 5rem 0;
    background: var(--slate-50);
}

.calculator-tool {
    max-width: 64rem;
    margin: 3rem auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.calculator-inputs {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--slate-700);
    font-size: 0.9375rem;
}

.input-group input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--slate-200);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    min-width: 150px;
    transition: var(--transition-base);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.1);
}

.input-help {
    display: block;
    font-size: 0.8125rem;
    color: var(--slate-500);
    margin-top: 0.25rem;
    font-weight: 400;
}

.calculator-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--slate-50);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
}

.result-card.evoting {
    background: linear-gradient(135deg, rgba(11, 87, 208, 0.05), rgba(0, 75, 137, 0.05));
    border: 2px solid var(--primary);
}

.result-card.competitor {
    background: var(--slate-100);
    border: 2px solid var(--slate-300);
}

.result-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.result-card .price {
    margin-bottom: 1.5rem;
}

.result-card .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.result-card.competitor .amount {
    color: var(--slate-600);
}

.result-card .period {
    font-size: 1rem;
    color: var(--slate-600);
    margin-left: 0.5rem;
}

.features-mini {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.features-mini li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.savings-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--green-600), #22c55e);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    min-width: 140px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.savings-badge strong {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.savings-amount {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.savings-percent {
    font-size: 1.125rem;
    font-weight: 600;
}

.calculator-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ==========================================
   PRICING SECTION
   ========================================== */

.pricing {
    padding: 5rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.plan-tagline {
    color: var(--slate-600);
    font-size: 0.9375rem;
}

.plan-price {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-600);
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--slate-900);
}

.plan-price .amount-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--slate-900);
    display: block;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--slate-600);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.plan-features li i {
    color: var(--green-600);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
}

.plan-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-top: 1rem;
}

.pricing-alternative {
    max-width: 48rem;
    margin: 3rem auto 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(11, 87, 208, 0.05), rgba(0, 75, 137, 0.05));
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
}

.pricing-alternative h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.pricing-alternative p {
    font-size: 1.125rem;
    color: var(--slate-700);
}

.price-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* ==========================================
   COMPARISON TABLE
   ========================================== */

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 3rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--slate-100), var(--slate-50));
}

.comparison-table th {
    padding: 1.5rem 1rem;
    font-weight: 700;
    color: var(--slate-900);
    text-align: center;
    border-bottom: 2px solid var(--slate-200);
}

.comparison-table th.highlight {
    background: linear-gradient(135deg, rgba(11, 87, 208, 0.1), rgba(0, 75, 137, 0.1));
}

.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--slate-100);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table td.highlight {
    background: linear-gradient(135deg, rgba(11, 87, 208, 0.03), rgba(0, 75, 137, 0.03));
}

.comparison-table .total-row {
    background: var(--slate-50);
}

.comparison-table .total-row td {
    padding: 1.5rem 1rem;
    font-size: 1.125rem;
    border-bottom: none;
}

.provider-logo {
    font-weight: 700;
    font-size: 1.125rem;
}

.price-badge {
    background: linear-gradient(135deg, var(--green-600), #22c55e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    display: inline-block;
}

.feature-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.875rem;
}

.comparison-table .check {
    color: var(--green-600);
    font-size: 1.25rem;
}

.comparison-table .cross {
    color: var(--slate-400);
    font-size: 1.25rem;
}

.price-total {
    color: var(--green-600);
}

.comparison-cta {
    text-align: center;
    margin-top: 3rem;
}

.comparison-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */

.testimonials {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--slate-50), white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.rating {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slate-700);
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/*.testimonial-author div {
    flex: 1;
}*/

.testimonial-author strong {
    display: block;
    color: var(--slate-900);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    display: block;
    color: var(--slate-600);
    font-size: 0.875rem;
}

.testimonial-author small {
    display: block;
    color: var(--slate-500);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.faq {
    padding: 5rem 0;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 56rem;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    font-weight: 700;
    color: var(--slate-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.0625rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 1rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */

.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--slate-50) 0%, white 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.step-card {
    position: relative;
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step-icon {
    margin-top: 2rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--slate-600);
    line-height: 1.7;
    font-size: 1rem;
}

.cta-container {
    text-align: center;
    margin-top: 4rem;
}

.cta-note {
    margin-top: 1rem;
    color: var(--slate-600);
    font-size: 0.95rem;
}

/* ==========================================
   DEMO FORM SECTION
   ========================================== */

.demo-form {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--slate-50), white);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.demo-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.demo-text p {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.demo-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-benefits li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--slate-700);
    font-weight: 500;
}

.demo-form-box {
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--slate-200);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--slate-600);
    cursor: pointer;
    line-height: 1.5;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-top: 1rem;
}

.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

/* ==========================================
   RESPONSIVE - NEW SECTIONS
   ========================================== */

@media (max-width: 1024px) {
    .calculator-results {
        grid-template-columns: 1fr;
        gap: 8rem;
    }

    .savings-badge {
        position: static;
        transform: none;
        margin: -4rem auto;
    }

    .demo-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .calculator-inputs {
        flex-direction: column;
        gap: 1rem;
    }

    .input-group input {
        min-width: 100%;
    }

    .calculator-tool {
        padding: 2rem 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .demo-form-box {
        padding: 2rem 1.5rem;
    }

    .comparison-table-wrapper {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-card {
        padding: 2rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
}
