/* ============================================================
   STRATADS — IMMERSIVE PREMIUM DESIGN SYSTEM
   Deep Space / Glassmorphism / Motion Design
   ============================================================ */

/* RESET & VARIABLES */
:root {
    --bg-deep: #020408;
    --bg-panel: #0B0F17;
    --blue-primary: #1E40AF;
    --blue-bright: #3B82F6;
    --blue-glow: rgba(59, 130, 246, 0.3);
    --purple-accent: #7C3AED;
    --grey-border: #1E293B;
    --grey-text: #94A3B8;
    --grey-silver: #F1F5F9;
    --gradient-title: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --container: 1200px;
    --glass-bg: rgba(8, 12, 24, 0.55);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-blur: 20px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #020408;
}

body {
    background-color: var(--bg-deep);
    color: var(--grey-silver);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(5, 10, 20, 0.9); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #1E40AF);
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(59,130,246,.4);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
}

.heading-premium {
    font-size: clamp(2rem, 4vw, 3rem);
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.sub-heading {
    font-size: 1.05rem;
    color: var(--grey-text);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================================
   THREE.JS CANVAS — FIXED FULLSCREEN BACKGROUND
   ============================================================ */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* All content scrolls OVER the 3D scene */
.page-content {
    position: relative;
    z-index: 1;
}

/* ============================================================
   GLASSMORPHISM UTILITIES
   ============================================================ */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-panel-strong {
    background: rgba(8, 12, 24, 0.72);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 4px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(59, 130, 246, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.section {
    padding: 140px 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--blue-bright);
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    background: rgba(59, 130, 246, 0.05);
    border-radius: 2px;
    backdrop-filter: blur(6px);
}

.grid {
    display: grid;
    gap: 30px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(2, 4, 8, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background 0.4s, box-shadow 0.4s;
}

.main-header.scrolled {
    background: rgba(2, 4, 8, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: visible;
    isolation: isolate;
}

/* ── Starfield behind logo ── */
.brand::before,
.brand::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 24px;
    width: 180px;
    height: 60px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.brand::before {
    background:
        radial-gradient(1px 1px at 10px 15px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 35px 28px, rgba(96,165,250,0.8), transparent),
        radial-gradient(1.2px 1.2px at 60px 8px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 85px 35px, rgba(124,58,237,0.6), transparent),
        radial-gradient(0.8px 0.8px at 110px 20px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1.5px 1.5px at 140px 40px, rgba(96,165,250,0.7), transparent),
        radial-gradient(1px 1px at 160px 12px, rgba(255,255,255,0.6), transparent),
        radial-gradient(0.8px 0.8px at 25px 45px, rgba(6,182,212,0.6), transparent),
        radial-gradient(1px 1px at 75px 50px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.2px 1.2px at 130px 30px, rgba(124,58,237,0.5), transparent);
    background-size: 180px 60px;
    animation: starDrift 4s linear infinite;
}

.brand::after {
    background:
        radial-gradient(0.8px 0.8px at 20px 22px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 50px 42px, rgba(96,165,250,0.5), transparent),
        radial-gradient(1.3px 1.3px at 90px 10px, rgba(255,255,255,0.8), transparent),
        radial-gradient(0.7px 0.7px at 120px 48px, rgba(6,182,212,0.5), transparent),
        radial-gradient(1px 1px at 155px 25px, rgba(255,255,255,0.7), transparent),
        radial-gradient(0.9px 0.9px at 45px 5px, rgba(124,58,237,0.4), transparent),
        radial-gradient(1.1px 1.1px at 100px 38px, rgba(255,255,255,0.5), transparent),
        radial-gradient(0.8px 0.8px at 170px 18px, rgba(96,165,250,0.6), transparent);
    background-size: 180px 60px;
    animation: starDrift 6s linear infinite reverse;
    opacity: 0.5;
}

@keyframes starDrift {
    from { background-position: 0 0; }
    to { background-position: 180px 0; }
}

.brand-mark {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: visible;
    border: none;
    background: transparent;
    flex: 0 0 auto;
    z-index: 1;
    /* Breathing pulse */
    animation: logoBreathe 3s ease-in-out infinite;
}

@keyframes logoBreathe {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(59,130,246,0.5)) drop-shadow(0 0 25px rgba(59,130,246,0.2)); }
    50% { filter: drop-shadow(0 0 14px rgba(59,130,246,0.7)) drop-shadow(0 0 40px rgba(124,58,237,0.25)); }
}

/* Subtle ring glow */
.brand-mark::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,0.15);
    box-shadow: 0 0 12px rgba(59,130,246,0.08);
    animation: subtleRingPulse 4s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes subtleRingPulse {
    0%   { border-color: rgba(59,130,246,0.12); box-shadow: 0 0 10px rgba(59,130,246,0.06); }
    100% { border-color: rgba(124,58,237,0.18); box-shadow: 0 0 18px rgba(124,58,237,0.1); }
}

/* Inner glass container */
.brand-mark-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(2, 4, 8, 0.85);
    z-index: 1;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(59,130,246,0.06);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.1) brightness(1.1) contrast(1.05);
    position: relative;
    z-index: 1;
}

