/* ==========================================================================
   242 Konnect - Design System & Styles
   ========================================================================== */

/* --- CSS Variables (Design Tokens) --- */
:root {
    /* Brand Colors (Congo Flag) */
    --brand-green: #00A651;
    --brand-red: #ED1C24;
    --brand-yellow: #FFC107;
    
    /* Dark Theme Colors */
    --bg-dark: #0A0A0A;
    --bg-surface: #1A1A1A;
    --bg-card: #141414;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-muted: #B0B0B0;
    --text-dark: #121212;
    
    /* UI Elements */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.03);
    
    /* Gradients */
    --grad-green: linear-gradient(135deg, #00A651 0%, #008742 100%);
    --grad-red: linear-gradient(135deg, #ED1C24 0%, #C4141A 100%);
    --grad-yellow: linear-gradient(135deg, #FFC107 0%, #D4A000 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Source Serif 4', Georgia, serif;
    
    /* Layout */
    --container-max: 1200px;
    --section-pad: 80px;
    --section-pad-mobile: 50px;
    
    /* Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-glow-green: 0 0 20px rgba(0, 166, 81, 0.3);
    --shadow-glow-red: 0 0 20px rgba(237, 28, 36, 0.3);
    --shadow-glow-yellow: 0 0 20px rgba(255, 193, 7, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 166, 81, 0.04) 0%, rgba(10, 10, 10, 0) 50%),
                radial-gradient(circle at 80% 20%, rgba(237, 28, 36, 0.04) 0%, rgba(10, 10, 10, 0) 40%),
                radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.04) 0%, rgba(10, 10, 10, 0) 40%);
    animation: move-bg 40s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes move-bg {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, -5%) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

::selection {
    background-color: var(--brand-green);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-green);
}

/* --- Typography & Utilities --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: var(--section-pad) 0;
    position: relative;
}

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

.text-gradient-alt {
    background: var(--grad-yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0, 166, 81, 0.08);
    border: 1px solid rgba(0, 166, 81, 0.2);
    border-radius: 100px;
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--brand-green);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--brand-green);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.btn-primary:hover {
    background: #008742;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 166, 81, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preloader-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-surface);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--grad-green);
    animation: loadBar 2s ease-in-out forwards;
}

@keyframes loadBar {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.nav-scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-svg {
    height: 30px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.logo-242 {
    color: var(--brand-green);
}

.logo-konnect {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--brand-green);
    transition: var(--transition-normal);
}

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

/* Highlight 'Devenir Prestataire' in nav */
.nav-links a[href="devenir-prestataire.html"] {
    color: var(--brand-green);
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid rgba(0, 166, 81, 0.4);
    border-radius: var(--radius-pill);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-links a[href="devenir-prestataire.html"]:hover {
    background: rgba(0, 166, 81, 0.15);
    box-shadow: 0 0 15px rgba(0, 166, 81, 0.3);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.hero-glow-1 {
    top: 10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: var(--brand-green);
}

.hero-glow-2 {
    bottom: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--brand-red);
}

.hero-glow-3 {
    top: 40%;
    left: 60%;
    width: 300px;
    height: 300px;
    background: var(--brand-yellow);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-green);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    transform: scaleY(1.05);
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 40px;
    min-height: 60px;
    line-height: 1.6;
}

.typed-text {
    color: var(--brand-yellow);
    font-weight: 600;
}

.typed-cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats-mini {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 2px #333;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen {
    padding: 40px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.app-logo {
    width: 40px;
    height: 20px;
}

.app-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.app-search {
    margin-bottom: 30px;
}

.search-bar {
    background: rgba(255,255,255,0.05);
    padding: 12px 15px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.app-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.app-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: auto;
}

.app-cat {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 15px 10px;
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.app-cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.app-cat span {
    font-size: 0.75rem;
    font-weight: 500;
}

.app-cta-bar-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
}

.pulse-button {
    background: var(--brand-green);
    color: #fff;
    padding: 18px 25px;
    border-radius: var(--radius-pill);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 166, 81, 0.6);
    animation: pulse-btn 2s infinite;
    cursor: pointer;
    width: 100%;
}

@keyframes pulse-btn {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 166, 81, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 166, 81, 0.9); }
    100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 166, 81, 0.6); }
}

