/* ============================================
   KASAMA MEDIA — Style System v5
   All corrections applied: blue accent (no green),
   thin borders, logos marquee, project cards,
   scroll animations, case study modal
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0c0d10;
    --bg-soft: #0f1015;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.08);
    --white: #ffffff;
    --accent: #2DD4BF;
    --accent-glow: rgba(45,212,191,0.15);
    --accent-light: #5DE8D4;
    --text: #ffffff;
    --text-dim: rgba(255,255,255,0.65);
    --text-muted: rgba(255,255,255,0.5);
    --text-dark: #1a1a1a;
    --text-dark-dim: #666;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(255,255,255,0.14);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-pill: 100px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* LIGHT THEME — blue accents everywhere, NO green */
[data-theme="light"] {
    --bg: #f8f9fc;
    --bg-soft: #ffffff;
    --bg-card: rgba(0,0,0,0.03);
    --bg-card-hover: rgba(0,0,0,0.06);
    --accent: #3366FF;
    --accent-glow: rgba(51,102,255,0.1);
    --text: #1a1a2e;
    --text-dim: #555;
    --text-muted: #999;
    --border: rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.15);
}

/* Logo visible en mode clair (logo blanc -> noir) */
[data-theme="light"] .logo img {
    filter: invert(1) brightness(0);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   TEXTURES DE FOND — Premium Design v3
   Inspired by: Gust (glassmorphism), Gamaleldien
   (dark minimal), Hi-Agency (color mesh)
   ============================================ */

/* --- ANIMATIONS --- */
@keyframes gridDrift { 0% { transform: translate(0,0); } 100% { transform: translate(50px,50px); } }
@keyframes orbFloat1 { 0% { transform: translate(0,0) scale(1); } 20% { transform: translate(60px,-50px) scale(1.1); } 40% { transform: translate(-30px,-20px) scale(0.95); } 60% { transform: translate(40px,30px) scale(1.05); } 80% { transform: translate(-50px,10px) scale(1.08); } 100% { transform: translate(0,0) scale(1); } }
@keyframes orbFloat2 { 0% { transform: translate(0,0) scale(1) rotate(0deg); } 25% { transform: translate(-50px,40px) scale(1.15) rotate(3deg); } 50% { transform: translate(20px,-30px) scale(0.9) rotate(-2deg); } 75% { transform: translate(40px,20px) scale(1.1) rotate(1deg); } 100% { transform: translate(0,0) scale(1) rotate(0deg); } }
@keyframes orbFloat3 { 0% { transform: translate(0,0) scale(1); } 30% { transform: translate(30px,-40px) scale(1.12); } 60% { transform: translate(-40px,25px) scale(0.92); } 100% { transform: translate(0,0) scale(1); } }
@keyframes colorShift { 0% { filter: blur(60px) hue-rotate(0deg); } 50% { filter: blur(70px) hue-rotate(25deg); } 100% { filter: blur(60px) hue-rotate(0deg); } }
@keyframes breathe { 0%,100% { opacity: 0.04; } 50% { opacity: 0.08; } }
@keyframes gridPulse { 0%,100% { opacity: 0.05; } 50% { opacity: 0.08; } }

/* Curseur lumineux — suit la souris */
.cursor-glow {
    position: fixed;
    width: 600px; height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.8s cubic-bezier(0.16,1,0.3,1), top 0.8s cubic-bezier(0.16,1,0.3,1), opacity 0.4s;
    opacity: 0;
}
.cursor-glow.active { opacity: 1; }
html:not([data-theme="light"]) .cursor-glow {
    background: radial-gradient(circle, rgba(45,212,191,0.08) 0%, transparent 65%);
}
[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(51,102,255,0.06) 0%, transparent 65%);
}

/* ========== MODE CLAIR ========== */

