:root {
    --primary: #0232CC;
    --primary-dark: #0126A0;
    --primary-deeper: #001A7A;
    --primary-light: #2A5EF0;
    --primary-bright: #5A85F5;
    --primary-glow: rgba(2, 50, 204, 0.4);
    --primary-soft: rgba(2, 50, 204, 0.08);

    --gold: #F59E0B;
    --gold-soft: rgba(245, 158, 11, 0.2);
    --gold-glow: rgba(245, 158, 11, 0.35);
    --hot: #FF3366;
    --hot-glow: rgba(255, 51, 102, 0.3);
    
    --accent-teal: #06B6D4;
    --accent-purple: #A855F7;
    --accent-rose: #EC4899;

    --ink: #0A0E1A;
    --ink-soft: #161B2E;
    --muted: #6B7280;
    --muted-bright: #9CA3AF;
    --line: rgba(107, 114, 128, 0.12);
    --surface: #FFFFFF;
    --soft: #F0F2F8;
    --soft-strong: #E2E6F0;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    --shadow-sm: 0 2px 8px rgba(10, 14, 26, 0.04);
    --shadow: 0 8px 32px rgba(10, 14, 26, 0.06), 0 2px 12px rgba(10, 14, 26, 0.04);
    --shadow-md: 0 16px 56px rgba(10, 14, 26, 0.1), 0 4px 20px rgba(10, 14, 26, 0.06);
    --shadow-lg: 0 32px 96px rgba(10, 14, 26, 0.12), 0 12px 40px rgba(10, 14, 26, 0.06);
    --shadow-xl: 0 48px 140px rgba(10, 14, 26, 0.18);
    --shadow-glass: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 24px 80px rgba(2, 50, 204, 0.08);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);

    --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-display: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

body {
    background-color: red;
    font-family: var(--font-ui);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background: var(--soft);
    position: relative;
    cursor: default;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

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

/* ===== CURSOR ===== */
.cursor-glow {
    pointer-events: none; position: fixed; width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 50, 204, 0.06) 0%, rgba(245, 158, 11, 0.02) 40%, transparent 70%);
    transform: translate(-50%, -50%); z-index: 9999;
    transition: opacity 0.4s ease; will-change: transform;
    mix-blend-mode: screen;
}

/* ===== MORPHING BG ===== */
.morph-bg {
    pointer-events: none; position: fixed; inset: 0; z-index: 0; overflow: hidden;
}

.morph-blob {
    position: absolute; border-radius: 50%; filter: blur(120px);
    animation: morph-blob 20s var(--ease-smooth) infinite alternate;
}

.morph-blob--1 {
    width: min(70vw, 600px); height: min(70vw, 600px);
    top: -20%; left: -15%;
    background: radial-gradient(circle, rgba(2, 50, 204, 0.2) 0%, transparent 70%);
    animation-duration: 22s;
}

.morph-blob--2 {
    width: min(55vw, 480px); height: min(55vw, 480px);
    bottom: -10%; right: -10%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    animation-delay: -7s; animation-duration: 26s;
}

.morph-blob--3 {
    width: min(40vw, 360px); height: min(40vw, 360px);
    top: 45%; left: 50%;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.06) 0%, transparent 70%);
    animation-delay: -14s; animation-duration: 18s;
}

@keyframes morph-blob {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 50%; }
    33% { transform: translate(3%, -4%) scale(1.1) rotate(5deg); border-radius: 40% 60% 60% 40%; }
    66% { transform: translate(-2%, 3%) scale(0.95) rotate(-3deg); border-radius: 60% 40% 30% 70%; }
    100% { transform: translate(4%, -2%) scale(1.08) rotate(7deg); border-radius: 50% 50% 40% 60%; }
}

.grain {
    pointer-events: none; position: fixed; inset: 0; z-index: 1; opacity: 0.02;
    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");
}

/* ===== FLOATING ORBS ===== */
.floating-orbs {
    pointer-events: none; position: fixed; inset: 0; z-index: 1; overflow: hidden;
}

.float-orb {
    position: absolute; border-radius: 50%;
    animation: float-drift 30s var(--ease-smooth) infinite;
}

.float-orb--1 {
    width: 8px; height: 8px; top: 20%; left: 10%;
    background: var(--primary); opacity: 0.15;
    animation-duration: 28s; box-shadow: 0 0 20px var(--primary-glow);
}

.float-orb--2 {
    width: 5px; height: 5px; top: 60%; left: 85%;
    background: var(--gold); opacity: 0.2;
    animation-delay: -9s; animation-duration: 24s; box-shadow: 0 0 15px var(--gold-glow);
}

.float-orb--3 {
    width: 12px; height: 12px; top: 80%; left: 15%;
    background: var(--hot); opacity: 0.08;
    animation-delay: -4s; animation-duration: 32s; box-shadow: 0 0 25px var(--hot-glow);
}

.float-orb--4 {
    width: 4px; height: 4px; top: 35%; left: 60%;
    background: #fff; opacity: 0.2;
    animation-delay: -15s; animation-duration: 20s;
}

.float-orb--5 {
    width: 10px; height: 10px; top: 10%; left: 80%;
    background: var(--primary-bright); opacity: 0.1;
    animation-delay: -6s; animation-duration: 26s; box-shadow: 0 0 30px rgba(90, 133, 245, 0.3);
}

@keyframes float-drift {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(60px, -80px) scale(0.3); opacity: 0; }
}

header, main > section, footer { position: relative; z-index: 2; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600; line-height: 1.06; letter-spacing: -0.025em;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--soft); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--gold));
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--primary-dark), var(--gold)); }

/* ===== HEADER ===== */
header {
    display: flex; justify-content: space-between; align-items: center;
    position: relative;
    padding: 0.85rem clamp(1.5rem, 4vw, 4rem);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    border-bottom: 1px solid rgba(107, 114, 128, 0.06);
    position: sticky; top: 0; z-index: 1000;
    transition: padding 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo), background 0.4s ease;
    box-shadow: 0 0 0 1px rgba(2, 50, 204, 0.04) inset;
}

header.scrolled {
    padding: 0.5rem clamp(1.5rem, 4vw, 4rem);
    box-shadow: 0 20px 80px rgba(2, 50, 204, 0.08), 0 0 0 1px rgba(2, 50, 204, 0.06) inset;
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(2, 50, 204, 0.08);
}

.header-nav {
    display: flex; gap: 0.15rem;
    background: linear-gradient(135deg, rgba(2, 50, 204, 0.04), rgba(245, 158, 11, 0.04));
    padding: 0.2rem; border-radius: 999px;
    border: 1px solid rgba(2, 50, 204, 0.06);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    padding: 0.4rem 1.1rem; border-radius: 999px;
    font-size: 0.8125rem; font-weight: 600; color: var(--muted);
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(2, 50, 204, 0.06);
}

.brand { display: flex; align-items: center; gap: 0.85rem; }


.brand-mark {
    width: 44px; height: 44px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, #011A7A 70%, var(--gold) 100%);
    background-size: 200% 200%;
    animation: brand-shimmer 4s ease-in-out infinite;
    box-shadow: 0 8px 32px var(--primary-glow), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    position: relative; display: flex; align-items: center; justify-content: center;
}