/* Soft ambient halo */
.brand-mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    z-index: -1;
    animation: softHalo 5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes softHalo {
    0%   { opacity: 0.4; }
    100% { opacity: 0.7; }
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    z-index: 1;
}

.brand-name strong {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
}

.brand-name span {
    color: var(--blue-bright);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

/* Language switcher — always visible in top bar */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 14px;
    flex-shrink: 0;
    z-index: 200;
}
.lang-switch a {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s;
}
.lang-switch a:hover { color: #94A3B8; }
.lang-switch a.active {
    color: #fff;
    font-weight: 700;
}
.lang-switch .sep {
    color: rgba(255,255,255,0.12);
    font-size: 0.65rem;
    user-select: none;
}

.nav-link {
    font-size: 0.82rem;
    color: var(--grey-text);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 8px 14px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #fff;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
    border: 1px solid rgba(59, 130, 246, 0.4);
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    border-radius: 2px;
}

.btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(124,58,237,0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3), 0 0 60px rgba(59, 130, 246, 0.1);
    border-color: var(--blue-bright);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: transparent;
    color: var(--grey-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 2px;
}

.btn-ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

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

.hero-inner {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--blue-bright);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeSlideUp 1s 0.3s forwards;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeSlideUp 1.2s 0.5s forwards;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--blue-bright), var(--purple-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--grey-text);
    font-weight: 300;
    max-width: 650px;
    margin: 25px auto 50px;
    opacity: 0;
    animation: fadeSlideUp 1s 0.8s forwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 1s 1.1s forwards;
}

.hero-metrics {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-top: 80px;
    opacity: 0;
    animation: fadeSlideUp 1s 1.4s forwards;
}

.hero-metric {
    text-align: center;
}

.hero-metric-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    font-weight: 600;
}

.hero-metric-label {
    font-size: 0.72rem;
    color: var(--grey-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

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

/* ============================================================
   SEPARATOR
   ============================================================ */
.separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.15), transparent);
    position: relative;
}

.separator::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px; height: 8px;
    background: var(--bg-deep);
    border: 1px solid rgba(59,130,246,0.25);
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy-text {
    text-align: center;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.8;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    color: var(--grey-text);
}

.philosophy-text strong {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 400;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.philosophy-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--blue-primary), transparent);
    margin: 40px auto;
}

.philosophy-tagline {
    text-align: center;
    font-size: 1rem;
    color: #64748B;
    font-style: italic;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-top: 60px;
}

.service-card {
    padding: 50px 40px;
    border: 1px solid var(--grey-border);
    transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.015);
}

.service-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: pulseMove 12s infinite alternate ease-in-out;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

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

@keyframes pulseMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(250px, 200px); }
}

.service-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 15px;
    right: 25px;
    pointer-events: none;
}

.service-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.service-desc {
    color: var(--grey-text);
    font-weight: 300;
    font-size: 0.92rem;
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

/* ============================================================
   AUTHORITY / CHART SECTION
   ============================================================ */
.authority-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.authority-box {
    padding: 40px;
    border-left: 1px solid var(--grey-border);
}

.authority-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.authority-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--grey-silver);
}

.blue-dot {
    width: 5px;
    height: 5px;
    background: var(--blue-bright);
    box-shadow: 0 0 10px var(--blue-bright);
    border-radius: 50%;
    flex-shrink: 0;
}