/* Fond principal — mesh gradient riche bleu/violet/rose */
[data-theme="light"] body {
    background:
        radial-gradient(ellipse 100% 70% at 10% -15%, rgba(51,102,255,0.14) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 90% 10%, rgba(45,180,220,0.1) 0%, transparent 45%),
        radial-gradient(ellipse 60% 80% at 50% 115%, rgba(51,102,255,0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 70% 50%, rgba(80,210,200,0.05) 0%, transparent 40%),
        radial-gradient(ellipse 40% 30% at 25% 65%, rgba(60,200,210,0.06) 0%, transparent 40%),
        var(--bg);
}

/* Quadrillage bleu anime — plus visible */
[data-theme="light"]::after {
    content: '';
    position: fixed;
    inset: -60px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.055;
    background-image:
        linear-gradient(rgba(51,102,255,0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51,102,255,0.4) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridDrift 16s linear infinite, gridPulse 6s ease-in-out infinite;
}

/* Orbes flottantes — 3 orbes avec color-shift */
[data-theme="light"] .texture-orb-1,
[data-theme="light"] .texture-orb-2,
[data-theme="light"] .texture-orb-3 {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    will-change: transform, filter;
}
[data-theme="light"] .texture-orb-1 {
    width: 700px; height: 700px;
    top: -180px; right: -120px;
    background: radial-gradient(circle, rgba(45,180,220,0.15) 0%, rgba(51,102,255,0.06) 35%, transparent 65%);
    animation: orbFloat1 12s ease-in-out infinite, colorShift 8s ease-in-out infinite;
}
[data-theme="light"] .texture-orb-2 {
    width: 600px; height: 600px;
    bottom: -120px; left: -100px;
    background: radial-gradient(circle, rgba(51,102,255,0.13) 0%, rgba(30,170,200,0.05) 35%, transparent 65%);
    animation: orbFloat2 15s ease-in-out infinite, colorShift 10s ease-in-out infinite 2s;
}
[data-theme="light"] .texture-orb-3 {
    width: 450px; height: 450px;
    top: 35%; left: 45%;
    background: radial-gradient(circle, rgba(200,100,255,0.08) 0%, rgba(51,102,255,0.03) 40%, transparent 60%);
    animation: orbFloat3 18s ease-in-out infinite, colorShift 12s ease-in-out infinite 4s;
}

/* Grain subtil mode clair */
[data-theme="light"] .dot-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Sections claires — gradients locaux forts */
[data-theme="light"] .hero {
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(45,180,220,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(51,102,255,0.06) 0%, transparent 50%);
}
[data-theme="light"] .problem-section {
    background:
        radial-gradient(ellipse 55% 65% at -5% 40%, rgba(51,102,255,0.1) 0%, transparent 55%),
        radial-gradient(ellipse 35% 35% at 95% 20%, rgba(45,180,220,0.06) 0%, transparent 50%),
        var(--bg-soft);
}
[data-theme="light"] .testimonials-section {
    background:
        radial-gradient(ellipse 65% 55% at 105% 30%, rgba(45,180,220,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 45% 45% at 5% 75%, rgba(51,102,255,0.06) 0%, transparent 50%),
        var(--bg-soft);
}
[data-theme="light"] .faq-section {
    background:
        radial-gradient(ellipse 75% 55% at 15% 85%, rgba(51,102,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 45% 35% at 85% 15%, rgba(45,180,220,0.06) 0%, transparent 50%),
        var(--bg-soft);
}
[data-theme="light"] .stats-section {
    background:
        radial-gradient(ellipse 65% 65% at 85% 35%, rgba(51,102,255,0.12) 0%, transparent 50%),
        radial-gradient(ellipse 45% 45% at 15% 65%, rgba(45,180,220,0.07) 0%, transparent 45%),
        linear-gradient(135deg, rgba(51,102,255,0.04), transparent);
}
[data-theme="light"] .results-section {
    background:
        radial-gradient(ellipse 50% 50% at 50% 0%, rgba(51,102,255,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(45,180,220,0.04) 0%, transparent 45%);
}

/* ============================================
   GLASSMORPHISM — Effet verre depoli
   ============================================ */

/* --- Mode clair --- */
[data-theme="light"] .stat-item,
[data-theme="light"] .service-card-v2,
[data-theme="light"] .google-review-card,
[data-theme="light"] .pricing-single,
[data-theme="light"] .project-card,
[data-theme="light"] .chart-card {
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255,255,255,0.7);
    box-shadow: 0 4px 30px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.6);
}
[data-theme="light"] .hero-badge,
[data-theme="light"] .section-tag {
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255,255,255,0.6);
}
[data-theme="light"] .navbar.scrolled {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0,0,0,0.04);
}
[data-theme="light"] .hero-reel {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 12px 50px rgba(51,102,255,0.1), 0 4px 20px rgba(0,0,0,0.08);
}
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select,
[data-theme="light"] .contact-form textarea {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ========== MODE DARK ========== */

/* Mesh gradient dark — turquoise/violet/bleu profond */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse 90% 70% at 0% -20%, rgba(45,212,191,0.14) 0%, transparent 45%),
        radial-gradient(ellipse 70% 55% at 100% 20%, rgba(45,180,220,0.1) 0%, transparent 45%),
        radial-gradient(ellipse 80% 60% at 30% 120%, rgba(45,212,191,0.12) 0%, transparent 45%),
        radial-gradient(ellipse 55% 45% at 80% 75%, rgba(60,200,210,0.07) 0%, transparent 40%),
        radial-gradient(ellipse 40% 30% at 45% 40%, rgba(45,212,191,0.05) 0%, transparent 35%),
        radial-gradient(ellipse 35% 25% at 15% 70%, rgba(45,180,220,0.05) 0%, transparent 35%);
}
/* Grain dark — plus visible */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
    animation: breathe 6s ease-in-out infinite;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="light"] body::before { display: none; }