@keyframes brand-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.brand-mark__inner {
    width: 16px; height: 16px; border-radius: 4px;
    background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-mark::after {
    content: ""; position: absolute; inset: 2px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1); pointer-events: none;
}

.brand-text h1 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 600; color: var(--ink); letter-spacing: 0.01em;
}

.brand-tagline {
    display: block; font-family: var(--font-ui);
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.2em;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-top: 0.05rem;
}

.admin-btn {
    position: relative; padding: 0.55rem 1.35rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #001A7A 100%);
    background-size: 150% 150%;
    color: #fff; border: none; border-radius: 999px; cursor: pointer;
    font-size: 0.8125rem; font-weight: 600; font-family: var(--font-ui);
    display: inline-flex; align-items: center; gap: 0.5rem; overflow: hidden;
    text-decoration: none;
    box-shadow: 0 12px 40px rgba(2, 50, 204, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.admin-btn::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.15) 48%, rgba(245, 158, 11, 0.1) 50%, rgba(255, 255, 255, 0.15) 52%, transparent 65%);
    transform: translateX(-100%);
    transition: transform 0.7s var(--ease-out-expo);
}

.admin-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(2, 50, 204, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.admin-btn:hover::before { transform: translateX(100%); }
.admin-btn:active { transform: translateY(0) scale(0.97); }
.admin-btn__icon { display: flex; opacity: 0.9; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: min(100vh, 960px);
    display: flex; align-items: center;
    overflow: hidden; color: #fff; isolation: isolate;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* Background image */
.hero-image {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden;
}

.hero-image__content {
    position: absolute; inset: 0;
    overflow: hidden;
}

.hero-image__img {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: hero-zoom 35s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* Gradient overlay */
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(170deg, rgba(0, 26, 122, 0.65) 0%, rgba(1, 38, 160, 0.5) 30%, rgba(2, 50, 204, 0.45) 60%, rgba(2, 50, 204, 0.6) 100%);
}

.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 100% 60% at 20% 30%, rgba(90, 133, 245, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 80% 70%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    animation: hero-bg-shift 12s ease-in-out infinite alternate;
}

@keyframes hero-bg-shift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, 2%); }
}

/* Ambient glow */
.hero-glow {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(ellipse 50% 40% at 65% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 30% 30% at 85% 30%, rgba(255, 51, 102, 0.04) 0%, transparent 40%);
}

/* Floating orbs */
.hero-orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(60px); opacity: 0.3;
}

.hero-orb--1 {
    width: 500px; height: 500px; top: -15%; right: -8%;
    background: rgba(245, 158, 11, 0.15);
    animation: orb-drift 20s ease-in-out infinite alternate;
}

.hero-orb--2 {
    width: 350px; height: 350px; bottom: -10%; left: 40%;
    background: rgba(90, 133, 245, 0.1);
    animation: orb-drift 25s ease-in-out infinite alternate-reverse;
}

.hero-orb--3 {
    width: 200px; height: 200px; top: 40%; left: -5%;
    background: rgba(255, 51, 102, 0.06);
    animation: orb-drift 18s ease-in-out infinite alternate;
}

@keyframes orb-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* Inner split layout */
.hero-inner {
    position: relative; z-index: 3; width: 100%;
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 3rem;
    padding: 8rem 0 5rem;
}

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; padding: 6rem 0 4rem; }
}

/* Left text */
.hero-text { max-width: 600px; }

@media (max-width: 860px) { .hero-text { max-width: 100%; } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 1rem 0.35rem 0.75rem; border-radius: 999px;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    margin-bottom: 1.75rem;
    animation: hero-fade-in 0.8s var(--ease-out-expo) 0.1s both;
}

.hero-badge__dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #22C55E; box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-badge--years {
    margin-bottom: 1.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: rgba(255, 255, 255, 0.9);
    gap: 0.5rem;
}

.hero-badge--years svg { color: var(--gold); flex-shrink: 0; }

.hero-title {
    margin-bottom: 1.25rem;
    animation: hero-fade-in 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-title__line {
    display: block;
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 600; line-height: 1.04;
    font-family: var(--font-display);
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-title__line--accent em {
    font-style: italic; font-weight: 500;
    background: linear-gradient(135deg, #fff 0%, rgba(6, 182, 212, 0.9) 20%, rgba(168, 85, 247, 0.8) 40%, var(--gold) 60%, rgba(255, 51, 102, 0.6) 80%, #fff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: hero-title-shift 6s ease-in-out infinite;
}

@keyframes hero-title-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #fff;
    max-width: 520px; margin-bottom: 2.5rem;
    font-weight: 400; line-height: 1.75;
    animation: hero-fade-in 0.8s var(--ease-out-expo) 0.35s both;
}

@media (max-width: 860px) { .hero-lead { margin-left: auto; margin-right: auto; } }

.hero-actions {
    display: flex; flex-wrap: wrap; gap: 0.85rem;
    animation: hero-fade-in 0.8s var(--ease-out-expo) 0.5s both;
}

@media (max-width: 860px) { .hero-actions { justify-content: center; } }

.btn-hero {
    display: inline-flex; align-items: center; gap: 0.65rem;
    padding: 0.9rem 2.25rem; border-radius: 999px;
    font-size: 0.925rem; font-weight: 700;
    font-family: var(--font-ui); cursor: pointer; text-decoration: none;
    transition: all 0.4s var(--ease-spring);
}

.btn-hero--primary {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: var(--primary); border: none;
    box-shadow: 0 16px 56px rgba(2, 50, 204, 0.35);
}

.btn-hero--primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 24px 72px rgba(2, 50, 204, 0.5);
}

.btn-hero--primary:active { transform: translateY(-1px) scale(0.98); }
.btn-hero--primary svg { transition: transform 0.4s var(--ease-spring); }
.btn-hero--primary:hover svg { transform: translateX(8px); }

.btn-hero--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
}

.btn-hero--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Right visual */
.hero-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 420px;
    animation: hero-fade-in 0.8s var(--ease-out-expo) 0.4s both;
}

@media (max-width: 860px) { .hero-visual { min-height: 320px; } }

/* Hero card mockup */
.hero-card {
    width: 100%; max-width: 420px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    animation: card-float 6s var(--ease-smooth) infinite;
}

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