.chart-visual {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.chart-title {
    position: absolute;
    top: 25px;
    left: 25px;
    color: var(--grey-text);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 2px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    border-bottom: 1px solid var(--grey-border);
    padding-bottom: 10px;
}

.chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 70px;
}

.c-bar {
    width: 100%;
    background: #1E293B;
    position: relative;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    transition: 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-bar.active {
    background: linear-gradient(to top, var(--blue-primary), var(--blue-bright));
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.h-low { height: 80px; }
.h-mid { height: 140px; }
.h-high { height: 220px; }

.c-label {
    font-size: 0.72rem;
    color: var(--grey-text);
    text-align: center;
    text-transform: uppercase;
}

.c-value {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-row {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
    flex-wrap: wrap;
    gap: 30px;
}

.process-row::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--grey-border), rgba(59,130,246,0.2), var(--grey-border));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 0 15px;
}

.step-marker {
    width: 60px;
    height: 60px;
    background: var(--bg-deep);
    border: 1px solid var(--grey-border);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--grey-text);
    font-size: 0.9rem;
    border-radius: 50%;
    transition: all 0.4s;
    animation: pulseBlue 3s infinite;
}

@keyframes pulseBlue {
    0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.25); border-color: rgba(59,130,246,0.5); color: #fff; }
    70% { box-shadow: 0 0 0 12px rgba(59,130,246,0); }
    100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); border-color: var(--grey-border); color: var(--grey-text); }
}

.process-step:nth-child(2) .step-marker { animation-delay: 0.75s; }
.process-step:nth-child(3) .step-marker { animation-delay: 1.5s; }
.process-step:nth-child(4) .step-marker { animation-delay: 2.25s; }

.process-step:hover .step-marker {
    border-color: var(--blue-bright);
    color: #fff;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
    animation: none;
    transform: scale(1.08);
}

.step-title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-desc {
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 300;
}

/* ============================================================
   NEW SECTIONS: SCALING, AUDITS, INSIGHTS, ADN
   ============================================================ */

/* Scaling Protocol */
.scaling-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.scaling-card {
    padding: 40px 30px;
    text-align: center;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

/* ══════════════════════════════════════════
   HOLOGRAPHIC SVG PHASE ANIMATIONS
   ══════════════════════════════════════════ */

.holo-anim {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.holo-anim svg {
    overflow: visible;
    filter: drop-shadow(0 0 6px rgba(59,130,246,0.25));
}

/* ─── Phase 1: Radar Ring ─── */
.holo-radar svg {
    animation: radarSpin 8s linear infinite;
}

.radar-ring {
    transform-origin: 50% 50%;
}

.radar-dot {
    transform-origin: 50px 50px;
    animation: radarDotOrbit 8s linear infinite;
}

.radar-sweep {
    transform-origin: 50px 50px;
    animation: radarSweep 8s linear infinite;
    opacity: 0.4;
}

@keyframes radarSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes radarDotOrbit {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ─── Phase 2: Gyroscope Rings ─── */
.gyro-ring-1 {
    transform-origin: 50% 50%;
    animation: gyro1 6s linear infinite;
}
.gyro-ring-2 {
    transform-origin: 50% 50%;
    animation: gyro2 5s linear infinite reverse;
}
.gyro-ring-3 {
    transform-origin: 50% 50%;
    animation: gyro3 7s linear infinite;
}

.orbit-dot {
    filter: drop-shadow(0 0 4px rgba(167,139,250,0.8));
}

@keyframes gyro1 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes gyro2 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes gyro3 {
    from { transform: rotate(0deg) rotateX(20deg); }
    to   { transform: rotate(360deg) rotateX(20deg); }
}

/* ─── Phase 3: Energy Core ─── */
.core-ring-1 {
    transform-origin: 50% 50%;
    animation: coreRing1 4s linear infinite;
}
.core-ring-2 {
    transform-origin: 50% 50%;
    animation: coreRing2 3.5s linear infinite reverse;
}
.core-ring-3 {
    transform-origin: 50% 50%;
    animation: coreRing3 5s linear infinite;
}

.core-pulse {
    transform-origin: 50% 50%;
    animation: corePulse 2s ease-in-out infinite alternate;
}

.core-diamond {
    transform-origin: 50px 50px;
    animation: diamondGlow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 6px rgba(96,165,250,0.6));
}

@keyframes coreRing1 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes coreRing2 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes coreRing3 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes corePulse {
    0%   { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.15); }
}
@keyframes diamondGlow {
    0%   { filter: drop-shadow(0 0 4px rgba(96,165,250,0.4)); opacity: 0.7; }
    100% { filter: drop-shadow(0 0 12px rgba(96,165,250,0.9)); opacity: 1; }
}

.scaling-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.scaling-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.scaling-card p {
    color: var(--grey-text);
    font-weight: 300;
    font-size: 0.9rem;
}

/* Audits Section */
.audits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.audit-card {
    padding: 45px 35px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.audit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--blue-bright), var(--purple-accent));
    transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.audit-card:hover::before {
    height: 100%;
}