[data-theme="light"] body::after { display: none; }

/* Orbes dark — plus dynamiques avec color-shift */
html:not([data-theme="light"]) .texture-orb-1 {
    position: fixed;
    width: 800px; height: 800px;
    top: -250px; left: -200px;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,212,191,0.15) 0%, rgba(45,212,191,0.04) 35%, transparent 60%);
    will-change: transform, filter;
    animation: orbFloat1 11s ease-in-out infinite, colorShift 9s ease-in-out infinite;
}
html:not([data-theme="light"]) .texture-orb-2 {
    position: fixed;
    width: 650px; height: 650px;
    bottom: -150px; right: -120px;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,180,220,0.12) 0%, rgba(60,200,210,0.04) 35%, transparent 60%);
    will-change: transform, filter;
    animation: orbFloat2 14s ease-in-out infinite, colorShift 11s ease-in-out infinite 3s;
}
html:not([data-theme="light"]) .texture-orb-3 {
    position: fixed;
    width: 500px; height: 500px;
    top: 30%; right: 15%;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,212,191,0.08) 0%, rgba(45,180,220,0.03) 40%, transparent 55%);
    will-change: transform, filter;
    animation: orbFloat3 17s ease-in-out infinite, colorShift 13s ease-in-out infinite 5s;
}

/* Quadrillage + points animes dark */
html:not([data-theme="light"]) .dot-pattern {
    position: fixed;
    inset: -60px;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(45,212,191,0.35) 1px, transparent 1px),
        linear-gradient(rgba(45,212,191,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45,212,191,0.1) 1px, transparent 1px);
    background-size: 22px 22px, 70px 70px, 70px 70px;
    opacity: 0.07;
    animation: gridDrift 20s linear infinite;
}

/* --- Mode dark --- */
html:not([data-theme="light"]) .stat-item,
html:not([data-theme="light"]) .service-card-v2,
html:not([data-theme="light"]) .google-review-card,
html:not([data-theme="light"]) .pricing-single,
html:not([data-theme="light"]) .project-card,
html:not([data-theme="light"]) .chart-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
}
html:not([data-theme="light"]) .hero-badge,
html:not([data-theme="light"]) .section-tag {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255,255,255,0.08);
}
html:not([data-theme="light"]) .navbar.scrolled {
    background: rgba(12,13,16,0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 30px rgba(0,0,0,0.2);
}
html:not([data-theme="light"]) .hero-reel {
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 12px 50px rgba(0,0,0,0.4), 0 0 30px rgba(45,212,191,0.05);
}
html:not([data-theme="light"]) .contact-form input,
html:not([data-theme="light"]) .contact-form select,
html:not([data-theme="light"]) .contact-form textarea {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255,255,255,0.06);
}