.hero-card__bar {
    display: flex; gap: 7px; padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-card__dot {
    width: 8px; height: 8px; border-radius: 50%;
}

.hero-card__dot:nth-child(1) { background: #FF5F56; }
.hero-card__dot:nth-child(2) { background: #FFBD2E; }
.hero-card__dot:nth-child(3) { background: #27C93F; }

.hero-card__body { padding: 1.25rem 1.25rem 1.5rem; }

.hero-card__row {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-card__avatar {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    flex-shrink: 0;
}

.hero-card__line {
    height: 10px; border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    width: 160px; margin-bottom: 6px;
}

.hero-card__line--s { width: 100px; height: 7px; margin-bottom: 0; background: rgba(255, 255, 255, 0.06); }

/* Chart bars */
.hero-card__chart {
    display: flex; align-items: flex-end; gap: 6px;
    height: 60px; margin-bottom: 1.25rem;
}

.hero-card__chart span {
    flex: 1; border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.12));
    animation: chart-grow 1s var(--ease-out-expo) both;
}

.hero-card__chart span:nth-child(1) { height: 45%; animation-delay: 0.05s; }
.hero-card__chart span:nth-child(2) { height: 70%; animation-delay: 0.1s; background: linear-gradient(to top, rgba(2, 50, 204, 0.2), rgba(90, 133, 245, 0.25)); }
.hero-card__chart span:nth-child(3) { height: 55%; animation-delay: 0.15s; }
.hero-card__chart span:nth-child(4) { height: 85%; animation-delay: 0.2s; background: linear-gradient(to top, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.25)); }
.hero-card__chart span:nth-child(5) { height: 40%; animation-delay: 0.25s; }

@keyframes chart-grow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

/* Card stats */
.hero-card__stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}

.hero-card__stats div {
    text-align: center;
    padding: 0.6rem 0.4rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.hero-card__stats strong {
    display: block; font-size: 1.1rem; font-weight: 700; color: #fff;
}

.hero-card__stats span {
    display: block; font-size: 0.6rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4); margin-top: 0.15rem;
}

/* Floating labels */
.hero-float {
    position: absolute;
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 1rem 0.55rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    animation: float-label 5s var(--ease-smooth) infinite;
    pointer-events: none;
}

.hero-float svg { flex-shrink: 0; }

.hero-float--1 {
    top: 8%; right: -5%;
    animation-delay: -1s;
    color: #22C55E;
}

.hero-float--2 {
    bottom: 12%; left: -8%;
    animation-delay: -3s;
    color: var(--gold);
}

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

@media (max-width: 860px) {
    .hero-float--1 { right: 0; top: 2%; }
    .hero-float--2 { left: 0; bottom: 5%; }
}

/* Scroll indicator */
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 3;
    opacity: 0.3; animation: scroll-bob 2.5s var(--ease-smooth) infinite;
}

.hero-scroll__mouse {
    display: block; width: 22px; height: 34px; margin: 0 auto;
    border-radius: 99px;
    border: 2px solid rgba(255,255,255,0.35);
    position: relative;
}

.hero-scroll__wheel {
    display: block; width: 3px; height: 8px; border-radius: 99px;
    background: rgba(255,255,255,0.5);
    position: absolute; left: 50%; transform: translateX(-50%); top: 7px;
    animation: scroll-wheel 1.8s var(--ease-smooth) infinite;
}

@keyframes scroll-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

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

@keyframes hero-fade-in {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== DIVIDERS ===== */
.section-divider {
    position: relative; z-index: 3; line-height: 0; overflow: hidden;
}

.section-divider svg {
    display: block; width: 100%; height: clamp(60px, 10vw, 120px);
}

.section-divider--dark svg { height: clamp(30px, 5vw, 60px); }

/* ===== SECTIONS ===== */
.section {
    position: relative; z-index: 2;
    padding: clamp(4rem, 12vw, 7rem) clamp(1.5rem, 5vw, 4rem);
    max-width: 1440px; margin: 0 auto;
}

.section--blue {
    background: linear-gradient(165deg, var(--primary) 0%, var(--primary-dark) 40%, var(--primary-deeper) 100%);
    color: #fff; max-width: none;
    padding: clamp(4.5rem, 14vw, 8rem) clamp(1.5rem, 5vw, 4rem);
    position: relative; overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.section--blue::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 30%, rgba(90, 133, 245, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 70%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section--cta {
    text-align: center; max-width: none;
    padding: clamp(5rem, 14vw, 8rem) clamp(1.5rem, 5vw, 4rem);
    background: linear-gradient(180deg, var(--surface) 0%, var(--soft) 50%, rgba(6, 182, 212, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.section--cta::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent-teal), var(--gold), var(--hot), transparent);
    opacity: 0.5;
}

.section--cta::after {
    content: ""; position: absolute; inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 100%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.section-tag {
    display: inline-flex; font-family: var(--font-ui);
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem; padding: 0.25rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-soft), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(2, 50, 204, 0.1);
}

.section-header--light .section-tag {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
}

.section-title {
    font-size: clamp(2.6rem, 7vw, 4rem);
    font-weight: 600; color: var(--ink); letter-spacing: -0.03em;
}

.section-header--light .section-title { color: #fff; }

.section-title em {
    font-style: italic; font-weight: 500;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 25%, var(--accent-purple) 50%, var(--gold) 75%, var(--primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: section-title-shift 6s ease-in-out infinite;
}

.section-header--light .section-title em {
    background: linear-gradient(135deg, #fff 0%, rgba(6, 182, 212, 0.9) 25%, rgba(168, 85, 247, 0.8) 50%, var(--gold) 75%, #fff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: section-title-shift 6s ease-in-out infinite;
}

@keyframes section-title-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-desc {
    max-width: 560px; margin: 0.75rem auto 0;
    color: var(--muted); font-size: 1rem; line-height: 1.65;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.5rem, 3vw, 2.25rem);
    max-width: 1440px; margin: 0 auto;
}

/* ===== SKELETON ===== */
.grid-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem); max-width: 1440px; margin: 0 auto;
}

.skeleton-card {
    border-radius: var(--radius-xl); overflow: hidden;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(2, 50, 204, 0.02);
}

.skeleton-img {
    width: 100%; height: 228px;
    background: linear-gradient(90deg, var(--soft) 25%, var(--soft-strong) 50%, var(--soft) 75%);
    background-size: 200% 100%; animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-line {
    height: 14px; border-radius: 99px;
    background: linear-gradient(90deg, var(--soft) 25%, var(--soft-strong) 50%, var(--soft) 75%);
    background-size: 200% 100%; animation: shimmer 1.8s ease-in-out infinite;
    margin: 1rem 1.25rem 0.6rem;
}

.skeleton-line--s { width: 60%; margin-bottom: 1.25rem; }

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

/* ===== CARDS EXTRAVAGANT ===== */
.card {
    --card-delay: 0s;
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden; cursor: pointer; position: relative;
    border: 1px solid rgba(107, 114, 128, 0.08);
    box-shadow: var(--shadow-md);
    display: flex; flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1200px;
    transition: transform 0.6s var(--ease-out-expo),
                box-shadow 0.6s var(--ease-out-expo),
                border-color 0.4s ease;
    animation: card-enter 1s var(--ease-out-expo) both;
    animation-delay: var(--card-delay);
}

@keyframes card-enter {
    from { opacity: 0; transform: translateY(60px) scale(0.92) rotateX(8deg); }
    to { opacity: 1; transform: translateY(0) scale(1) rotateX(0); }
}

/* Animated gradient border */
.card::before {
    content: ""; position: absolute; inset: -2px; z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg,
        var(--primary) 0%,
        var(--accent-teal) 25%,
        var(--accent-purple) 50%,
        var(--gold) 75%,
        var(--primary) 100%
    );
    background-size: 300% 300%;
    animation: card-border-shift 5s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes card-border-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card::after {
    content: ""; position: absolute; top: 0; left: 15%; right: 15%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent-teal), var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 99px; z-index: 5;
}

.card:hover {
    transform: translateY(-20px) scale(1.03) rotateX(2deg);
    box-shadow: var(--shadow-xl), 0 0 100px rgba(2, 50, 204, 0.1);
    border-color: transparent;
}

.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }

.card-image-container {
    position: relative; width: 100%; height: 228px;
    overflow: hidden; background: linear-gradient(135deg, var(--soft) 0%, var(--soft-strong) 100%);
}

.card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo), filter 0.6s ease;
}