.audit-card:hover {
    transform: translateX(5px);
    border-color: rgba(59, 130, 246, 0.15);
}

.audit-card .audit-icon {
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: block;
}

.audit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.audit-card p {
    color: var(--grey-text);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Insights Data */
.insights-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.insight-stat {
    text-align: center;
    padding: 40px 20px;
    transition: 0.4s;
}

.insight-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
}

.insight-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--blue-bright);
    font-weight: 600;
    margin-bottom: 8px;
}

.insight-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey-text);
    font-weight: 500;
}

/* ADN du Cabinet */
.adn-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.adn-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.adn-text p {
    color: var(--grey-text);
    font-weight: 300;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.adn-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.adn-pillar {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: 0.3s;
}

.adn-pillar:hover {
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(4px);
}

.adn-pillar-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.adn-pillar-content strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 3px;
}

.adn-pillar-content span {
    color: var(--grey-text);
    font-size: 0.82rem;
    font-weight: 300;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.marquee-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.marquee-logo:hover {
    color: rgba(255, 255, 255, 0.5);
}

@keyframes marqueeScroll {
    to { transform: translateX(-50%); }
}

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

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
}

.faq-item:last-child {
    border-bottom: none;
}

details summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 18px 0;
    transition: color 0.3s;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary:hover {
    color: var(--blue-bright);
}

details summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--blue-bright);
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 20px;
}

details[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--grey-text);
    font-size: 0.92rem;
    line-height: 1.7;
    padding: 0 0 18px;
    animation: fadeIn 0.4s ease-in-out;
    font-weight: 300;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 500px; height: 500px;
    background: var(--blue-primary);
    top: -150px; left: -150px;
    animation: orbFloat 15s infinite alternate ease-in-out;
}

.orb-2 {
    width: 350px; height: 350px;
    background: #4C1D95;
    bottom: -100px; right: -100px;
    animation: orbFloat 12s infinite alternate-reverse ease-in-out;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 40px); }
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-form {
    margin-top: 60px;
    text-align: left;
    padding: 50px;
}

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

.input-premium {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: 0.3s;
    border-radius: 2px;
}

.input-premium:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.04);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.input-premium::placeholder {
    color: #475569;
}

.input-premium option {
    background-color: #020408;
    color: #fff;
}

.radio-group {
    display: flex;
    gap: 30px;
    margin: 15px 0 25px;
    color: var(--grey-text);
    font-size: 0.9rem;
}

.radio-group label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.radio-group label:hover {
    color: #fff;
}

.radio-group input {
    accent-color: var(--blue-bright);
}

.form-label {
    color: #64748B;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}

/* Cookie banner styles are now injected by cookie-banner.js */

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 50px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #444;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.5);
}

footer a {
    color: var(--grey-text);
    transition: 0.3s;
}