/* Sections dark — gradients locaux */
html:not([data-theme="light"]) .problem-section {
    background:
        radial-gradient(ellipse 50% 50% at -5% 50%, rgba(45,212,191,0.06) 0%, transparent 55%),
        var(--bg-soft);
}
html:not([data-theme="light"]) .testimonials-section {
    background:
        radial-gradient(ellipse 55% 50% at 105% 40%, rgba(45,180,220,0.05) 0%, transparent 50%),
        var(--bg-soft);
}
html:not([data-theme="light"]) .stats-section {
    background:
        radial-gradient(ellipse 60% 55% at 80% 40%, rgba(45,212,191,0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(45,212,191,0.03), transparent);
}

.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.section { padding: 100px 0; position: relative; overflow: hidden; }
.accent { color: var(--accent); }

/* Scroll Progress — fine avec degrade */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--accent), #5DE8D4, var(--accent)); z-index: 9999; width: 0; transition: width 0.1s linear; }
[data-theme="light"] .scroll-progress { background: linear-gradient(90deg, #3366FF, #5DE8D4, #3366FF); }

/* ============================================
   ANIMATIONS — Aurora orbs
   ============================================ */
@keyframes aurora { 0% { transform: translate(0,0) rotate(0deg) scale(1); } 50% { transform: translate(30px,-40px) rotate(180deg) scale(1.1); } 100% { transform: translate(0,0) rotate(360deg) scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.bg-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-aurora .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.3; animation: aurora 18s ease-in-out infinite; will-change: transform; }
.bg-aurora .orb-1 { width: 400px; height: 400px; background: rgba(45,212,191,0.2); top: -10%; left: -5%; }
.bg-aurora .orb-2 { width: 350px; height: 350px; background: rgba(45,212,191,0.15); top: 20%; right: -8%; animation-delay: -5s; }
.bg-aurora .orb-3 { width: 300px; height: 300px; background: rgba(45,212,191,0.12); bottom: -5%; left: 30%; animation-delay: -10s; }
[data-theme="light"] .bg-aurora .orb-1 { background: rgba(51,102,255,0.15); }
[data-theme="light"] .bg-aurora .orb-2 { background: rgba(51,102,255,0.1); }
[data-theme="light"] .bg-aurora .orb-3 { background: rgba(51,102,255,0.08); }
.noise-overlay { position: absolute; inset: 0; opacity: 0.03; pointer-events: none; z-index: 1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.3s; background: transparent; }
.navbar.scrolled { background: rgba(12,13,16,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 10px 0; }
[data-theme="light"] .navbar.scrolled { background: rgba(255,255,255,0.92); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 26px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.theme-toggle { background: none; border: 1px solid var(--border); color: var(--text); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-right: 8px; transition: var(--transition); }
.theme-toggle:hover { border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: var(--radius-pill); font-family: inherit; font-weight: 600; font-size: 14px; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }

/* Liquid Glass Button — 4 couches Apple */
.btn-liquid-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--radius-pill);
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12), 0 0 1px rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
    background: transparent;
    flex-shrink: 0;
    width: fit-content;
}
.btn-liquid-glass,
.btn-liquid-glass > div {
    border-radius: var(--radius-pill);
}
/* Tint subtil sur fond sombre */
.btn-liquid-glass .liquidGlass-tint {
    background: rgba(255,255,255,0.07);
}
/* Teinte accent — turquoise/bleu subtil */
.btn-liquid-tint-accent {
    background: rgba(45,212,191,0.08) !important;
}
.btn-liquid-glass:hover .btn-liquid-tint-accent {
    background: rgba(45,212,191,0.15) !important;
}
[data-theme="light"] .btn-liquid-tint-accent {
    background: rgba(51,102,255,0.06) !important;
}
[data-theme="light"] .btn-liquid-glass:hover .btn-liquid-tint-accent {
    background: rgba(51,102,255,0.12) !important;
}
/* Shine plus fin — juste les bords */
.btn-liquid-glass .liquidGlass-shine {
    box-shadow:
        inset 1px 1px 0.5px 0 rgba(255,255,255,0.35),
        inset -0.5px -0.5px 0.5px 0.5px rgba(255,255,255,0.15);
}
.btn-liquid-glass .liquidGlass-text {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.btn-liquid-glass.btn-lg .liquidGlass-text {
    padding: 10px 20px;
    font-size: 14px;
}
.btn-liquid-glass:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 0 1px rgba(255,255,255,0.15);
}
.btn-liquid-glass:hover .liquidGlass-tint {
    background: rgba(255,255,255,0.12);
}
.btn-liquid-glass:hover .liquidGlass-shine {
    box-shadow:
        inset 1.5px 1.5px 1px 0 rgba(255,255,255,0.45),
        inset -0.5px -0.5px 1px 0.5px rgba(255,255,255,0.2);
}
.btn-liquid-glass:active {
    transform: translateY(0) scale(0.98);
}
/* Light mode */
[data-theme="light"] .btn-liquid-glass {
    box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 0 1px rgba(0,0,0,0.08);
}
[data-theme="light"] .btn-liquid-glass .liquidGlass-tint {
    background: rgba(255,255,255,0.25);
}
[data-theme="light"] .btn-liquid-glass .liquidGlass-text {
    color: rgba(0,0,0,0.6);
}
[data-theme="light"] .btn-liquid-glass .liquidGlass-shine {
    box-shadow:
        inset 2px 2px 1px 0 rgba(255,255,255,0.6),
        inset -1px -1px 1px 1px rgba(255,255,255,0.3);
}
[data-theme="light"] .btn-liquid-glass:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08), 0 0 1px rgba(0,0,0,0.1);
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-full { width: 100%; }
.btn-nav { padding: 10px 24px; font-size: 13px; }
/* Fix: force white text on accent buttons inside nav (specificity override) */
.nav-links a.btn-accent, .nav-links a.btn-primary { color: #fff; }

/* ============================================
   HERO
   ============================================ */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 80px; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text { position: relative; z-index: 2; min-width: 0; max-width: 100%; overflow: hidden; }
/* ============================================
   LIQUID GLASS — Apple 2025 (4 couches)
   Source: lucasromerodb/liquid-glass-effect-macos
   ============================================ */
.liquid-glass {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), 0 0 8px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.liquidGlass-effect {
    position: absolute;
    z-index: 0;
    inset: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    filter: url(#glass-distortion);
    overflow: hidden;
    isolation: isolate;
}
.liquidGlass-tint {
    z-index: 1;
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
}
.liquidGlass-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    box-shadow:
        inset 2px 2px 1px 0 rgba(255,255,255,0.5),
        inset -1px -1px 1px 1px rgba(255,255,255,0.5);
}
.liquidGlass-text {
    z-index: 3;
    position: relative;
}

/* Hero badge specifique */
.hero-badge-glass {
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    margin-bottom: 24px;
}
.hero-badge-glass,
.hero-badge-glass > div {
    border-radius: var(--radius-pill);
}
.hero-badge-glass .liquidGlass-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}
[data-theme="light"] .hero-badge-glass .liquidGlass-tint {
    background: rgba(255,255,255,0.3);
}
[data-theme="light"] .hero-badge-glass .liquidGlass-text {
    color: rgba(0,0,0,0.6);
}
[data-theme="light"] .hero-badge-glass {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 0 15px rgba(0,0,0,0.04);
}
[data-theme="light"] .hero-badge-glass .liquidGlass-shine {
    box-shadow:
        inset 2px 2px 1px 0 rgba(255,255,255,0.7),
        inset -1px -1px 1px 1px rgba(255,255,255,0.4);
}
/* ============================================
   TITRE HERO — Clean & elegant
   En attente PNG 3D glass (Illustrator/Blender)
   ============================================ */
/* Titre Hero */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text);
}
.hero-sub { font-size: 17px; color: var(--text-dim); line-height: 1.7; margin-bottom: 32px; max-width: 480px; word-wrap: break-word; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Reels — thin elegant borders */
.hero-reels { display: flex; gap: 12px; align-items: center; position: relative; z-index: 2; }
.hero-reel { width: 160px; height: 285px; border-radius: 16px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 40px rgba(0,0,0,0.3); }
.hero-reel video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-reel-offset { transform: translateY(-20px); }

/* Instagram overlay counters */
.ig-overlay { position: absolute; bottom: 12px; left: 10px; display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); padding: 5px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; color: #fff; z-index: 3; }

/* ============================================
   LOGOS MARQUEE — Bandeau clients qui defile
   ============================================ */
.logos-section { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg-soft); }
.logos-marquee { overflow: hidden; position: relative; }
.logos-marquee::before, .logos-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.logos-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.logos-marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.logos-track { display: flex; gap: 60px; animation: marquee 25s linear infinite; width: max-content; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.logo-item { white-space: nowrap; display: flex; align-items: center; }
.logo-item img { height: 44px; width: auto; filter: grayscale(1) invert(1); opacity: 0.5; mix-blend-mode: screen; transition: opacity 0.3s; }
.logo-item img:hover { opacity: 0.8; }
[data-theme="light"] .logo-item img { filter: grayscale(1); opacity: 0.5; mix-blend-mode: multiply; }
[data-theme="light"] .logo-item img:hover { opacity: 0.7; }

/* ============================================
   PORTFOLIO — Project cards (style Gust)
   ============================================ */
.portfolio-section { padding: 80px 0; position: relative; }
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.portfolio-header h2 { font-size: 2rem; font-weight: 700; }
.portfolio-nav { display: flex; gap: 8px; }
.portfolio-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); cursor: pointer; font-size: 18px; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.portfolio-nav button:hover { border-color: var(--accent); background: var(--accent-glow); }