.card:hover img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.15) saturate(1.2) contrast(1.08);
}

.card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(2, 50, 204, 0.98) 0%,
        rgba(2, 50, 204, 0.4) 35%,
        rgba(6, 182, 212, 0.08) 60%,
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex; align-items: flex-end; padding: 1.5rem;
}

.card:hover .card-overlay { opacity: 1; }

.open-label {
    color: #fff; font-family: var(--font-ui);
    font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.04em;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transform: translateY(18px); opacity: 0;
    transition: transform 0.6s var(--ease-spring), opacity 0.4s ease;
}

.card:hover .open-label { transform: translateY(0); opacity: 1; }

.card-content {
    padding: 1.4rem 1.5rem 1.6rem;
    flex-grow: 1; display: flex; flex-direction: column;
    position: relative; z-index: 2;
    background: var(--surface);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem; margin-bottom: 0.4rem; color: var(--ink);
}

.card p {
    color: var(--muted); font-size: 0.9rem; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.card:hover .card-content {
    background: linear-gradient(180deg, var(--surface) 0%, rgba(2, 50, 204, 0.02) 100%);
}

.delete-card {
    position: absolute; top: 1rem; right: 1rem;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(220, 38, 38, 0.95); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.85) rotate(-12deg);
    transition: opacity 0.35s ease, transform 0.5s var(--ease-spring);
    z-index: 20; box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
}

.card:hover .delete-card { opacity: 1; transform: scale(1) rotate(0); }
.delete-card:hover { transform: scale(1.1) rotate(12deg); }

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 1.5rem; max-width: 1000px; margin: 0 auto; position: relative; z-index: 1;
}

.stat-card {
    position: relative; text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.5s ease, background 0.4s ease;
    overflow: hidden;
}

.stat-card::before {
    content: ""; position: absolute; inset: 0;
    border-radius: var(--radius-xl); padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 50%, rgba(6,182,212,0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.25), 0 0 60px rgba(6, 182, 212, 0.1);
}

.stat-card__icon {
    display: inline-flex; color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(168, 85, 247, 0.1));
    width: 60px; height: 60px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card__value {
    display: inline-block; font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4rem); font-weight: 700;
    color: #fff; line-height: 1; letter-spacing: -0.03em;
}

.stat-card__plus, .stat-card__suffix {
    display: inline-block; font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600;
    background: linear-gradient(135deg, var(--gold), var(--hot));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    vertical-align: super; margin-left: 0.1rem;
}

.stat-card__label {
    display: block; margin-top: 0.55rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.45);
    font-weight: 500; letter-spacing: 0.02em;
}

/* ===== CTA ===== */
.cta-content { 
    max-width: 640px; margin: 0 auto; text-align: center; 
    position: relative; z-index: 2;
}

.cta-text {
    color: var(--muted); font-size: 1.05rem; line-height: 1.7;
    margin: 0 auto 2.25rem; max-width: 480px;
}

.cta-content .btn-hero--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 50%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 16px 56px rgba(2, 50, 204, 0.35);
}

.cta-content .btn-hero--primary:hover {
    box-shadow: 0 28px 80px rgba(2, 50, 204, 0.45), 0 0 60px rgba(6, 182, 212, 0.15);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, #0A0E1A 0%, #060810 100%);
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,0.55);
}

.footer__glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(80vw, 800px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent-teal), var(--gold), transparent);
    opacity: 0.5;
}

.footer__glow::after {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 120px;
    background: radial-gradient(ellipse at 50% 0%, rgba(2,50,204,0.12) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3.5rem, 8vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4rem);
}

@media (max-width: 960px) {
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer__brand { grid-column: 1 / -1; }
}

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

/* Brand */
.footer__brand { min-width: 0; }

.footer__logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.footer__logo-img {
    width: 52px; height: 52px;
    border-radius: 14px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 24px rgba(0,0,0,0.3);
}

.footer__logo-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer__tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.38);
    max-width: 320px;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 0.6rem;
}

.footer__social-link {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.45);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: all 0.35s var(--ease-spring);
}

.footer__social-link:hover {
    transform: translateY(-4px) scale(1.08);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

/* Couleurs officielles au hover */
.footer__social-link--linkedin:hover  { background: #0A66C2; }
.footer__social-link--twitter:hover   { background: #000000; }
.footer__social-link--instagram:hover {
    background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.footer__social-link--facebook:hover  { background: #1877F2; }

/* Cols */
.footer__col { min-width: 0; }

.footer__col-title {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.footer__col-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 24px; height: 1.5px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--accent-teal));
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer__links a,
.footer__links span {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s var(--ease-out-expo);
    display: inline-block;
}

.footer__links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact list */
.footer__links--contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.footer__contact-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(2,50,204,0.15);
    border: 1px solid rgba(2,50,204,0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-bright);
    margin-top: 0.05rem;
}

/* Bottom bar */
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.footer__bottom::before {
    content: '';
    position: absolute;
    top: -1px; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(2,50,204,0.4), rgba(245,158,11,0.3), transparent);
}

.footer__bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer__copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
}

.footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.2);
}

.footer__bottom-links a {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

.footer__made {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.2);
}

.footer__made span { color: #FF3366; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 52px; height: 52px; border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, #001A7A 100%);
    color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 40px var(--primary-glow);
    z-index: 999;
    opacity: 0; transform: translateY(20px) scale(0.85);
    pointer-events: none;
    transition: all 0.5s var(--ease-out-expo);
}

.back-to-top.visible {
    opacity: 1; transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 24px 60px var(--primary-glow), 0 0 40px var(--gold-glow);
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

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

/* ===== MODAL ===== */
.modal {
    position: fixed; inset: 0;
    background: rgba(10, 14, 26, 0.88);
    backdrop-filter: blur(32px) saturate(1.2);
    -webkit-backdrop-filter: blur(32px) saturate(1.2);
    display: none; justify-content: center; align-items: center;
    z-index: 2000; padding: clamp(1rem, 4vw, 2rem);
}

.modal.active { display: flex; animation: overlay-in 0.5s var(--ease-out-expo) both; }

@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
    background: linear-gradient(180deg, var(--surface) 0%, var(--soft) 100%);
    width: 100%; max-width: 1200px; height: min(90vh, 900px);
    border-radius: var(--radius-xl);
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(2, 50, 204, 0.1) inset;
    border: 1px solid rgba(2, 50, 204, 0.08);
    animation: modal-pop 0.6s var(--ease-spring) both;
}

