/* ============================================
   MaPub TV - Design System (Facile & Pratique)
   Multi-color edition
   ============================================ */

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

/* --- CSS Variables --- */
:root {
    /* Primary */
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #8b5cf6;
    --primary-50: #f5f3ff;
    --primary-100: #ede9fe;
    --primary-200: #ddd6fe;
    --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);

    /* Secondary colors */
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;

    --emerald: #10b981;
    --emerald-dark: #059669;
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;

    --orange: #f97316;
    --orange-dark: #ea580c;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;

    --rose: #ec4899;
    --rose-dark: #db2777;
    --rose-50: #fdf2f8;
    --rose-100: #fce7f3;

    --amber: #f59e0b;
    --amber-dark: #d97706;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;

    --cyan: #06b6d4;
    --cyan-dark: #0891b2;
    --cyan-50: #ecfeff;
    --cyan-100: #cffafe;

    /* Gold accent */
    --gold: #d4a853;
    --gold-light: #e0be7a;
    --gold-dark: #b8903e;

    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --bg-body: #ffffff;
    --bg-card: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* Radius */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;

    /* Layout */
    --header-height: 72px;
    --max-width: 1200px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-slow);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.logo svg {
    width: 36px;
    height: 36px;
}

.logo span {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 999;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--primary-50);
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    line-height: 1.4;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

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

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

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.4);
}

.btn-emerald {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

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

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

.section-blue {
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--primary-50) 100%);
}

.section-warm {
    background: linear-gradient(135deg, var(--orange-50) 0%, var(--amber-50) 100%);
}

.section-fresh {
    background: linear-gradient(135deg, var(--emerald-50) 0%, var(--cyan-50) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Hero --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--blue-50) 40%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-100), var(--blue-100));
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero page (subpages) */
.hero-page {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 48px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--blue-50) 50%, #fff 100%);
    text-align: center;
}

.hero-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-page p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 32px;
    transition: var(--transition-slow);
    border: 1px solid var(--border-color);
}

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

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

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

/* Color variants for card icons */
.card-icon.icon-violet { background: var(--primary-50); color: var(--primary); }
.card-icon.icon-blue { background: var(--blue-50); color: var(--blue); }
.card-icon.icon-emerald { background: var(--emerald-50); color: var(--emerald); }
.card-icon.icon-orange { background: var(--orange-50); color: var(--orange); }
.card-icon.icon-rose { background: var(--rose-50); color: var(--rose); }
.card-icon.icon-amber { background: var(--amber-50); color: var(--amber); }
.card-icon.icon-cyan { background: var(--cyan-50); color: var(--cyan); }

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Grid layouts --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

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

/* --- Stats section --- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    border-radius: var(--radius-lg);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Colored stat items */
.stat-item.stat-violet .stat-value { color: var(--primary); }
.stat-item.stat-blue .stat-value { color: var(--blue); }
.stat-item.stat-emerald .stat-value { color: var(--emerald); }
.stat-item.stat-orange .stat-value { color: var(--orange); }
.stat-item.stat-rose .stat-value { color: var(--rose); }

/* --- Inclusions list --- */
.inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.inclusion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inclusion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

.inclusion-item .check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 2px;
}

.inclusion-item .check svg {
    width: 14px;
    height: 14px;
}

