/* ==========================================
   DATALYS - Professional Digital Agency
   Modern, Responsive CSS with Animations
   ========================================== */

/* CSS Variables */
:root {
    /* Colors - Blue theme inspired by DATALYS branding */
    --bg-primary: #0a0f1a;
    --bg-secondary: #0d1424;
    --bg-card: #121d33;
    --bg-card-hover: #1a2844;

    /* Accent Colors */
    --accent-primary: #4fd1c5;
    --accent-secondary: #63b3ed;
    --accent-tertiary: #805ad5;
    --accent-glow: rgba(79, 209, 197, 0.3);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-secondary: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
    --gradient-glow: radial-gradient(circle, var(--accent-glow), transparent 70%);

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   LOADER
   ========================================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.loader-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    animation: logoFloat 1s ease-in-out infinite;
}

.loader-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textReveal 1.5s ease forwards;
    overflow: hidden;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    animation: loadProgress 1.2s ease-in-out forwards;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes loadProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes textReveal {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
#cursor-dot {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.4,0,0.2,1), height 0.25s cubic-bezier(0.4,0,0.2,1), background 0.25s, box-shadow 0.25s;
    box-shadow: 0 0 12px var(--accent-primary), 0 0 30px rgba(79,209,197,0.3);
    mix-blend-mode: screen;
}

#cursor-dot.hover {
    width: 16px;
    height: 16px;
    background: var(--accent-secondary);
    box-shadow: 0 0 20px var(--accent-secondary), 0 0 50px rgba(99,179,237,0.4);
}

#cursor-dot.clicking {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 30px var(--accent-primary), 0 0 60px rgba(79,209,197,0.5);
}

#cursor-outline {
    position: fixed;
    width: 42px;
    height: 42px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.4,0,0.2,1), height 0.35s cubic-bezier(0.4,0,0.2,1), border-color 0.3s, opacity 0.3s, border-width 0.3s;
    opacity: 0.6;
}

#cursor-outline.hover {
    width: 64px;
    height: 64px;
    border-color: var(--accent-secondary);
    border-width: 1px;
    opacity: 0.4;
}

#cursor-outline.clicking {
    width: 30px;
    height: 30px;
    border-width: 3px;
    opacity: 0.8;
}

#cursor-glow {
    position: fixed;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(79,209,197,0.15) 0%, rgba(99,179,237,0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    transition: opacity 0.3s;
}

/* Cursor trail particles (via canvas) */
#cursor-trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
}

/* ==========================================
   TEXT EFFECTS
   ========================================== */

/* Split text - each char animated individually */
.split-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-45deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.split-text span.space {
    width: 0.3em;
}