@keyframes modal-pop {
    from { opacity: 0; transform: translateY(40px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chrome-nav {
    background: linear-gradient(180deg, #0A0E1A 0%, #0F1424 100%);
    padding: 0.75rem 1rem 0;
    border-bottom: 1px solid rgba(2, 50, 204, 0.06);
}

.nav-controls { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.65rem; }

.nav-btn {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(2, 50, 204, 0.08);
    border-radius: 10px; color: #e2e8f0; cursor: pointer; font-size: 1rem;
    transition: background 0.25s ease, transform 0.2s var(--ease-spring), border-color 0.25s ease;
    flex-shrink: 0;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(2, 50, 204, 0.1);
    border-color: rgba(2, 50, 204, 0.15);
    transform: translateY(-2px);
}

.nav-btn:disabled { opacity: 0.25; cursor: not-allowed; }

.nav-btn--close { margin-left: auto; color: var(--muted-bright); }

.nav-btn--close:hover {
    color: var(--danger) !important;
    background: rgba(220,38,38,0.15) !important;
    border-color: rgba(220,38,38,0.25) !important;
}

.url-bar {
    flex-grow: 1; background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 999px;
    padding: 0.5rem 1.15rem; font-size: 0.78rem; color: var(--muted-bright);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

.tabs-container { display: flex; gap: 0.35rem; overflow-x: auto; padding-bottom: 0.35rem; scrollbar-width: thin; }

.chrome-tab {
    background: rgba(255,255,255,0.04); padding: 0.5rem 0.9rem;
    border-radius: 12px 12px 0 0; font-size: 0.75rem; font-weight: 500;
    color: var(--muted-bright); cursor: pointer; display: flex; align-items: center;
    gap: 0.5rem; min-width: 130px; max-width: 190px;
    border: 1px solid transparent; border-bottom: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.chrome-tab:hover { background: rgba(255,255,255,0.07); }

.chrome-tab.active {
    background: #f8fafc; color: var(--ink);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.close-tab { margin-left: auto; font-size: 0.8rem; opacity: 0.45; transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-spring); }
.close-tab:hover { opacity: 1; color: var(--danger); transform: scale(1.15); }

.tab-content { flex-grow: 1; position: relative; background: #f1f5f9; }
#siteFrame { width: 100%; height: 100%; border: none; }

.iframe-loader {
    position: absolute; inset: 0; z-index: 10;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.25rem; background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.iframe-loader__rings { position: relative; width: 52px; height: 52px; }

.iframe-loader__ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    border-right-color: rgba(2, 50, 204, 0.15);
    animation: spin-smooth 1.1s linear infinite;
}

.iframe-loader__ring--delay {
    inset: 6px; border-top-color: var(--gold);
    animation-duration: 1.6s; animation-direction: reverse;
}

@keyframes spin-smooth { to { transform: rotate(360deg); } }

.iframe-loader__text { font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.02em; }

/* OVERLAY */
.overlay {
    position: fixed; inset: 0;
    background: rgba(10, 14, 26, 0.55);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 2990;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.45s var(--ease-out-expo), visibility 0.45s;
}

.overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }

/* LOGIN */
.login-modal {
    position: fixed; inset: 0;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px) saturate(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(1.1);
    display: none; justify-content: center; align-items: center;
    z-index: 2000; padding: clamp(1rem, 4vw, 2rem);
}

.login-modal.active { display: flex; animation: overlay-in 0.5s var(--ease-out-expo) both; }

.login-box {
    position: relative;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    padding: clamp(2.5rem, 5vw, 3rem);
    border-radius: var(--radius-xl);
    width: 100%; max-width: 440px;
    box-shadow: var(--shadow-xl), 0 0 80px rgba(2, 50, 204, 0.06);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.65);
    overflow: hidden;
    animation: modal-pop 0.6s var(--ease-spring) both;
}

.login-box__glow {
    position: absolute; top: -40%; left: 50%; width: 120%; height: 60%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(2, 50, 204, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.login-box h2 { font-size: 2rem; margin-bottom: 0.5rem; color: var(--ink); position: relative; }
.login-box__intro { color: var(--muted); margin-bottom: 1.75rem; font-size: 0.9375rem; position: relative; }
.login-fields { text-align: left; position: relative; }

.login-box input {
    width: 100%; padding: 0.9rem 1.1rem; margin-bottom: 0.85rem;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: rgba(248,250,252,0.85);
    font-size: 0.9375rem; font-family: var(--font-ui);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.login-box input:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(2, 50, 204, 0.08);
    background: #fff; transform: translateY(-1px);
}

.btn-login-submit {
    width: 100%; margin-top: 0.5rem; padding: 0.95rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white; border: none; border-radius: var(--radius);
    font-weight: 600; font-family: var(--font-ui); cursor: pointer;
    position: relative; overflow: hidden;
    box-shadow: 0 12px 32px rgba(2, 50, 204, 0.2);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn-login-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(2, 50, 204, 0.25); }
.btn-login-submit:active { transform: translateY(0); }

.error-msg { margin-top: 1rem; font-size: 0.875rem; color: var(--danger); font-weight: 500; }
.error-msg[hidden] { display: none !important; }

.modal-dismiss {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(248,250,252,0.9);
    color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.modal-dismiss:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

/* DASHBOARD */
.dashboard {
    position: fixed; left: 0; right: 0; bottom: 0; width: 100%;
    height: min(90dvh, 880px); max-height: 90dvh;
    background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
    z-index: 3000; transform: translateY(100%); pointer-events: none;
    transition: transform 0.6s var(--ease-out-expo);
    box-shadow: 0 -20px 80px rgba(10, 14, 26, 0.15);
    display: flex; flex-direction: column;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden; padding-top: 14px;
}

.dashboard::before {
    content: ""; position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%); width: 44px; height: 5px;
    border-radius: 99px; background: rgba(107,114,128,0.4);
    z-index: 2; pointer-events: none;
}

.dashboard.open { transform: translateY(0); pointer-events: auto; }

.dashboard-header {
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 1.35rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, var(--primary-deeper) 100%);
    color: #fff; display: flex; justify-content: space-between; align-items: flex-start;
    gap: 1rem; position: relative; overflow: hidden; flex-shrink: 0;
}

.dashboard-header::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(90, 133, 245, 0.06) 45%, rgba(245, 158, 11, 0.03) 50%, transparent 75%);
    pointer-events: none;
}

.dashboard-header__brand { position: relative; z-index: 1; min-width: 0; }

.dashboard-header__eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.35rem; }

.dashboard-header h2 { font-family: var(--font-display); font-size: clamp(1.55rem, 4vw, 1.85rem); font-weight: 600; line-height: 1.15; letter-spacing: 0.02em; }

.dashboard-header__subtitle { margin-top: 0.45rem; font-size: 0.8125rem; color: rgba(255,255,255,0.6); line-height: 1.45; max-width: min(42rem, 100%); }

.close-dashboard {
    position: relative; z-index: 1; flex-shrink: 0;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
    width: 40px; height: 40px; border-radius: 12px; color: white;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.25s ease, transform 0.3s var(--ease-spring);
}
.close-dashboard:hover { background: rgba(255,255,255,0.18); transform: rotate(90deg) scale(1.05); }

.dashboard-scroll {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; width: 100%;
    padding: 1.1rem clamp(1.25rem, 4vw, 3rem) calc(1.75rem + env(safe-area-inset-bottom, 0));
    display: flex; flex-direction: column; gap: 1.25rem; overscroll-behavior: contain;
}

/* ADMIN STRIP */
.admin-strip {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(2,50,204,0.04) 0%, rgba(255,255,255,0.95) 50%, rgba(245,158,11,0.03) 100%);
    border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}

@media (max-width: 520px) { .admin-strip { grid-template-columns: 1fr; } }

.admin-strip__status { min-width: 0; }
.admin-strip__label { display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.35rem; }
.admin-strip__time { display: block; font-variant-numeric: tabular-nums; font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.admin-strip__date { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 0.25rem; text-transform: capitalize; }
.admin-strip__sync { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 0.45rem; }

.admin-badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; }
.admin-badge--live { background: rgba(5,150,105,0.1); color: var(--success); border: 1px solid rgba(5,150,105,0.25); }
.admin-badge--demo { background: rgba(245,158,11,0.1); color: #92400e; border: 1px solid rgba(245,158,11,0.25); }

.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 560px) { .admin-stats { grid-template-columns: repeat(4, 1fr); } }

.admin-stat-card {
    position: relative; padding: 0.95rem 1rem; background: #fff;
    border-radius: var(--radius); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); display: flex; align-items: flex-start;
    gap: 0.65rem; overflow: hidden;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.25s ease;
}

.admin-stat-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--muted-bright), transparent); opacity: 0.35; }
.admin-stat-card--accent::before { background: linear-gradient(90deg, var(--primary), rgba(2,50,204,0.1)); opacity: 1; }
.admin-stat-card--gold::before { background: linear-gradient(90deg, var(--gold), rgba(245,158,11,0.15)); opacity: 1; }