.check-green { background: #dcfce7; color: #16a34a; }
.check-blue { background: var(--blue-100); color: var(--blue); }
.check-violet { background: var(--primary-100); color: var(--primary); }
.check-orange { background: var(--orange-100); color: var(--orange); }
.check-rose { background: var(--rose-100); color: var(--rose); }
.check-amber { background: var(--amber-100); color: var(--amber); }

.inclusion-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-box {
    background: linear-gradient(135deg, var(--primary-50), var(--blue-50));
    border-radius: var(--radius-xl);
    padding: 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Mini TV embed (index page) --- */
.mini-tv-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.mini-tv-link:hover {
    transform: scale(1.03);
}

.mini-tv-frame {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
    background: #1a1f36;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 0 0 1px rgba(124,58,237,0.15);
}

.mini-tv-screen {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    overflow: hidden;
    background: linear-gradient(160deg, #eef2f7 0%, #dfe6ee 40%, #e8ecf1 100%);
    display: flex;
    flex-direction: column;
}

.mini-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #1a1f36;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.mini-topbar-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    flex-shrink: 0;
}

.mini-topbar-accent {
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6, #06b6d4, #10b981);
}

.mini-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    padding: 0;
    min-height: 0;
}

.mini-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.mini-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c4b5fd, #93c5fd);
    border: 2px solid #1a1f36;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.mini-photo svg {
    width: 22px;
    height: 22px;
    opacity: 0.5;
}

.mini-name {
    font-size: 7px;
    font-weight: 800;
    color: #1a1f36;
    text-align: center;
}

.mini-subtitle {
    font-size: 5px;
    color: #94a3b8;
    text-align: center;
}

.mini-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px 8px 4px;
}

.mini-tagline {
    font-size: 8px;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 3px;
}

.mini-bar {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    border-radius: 1px;
    margin-bottom: 6px;
}

.mini-services {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 6px;
}

.mini-service {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 6px;
    color: #334155;
    font-weight: 500;
}

.mini-check {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mc-violet { background: #7c3aed; }
.mc-blue { background: #3b82f6; }
.mc-emerald { background: #10b981; }

.mini-phone {
    font-size: 7px;
    font-weight: 800;
    color: #1a1f36;
    margin-bottom: 4px;
}

.mini-qr-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mini-qr {
    width: 18px;
    height: 18px;
    background: #f1f5f9;
    border-radius: 2px;
    border: 1px solid #e2e8f0;
}

.mini-qr-row span {
    font-size: 6px;
    font-weight: 700;
    color: #1a1f36;
}

.mini-ticker {
    height: 14px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6, #06b6d4);
    flex-shrink: 0;
}

.mini-tv-stand {
    width: 60px;
    height: 5px;
    background: #334155;
    border-radius: 0 0 4px 4px;
    opacity: 0.3;
}

.mini-tv-caption {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.2s;
}

.mini-tv-link:hover .mini-tv-caption {
    color: var(--primary-dark);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

/* CTA variant warm */
.cta-section.cta-warm {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #7c3aed 100%);
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo span {
    -webkit-text-fill-color: #fff;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.footer-brand a {
    color: var(--primary-light);
    font-weight: 500;
    font-size: 14px;
}

.footer-brand a:hover {
    color: #fff;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    font-size: 14px;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-col .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 14px;
    padding: 4px 0;
}

.footer-col .contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
}

.eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
}

.eco-badge svg {
    width: 14px;
    height: 14px;
}

/* --- Pricing Cards --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 32px;
    text-align: center;
    transition: var(--transition-slow);
    border: 2px solid var(--border-color);
    position: relative;
}

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

.pricing-card.featured {
    border-color: var(--blue);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
    transform: scale(1.02);
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: #fff;
    padding: 4px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card .duration {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-card .price-suffix {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-card .features {
    text-align: left;
    margin-bottom: 24px;
}

.pricing-card .features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-card .features li svg {
    width: 16px;
    height: 16px;
    color: #16a34a;
    min-width: 16px;
}

/* --- Pricing hero (kept for compat) --- */
.pricing-hero {
    text-align: center;
    padding: 48px 0;
}

.pricing-highlight {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: #fff;
    padding: 24px 48px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.pricing-highlight .price-big {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-highlight .price-suffix {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-top: 4px;
}

.pricing-asterisk {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* --- Timeline / Steps --- */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-100), var(--blue-100), var(--emerald-100), var(--orange-100));
}

.timeline-step {
    display: flex;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.timeline-number.bg-violet { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.timeline-number.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.timeline-number.bg-emerald { background: linear-gradient(135deg, #10b981, #059669); }
.timeline-number.bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); }

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding-top: 4px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--blue-100);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.08);
}

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

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

.faq-question svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    color: var(--blue);
}

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

.faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Contact page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-50), var(--blue-50));
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-info-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-info-card > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

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