.floating-card {
    position: absolute;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.floating-card-1 {
    top: 20%;
    right: -40px;
    animation: float 5s ease-in-out infinite reverse;
}

.floating-card-2 {
    bottom: 25%;
    left: -40px;
    animation: float 7s ease-in-out infinite 1s;
}

.rating-stars {
    color: var(--brand-yellow);
    letter-spacing: 2px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0.7;
    transition: var(--transition-normal);
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

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

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 70%);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.service-desc {
    font-family: var(--font-primary);
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--brand-green);
    font-weight: 600;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* --- How it Works --- */
.how-it-works {
    background: var(--bg-surface);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.step-desc {
    font-family: var(--font-primary);
    color: var(--text-muted);
    max-width: 250px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-connector {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

/* --- Values Section --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.value-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
}

.value-icon-green {
    background: rgba(0, 166, 81, 0.1);
    color: var(--brand-green);
    box-shadow: var(--shadow-glow-green);
}

.value-icon-yellow {
    background: rgba(255, 193, 7, 0.1);
    color: var(--brand-yellow);
    box-shadow: var(--shadow-glow-yellow);
}

.value-icon-red {
    background: rgba(237, 28, 36, 0.1);
    color: var(--brand-red);
    box-shadow: var(--shadow-glow-red);
}

.value-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.value-desc {
    font-family: var(--font-primary);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- About Section --- */
.about {
    background: var(--bg-surface);
}

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

.about-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 3px solid var(--brand-green);
}

.about-stat-card.accent-yellow {
    border-top-color: var(--brand-yellow);
}

.about-stat-card.accent-red {
    border-top-color: var(--brand-red);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
}

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

/* --- Testimonials --- */
.testimonials {
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: stretch;
}

.testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    opacity: 0.4;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    pointer-events: all;
}

.testimonial-quote {
    font-size: 6rem;
    font-family: serif;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: 20px;
    left: 30px;
    line-height: 1;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-green);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-role {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.testimonial-rating {
    position: absolute;
    bottom: 50px;
    right: 50px;
    color: var(--brand-yellow);
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .testimonial-rating {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 15px;
    }
    .testimonial-card {
        padding: 30px;
    }
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.carousel-btn:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.carousel-dot.active {
    background: var(--brand-green);
    transform: scale(1.3);
}

/* --- Download Section --- */
.download {
    background: var(--bg-surface);
    text-align: center;
}

.download-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.1) 0%, transparent 70%);
}

.download-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.store-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

.store-name {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(255,255,255,0.02);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: var(--text-muted);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 25px;
}

/* --- Contact Section --- */
.contact {
    background: var(--bg-surface);
}

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

.contact-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-green);
}

.contact-item-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.contact-item-value {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item-value[href]:hover {
    color: var(--brand-green);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

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

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

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand-green);
    background: rgba(255,255,255,0.05);
}

select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

input.error, textarea.error {
    border-color: var(--brand-red);
}

.error-message {
    color: var(--brand-red);
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.form-success.show {
    opacity: 1;
    visibility: visible;
}

.form-success svg {
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand {
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin-bottom: 20px;
}

.footer-desc {
    font-family: var(--font-primary);
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--brand-green);
    color: #fff;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-links a:hover {
    color: var(--brand-green);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal-info {
    margin-top: 5px;
}

.footer-bottom-right {
    display: flex;
    gap: 15px;
}

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

.footer-divider {
    color: rgba(255,255,255,0.2);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Legal Pages Styles --- */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1, .legal-content h2 {
    color: var(--brand-green);
    margin: 40px 0 20px;
}

.legal-content h3 {
    margin: 25px 0 15px;
    color: #fff;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.legal-content li {
    margin-bottom: 8px;
}

/* --- Responsive Breakpoints --- */

/* 1200px */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; transform: scaleY(1); }
}

/* 992px */
@media (max-width: 992px) {
    .hero-container, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-visual {
        order: 1;
        height: 500px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats-mini {
        justify-content: center;
    }
    
    .services-grid, .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* 768px */
@media (max-width: 768px) {
    .section { padding: var(--section-pad-mobile) 0; }
    
    .nav-links, .nav-actions .btn-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobile Menu Active State */
    .nav-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .nav-open .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .nav-open .hamburger span:nth-child(2) { opacity: 0; }
    .nav-open .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .hero-title { font-size: 2.8rem; transform: scaleY(1); }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .step-connector {
        transform: rotate(90deg);
        margin: -10px 0;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
}

/* 576px */
@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; transform: scaleY(1); }
    .section-title { font-size: 2rem; }
    
    .services-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats-mini {
        flex-direction: column;
        gap: 15px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* --- About Page Extensions --- */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.2), rgba(255, 193, 7, 0.2));
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 50px rgba(0, 166, 81, 0.1);
}

.circle-inner {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: absolute;
}

.circle-icon {
    font-size: 5rem;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

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

.value-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 166, 81, 0.4);
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.value-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.value-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .vision-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Chat Widget --- */
.chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-green);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(0, 166, 81, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.chat-widget-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--grad-green);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chat-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fadeInUp 0.3s ease;
}