.admin-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(2,50,204,0.1); }

.admin-stat-card__icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.admin-stat-card--gold .admin-stat-card__icon { color: #a16207; background: rgba(245,158,11,0.08); }
.admin-stat-card__body { min-width: 0; }
.admin-stat-card__label { display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.2rem; }
.admin-stat-card__value { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: -0.02em; }

.admin-panels { display: flex; flex-direction: column; gap: 1.15rem; width: 100%; }

@media (min-width: 960px) {
    .admin-panels { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 1.35rem; align-items: start; }
    .admin-services-list { max-height: min(36vh, 480px); }
}

.admin-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 1.25rem 1.35rem 1.4rem; }
.admin-card--form { min-width: 0; }
.admin-card--list { min-width: 0; }
.admin-card__head { margin-bottom: 1.15rem; }

.admin-card__head--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }

.admin-card__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
.admin-card__hint { font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }

.btn-ghost-icon {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--soft); color: var(--ink);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring);
}
.btn-ghost-icon:hover { background: #fff; border-color: rgba(2,50,204,0.25); transform: rotate(-12deg); }

.admin-toolbar { margin-bottom: 1rem; }

.admin-search {
    width: 100%; padding: 0.72rem 1rem; border: 1px solid var(--line);
    border-radius: var(--radius); font-size: 0.875rem; font-family: var(--font-ui);
    background: var(--soft);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.admin-search:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(2,50,204,0.06); }

.admin-services-list { display: flex; flex-direction: column; gap: 0.65rem; max-height: min(28vh, 300px); overflow-y: auto; padding-right: 0.2rem; scrollbar-width: thin; }

.admin-empty { text-align: center; padding: 2rem 1rem; font-size: 0.875rem; color: var(--muted); background: var(--soft); border-radius: var(--radius); border: 1px dashed var(--line); }

.admin-service-row {
    display: flex; align-items: stretch; gap: 0.85rem; padding: 0.75rem 0.85rem;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.35s var(--ease-out-expo);
    animation: admin-row-in 0.45s var(--ease-out-expo) both;
    animation-delay: var(--row-delay, 0s);
}

@keyframes admin-row-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }

.admin-service-row:hover { border-color: rgba(2,50,204,0.12); box-shadow: var(--shadow); transform: translateX(-2px); }

.admin-service-row__thumb { flex-shrink: 0; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.admin-service-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-service-row__main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.admin-service-row__title { font-size: 0.95rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.admin-service-row__url { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-service-row__desc { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.admin-service-row__desc--empty { color: var(--muted-bright); font-style: italic; }
.admin-service-row__host { display: inline-block; margin-top: 0.15rem; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); }
.admin-service-row__actions { flex-shrink: 0; display: flex; flex-direction: column; gap: 0.4rem; justify-content: center; }
.admin-service-row__actions .btn-icon { width: 38px; height: 38px; }

.btn-icon { width: 36px; height: 36px; border-radius: 10px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.25s var(--ease-spring), filter 0.2s ease; }
.btn-icon:hover { transform: scale(1.08); }
.btn-edit { background: var(--ink); color: white; }
.btn-delete { background: var(--danger); color: white; }

.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; margin-bottom: 0.45rem; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.form-group input, .form-group textarea { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 0.9rem; font-family: var(--font-ui); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2,50,204,0.06); }

.form-actions { display: flex; gap: 0.85rem; margin-top: 1.75rem; }

.btn-primary { flex-grow: 1; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border: none; padding: 0.9rem 1rem; border-radius: var(--radius); font-weight: 600; font-family: var(--font-ui); cursor: pointer; box-shadow: 0 8px 24px rgba(2,50,204,0.16); transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, filter 0.2s ease; }
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(2,50,204,0.2); }
.btn-primary:disabled { opacity: 0.65; cursor: wait; }

.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 0.9rem 1.2rem; border-radius: var(--radius); font-weight: 600; font-family: var(--font-ui); cursor: pointer; transition: background 0.25s ease, border-color 0.25s ease; }
.btn-secondary:hover { background: var(--soft); border-color: var(--muted-bright); }

.btn-logout { width: 100%; margin-top: 0.35rem; padding: 0.85rem; background: transparent; color: var(--danger); border: 1px solid rgba(220,38,38,0.3); border-radius: var(--radius); cursor: pointer; font-weight: 600; font-family: var(--font-ui); transition: background 0.25s ease, transform 0.2s ease; }
.btn-logout:hover { background: rgba(220,38,38,0.05); transform: translateY(-1px); }

/* NOTIFICATION */
.notification {
    position: fixed; bottom: 1.75rem; right: 1.75rem; padding: 1rem 1.35rem;
    background: linear-gradient(135deg, var(--ink) 0%, #161B2E 100%);
    color: #f8fafc; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    z-index: 5000; display: flex; align-items: center; gap: 0.65rem;
    font-weight: 600; font-size: 0.875rem;
    border: 1px solid rgba(255,255,255,0.06);
    animation: toast-in 0.5s var(--ease-spring) both;
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.notification.error { background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%); }

.notification__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary-glow); flex-shrink: 0; animation: dot-pulse 1.2s ease-in-out infinite; }
.notification.error .notification__dot { background: #fecdd3; box-shadow: 0 0 12px rgba(254,205,213,0.6); }

@keyframes dot-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.85; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(0.94); } to { opacity: 1; transform: translateY(0) scale(1); } }