.contact-detail-icon.di-blue { background: var(--blue-100); color: var(--blue); }
.contact-detail-icon.di-emerald { background: var(--emerald-100); color: var(--emerald); }
.contact-detail-icon.di-orange { background: var(--orange-100); color: var(--orange); }
.contact-detail-icon.di-violet { background: var(--primary-100); color: var(--primary); }

.contact-detail h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

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

/* Contact form */
.contact-form-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* --- Legal pages --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--blue-100);
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    margin-bottom: 12px;
    padding-left: 20px;
}

.legal-content ul li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    padding-left: 16px;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.legal-content a {
    color: var(--primary);
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* --- Encart preview --- */
.encart-preview {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}

.encart-header {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    padding: 20px 24px;
    color: #fff;
    text-align: center;
}

.encart-header h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.encart-header p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.encart-body {
    padding: 32px;
}

.encart-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.encart-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius);
}

.encart-feature.ef-violet { background: var(--primary-50); }
.encart-feature.ef-blue { background: var(--blue-50); }
.encart-feature.ef-emerald { background: var(--emerald-50); }
.encart-feature.ef-orange { background: var(--orange-50); }
.encart-feature.ef-rose { background: var(--rose-50); }
.encart-feature.ef-cyan { background: var(--cyan-50); }

.encart-feature svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
}

.encart-feature.ef-violet svg { color: var(--primary); }
.encart-feature.ef-blue svg { color: var(--blue); }
.encart-feature.ef-emerald svg { color: var(--emerald); }
.encart-feature.ef-orange svg { color: var(--orange); }
.encart-feature.ef-rose svg { color: var(--rose); }
.encart-feature.ef-cyan svg { color: var(--cyan); }

.encart-feature span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Extra info box --- */
.info-box {
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.info-box.info-blue {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
}

.info-box.info-blue svg { color: var(--blue); }

.info-box.info-violet {
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
}

.info-box.info-violet svg { color: var(--primary); }

.info-box.info-emerald {
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
}

.info-box.info-emerald svg { color: var(--emerald); }

.info-box svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-top: 2px;
}

.info-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-box strong {
    color: var(--text-primary);
}

/* --- Pricing extras --- */
.pricing-extras {
    max-width: 700px;
    margin: 48px auto 0;
    text-align: center;
}

.included-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.included-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.included-list li svg {
    width: 18px;
    height: 18px;
    color: #16a34a;
    min-width: 18px;
}

/* --- Requirement cards --- */
.req-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.req-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-slow);
}

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

.req-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin: 0 auto 16px;
}

.req-card-icon svg {
    width: 32px;
    height: 32px;
}

.req-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.req-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Admin features --- */
.admin-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.admin-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-slow);
}

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

.admin-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

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

.admin-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* Hero staggered animation */
.hero-content .hero-badge { animation: fadeInUp 0.6s ease forwards; animation-delay: 0.1s; opacity: 0; }
.hero-content h1 { animation: fadeInUp 0.6s ease forwards; animation-delay: 0.2s; opacity: 0; }
.hero-content p { animation: fadeInUp 0.6s ease forwards; animation-delay: 0.3s; opacity: 0; }
.hero-content .hero-buttons { animation: fadeInUp 0.6s ease forwards; animation-delay: 0.4s; opacity: 0; }

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

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .pricing-card.featured {
        transform: none;
    }

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

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

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

    .inclusion-illustration {
        order: -1;
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 32px);
        padding-bottom: 40px;
    }

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

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

    .hero-page h1 {
        font-size: 1.75rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

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

    .req-cards {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .cta-section h2 {
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .card {
        padding: 24px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }

    .pricing-highlight {
        padding: 20px 32px;
    }

    .pricing-highlight .price-big {
        font-size: 2.5rem;
    }
}