.projects-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 20px; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.projects-track::-webkit-scrollbar { display: none; }

.project-card { min-width: 280px; max-width: 280px; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); transition: var(--transition); cursor: pointer; }
.project-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px var(--accent-glow); }
.project-card-visual { width: 100%; height: 380px; overflow: hidden; position: relative; background: #111; }
.project-card-visual video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 0.4s ease; }
.project-card:hover .project-card-visual video { transform: scale(1.03); }
.project-card-play-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.project-card:hover .project-card-play-hint { opacity: 1; }
.project-card-info { padding: 16px; }
.project-card-client { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.project-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.project-tag { padding: 4px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 500; background: var(--accent-glow); color: var(--accent); border: 1px solid rgba(45,212,191,0.2); }
[data-theme="light"] .project-tag { border-color: rgba(51,102,255,0.2); }

/* ============================================
   SECTION TAGS & HEADERS
   ============================================ */
.section-tag { display: inline-block; padding: 6px 16px; border-radius: var(--radius-pill); background: var(--accent-glow); color: var(--accent); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }

/* ============================================
   STATS — Animated counters
   ============================================ */
.stats-section { background: linear-gradient(135deg, rgba(51,102,255,0.08), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item { padding: 32px 16px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); transition: var(--transition); }
.stat-item:hover { border-color: var(--accent); transform: translateY(-4px); }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-dim); }