footer a:hover {
    color: var(--blue-bright);
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   HAMBURGER MENU (mobile)
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 200;
    background: none;
    border: none;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .authority-layout { grid-template-columns: 1fr; }
    .adn-layout { grid-template-columns: 1fr; }
    .scaling-grid { grid-template-columns: repeat(2, 1fr); }
    .insights-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Global */
    html { -webkit-text-size-adjust: 100%; }
    .container { padding: 0 20px; }
    .section { padding: 80px 0; }

    /* Header hamburger */
    .hamburger { display: flex; }
    .nav-actions {
        position: fixed;
        top: 0; right: 0;
        width: 280px; height: 100vh; height: 100dvh;
        background: rgba(2, 4, 8, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 30px 40px;
        gap: 8px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(.4,0,.2,1);
        border-left: 1px solid rgba(59,130,246,0.1);
        z-index: 150;
        overflow-y: auto;
    }
    .nav-actions.open {
        transform: translateX(0);
    }
    .nav-link {
        display: block !important;
        font-size: 1rem;
        padding: 14px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .nav-actions .btn-premium {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero { min-height: 80vh; min-height: 80dvh; padding: 100px 0 60px; }
    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .hero-subtitle { font-size: 1rem; margin: 20px auto 35px; }
    .hero-metrics { flex-direction: column; gap: 25px; }
    .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
    .hero-actions .btn-premium,
    .hero-actions .btn-ghost { width: 100%; max-width: 320px; }

    /* Grids */
    .services-grid { grid-template-columns: 1fr; }
    .audits-grid { grid-template-columns: 1fr; }
    .scaling-grid { grid-template-columns: 1fr; }
    .insights-row { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }

    /* Process */
    .process-row { flex-direction: column; gap: 25px; align-items: center; }
    .process-row::before { display: none; }
    .process-step { min-width: unset; width: 100%; max-width: 350px; }

    /* Cards */
    .service-card { padding: 35px 25px; }
    .audit-card { padding: 30px 22px; }
    .scaling-card { padding: 30px 20px; }
    .contact-form { padding: 30px 22px; }

    /* Holo SVG animations mobile */
    .holo-anim {
        width: 75px;
        height: 75px;
        margin-bottom: 16px;
    }
    .holo-anim svg {
        width: 75px;
        height: 75px;
    }

    /* Brand logo */
    .brand-mark { width: 38px; height: 38px; }
    .brand-mark::before { width: 46px; height: 46px; }
    .brand-mark::after { width: 70px; height: 70px; }
    .brand-name strong { font-size: 0.85rem; }
    .brand-name span { font-size: 0.52rem; }

    /* Flow arrows → rotate to ↓ on mobile */
    .flow-arrow {
        display: block;
        width: 100%;
        text-align: center;
        transform: rotate(90deg);
    }

    /* Starfield behind logo — smaller on mobile */
    .brand::before,
    .brand::after {
        width: 120px;
        height: 40px;
        background-size: 120px 40px;
    }
    @keyframes starDrift {
        from { background-position: 0 0; }
        to { background-position: 120px 0; }
    }

    /* Typography */
    .heading-premium { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .sub-heading { font-size: 0.95rem; }
    .philosophy-text { font-size: 1.1rem; }

    /* Footer */
    .footer-links { flex-wrap: wrap; gap: 15px; justify-content: center; }
    footer { padding: 35px 0; }

    /* FAQ */
    details summary { font-size: 0.95rem; padding: 15px 0; }

    /* Chart */
    .chart-col { width: 50px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .hero { padding: 90px 0 50px; }
    .hero h1 { font-size: 1.6rem; }
    .insights-row { grid-template-columns: 1fr; }
    .hero-metric-value { font-size: 1.6rem; }
    .contact-form { padding: 24px 16px; }
    .service-num { font-size: 2.5rem; }
    .nav-actions { width: 100%; }
    .footer-links { gap: 12px; font-size: 0.72rem; }

    /* Holo SVG smaller */
    .holo-anim {
        width: 65px;
        height: 65px;
        margin-bottom: 14px;
    }
    .holo-anim svg {
        width: 65px;
        height: 65px;
    }

    /* Brand */
    .brand { gap: 10px; }
    .brand::before,
    .brand::after {
        width: 80px;
        height: 30px;
        background-size: 80px 30px;
    }

    /* Scaling cards tighter */
    .scaling-card { padding: 24px 16px; }
    .scaling-card h3 { font-size: 0.95rem; }
}

/* iOS safe areas */
@supports (padding: max(0px)) {
    footer { padding-bottom: max(35px, env(safe-area-inset-bottom)); }
    .cookie-banner { bottom: max(18px, env(safe-area-inset-bottom)); }
    .nav-actions { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .holo-anim svg,
    .holo-anim svg * {
        animation-duration: 0s !important;
    }
    .brand::before,
    .brand::after {
        animation: none !important;
    }
}