.dashboard-section-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.35rem; color: var(--ink); padding-bottom: 0.65rem; border-bottom: 1px solid var(--line); }
.dashboard-section-title--list { margin-top: 2.5rem; }
.dashboard-block { margin-top: 0.5rem; }

.service-item { background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 0.85rem; display: flex; align-items: center; gap: 1rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.25s ease; }
.service-item:hover { transform: translateX(-4px); box-shadow: var(--shadow); border-color: rgba(2,50,204,0.1); }
.service-item-info { flex-grow: 1; min-width: 0; }
.service-item-info h4 { font-family: var(--font-ui); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.service-item-info p { font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-actions { display: flex; gap: 0.45rem; }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
    .hero-mesh, .hero-mesh::after, .hero-overlay-shine { animation: none; }
    .card { animation: none; }
    .dashboard { transform: none; transition: opacity 0.25s ease, visibility 0.25s ease; opacity: 0; visibility: hidden; }
    .dashboard.open { opacity: 1; visibility: visible; }
    .admin-service-row { animation: none; }
    .admin-stat-card:hover, .admin-service-row:hover { transform: none; }
    .cursor-glow { display: none; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .grid { padding: 0; }
    .hero { min-height: 75vh; padding-top: 4rem; padding-bottom: 4rem; }
    .modal-content { height: 100%; max-height: none; border-radius: 0; }
    .notification { left: 1rem; right: 1rem; bottom: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .back-to-top { bottom: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 14px; }
    .hero-shape--1 { width: 200px; height: 200px; }
    .hero-shape--2 { width: 140px; height: 140px; }
    .hero-shape--3 { width: 80px; height: 80px; }
}

/* ADMIN PAGES */
body.admin-page { min-height: 100dvh; }

.admin-login-gate { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: linear-gradient(180deg, rgba(10,14,26,0.65) 0%, rgba(10,14,26,0.85) 100%); }
.admin-login-gate[hidden] { display: none !important; }
.admin-app[hidden] { display: none !important; }
.login-box--standalone { position: relative; width: 100%; max-width: 440px; }
.admin-login-footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.admin-back-link { font-size: 0.875rem; font-weight: 600; color: rgba(248,250,252,0.9); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
.admin-page-header .admin-back-link { color: rgba(248,250,252,0.85); }
.admin-back-link:hover { color: #fff; opacity: 1; }
.admin-back-link--inline { color: var(--primary); display: inline-block; }
.admin-back-link--inline:hover { color: var(--primary-dark); }

.admin-app { display: flex; flex-direction: column; min-height: 100dvh; }

.admin-page-header {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
    padding: 1rem clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, var(--primary-deeper) 100%);
    color: #fff; border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0;
}

.admin-page-header__title { text-align: center; min-width: 0; }

@media (max-width: 640px) {
    .admin-page-header { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
    .admin-page-header__title { grid-column: 1 / -1; grid-row: 1; text-align: left; }
    .admin-page-header .admin-back-link { grid-column: 1; grid-row: 2; align-self: center; }
    .admin-page-header .btn-logout--header { grid-column: 2; grid-row: 2; width: auto; justify-self: end; }
}

.admin-page-header__h { font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.65rem); font-weight: 600; margin-top: 0.15rem; letter-spacing: 0.02em; }

.admin-page-main { flex: 1 1 auto; width: 100%; max-width: 1280px; margin: 0 auto; padding: 1.5rem clamp(1rem, 3vw, 2rem) 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.admin-page-lead { font-size: 0.9375rem; color: var(--muted); margin: 0 0 0.25rem; }
.btn-logout--header { width: auto; margin-top: 0; padding: 0.55rem 1.1rem; font-size: 0.8125rem; }
.admin-services-list--page { max-height: min(48vh, 520px); }

@media (min-width: 960px) { .admin-services-list--page { max-height: min(56vh, 640px); } }

/* ===== ABOUT ===== */
.section--about {
    max-width: none;
    padding: clamp(4.5rem, 12vw, 7rem) clamp(1.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #f8f9ff 0%, var(--soft) 50%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.section--about::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 0% 50%, rgba(2,50,204,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 100% 50%, rgba(245,158,11,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 860px) {
    .about-inner { grid-template-columns: 1fr; }
}

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

.about-img-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(2,50,204,0.12), 0 8px 24px rgba(0,0,0,0.06);
}

.about-img {
    width: 100%;
    height: clamp(320px, 45vw, 520px);
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-img-wrap:hover .about-img { transform: scale(1.04); }

.about-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,50,204,0.25) 0%, transparent 50%);
    pointer-events: none;
}

.about-img-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 8px 32px rgba(2,50,204,0.12);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: card-float 5s ease-in-out infinite;
}

.about-img-badge__value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-img-badge__label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
    white-space: nowrap;
}

/* Content */
.about-content .section-tag { margin-bottom: 0.75rem; }

.about-content .section-title {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 5vw, 3rem);
}

.about-text {
    color: var(--muted);
    font-size: 0.975rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.75rem 0 2rem;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(2,50,204,0.06);
    backdrop-filter: blur(8px);
    transition: all 0.35s var(--ease-out-expo);
}

.about-value:hover {
    background: #fff;
    border-color: rgba(2,50,204,0.12);
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(2,50,204,0.06);
}

.about-value__icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(2,50,204,0.08), rgba(6,182,212,0.08));
    border: 1px solid rgba(2,50,204,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}

.about-value strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.15rem;
}

.about-value span {
    font-size: 0.8rem;
    color: var(--muted);
}

.btn-hero--about {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-ui);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 12px 40px rgba(2,50,204,0.25);
    transition: all 0.4s var(--ease-spring);
}

.btn-hero--about:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 56px rgba(2,50,204,0.35);
}

.btn-hero--about svg { transition: transform 0.3s var(--ease-spring); }
.btn-hero--about:hover svg { transform: translateX(6px); }

/* ===== PARTNERS SECTION ===== */
.partners-section {
    background: linear-gradient(180deg, var(--surface) 0%, #f4f6ff 50%, var(--surface) 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 13vw, 8.5rem) clamp(1.5rem, 5vw, 4rem);
    max-width: 1440px;
    margin: 0 auto;
    isolation: isolate;
}

/* Background Ambient Orbs */
.partners-ambient-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.partners-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    will-change: transform;
    animation: partners-orb-drift 25s ease-in-out infinite alternate;
}

.partners-orb--a {
    width: min(70vw, 650px);
    height: min(70vw, 650px);
    top: -20%;
    left: -15%;
    background: radial-gradient(circle, var(--primary) 0%, var(--accent-teal) 50%, transparent 80%);
}