/* ============================================
   PROBLEMS
   ============================================ */
.problem-section { background: var(--bg-soft); }
.problem-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.problem-visual { border-radius: var(--radius-lg); overflow: hidden; }
.problem-visual img { width: 100%; height: 500px; object-fit: cover; }
.problem-illustration { display: flex; align-items: center; justify-content: center; background: transparent; }
.problem-illustration svg { width: 100%; max-width: 320px; height: auto; }
.problem-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 32px; }
.problem-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.problem-icon { font-size: 13px; font-weight: 700; color: var(--accent); min-width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.problem-item p { font-size: 15px; color: var(--text-dim); }
.problem-content .btn { margin-top: 32px; }

/* ============================================
   SERVICES v2 — Clean numbered cards
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card-v2 { padding: 40px 32px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); transition: var(--transition); }
.service-card-v2:hover { border-color: var(--accent); transform: translateY(-4px); }
.service-number { font-size: 48px; font-weight: 800; color: var(--accent); opacity: 0.3; line-height: 1; margin-bottom: 16px; }
.service-card-v2 h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card-v2 p { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }
.service-includes { list-style: none; }
.service-includes li { font-size: 13px; color: var(--text-dim); padding: 6px 0; border-top: 1px solid var(--border); }
.service-includes li::before { content: '+ '; color: var(--accent); font-weight: 600; }

/* ============================================
   RESULTS — Graphiques SVG illustres
   ============================================ */
.charts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.chart-card { padding: 32px 24px; border-radius: var(--radius-lg); background: transparent; border: none; text-align: center; transition: var(--transition); }
.chart-card:hover { transform: translateY(-4px); }
.chart-icon { display: none; }
.chart-visual { position: relative; width: 140px; height: 140px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.chart-visual svg { width: 100%; height: 100%; }
.chart-center-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.chart-big-number { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.chart-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.chart-info p { font-size: 13px; color: var(--text-dim); }
.chart-gauge-number { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

/* SVG Animations (triggered by .revealed) */
.chart-ring { transition: stroke-dashoffset 2s cubic-bezier(0.4,0,0.2,1); }
.chart-card.revealed .chart-ring { stroke-dashoffset: calc(301.6 * (1 - var(--fill, 0.9))); }
.chart-bar { transition: height 1.5s cubic-bezier(0.4,0,0.2,1), y 1.5s cubic-bezier(0.4,0,0.2,1); }
.chart-bar-label { transition: opacity 0.5s ease 1.5s; }
.chart-card.revealed .chart-bar-label { opacity: 1; }
.chart-curve { transition: stroke-dashoffset 2.5s cubic-bezier(0.4,0,0.2,1); }
.chart-card.revealed .chart-curve { stroke-dashoffset: 0; }
.chart-area { transition: opacity 1s ease 1.5s; }
.chart-card.revealed .chart-area { opacity: 0.08; }
.chart-dot { transition: opacity 0.3s ease; }
.chart-card.revealed .chart-dot:nth-child(5) { opacity: 1; transition-delay: 0.8s; }
.chart-card.revealed .chart-dot:nth-child(6) { opacity: 1; transition-delay: 1.2s; }
.chart-card.revealed .chart-dot:nth-child(7) { opacity: 1; transition-delay: 1.6s; }
.chart-card.revealed .chart-dot:nth-child(8) { opacity: 1; transition-delay: 2s; }
.chart-gauge-fill { transition: stroke-dashoffset 2s cubic-bezier(0.4,0,0.2,1); }
.chart-card.revealed .chart-gauge-fill { stroke-dashoffset: 0; }

/* Compat pour les stat-number dans les resultats inline */
.result-stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.result-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline { display: flex; gap: 0; position: relative; padding-top: 40px; }
.timeline-line { position: absolute; top: 58px; left: 0; right: 0; height: 2px; background: var(--border); }
.timeline-step { flex: 1; text-align: center; position: relative; padding: 0 16px; }
.timeline-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #000; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin: 0 auto 20px; position: relative; z-index: 2; }
[data-theme="light"] .timeline-dot { color: #fff; }
.timeline-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.timeline-step p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ============================================
   EQUIPE
   ============================================ */
.team-section { background: var(--bg-soft); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 800px; margin: 0 auto; }
.team-card { padding: 40px 32px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.team-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.team-avatar { margin-bottom: 20px; }
.team-avatar-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--accent-glow); border: 2px solid var(--accent); color: var(--accent); font-size: 28px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.team-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.team-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--accent); font-weight: 500; display: block; margin-bottom: 12px; }
.team-desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; }
.team-skills { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.team-skills span { padding: 4px 10px; border-radius: var(--radius-pill); font-size: 10px; font-weight: 500; background: var(--accent-glow); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); white-space: nowrap; }

/* ============================================
   GOOGLE REVIEWS
   ============================================ */
.testimonials-section { background: var(--bg-soft); }
.google-header { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.google-header-title { font-size: 18px; font-weight: 600; }
.google-header-rating { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.google-score { font-size: 24px; font-weight: 700; }
.google-stars-row { display: flex; gap: 2px; }
.google-star { font-size: 18px; color: var(--text-muted); }
.google-star.filled { color: #FBBC05; }
.google-review-count { font-size: 13px; color: var(--text-muted); }
.google-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.google-review-card { padding: 24px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); transition: var(--transition); }
.google-review-card:hover { border-color: var(--border-hover); }
.google-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.google-review-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.google-review-meta { flex: 1; }
.google-review-name { font-size: 14px; font-weight: 600; }
.google-review-date { font-size: 12px; color: var(--text-muted); }
.google-review-g { flex-shrink: 0; }
.google-review-stars { margin-bottom: 10px; display: flex; gap: 1px; }
.google-review-stars .google-star { font-size: 14px; }
.google-review-text { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.google-footer { text-align: center; }
.google-write-review { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px; }
.google-write-review:hover { text-decoration: underline; }

/* ============================================
   PRICING
   ============================================ */
.pricing-single { text-align: center; max-width: 700px; margin: 0 auto; padding: 48px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
.pricing-single h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.pricing-single-desc { font-size: 15px; color: var(--text-dim); line-height: 1.7; margin-bottom: 32px; }
.pricing-single-details { display: flex; justify-content: center; gap: 48px; margin-bottom: 32px; }
.pricing-detail { text-align: center; }
.pricing-detail-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.pricing-detail-value { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.pricing-detail-value span { font-size: 0.8em; font-weight: 400; color: var(--text-dim); }
.pricing-includes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.pricing-includes li { font-size: 14px; color: var(--text-dim); padding: 6px 0; }
.pricing-includes li::first-letter { color: var(--accent); }

/* ============================================
   SEO LOCAL — Perpignan
   ============================================ */
.seo-local-section { background: transparent; }
.seo-local-intro { font-size: 16px; color: var(--text-dim); line-height: 1.7; max-width: 600px; margin: -40px auto 50px; text-align: center; }
.seo-local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.seo-local-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.seo-local-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.seo-local-icon { margin-bottom: 16px; }
.seo-local-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.seo-local-card p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.seo-local-cta { text-align: center; }
.seo-local-tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; max-width: 550px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ============================================
   FAQ
   ============================================ */
.faq-section { background: transparent; }
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 12px);
    padding: 0 20px;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--accent); }
.faq-item.active { border-color: var(--accent); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; background: none; border: none; color: var(--text); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; }
.faq-icon { font-size: 20px; color: var(--accent); transition: 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding-bottom: 18px; font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* ============================================
   CONTACT / CTA
   ============================================ */
.cta-section { position: relative; overflow: hidden; }
.cta-content { max-width: 600px; margin: 0 auto; text-align: center; }
.cta-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 16px; }
.cta-content > p { color: var(--text-dim); margin-bottom: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-family: inherit; font-size: 14px; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group input::placeholder, .form-group select::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ============================================
   CASE STUDY MODAL
   ============================================ */
.case-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; }
.case-modal.active { display: flex; }
.case-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); }
.case-modal-content { position: relative; z-index: 2; width: 90%; max-width: 800px; max-height: 85vh; background: var(--bg-soft); border-radius: var(--radius-lg); overflow-y: auto; border: 1px solid var(--border); }
.case-modal-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3; }
.case-modal-body { padding: 48px; }
.case-modal-body h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.case-modal-body .case-sector { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.case-modal-body .case-tags { display: flex; gap: 8px; margin-bottom: 24px; }
.case-modal-body .case-video { width: 100%; height: 400px; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; background: #111; }
.case-modal-body .case-video iframe { width: 100%; height: 100%; border: none; }
.case-modal-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.case-modal-body p { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; }
.case-modal-body .case-stats { display: flex; gap: 40px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.footer-slogan { font-size: 15px !important; color: var(--text-dim) !important; font-weight: 500; font-style: italic; }
.footer-socials { display: flex; gap: 16px; margin-top: 16px; }
.footer-socials a { color: var(--text-muted); transition: color 0.2s; }
.footer-socials a:hover { color: var(--accent); }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4, .footer-contact h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.footer-links a, .footer-contact a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact p { font-size: 14px; color: var(--text-muted); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 60px; left: 0; right: 0; flex-direction: column; padding: 24px; background: var(--bg); border-top: 1px solid var(--border); gap: 16px; z-index: 999; }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .hero-split { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 30px; }
    .hero-reels { justify-content: center; }
    .hero-reel { width: 120px; height: 213px; }
    .problem-layout { grid-template-columns: 1fr; }
    .problem-visual { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .stat-item { padding: 20px 12px; }
    .stat-number { font-size: 2rem; }
    .team-grid { grid-template-columns: 1fr; }
    .google-reviews-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .charts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .chart-card { padding: 20px 12px; }
    .chart-visual { width: 110px; height: 110px; margin-bottom: 12px; }
    .chart-big-number { font-size: 1.1rem; }
    .chart-info h3 { font-size: 14px; }
    .chart-info p { font-size: 12px; }
    .timeline { flex-direction: column; gap: 32px; }
    .timeline-line { display: none; }
    .pricing-single-details { flex-direction: column; gap: 16px; }
    .hero-ctas { justify-content: center; }
    .hero-title { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
    .hero-sub { font-size: 13px; }
    .hero-reels { margin-top: 24px; }
    .hero-sub { font-size: 14px; max-width: 100%; }
    .hero-ctas { align-items: center; }
    .hero-ctas .btn, .hero-ctas .liquid-glass { flex: none; width: auto !important; }
    .btn-liquid-glass { box-shadow: none !important; height: 40px; }
    .btn-liquid-glass .liquidGlass-text { padding: 0 16px; font-size: 12px; line-height: 40px; }
    .btn-liquid-glass .liquidGlass-shine { box-shadow: inset 1px 1px 0 0 rgba(255,255,255,0.25), inset -0.5px -0.5px 0 0 rgba(255,255,255,0.1) !important; }
    .btn { padding: 10px 20px; font-size: 13px; }
    .btn-lg { padding: 10px 20px; font-size: 13px; }
    .btn-liquid-glass .liquidGlass-text { padding: 10px 20px; font-size: 13px; }
    .btn-liquid-glass.btn-lg .liquidGlass-text { padding: 10px 20px; font-size: 13px; }
    .seo-local-grid { grid-template-columns: 1fr; gap: 16px; }
    .seo-local-card { padding: 24px 20px; }
    .seo-local-intro { font-size: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 500px) {
    .hero-title { font-size: 1.5rem; }
    .section-header h2 { font-size: 1.4rem; }
    .hero-reel { width: 100px; height: 178px; }
    .stat-number { font-size: 1.6rem; }
}
