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

:root {
    --bg-dark: #10131c;
    --bg-darker: #0a0c14;
    --bg-card: #161925;
    --bg-card-hover: #1c2030;
    --bg-light: #222638;

    --primary: #7a7ff5;
    --primary-dark: #5e6ad2;
    --primary-light: #9ea4ff;
    --secondary: #5e6ad2;
    --secondary-dark: #4c55b8;
    --accent: #a78bfa;

    --text: #f5f6fa;
    --text-muted: #a0a3b5;
    --text-dark: #6a6d7e;

    --border: #262936;
    --border-light: #343746;

    --success: #4ade80;
    --error: #f87171;
    --warning: #fbbf24;
    --info: #60a5fa;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4),
              0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4),
                 0 16px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 0 1px rgba(122, 127, 245, 0.2),
                   0 0 32px rgba(122, 127, 245, 0.12);

    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 120ms cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-feature-settings: 'cv11', 'ss01', 'ss03';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.005em;
    background: var(--bg-dark);
    color: var(--text);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(94, 106, 210, 0.08), transparent),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(167, 139, 250, 0.04), transparent);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.15;
    color: var(--text);
}

h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    letter-spacing: -0.032em;
    font-weight: 800;
}
h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.028em;
}
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--text); }
.text-muted { color: var(--text-muted); }

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

a {
    color: var(--primary-light);
    transition: var(--transition-fast);
}
a:hover {
    color: var(--primary);
}

.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    padding: 0 24px;
}

.header {
    background: rgba(8, 9, 10, 0.72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.35rem;
    line-height: 1.1;
}
.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7a7ff5 0%, #5e6ad2 55%, #4c55b8 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 0 1px rgba(122, 127, 245, 0.35),
                0 2px 10px rgba(94, 106, 210, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: -0.02em;
}
.logo-wordmark {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.logo-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text);
    line-height: 1;
}
.logo-tagline {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1;
    margin-top: 3px;
}
.logo-icon {
    display: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.925rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    letter-spacing: -0.005em;
}
.nav-link:hover {
    color: var(--text);
}
.nav-link.active {
    color: var(--text);
}
.nav-caret {
    font-size: 0.7rem;
    margin-left: 3px;
    opacity: 0.6;
    transition: var(--transition-fast);
    display: inline-block;
}

.nav .nav-item,
.nav .nav-item-mega {
    position: relative;
}

.nav .nav-item > .nav-dropdown,
.nav .nav-item-mega > .nav-megamenu {
    display: none !important;
    position: absolute;
    top: calc(100% + 10px);
    z-index: 9999;
}

.nav .nav-item:hover > .nav-dropdown,
.nav .nav-item > .nav-dropdown.open,
.nav .nav-item-mega:hover > .nav-megamenu,
.nav .nav-item-mega > .nav-megamenu.open {
    display: block !important;
}

.nav-item .nav-dropdown {
    left: 0;
    min-width: 260px;
    background: rgba(15, 16, 21, 0.98);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-lg);
}
.nav-item .nav-dropdown a {
    display: block;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: 6px;
    transition: var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
}
.nav-item .nav-dropdown a:hover,
.nav-item .nav-dropdown a.active {
    background: rgba(122, 127, 245, 0.1);
    color: var(--text);
}

.nav-item-mega .nav-megamenu {
    left: 50%;
    transform: translateX(-50%);
    width: min(940px, 92vw);
    background: rgba(15, 16, 21, 0.98);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.nav-megamenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.nav-megamenu-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.nav-megamenu-heading {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    padding: 0 12px 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}
.nav-megamenu-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: var(--transition-fast);
    color: var(--text);
    text-decoration: none;
}
.nav-megamenu-item:hover {
    background: rgba(122, 127, 245, 0.1);
}
.nav-megamenu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(122, 127, 245, 0.12);
    border: 1px solid rgba(122, 127, 245, 0.22);
    font-size: 1rem;
}
.nav-megamenu-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.nav-megamenu-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.nav-megamenu-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.nav-megamenu-featured .nav-megamenu-icon {
    background: linear-gradient(135deg, rgba(122, 127, 245, 0.28), rgba(167, 139, 250, 0.18));
    border-color: rgba(122, 127, 245, 0.4);
}

@media (max-width: 992px) {
    .nav-item,
    .nav-item-mega {
        display: block;
        width: 100%;
    }
    .nav-item .nav-dropdown,
    .nav-item-mega .nav-megamenu {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        border: none;
        background: rgba(15, 16, 21, 0.5);
        border-radius: var(--radius);
        padding: 8px;
        margin-top: 4px;
    }
    .nav-item:hover > .nav-dropdown,
    .nav-item-mega:hover > .nav-megamenu {
        display: none;
    }
    .nav-item .nav-dropdown.open,
    .nav-item-mega .nav-megamenu.open {
        display: block;
    }
    .nav-megamenu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(122, 127, 245, 0.1);
    border: 1px solid rgba(122, 127, 245, 0.25);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat-value {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
}
.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.925rem;
    letter-spacing: -0.005em;
    line-height: 1;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: #0a0a14;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(122, 127, 245, 0.3),
                0 1px 2px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(158, 164, 255, 0.4),
                0 8px 24px rgba(94, 106, 210, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: var(--border-light);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
}
.btn-ghost:hover {
    background: var(--bg-light);
    color: var(--text);
    border-color: var(--border-light);
}

.btn-whatsapp {
    background: #25D366;
    color: #0a0a14;
    border-color: #25D366;
    box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.3),
                0 1px 2px rgba(0, 0, 0, 0.4);
}
.btn-whatsapp:hover {
    background: #20bc5b;
    border-color: #20bc5b;
    transform: translateY(-1px);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
}
.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(122, 127, 245, 0.15), rgba(94, 106, 210, 0.05));
    border: 1px solid rgba(122, 127, 245, 0.2);
    color: var(--primary-light);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.012em;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 {
    margin-bottom: 12px;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.tarif-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}
.tarif-card:hover {
    border-color: rgba(122, 127, 245, 0.3);
    background: var(--bg-card-hover);
}
.tarif-prix {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding-top: 56px;
}

input, textarea, select {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.925rem;
    transition: var(--transition-fast);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(122, 127, 245, 0.15);
}

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

.fade-in {
    animation: fadeInUp 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wysiwyg {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 1rem;
}
.wysiwyg p {
    color: var(--text-muted);
    margin-bottom: 16px;
}
.wysiwyg strong {
    color: var(--text);
    font-weight: 600;
}
.wysiwyg a {
    color: var(--primary-light);
    text-decoration: underline;
    text-decoration-color: rgba(122, 127, 245, 0.35);
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}
.wysiwyg a:hover {
    text-decoration-color: var(--primary);
}
.wysiwyg ul {
    margin: 16px 0 16px 20px;
    list-style: disc;
}
.wysiwyg li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3a3c4a;
}

::selection {
    background: rgba(122, 127, 245, 0.35);
    color: var(--text);
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }
    .hero {
        padding: 100px 0 56px;
    }
    .hero-stats {
        gap: 24px;
    }
    .card {
        padding: 20px;
    }
}