.partners-orb--b {
    width: min(60vw, 550px);
    height: min(60vw, 550px);
    bottom: -20%;
    right: -15%;
    background: radial-gradient(circle, var(--gold) 0%, var(--accent-purple) 50%, transparent 80%);
    animation-delay: -8s;
    animation-duration: 30s;
}

/* Extra decorative orb */
.partners-ambient-layer::after {
    content: '';
    position: absolute;
    width: min(40vw, 400px);
    height: min(40vw, 400px);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.06;
    background: radial-gradient(circle, var(--hot) 0%, transparent 70%);
    animation: partners-orb-drift 20s ease-in-out infinite alternate-reverse;
}

@keyframes partners-orb-drift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(50px, -30px); }
}

/* Floating particles */
.partners-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(2,50,204,0.08) 1px, transparent 1px),
        radial-gradient(circle, rgba(245,158,11,0.06) 1px, transparent 1px);
    background-size: 60px 60px, 90px 90px;
    background-position: 0 0, 30px 30px;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 0;
    position: relative;
    z-index: 2;
}

/* ===== CAROUSEL ===== */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(2, 50, 204, 0.15);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-spring);
    box-shadow: 0 4px 16px rgba(2,50,204,0.08);
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(2,50,204,0.25);
}

.carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(2,50,204,0.2);
    transition: all 0.35s var(--ease-spring);
    cursor: pointer;
}

.carousel-dot.active {
    width: 22px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--accent-teal));
    box-shadow: 0 0 8px rgba(2,50,204,0.35);
}

.partners-carousel {
    position: relative;
    overflow: hidden;
    z-index: 2;
    margin-bottom: 1.25rem;
    /* Fade edges */
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners-carousel:last-child { margin-bottom: 0; }

.partners-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: carousel-scroll-left 35s linear infinite;
    will-change: transform;
}

.partners-carousel--reverse .partners-track {
    animation-name: carousel-scroll-right;
    animation-duration: 40s;
}

.partners-carousel:hover .partners-track,
.partners-carousel--reverse:hover .partners-track {
    animation-play-state: paused;
}

@keyframes carousel-scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes carousel-scroll-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ===== PARTNER CARD — Haut de gamme ===== */
.partner-card {
    --card-accent: var(--primary);
    flex-shrink: 0;
    width: 200px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 2rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow:
        0 4px 24px rgba(2, 50, 204, 0.04),
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 -1px 0 rgba(2,50,204,0.04) inset;
    transition:
        transform 0.55s var(--ease-spring),
        box-shadow 0.55s var(--ease-out-expo),
        background 0.4s ease,
        border-color 0.4s ease;
}

/* Holographic animated border */
.partner-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        var(--primary) 60deg,
        var(--accent-teal) 120deg,
        var(--accent-purple) 180deg,
        var(--gold) 240deg,
        var(--hot) 300deg,
        transparent 360deg
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    animation: partner-border-spin 4s linear infinite paused;
}

.partner-card:hover::before {
    opacity: 1;
    animation-play-state: running;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes partner-border-spin {
    to { --angle: 360deg; }
}

/* Inner white fill to mask the conic border */
.partner-card__inner-fill {
    position: absolute;
    inset: 1px;
    border-radius: 23px;
    background: rgba(255,255,255,0.92);
    z-index: 0;
    pointer-events: none;
    transition: background 0.4s ease;
}

.partner-card:hover .partner-card__inner-fill {
    background: rgba(255,255,255,0.97);
}

/* Sheen sweep */
.partner-card__sheen {
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255,255,255,0.5) 45%,
        rgba(255,255,255,0.7) 50%,
        rgba(255,255,255,0.5) 55%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.9s var(--ease-out-expo);
    pointer-events: none;
    z-index: 5;
}

.partner-card:hover .partner-card__sheen {
    left: 160%;
}

/* Spotlight glow on hover */
.partner-card__spotlight {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(2, 50, 204, 0.08) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.partner-card:hover .partner-card__spotlight {
    opacity: 1;
}

.partner-card:hover {
    transform: translateY(-14px) scale(1.04);
    box-shadow:
        0 40px 100px rgba(2, 50, 204, 0.14),
        0 16px 40px rgba(2, 50, 204, 0.08),
        0 0 0 1px rgba(2, 50, 204, 0.1),
        0 1px 0 rgba(255,255,255,1) inset;
    border-color: transparent;
}

/* ===== BADGE 3D ===== */
.partner-logo-badge {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-ui);
    color: #fff;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s ease;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.15),
        0 2px 8px rgba(0,0,0,0.1),
        0 1px 0 rgba(255,255,255,0.3) inset;
}

/* Pulsing ring */
.partner-logo-badge::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 30px;
    border: 2px solid currentColor;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s var(--ease-spring);
    pointer-events: none;
    color: rgba(2, 50, 204, 0.3);
}

/* Shine on badge */
.partner-logo-badge::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 8px;
    right: 8px;
    height: 35%;
    border-radius: 12px 12px 50% 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, transparent 100%);
    pointer-events: none;
}

.partner-card:hover .partner-logo-badge {
    transform: translateY(-4px) scale(1.1) rotate(-4deg);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.2),
        0 8px 24px rgba(0,0,0,0.12),
        0 1px 0 rgba(255,255,255,0.4) inset;
}

.partner-card:hover .partner-logo-badge::before {
    opacity: 1;
    transform: scale(1);
    animation: partner-ring-pulse 2s ease-in-out infinite;
}

@keyframes partner-ring-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.06); }
}

/* Status pill */
.partner-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(2,50,204,0.07), rgba(6,182,212,0.07));
    border: 1px solid rgba(2,50,204,0.1);
    color: var(--primary);
    margin-bottom: 0.65rem;
    position: relative;
    z-index: 2;
    transition: all 0.35s ease;
}

.partner-status-pill::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary-glow);
    animation: dot-pulse 2s ease-in-out infinite;
}

.partner-card:hover .partner-status-pill {
    background: linear-gradient(135deg, var(--primary), var(--accent-teal));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(2,50,204,0.25);
}

.partner-card:hover .partner-status-pill::before {
    background: #fff;
    box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* Name */
.partner-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.partner-card:hover .partner-name {
    background: linear-gradient(135deg, var(--primary), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Bottom accent line */
.partner-card__line {
    width: 32px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    margin-top: 1rem;
    position: relative;
    z-index: 2;
    transform: scaleX(0.5);
    opacity: 0;
    transition: transform 0.4s var(--ease-spring), opacity 0.4s ease;
    transform-origin: center;
}

.partner-card:hover .partner-card__line {
    transform: scaleX(1);
    opacity: 1;
}

/* Entry animation */
@keyframes partner-card-in {
    from { opacity: 0; transform: translateY(40px) scale(0.93) rotateX(6deg); }
    to   { opacity: 1; transform: translateY(0) scale(1) rotateX(0); }
}

/* Scrollable Header Nav layout adjustments */
@media (min-width: 769px) {
    .header-nav {
        flex-wrap: wrap;
        max-width: 60%;
        justify-content: center;
    }
}