.chat-msg.bot {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-msg.user {
    background: var(--brand-green);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--brand-green);
}

.chat-send {
    background: var(--brand-green);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

.chat-send:hover {
    background: #008742;
}

@media (max-width: 576px) {
    .chat-window {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
    }
}

/* --- Page Banners (Hero) --- */
.page-banner {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.1), rgba(255, 193, 7, 0.05), rgba(237, 28, 36, 0.05));
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 50px;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner .section-tag {
    margin-bottom: 15px;
}

.page-banner .section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.page-banner .banner-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 150px 0 60px;
    }
    .page-banner .section-title {
        font-size: 2.5rem;
    }
}

/* --- Enhanced Footer --- */
.footer-logo {
    margin-bottom: 15px;
}
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-fast);
}
.social-icon:hover {
    background: var(--brand-green);
    transform: translateY(-3px);
}
.newsletter-form {
    display: flex;
    gap: 5px;
}
.newsletter-input {
    flex-grow: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    color: white;
}
.newsletter-input:focus {
    outline: none;
    border-color: var(--brand-green);
}
.newsletter-btn {
    background: var(--brand-green);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition-fast);
}
.newsletter-btn:hover {
    background: #008742;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto 50px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-fast);
}
.faq-item:hover {
    border-color: var(--brand-green);
}
.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}
.faq-icon {
    transition: transform 0.3s ease;
    color: var(--brand-green);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* --- How It Works (Comment ça marche) --- */
.how-it-works {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 166, 81, 0.03) 50%, transparent 100%);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 25px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition-fast);
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-green);
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.1);
}
.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--brand-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.4);
}
.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Hero Slider --- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s linear;
    transform: scale(1);
}
.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1.05); /* Slight zoom effect */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); /* Dark overlay */
    z-index: 1;
}

/* --- Categories Section --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}
.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-green);
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.15);
}
.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.category-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}
.category-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .categories-grid { grid-template-columns: 1fr; }
}

/* --- Featured Providers --- */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.provider-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.provider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.provider-cover {
    height: 100px;
    background: linear-gradient(135deg, var(--brand-green) 0%, rgba(0,0,0,0) 100%);
    background-color: #222;
}
.provider-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    margin: -40px auto 10px;
    overflow: hidden;
    background: #fff;
}
.provider-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.provider-info {
    padding: 0 25px 25px;
    text-align: center;
}
.provider-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
}
.provider-job {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.provider-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.stars {
    letter-spacing: 2px;
}
.rating-number {
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .providers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .providers-grid { grid-template-columns: 1fr; }
}

/* --- Stats Banner --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--brand-yellow);
    line-height: 1;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.5rem; }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

/* Initial hidden state */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Visible state — added by JS IntersectionObserver */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal[data-delay="0"]   { transition-delay: 0ms; }
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="150"] { transition-delay: 150ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }
.reveal[data-delay="500"] { transition-delay: 500ms; }

/* Slide-in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale-in pop */
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Reduced motion: disable all animations for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   GLOBAL HOVER MICRO-ANIMATIONS
   ========================================================================== */

/* Lift on hover for any card */
.value-card, .step-card, .category-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease !important;
}
.value-card:hover, .step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Pulse glow on CTA buttons */
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 166, 81, 0.5); }
    50%       { box-shadow: 0 0 0 12px rgba(0, 166, 81, 0); }
}
.btn-primary {
    animation: cta-pulse 3s ease infinite;
}
.btn-primary:hover {
    animation: none;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.4);
}

/* Animated gradient border on .stat-item */
.stat-item {
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: scale(1.05);
}

/* Smooth testimonial card hover */
.testimonial-card {
    transition: transform 0.3s ease !important;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}

/* ===== Piliers 3C / 2SR Accordion ===== */
.piliers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.pilier-column {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition-normal);
}
.pilier-column:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.pilier-column-header {
    text-align: center;
    margin-bottom: 25px;
}
.pilier-badge {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--brand-green), var(--brand-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}
.pilier-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pilier-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}
.pilier-item:hover {
    border-color: var(--border-hover);
}
.pilier-item.active {
    border-color: var(--brand-green);
    background: rgba(0,166,81,0.05);
}
.pilier-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-fast);
}
.pilier-question:hover {
    color: var(--brand-green);
}
.pilier-question span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pilier-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.pilier-item.active .pilier-chevron {
    transform: rotate(180deg);
}
.pilier-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 18px;
}
.pilier-item.active .pilier-answer {
    max-height: 200px;
    padding: 0 18px 16px;
}
.pilier-answer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .piliers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