.split-text.revealed span {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Text shimmer / gradient slide */
.text-shimmer {
    background: linear-gradient(
        90deg,
        var(--accent-primary) 0%,
        var(--accent-secondary) 25%,
        var(--accent-tertiary) 50%,
        var(--accent-secondary) 75%,
        var(--accent-primary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Text glow pulse */
.text-glow {
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(79,209,197,0.3), 0 0 30px rgba(79,209,197,0.1); }
    50% { text-shadow: 0 0 20px rgba(79,209,197,0.6), 0 0 60px rgba(79,209,197,0.3), 0 0 100px rgba(79,209,197,0.1); }
}

/* Word reveal - words appear one by one */
.word-reveal span {
    display: inline-block;
    overflow: hidden;
}

.word-reveal span span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.word-reveal.revealed span span {
    transform: translateY(0);
}

/* Scramble text base style */
.scramble-text {
    font-family: 'Space Grotesk', monospace;
}

/* Highlight underline animation */
.highlight-reveal {
    position: relative;
    display: inline;
}

.highlight-reveal::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.highlight-reveal.revealed::after {
    width: 100%;
}

/* ==========================================
   NAVIGATION
   ========================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-medium);
}

#navbar.scrolled {
    background: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.logo-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

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

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

.nav-cta {
    padding: 12px 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg-primary);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 999;
    padding: 100px 30px 30px;
    transition: right var(--transition-medium);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.mobile-nav-links a:hover {
    color: var(--accent-primary);
}

.mobile-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-weight: 600;
    color: var(--bg-primary);
    text-align: center;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-tertiary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(79, 209, 197, 0.1);
    border: 1px solid rgba(79, 209, 197, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

#fuzzy-canvas {
    display: block;
    width: 100%;
    height: 100px;
    margin: 10px 0;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-subtitle .highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.hero-typing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 40px;
    min-height: 36px;
}

.typing-label {
    color: var(--text-secondary);
}

.typing-text {
    color: var(--accent-primary);
    font-weight: 600;
}

.typing-cursor {
    color: var(--accent-primary);
    animation: blink 0.8s ease-in-out infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow);
}

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

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(79, 209, 197, 0.1);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

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

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text::before {
    color: var(--accent-primary);
    animation: glitchBefore 4s infinite linear;
}

.glitch-text::after {
    color: var(--accent-tertiary);
    animation: glitchAfter 4s infinite linear;
}

.glitch-text:hover::before,
.glitch-text:hover::after {
    opacity: 0.8;
}

@keyframes glitchBefore {
    0%, 100% { transform: translate(0); opacity: 0; }
    20% { transform: translate(-3px, 3px); opacity: 0.3; }
    40% { transform: translate(3px, -3px); opacity: 0; }
    60% { transform: translate(-3px, -3px); opacity: 0.3; }
    80% { transform: translate(3px, 3px); opacity: 0; }
}

@keyframes glitchAfter {
    0%, 100% { transform: translate(0); opacity: 0; }
    20% { transform: translate(3px, -3px); opacity: 0.3; }
    40% { transform: translate(-3px, 3px); opacity: 0; }
    60% { transform: translate(3px, 3px); opacity: 0.3; }
    80% { transform: translate(-3px, -3px); opacity: 0; }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    background: var(--bg-secondary);
}

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

.service-card {
    position: relative;
    padding: 40px 30px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 209, 197, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card.featured {
    border-color: rgba(79, 209, 197, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(79, 209, 197, 0.05) 100%);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 209, 197, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent-primary);
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* ==========================================
   FORMULES SECTION
   ========================================== */
.formules {
    background: var(--bg-primary);
}

.formules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.formules-grid-single {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
}

.formule-card {
    position: relative;
    padding: 40px 30px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.formule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.formule-card.popular {
    border-color: var(--accent-primary);
    transform: scale(1.05);
    z-index: 1;
}

.formule-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.formule-card.premium {
    border-color: var(--accent-tertiary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(128, 90, 213, 0.1) 100%);
}

.popular-badge,
.premium-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

.popular-badge {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.premium-badge {
    background: var(--gradient-secondary);
    color: var(--text-primary);
}

.formule-header {
    text-align: center;
    margin-bottom: 30px;
}

.formule-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.formule-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.formule-price {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-creation {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-monthly {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.monthly-amount {
    color: var(--accent-primary);
    font-weight: 600;
}

.formule-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.formule-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.formule-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.formule-features li.included svg {
    stroke: var(--accent-primary);
}

.formule-features li.not-included {
    color: var(--text-muted);
    opacity: 0.6;
}

.formule-features li.not-included svg {
    stroke: var(--text-muted);
}

.formule-features li.highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

.formule-btn {
    width: 100%;
    justify-content: center;
}

.formules-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 60px;
    padding: 25px 30px;
    background: rgba(79, 209, 197, 0.05);
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: var(--radius-md);
}

.formules-note svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
    flex-shrink: 0;
}

.formules-note p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================
   APROPOS SECTION
   ========================================== */
.apropos {
    background: var(--bg-secondary);
}

.apropos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.apropos-content .section-tag,
.apropos-content .section-title {
    text-align: left;
}

.apropos-text {
    margin-bottom: 40px;
}

.apropos-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.apropos-text .highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

.apropos-text .emphasis {
    color: var(--text-primary);
    font-style: italic;
    padding-left: 20px;
    border-left: 3px solid var(--accent-primary);
}

.apropos-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 209, 197, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Visual Card */
.apropos-visual {
    position: relative;
}

.visual-card {
    position: relative;
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--gradient-glow);
    filter: blur(60px);
    z-index: 0;
    opacity: 0.5;
}

.visual-mockup {
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
}

.mockup-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mockup-header span:first-child { background: #ff5f57; }
.mockup-header span:nth-child(2) { background: #febc2e; }
.mockup-header span:nth-child(3) { background: #28c840; }

.mockup-content {
    padding: 20px;
}

.mockup-nav {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 25px;
}

.mockup-hero {
    margin-bottom: 25px;
}

.mockup-title {
    height: 24px;
    width: 70%;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.mockup-text {
    height: 8px;
    width: 90%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 8px;
}

.mockup-text::after {
    content: '';
    display: block;
    height: 8px;
    width: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 12px;
}

.mockup-btn {
    height: 30px;
    width: 100px;
    background: var(--accent-primary);
    border-radius: 15px;
    margin-top: 20px;
    opacity: 0.8;
}

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

.mockup-card {
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Visual Stats */
.visual-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.vstat {
    flex: 1;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    text-align: center;
}

.vstat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vstat-unit {
    font-size: 1rem;
    color: var(--accent-primary);
}

.vstat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ==========================================
   REVIEWS SECTION
   ========================================== */
.reviews {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-score {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 50px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.score-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-stars {
    display: flex;
    gap: 4px;
}

.score-stars svg {
    width: 24px;
    height: 24px;
}

.score-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.review-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars svg {
    width: 14px;
    height: 14px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* ==========================================
   TRUST SECTION
   ========================================== */
.trust {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.trust-quote {
    max-width: 700px;
    margin: 0 auto 50px;
}

.quote-icon {
    width: 40px;
    height: 40px;
    fill: var(--accent-primary);
    opacity: 0.5;
    margin-bottom: 20px;
}

.trust-quote p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    font-style: italic;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.trust-badge span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.contact-card:hover {
    border-color: rgba(79, 209, 197, 0.3);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 209, 197, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.contact-details h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details a,
.contact-details span {
    font-size: 1.05rem;
    color: var(--text-primary);
}

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

.contact-promise {
    padding: 25px;
    background: rgba(79, 209, 197, 0.05);
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: var(--radius-md);
    margin-top: 10px;
}

.contact-promise p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-promise .highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 0 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
    cursor: pointer;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234fd1c5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.form-group select option {
    background: #0d1b2a;
    color: #ffffff;
    padding: 12px;
}

.form-group select option:hover,
.form-group select option:checked {
    background: #4fd1c5;
    color: #0a0f1a;
}

.form-group select {
    background-color: #0d1b2a;
    color: var(--text-primary);
}

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

.form-group label {
    position: absolute;
    top: 18px;
    left: 0;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -5px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line {
    width: 100%;
}

.submit-btn {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 18px 40px;
    margin-top: 10px;
}

.submit-btn .btn-icon {
    display: flex;
    align-items: center;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

.submit-btn.success {
    background: #28c840;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand .footer-logo .logo-icon-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4,
.footer-legal h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-contact a {
    display: block;
    font-size: 0.95rem;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.footer-contact p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--accent-primary);
}

.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-legal a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-primary);
}

/* ==========================================
   COOKIE BANNER
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9000;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(79, 209, 197, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Swirl Animation for Pricing Card - Vertical Y axis rotation */
@keyframes swirlInY {
    0% {
        opacity: 0;
        transform: scale(0.9) rotateY(-540deg);
    }
    70% {
        opacity: 1;
        transform: scale(1.08) rotateY(20deg);
    }
    85% {
        transform: scale(1.03) rotateY(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1.05) rotateY(0deg);
    }
}

/* Swirl card - initial state (hidden) */
.formule-card.popular.swirl-card {
    opacity: 0;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Swirl card - animation when revealed */
.formule-card.popular.swirl-card.revealed {
    animation: swirlInY 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* After animation completes - restore tilt hover effect */
.formule-card.popular.swirl-card.animation-done {
    animation: none;
    opacity: 1;
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formule-card.popular.swirl-card.animation-done:hover {
    transform: scale(1.05) translateY(-10px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg));
    box-shadow: 0 25px 80px rgba(45, 212, 191, 0.3);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookie-text svg {
    flex-shrink: 0;
    stroke: var(--accent-primary);
}

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

.cookie-text a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================
   TILT EFFECT
   ========================================== */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg)) scale(1.02);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

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

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

    .formule-card.popular {
        transform: scale(1);
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .formule-card.popular:hover {
        transform: translateY(-10px);
    }

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

    .apropos-grid {
        gap: 50px;
    }

    .contact-grid {
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    /* Hide custom cursor on mobile */
    body {
        cursor: auto;
    }

    #cursor-dot,
    #cursor-outline,
    #cursor-glow,
    #cursor-trail-canvas {
        display: none;
    }

    /* Reduce heavy effects on mobile */
    .shape {
        filter: blur(60px);
        opacity: 0.25;
        animation: none;
    }

    .glitch-text::before,
    .glitch-text::after {
        display: none;
    }

    .text-glow {
        animation: none;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    #fuzzy-canvas {
        height: 70px;
    }

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

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

    .formule-card.popular {
        grid-column: auto;
        max-width: none;
    }

    /* Swirl animation adjusted for mobile */
    .formule-card.popular.swirl-card.revealed {
        animation: swirlInY 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    .formule-card.popular.swirl-card.animation-done {
        transform: scale(1);
    }

    .formule-card.popular.swirl-card.animation-done:hover {
        transform: scale(1) translateY(-5px);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reviews {
        padding: 60px 0;
    }

    .reviews-header {
        margin-bottom: 30px;
    }

    .reviews-score {
        padding: 20px 30px;
        width: 100%;
        max-width: 280px;
    }

    .score-number {
        font-size: 2.5rem;
    }

    .score-stars svg {
        width: 20px;
        height: 20px;
    }

    .review-stars svg {
        width: 10px;
        height: 10px;
    }

    .review-card {
        padding: 20px;
    }

    .review-header {
        gap: 12px;
        margin-bottom: 15px;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .review-info h4 {
        font-size: 0.95rem;
    }

    .review-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .apropos-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .apropos-content {
        order: 1;
    }

    .apropos-visual {
        order: 2;
    }

    .visual-stats {
        flex-direction: column;
        gap: 15px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 15px;
    }

    .trust-badge {
        width: 100%;
        justify-content: center;
    }

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

    .contact-form {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .scroll-indicator {
        display: none;
    }

    .footer-legal {
        grid-column: auto;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .hero-typing {
        flex-direction: column;
        gap: 5px;
    }

    #fuzzy-canvas {
        height: 50px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .service-card,
    .formule-card {
        padding: 30px 20px;
    }

    .mockup-cards {
        grid-template-columns: 1fr;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: rgba(255, 255, 255, 0.85);
        --text-muted: rgba(255, 255, 255, 0.7);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
