/* ═══════════════════════════════════════════════════════════
   PIXELSPOT — NEURAL DARK v7
   The World's Most Advanced Web Theme
   AI-Reactive • Neural Constellation • Liquid Mesh
   Holographic Prismatic • Intelligent Scroll Cinema
   Perfect Mobile • Gesture-Aware • 120fps
   ═══════════════════════════════════════════════════════════ */

/* ── Houdini Custom Properties ── */
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --hue   { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --glow  { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --morph { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

/* ═══════════════════════════════════════════
   COLOR SYSTEM — Neural Dark
   Deepest dark with living neon accents
   ═══════════════════════════════════════════ */
:root {
    /* Core palette — light, Apple‑inspired */
    --bg-void: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f5;
    --bg-glass: rgba(255, 255, 255, 0.82);
    --bg-glass-heavy: rgba(255, 255, 255, 0.96);

    /* Text */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #737378;
    --text-accent: #0071e3;

    /* Accent spectrum */
    --neon-cyan: #0071e3;
    --neon-blue: #0071e3;
    --neon-purple: #2563eb;
    --neon-violet: #0071e3;
    --neon-pink: #ff3b30;
    --neon-magenta: #3b82f6;
    --neon-green: #34c759;
    --neon-amber: #f59e0b;

    /* Accent system */
    --accent: #0071e3;
    --accent-light: #2997ff;
    --accent-hover: #0077ED;
    --accent-glow: rgba(0, 113, 227, 0.35);
    --accent-subtle: rgba(0, 113, 227, 0.08);

    /* Gradients */
    --gradient-1: linear-gradient(135deg, #0071e3 0%, #2997ff 50%, #2997ff 100%);
    --gradient-2: linear-gradient(135deg, #0071e3 0%, #2997ff 100%);
    --gradient-text: linear-gradient(135deg, #0071e3, #2997ff);
    --gradient-aurora: linear-gradient(135deg, #e5e7eb, #eef2ff, #f0f9ff);
    --gradient-holographic: linear-gradient(var(--angle),
        #0071e3 0%, #2997ff 25%, #0071e3 50%, #2997ff 75%, #0071e3 100%);

    /* Borders & shadows */
    --border: rgba(15, 23, 42, 0.06);
    --border-hover: rgba(0, 113, 227, 0.35);
    --border-glow: rgba(0, 113, 227, 0.5);
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
    --shadow-card: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-epic: 0 32px 80px -20px rgba(15, 23, 42, 0.28);
    --shadow-neon: 0 0 50px rgba(0, 113, 227, 0.18);
    --shadow-neon-cyan: 0 0 40px rgba(0, 113, 227, 0.16);

    /* Geometry */
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-2xl: 40px;
    --nav-height: 44px;

    /* Easings */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-cinematic: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0, 1);

    /* Noise texture — very subtle on light */
    --noise: 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.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
}

/* ═══ Global Body ═══ */
body {
    background: var(--bg-void) !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    overflow-x: hidden !important;
}

/* ═══ Clean Page Entrance ═══ */
body {
    opacity: 1 !important;
}

/* ═══ Film Grain — Ultra Subtle ═══ */
body::after {
    content: '' !important;
    position: fixed !important;
    top: 44px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: var(--noise) !important;
    background-repeat: repeat !important;
    background-size: 180px !important;
    pointer-events: none !important;
    z-index: 9999 !important;
    opacity: 0.06 !important;
    mix-blend-mode: overlay !important;
}

/* ═══════════════════════════════════════════
   NEURAL CONSTELLATION CANVAS
   AI particle network drawn via JS
   ═══════════════════════════════════════════ */
#neural-canvas {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    opacity: 0.65;
}

/* ═══════════════════════════════════════════
   LIQUID MESH GRADIENT — Living Background
   ═══════════════════════════════════════════ */
.liquid-mesh {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    mix-blend-mode: screen;
}

.mesh-orb:nth-child(1) {
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.16) 0%, transparent 70%);
    top: -30%; left: -15%;
    filter: blur(100px);
    animation: meshOrb1 28s ease-in-out infinite;
}
.mesh-orb:nth-child(2) {
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(165, 180, 252, 0.18) 0%, transparent 70%);
    top: 15%; right: -20%;
    filter: blur(110px);
    animation: meshOrb2 24s ease-in-out infinite;
}
.mesh-orb:nth-child(3) {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    bottom: 5%; left: 25%;
    filter: blur(120px);
    animation: meshOrb3 30s ease-in-out infinite;
}
.mesh-orb:nth-child(4) {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.04) 0%, transparent 70%);
    top: 45%; left: 55%;
    filter: blur(130px);
    animation: meshOrb2 26s ease-in-out infinite reverse;
}
.mesh-orb:nth-child(5) {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.03) 0%, transparent 70%);
    top: 70%; right: 10%;
    filter: blur(140px);
    animation: meshOrb1 32s ease-in-out infinite reverse;
}

@keyframes meshOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -80px) scale(1.2); }
    50% { transform: translate(-60px, 100px) scale(0.85); }
    75% { transform: translate(70px, -40px) scale(1.1); }
}
@keyframes meshOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-90px, 70px) scale(1.15) rotate(120deg); }
    66% { transform: translate(80px, -50px) scale(0.9) rotate(240deg); }
}
@keyframes meshOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    20% { transform: translate(60px, -90px) scale(1.1); }
    40% { transform: translate(-80px, 40px) scale(0.95); }
    60% { transform: translate(40px, 70px) scale(1.05); }
    80% { transform: translate(-50px, -60px) scale(0.9); }
}

/* ═══════════════════════════════════════════
   GRID PATTERN — Subtle Neural Net Lines
   ═══════════════════════════════════════════ */
.grid-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0,113,227,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,113,227,0.012) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(0,0,0,0.6) 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(0,0,0,0.6) 0%, transparent 80%);
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS — Holographic Bar
   ═══════════════════════════════════════════ */
.scroll-progress {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    height: 2px !important;
    background: var(--gradient-aurora) !important;
    background-size: 600% 100% !important;
    animation: holoScroll 6s linear infinite !important;
    z-index: 10001 !important;
    width: 0% !important;
    box-shadow: 0 0 16px rgba(0,113,227,0.4), 0 0 50px rgba(0,113,227,0.15) !important;
}
@keyframes holoScroll {
    0%   { background-position: 0% 50%; }
    100% { background-position: 600% 50%; }
}

/* ═══════════════════════════════════════════
   AOS — Intelligent Entrance System
   ═══════════════════════════════════════════ */
[data-aos] {
    opacity: 0 !important;
    transform: translateY(60px) scale(0.96) !important;
    transition: 
        opacity 1s var(--ease-out-expo),
        transform 1s var(--ease-out-expo),
        filter 1.2s var(--ease-out-expo) !important;
    filter: blur(8px);
}
[data-aos].aos-animate {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    filter: blur(0);
}
[data-aos-delay="150"].aos-animate { transition-delay: 0.12s !important; }
[data-aos-delay="200"].aos-animate { transition-delay: 0.18s !important; }
[data-aos-delay="300"].aos-animate { transition-delay: 0.25s !important; }
[data-aos-delay="400"].aos-animate { transition-delay: 0.35s !important; }
[data-aos-delay="450"].aos-animate { transition-delay: 0.4s !important; }

/* ═══════════════════════════════════════════
   NAVBAR — Apple.com Exact Replica
   ═══════════════════════════════════════════ */
.navbar {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    height: 44px !important;
    transition: background 0.4s ease, border-color 0.4s ease !important;
    box-shadow: none !important;
    z-index: 10000 !important;
    isolation: isolate !important;
}
.navbar.scrolled {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: none !important;
}
.nav-container {
    max-width: 980px !important;
    height: 44px !important;
    padding: 0 22px !important;
    justify-content: center !important;
    gap: 0 !important;
}
.nav-logo {
    margin-right: auto !important;
}
.nav-links {
    gap: 0 !important;
    margin-right: auto !important;
}
.nav-toggle {
    margin-left: auto !important;
}

.logo-img {
    height: 18px !important;
    filter: brightness(0) saturate(100%) !important;
    transition: opacity 0.3s ease !important;
}
.logo-img:hover {
    transform: none !important;
    filter: brightness(0) saturate(100%) !important;
    opacity: 0.7 !important;
}

.nav-link {
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(0, 0, 0, 0.8) !important;
    padding: 0 10px !important;
    border-radius: 0 !important;
    background: transparent !important;
    transition: opacity 0.3s ease !important;
    position: relative !important;
    line-height: 44px !important;
}
.nav-link::after {
    display: none !important;
}
.nav-link:hover {
    color: rgba(0, 0, 0, 0.56) !important;
    background: transparent !important;
    opacity: 1 !important;
}
.nav-link.active {
    color: rgba(0, 0, 0, 0.8) !important;
    font-weight: 400 !important;
    background: transparent !important;
}

.nav-cta {
    padding: 4px 14px !important;
    background: #0071e3 !important;
    color: white !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    border-radius: 980px !important;
    box-shadow: none !important;
    transition: background 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    line-height: 1.33337 !important;
    letter-spacing: -0.01em !important;
}
.nav-cta::before { display: none !important; }
.nav-cta:hover {
    transform: none !important;
    background: #0077ED !important;
    box-shadow: none !important;
}
.nav-toggle span { background: #1d1d1f !important; }

/* ═══════════════════════════════════════════
   HERO — Deep Space Neural
   ═══════════════════════════════════════════ */
.hero {
    min-height: 100vh !important;
    background: transparent !important;
    padding-top: calc(var(--nav-height) + 80px) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

/* Keep base hero gradients from home/LED pages visible */

/* Radiant orbs behind hero */
.hero::before {
    content: '' !important;
    position: absolute !important;
    width: 900px !important; height: 900px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(209,213,219,0.6) 0%, rgba(226,232,240,0.2) 45%, transparent 80%) !important;
    top: -30% !important; right: -25% !important;
    pointer-events: none !important; z-index: 0 !important;
    animation: heroFloat 20s ease-in-out infinite !important;
    filter: blur(80px) !important;
}
.hero::after {
    content: '' !important;
    position: absolute !important;
    width: 760px !important; height: 760px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(219,234,254,0.7) 0%, rgba(224,231,255,0.25) 45%, transparent 80%) !important;
    bottom: -20% !important; left: -20% !important;
    pointer-events: none !important; z-index: 0 !important;
    animation: heroFloat 26s ease-in-out infinite reverse !important;
    filter: blur(80px) !important;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -70px) scale(1.12); }
    50% { transform: translate(-40px, 60px) scale(0.88); }
    75% { transform: translate(50px, -30px) scale(1.06); }
}

.hero-content {
    animation: heroReveal 2.4s var(--ease-cinematic) 0.3s both !important;
    position: relative !important; z-index: 2 !important;
}
@keyframes heroReveal {
    0%   { opacity: 0; transform: translateY(100px) scale(0.9); filter: blur(30px) saturate(0.3); }
    40%  { filter: blur(8px) saturate(0.7); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0) saturate(1); }
}

.hero-title {
    font-size: clamp(3.2rem, 8vw, 6.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.02 !important;
    letter-spacing: -0.05em !important;
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    margin-bottom: 28px !important;
}

/* Character split animation */
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px) rotateX(60deg) scale(0.4);
    filter: blur(6px);
    animation: charReveal 1s var(--ease-out-expo) both;
    will-change: transform, opacity, filter;
}
.hero-title .word { display: inline-block; }
@keyframes charReveal {
    to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); filter: blur(0); }
}

/* Gradient text — vibrant always-visible gradient (MUST win over charReveal & inline styles) */
.gradient-text,
.hero-title .gradient-text,
.hero-title > .gradient-text,
h1.hero-title .gradient-text,
h1.hero-title > span.gradient-text {
    background: linear-gradient(90deg, #0071e3, #6C5CE7, #e84393, #0071e3) !important;
    background-size: 300% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: prismaticText 6s ease-in-out infinite !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    display: inline-block !important;
}
.gradient-text .char,
.hero-title .gradient-text .char {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    display: inline !important;
    -webkit-text-fill-color: inherit !important;
    background: none !important;
}
@keyframes prismaticText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.15rem !important;
    color: #1d1d1f !important;
    max-width: 560px !important;
    margin: 0 auto 44px !important;
    line-height: 1.75 !important;
    animation: heroReveal 2.4s var(--ease-cinematic) 0.8s both !important;
}
.hero-buttons { animation: heroReveal 2.4s var(--ease-cinematic) 1.1s both !important; }
.hero-visual { display: none !important; }

/* ═══════════════════════════════════════════
   BUTTONS — Clean Apple Style
   ═══════════════════════════════════════════ */
.btn {
    border-radius: 980px !important;
    padding: 15px 32px !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    letter-spacing: -0.01em !important;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    cursor: pointer !important;
}
.btn::before { display: none !important; }

.btn-primary {
    background: #0071e3 !important;
    color: white !important;
    box-shadow: none !important;
    border: none !important;
}
.btn-primary:hover {
    transform: scale(1.04) !important;
    background: #0077ED !important;
    box-shadow: 0 4px 20px rgba(0,113,227,0.3) !important;
}
.btn-primary:active { transform: scale(0.97) !important; transition-duration: 0.1s !important; }

.btn-outline {
    background: transparent !important;
    color: #0071e3 !important;
    border: 1.5px solid #0071e3 !important;
    padding: 14px 30px !important;
    backdrop-filter: none !important;
}
.btn-outline:hover {
    background: #0071e3 !important;
    color: white !important;
    transform: scale(1.04) !important;
    box-shadow: 0 4px 20px rgba(0,113,227,0.3) !important;
}

.btn-sm {
    background: transparent !important;
    color: #0071e3 !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0.92rem !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
}
.btn-sm:hover { color: #0077ED !important; transform: translateX(4px) !important; background: transparent !important; }
.btn-sm::after { content: ' ›' !important; display: inline-block !important; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1) !important; }
.btn-sm:hover::after { transform: translateX(4px) !important; }
.btn-full { width: 100% !important; justify-content: center !important; }

/* Particle burst container */
.particle-burst { position: fixed; pointer-events: none; z-index: 10000; }
.particle { position: absolute; border-radius: 50%; }

/* ═══════════════════════════════════════════
   SECTION SYSTEM — Cinematic Depth
   ═══════════════════════════════════════════ */
.section { padding: 130px 0 !important; position: relative !important; }
.section-header { margin-bottom: 72px !important; }

.section-tag {
    display: inline-block !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: #0071e3 !important;
    background: rgba(0, 113, 227, 0.06) !important;
    padding: 7px 18px !important;
    border-radius: 980px !important;
    margin-bottom: 18px !important;
    border: 1px solid rgba(0, 113, 227, 0.12) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}
.section-tag::before { content: none !important; }
.section-tag::after { display: none !important; }

.section-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.045em !important;
    color: #1d1d1f !important;
    line-height: 1.06 !important;
}
.section-title.revealed { animation: sectionTitleIn 1.4s var(--ease-out-expo) both; }
@keyframes sectionTitleIn {
    from { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(8px); }
    to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.section-subtitle {
    font-size: 1.05rem !important;
    color: #6e6e73 !important;
    line-height: 1.75 !important;
    max-width: 540px !important;
}

/* Subtle Apple section divider */
.section + .section::before {
    content: '' !important;
    display: block !important;
    width: 100px !important; height: 1px !important;
    background: rgba(0, 0, 0, 0.1) !important;
    margin: 0 auto !important;
    position: relative !important; top: -65px !important;
    border-radius: 1px !important;
    box-shadow: none !important;
}
@keyframes dividerPrismatic {
    0%   { background-position: 0% 50%; opacity: 0.2; }
    50%  { background-position: 600% 50%; opacity: 0.8; }
    100% { background-position: 0% 50%; opacity: 0.2; }
}

/* ═══════════════════════════════════════════
   SERVICE CARDS — Clean Apple Style
   (Layout is defined in home.css — only cosmetic overrides here)
   ═══════════════════════════════════════════ */
.service-card {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s cubic-bezier(0.4,0,0.2,1) !important;
    overflow: hidden !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.service-card::before { display: none !important; }
.service-card::after { display: none !important; }

.service-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
    border-color: rgba(0,0,0,0.08) !important;
    background: #ffffff !important;
}
.service-card h3 { font-size: 1.35rem !important; font-weight: 700 !important; color: #1d1d1f !important; letter-spacing: -0.02em !important; }
.service-card p { color: #6e6e73 !important; font-size: 0.95rem !important; line-height: 1.7 !important; }
.service-features li { color: #6e6e73 !important; }
.service-icon {
    font-size: 2.6rem !important;
    margin-bottom: 20px !important;
    display: inline-block !important;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1) !important;
}
.service-card:hover .service-icon { transform: scale(1.12) !important; }

/* ═══════════════════════════════════════════
   PERSONA CARDS — Clean Apple Style
   ═══════════════════════════════════════════ */
.persona-card {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 20px !important;
    padding: 48px 36px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s cubic-bezier(0.4,0,0.2,1) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: none !important;
}
.persona-card::before { display: none !important; }
.persona-card::after { display: none !important; }

.persona-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
    border-color: rgba(0,0,0,0.08) !important;
}
.persona-icon { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1) !important; }
.persona-card:hover .persona-icon { transform: scale(1.15) translateY(-4px) !important; }
.persona-card h3 { color: #1d1d1f !important; font-weight: 700 !important; }
.persona-card p { color: #6e6e73 !important; }

/* ═══════════════════════════════════════════
   PORTFOLIO — Apple Product-Grid Layout
   2-col grid + hero card + snap scroll mobile
   ═══════════════════════════════════════════ */

/* Header typography */
.apg-eyebrow {
    font-family: -apple-system, 'SF Pro Text', 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6e6e73;
    margin-bottom: 8px;
}
.apg-headline {
    font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0;
}

/* ─── Grid: 2-column with hero spanning full width ─── */
.apg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.apg-card--hero {
    grid-column: 1 / -1;          /* hero spans both columns */
}

/* ─── Card base ─── */
.apg-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.5s ease;
}
.apg-card--hero {
    min-height: 520px;
}
.apg-card:not(.apg-card--hero) {
    min-height: 420px;
}
.apg-card:hover {
    transform: scale(1.006);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ─── Video / image media fill ─── */
.apg-card-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.apg-card-media video,
.apg-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Gradient overlay ─── */
.apg-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.22) 45%,
        transparent 100%);
    pointer-events: none;
}

/* ─── Card body text (pinned bottom-left) ─── */
.apg-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 36px 40px;
}
.apg-tag {
    display: inline-block;
    font-family: -apple-system, 'SF Pro Text', 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ff9f0a;
    margin-bottom: 8px;
}
.apg-card-body h3 {
    font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0 0 6px;
}
.apg-card--hero .apg-card-body h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.apg-card-body p {
    font-family: -apple-system, 'SF Pro Text', 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.42;
    margin: 0;
    max-width: 440px;
}
.apg-location {
    display: inline-block;
    font-family: -apple-system, 'SF Pro Text', 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

/* ─── Stats ─── */
.apg-stat-number {
    font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}
.apg-stat-number span {
    color: #0071e3;
}
.apg-stat-label {
    font-family: -apple-system, 'SF Pro Text', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #6e6e73;
    margin-top: 4px;
}

/* ─── Tablet: keep 2-col but shorter cards ─── */
@media (max-width: 1024px) {
    .apg-card--hero { min-height: 420px; }
    .apg-card:not(.apg-card--hero) { min-height: 360px; }
    .apg-card-body { padding: 28px 32px; }
}

/* ─── Mobile: horizontal snap scroll ─── */
@media (max-width: 734px) {
    .apg-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-padding: 0 20px;
        padding: 0 20px 16px;
        margin: 0 -20px;
    }
    .apg-grid::-webkit-scrollbar { display: none; }
    .apg-grid { scrollbar-width: none; }

    .apg-card {
        flex: 0 0 85vw;
        scroll-snap-align: start;
        min-height: 380px;
        border-radius: 22px;
    }
    .apg-card--hero {
        flex: 0 0 85vw;
        min-height: 380px;
    }
    .apg-card-body {
        padding: 24px 24px;
    }
    .apg-card-body h3 {
        font-size: 1.3rem;
    }
    .apg-card--hero .apg-card-body h3 {
        font-size: 1.5rem;
    }
    .apg-card-body p {
        font-size: 0.88rem;
    }
}

/* Hide old portfolio styles on homepage only (not LED Solutions page) */
.apple-portfolio-grid ~ .portfolio-card,
:not(.portfolio-section) > .container > .portfolio-grid { display: none !important; }
:not(.portfolio-section) > .container > .portfolio-card { display: none !important; }
.portfolio-stats { display: none !important; }

/* LED Solutions page — show portfolio grid & cards */
.portfolio-section .portfolio-grid { display: flex !important; }
.portfolio-section .portfolio-card { display: flex !important; }

/* ═══════════════════════════════════════════
   STATS — Clean Apple Style
   ═══════════════════════════════════════════ */
.stat-badge { background: rgba(0,113,227,0.08) !important; border: 1px solid rgba(0,113,227,0.15) !important; color: #0071e3 !important; }

.reach-stat {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s cubic-bezier(0.4,0,0.2,1) !important;
    position: relative !important;
    overflow: hidden !important;
}
.reach-stat::after { display: none !important; }
.reach-stat:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
}

.reach-number, .reach-number-text {
    background: linear-gradient(135deg, #0071e3, #0077ed) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: none !important;
}
.counter-revealed { animation: counterPop 0.8s var(--ease-spring) both; }
@keyframes counterPop {
    0% { transform: scale(0.2); opacity: 0; filter: blur(10px); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; filter: blur(0); }
}
.reach-label { color: var(--text-primary) !important; }
.reach-desc { color: var(--text-muted) !important; }

/* Map */
.map-card { background: #fff !important; border: 1px solid rgba(0,0,0,0.08) !important; border-radius: 20px !important; box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important; padding: 0 !important; overflow: hidden !important; }
.map-outline { fill: rgba(0,113,227,0.04) !important; stroke: rgba(0,113,227,0.15) !important; }
.coming-soon-badge { background: rgba(0,113,227,0.06) !important; border: 1px solid rgba(0,113,227,0.12) !important; color: #0071e3 !important; }

.pin-dot {
    background: #0071e3 !important;
    box-shadow: 0 0 8px rgba(0,113,227,0.4) !important;
    animation: pinGlow 2.5s ease-in-out infinite !important;
}
@keyframes pinGlow {
    0%, 100% { box-shadow: 0 0 4px rgba(0,113,227,0.3); transform: scale(1); }
    50% { box-shadow: 0 0 16px rgba(0,113,227,0.5); transform: scale(1.2); }
}
.pin-tooltip {
    background: #ffffff !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12) !important;
    border-radius: 14px !important;
}
.pin-tooltip strong { color: #1d1d1f !important; }
.pin-tooltip span { color: #6e6e73 !important; }
.pin-tooltip em { color: #0071e3 !important; }

/* ═══════════════════════════════════════════
   QUOTE — Clean Apple Form
   ═══════════════════════════════════════════ */
.quote-section {
    background: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
}
.quote-section::before { display: none !important; }

.form-group input, .form-group select {
    background: #ffffff !important;
    backdrop-filter: none !important;
    border: 1.5px solid rgba(0,0,0,0.1) !important;
    color: #1d1d1f !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;
}
.form-group input::placeholder { color: #86868b !important; }
.form-group input:focus, .form-group select:focus {
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 3px rgba(0,113,227,0.15) !important;
    background: #ffffff !important;
}
.form-group select option { background: #ffffff !important; color: #1d1d1f !important; }

/* ═══════════════════════════════════════════
   FOOTER — Clean Apple
   ═══════════════════════════════════════════ */
.footer { background: #ffffff !important; border-top: 1px solid rgba(0,0,0,0.06) !important; }
.footer-logo { filter: none !important; }
.footer-brand p { color: #6e6e73 !important; }
.footer-col h4 { color: #1d1d1f !important; font-size: 0.82rem !important; font-weight: 600 !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; }
.footer-col a { color: #6e6e73 !important; font-size: 0.86rem !important; transition: color 0.3s !important; }
.footer-col a:hover { color: #0071e3 !important; transform: none !important; }
.footer-address { color: #86868b !important; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.06) !important; }
.footer-bottom p { color: #86868b !important; }

.footer-social a {
    background: rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    color: #6e6e73 !important;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;
}
.footer-social a:hover {
    background: #1d1d1f !important;
    border-color: #1d1d1f !important;
    color: white !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

/* ═══════════════════════════════════════════
   WHATSAPP — Living Pulse
   ═══════════════════════════════════════════ */
.wa-float {
    bottom: 24px !important; right: 24px !important;
    width: 58px !important; height: 58px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 24px rgba(37,211,102,0.35) !important;
    font-size: 1.5rem !important;
    transition: all 0.6s var(--ease-spring) !important;
    animation: waPulse 3s ease-in-out infinite !important;
    position: relative !important; z-index: 100 !important;
}
.wa-float::before {
    content: '' !important;
    position: absolute !important;
    inset: -10px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(37,211,102,0.25) !important;
    animation: waRing 3s ease-in-out infinite !important;
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); transform: scale(1); }
    50% { box-shadow: 0 8px 40px rgba(37,211,102,0.5); transform: scale(1.06); }
}
@keyframes waRing {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.6); opacity: 0; }
}
.wa-float:hover { transform: scale(1.2) rotate(10deg) !important; animation: none !important; box-shadow: 0 12px 50px rgba(37,211,102,0.55) !important; }
.wa-float:hover::before { animation: none !important; opacity: 0 !important; }

/* ═══════════════════════════════════════════
   CUSTOM CURSOR — Hidden for Apple Cleanliness
   ═══════════════════════════════════════════ */
.cursor-dot { display: none !important; }
.cursor-dot.hover { display: none !important; }
.cursor-ring { display: none !important; }
.cursor-ring.hover { display: none !important; }
.cursor-glow { display: none !important; }

/* ═══════════════════════════════════════════
   SCROLL BAR — Minimal Apple
   ═══════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }

::selection { background: rgba(0,113,227,0.2); color: #1d1d1f; }

/* Text scramble */
.text-scramble { display: inline-block; min-width: 1ch; }

/* Marquee */
.marquee-strip { overflow: hidden; white-space: nowrap; position: relative; padding: 24px 0; }
.marquee-track { display: inline-flex; gap: 60px; animation: marqueeScroll 30s linear infinite; }
.marquee-track span {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700; letter-spacing: -0.02em;
    color: rgba(0,0,0,0.03);
    text-transform: uppercase; flex-shrink: 0; transition: color 0.5s;
}
.marquee-strip:hover .marquee-track span { color: rgba(0,0,0,0.04); }
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Focus */
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* View Transitions */
@supports (view-transition-name: root) {
    ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.5s; }
}

/* ═══════════════════════════════════════════
   MOBILE — Perfect Touch Experience
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    :root { --nav-height: 48px !important; }
    .navbar { height: 48px !important; }

    .nav-links,
    [data-theme="light"] .nav-links {
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 56px 48px 48px !important;
        gap: 0 !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .nav-link {
        display: block !important;
        font-size: 28px !important;
        font-weight: 600 !important;
        color: #6e6e73 !important;
        padding: 0 !important;
        line-height: 1.15 !important;
        margin-bottom: 20px !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        text-align: left !important;
        width: auto !important;
    }
    .nav-link:first-child {
        font-weight: 700 !important;
        color: #1d1d1f !important;
    }
    .nav-link:last-child { border-bottom: none !important; margin-bottom: 0 !important; }
    .nav-link::after { display: none !important; }
    .nav-link:hover { color: #1d1d1f !important; opacity: 1 !important; }

    .hero {
        padding-top: calc(var(--nav-height) + 32px) !important;
        padding-bottom: 50px !important;
        min-height: auto !important;
    }
    /* Mobile hero orbs — smaller, lighter */
    .hero::before {
        display: block !important;
        width: 400px !important; height: 400px !important;
        top: -15% !important; right: -30% !important;
        filter: blur(60px) !important;
        opacity: 0.6 !important;
    }
    .hero::after {
        display: block !important;
        width: 350px !important; height: 350px !important;
        bottom: -10% !important; left: -30% !important;
        filter: blur(60px) !important;
        opacity: 0.5 !important;
    }
    .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem) !important; letter-spacing: -0.03em !important; }
    .hero-subtitle { font-size: 0.95rem !important; margin-bottom: 32px !important; }

    .persona-card { padding: 24px 20px !important; }
    .service-card:not(.service-card--apple) { padding: 16px 14px !important; box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important; }
    .service-card h3 { font-size: 0.95rem !important; }
    .service-card p { font-size: 0.78rem !important; }
    .section { padding: 64px 0 !important; }

    /* Disable cursor effects on mobile only — keep constellation & mesh */
    .cursor-glow, .cursor-dot, .cursor-ring { display: none !important; }

    /* Mobile constellation — clearly visible */
    #neural-canvas { opacity: 0.55 !important; z-index: 1 !important; }
    .liquid-mesh { opacity: 0.45 !important; }
    .grid-pattern { opacity: 0.25 !important; }

    body::after { display: none !important; } /* No grain on mobile */

    /* Simplified animations for 60fps mobile */
    [data-aos] { filter: none !important; transform: translateY(30px) !important; }
    [data-aos].aos-animate { transform: translateY(0) !important; }

    .hero-title .char { transform: none !important; opacity: 1 !important; animation: none !important; filter: none !important; }
    .hero-content { animation-duration: 0.6s !important; }

    /* Touch-friendly tap targets */
    .btn { min-height: 48px !important; padding: 14px 28px !important; }
    .nav-link { min-height: 44px !important; display: flex !important; align-items: center !important; }
    .btn-sm { min-height: 36px !important; padding: 8px 0 !important; }

    .section + .section::before { display: none !important; }
    .service-card::after, .persona-card::after { display: none !important; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.8rem, 10vw, 2.6rem) !important; margin-bottom: 20px !important; }
    .hero-subtitle { font-size: 0.88rem !important; }
    .btn { padding: 12px 22px !important; font-size: 0.88rem !important; min-height: 44px !important; }
    .section { padding: 48px 0 !important; }
    .section-header { margin-bottom: 40px !important; }
    .persona-card { padding: 20px 16px !important; }
    .service-card:not(.service-card--apple) { padding: 12px 10px !important; }
    .service-card h3 { font-size: 0.88rem !important; }
    .service-card p { font-size: 0.72rem !important; line-height: 1.45 !important; }
    .section-title { font-size: clamp(1.5rem, 7vw, 2rem) !important; }
}

/* Touch hover state prevention on mobile */
@media (hover: none) {
    .service-card:hover, .persona-card:hover, .portfolio-card:hover,
    .reach-stat:hover, .btn-primary:hover, .btn-outline:hover {
        transform: none !important;
    }
    .service-card:hover::after, .persona-card:hover::after, .portfolio-card:hover::after { opacity: 0 !important; }
    .service-card:active, .persona-card:active, .portfolio-card:active { transform: scale(0.98) !important; transition-duration: 0.15s !important; }
    .btn-primary:active { transform: scale(0.96) !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .liquid-mesh, #neural-canvas, .grid-pattern { display: none !important; }
}

/* ═══════════════════════════════════════════
   PAGE-SPECIFIC CARD OVERRIDES — Clean Apple Style
   ═══════════════════════════════════════════ */
.feature-card, .price-card, .solution-card,
.indoor-outdoor-card, .contact-card, .blog-card, .plan-card,
.marketplace-card, .standee-card, .spec-card, .step-card,
.benefit-card, .pricing-card, .product-card, .dash-stat, .dash-panel {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s cubic-bezier(0.4,0,0.2,1) !important;
    position: relative; overflow: hidden;
    backdrop-filter: none;
}

.feature-card::after, .price-card::after,
.solution-card::after, .blog-card::after, .plan-card::after,
.marketplace-card::after, .standee-card::after, .spec-card::after,
.step-card::after, .benefit-card::after, .pricing-card::after, .product-card::after {
    display: none !important;
}

/* Blog grid cards must be transparent — no card container */
.blog-grid .blog-card,
.blog-grid .blog-card:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
    overflow: visible !important;
    backdrop-filter: none !important;
}

.feature-card:hover, .price-card:hover,
.solution-card:hover, .indoor-outdoor-card:hover,
.contact-card:hover, .blog-card:hover, .plan-card:hover,
.marketplace-card:hover, .standee-card:hover, .spec-card:hover,
.step-card:hover, .benefit-card:hover, .pricing-card:hover, .product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
    border-color: rgba(0,0,0,0.08) !important;
}

/* Legal / Policy */
.policy-content, .legal-content { background: #ffffff; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

/* Wizard */
.wizard-container, .wizard-step { background: #ffffff !important; border: 1px solid rgba(0,0,0,0.06) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important; border-radius: 20px !important; }
.cq-option-card, .config-option, .option-card { background: #ffffff !important; border: 2px solid rgba(0,0,0,0.08) !important; border-radius: 16px !important; transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important; }
.cq-option-card:hover, .config-option:hover, .option-card:hover { border-color: #0071e3 !important; box-shadow: 0 4px 16px rgba(0,113,227,0.15) !important; transform: translateY(-2px) !important; }
.cq-option-card.selected, .config-option.selected, .option-card.selected { border-color: #0071e3 !important; background: rgba(0,113,227,0.04) !important; box-shadow: 0 4px 16px rgba(0,113,227,0.15) !important; }

.hero-scroll { color: #86868b !important; }

/* Dashboard overrides */
.dashboard-mockup { background: #ffffff !important; border: 1px solid rgba(0,0,0,0.06) !important; border-radius: 20px !important; }
.dashboard-stats { gap: 12px !important; }

/* Blog tab */
.blog-tab { background: #ffffff !important; border: 1px solid rgba(0,0,0,0.08) !important; color: #6e6e73 !important; }
.blog-tab.active { background: rgba(0,113,227,0.06) !important; border-color: #0071e3 !important; color: #0071e3 !important; }
.blog-tab:hover { border-color: rgba(0,113,227,0.3) !important; }

/* ═══════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
   Gorgeous animated sun/moon switcher
   ═══════════════════════════════════════════════════════════ */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--text-primary);
    transition: all 0.5s var(--ease-out-expo);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-right: 8px;
    flex-shrink: 0;
    z-index: 10;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover {
    border-color: var(--accent);
    background: var(--accent-subtle);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.theme-toggle:active {
    transform: scale(0.92);
    transition-duration: 0.1s;
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all 0.5s var(--ease-out-expo);
    line-height: 1;
}
/* Dark mode: show moon, hide sun */
.theme-toggle .icon-sun {
    opacity: 0;
    transform: scale(0.4) rotate(-90deg);
}
.theme-toggle .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
/* Light mode: show sun, hide moon */
[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: scale(0.4) rotate(90deg);
}

/* ═══════════════════════════════════════════════════════════
   LIGHT THEME — Premium White Mode
   Clean, professional, ultra-readable
   ═══════════════════════════════════════════════════════════ */
[data-theme="light"] {
    --bg-void: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #f5f5f7;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-glass-heavy: rgba(255, 255, 255, 0.95);

    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #737378;
    --text-accent: #0071e3;

    --neon-cyan: #0071e3;
    --neon-blue: #2962ff;
    --neon-purple: #2563eb;
    --neon-violet: #0071e3;
    --neon-pink: #ff3b30;
    --neon-magenta: #60a5fa;
    --neon-green: #34c759;
    --neon-amber: #f57f17;

    --accent: #0071e3;
    --accent-light: #3b82f6;
    --accent-hover: #0077ED;
    --accent-glow: rgba(0, 113, 227, 0.2);
    --accent-subtle: rgba(0, 113, 227, 0.06);

    --gradient-1: linear-gradient(135deg, #0071e3 0%, #0077ed 50%, #0077ed 100%);
    --gradient-2: linear-gradient(135deg, #0071e3 0%, #0071e3 100%);
    --gradient-text: linear-gradient(135deg, #0071e3, #0071e3, #3b82f6, #60a5fa);
    --gradient-aurora: linear-gradient(135deg, #0071e3, #3d5afe, #0071e3, #3b82f6, #60a5fa, #3b82f6);
    --gradient-holographic: linear-gradient(var(--angle),
        #0071e3 0%, #0071e3 25%, #0071e3 50%, #0071e3 75%, #0071e3 100%);

    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 113, 227, 0.3);
    --border-glow: rgba(0, 113, 227, 0.4);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-epic: 0 20px 60px -12px rgba(0,0,0,0.15), 0 0 40px rgba(0,113,227,0.06);
    --shadow-neon: 0 0 30px rgba(0,113,227,0.12), 0 0 80px rgba(0,113,227,0.04);
    --shadow-neon-cyan: 0 0 30px rgba(0,113,227,0.1), 0 0 60px rgba(0,113,227,0.03);

    --noise: none;
}

/* ── Light: Body ── */
[data-theme="light"] body {
    background: #ffffff !important;
    color: #1d1d1f !important;
}

/* ── Light: Disable dark-specific effects ── */
[data-theme="light"] body::after { display: none !important; }
[data-theme="light"] #neural-canvas { opacity: 0.55 !important; }
[data-theme="light"] .liquid-mesh { opacity: 0.45 !important; }
[data-theme="light"] .grid-pattern {
    background-image:
        linear-gradient(rgba(0,113,227,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,113,227,0.04) 1px, transparent 1px) !important;
}

/* ── Light: Scroll progress ── */
[data-theme="light"] .scroll-progress {
    box-shadow: 0 0 8px rgba(0,113,227,0.3), 0 0 24px rgba(0,113,227,0.1) !important;
}

/* ── Light: Navbar ── */
[data-theme="light"] .navbar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: none !important;
}
[data-theme="light"] .navbar.scrolled {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: none !important;
}
[data-theme="light"] .logo-img {
    filter: brightness(0) saturate(100%) !important;
}
[data-theme="light"] .logo-img:hover {
    filter: brightness(0) saturate(100%) !important;
    opacity: 0.7 !important;
}
[data-theme="light"] .nav-link {
    color: rgba(0, 0, 0, 0.8) !important;
}
[data-theme="light"] .nav-link:hover {
    color: rgba(0, 0, 0, 0.56) !important;
    background: transparent !important;
}
[data-theme="light"] .nav-link.active {
    color: rgba(0, 0, 0, 0.8) !important;
    background: transparent !important;
}
[data-theme="light"] .nav-toggle span {
    background: #1d1d1f !important;
}
@media (min-width: 769px) {
  [data-theme="light"] .nav-links {
      background: transparent !important;
  }
}

/* ── Light: Hero ── */
[data-theme="light"] .hero::before {
    background: radial-gradient(circle, rgba(0,113,227,0.08) 0%, rgba(0,113,227,0.04) 40%, transparent 70%) !important;
}
[data-theme="light"] .hero::after {
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, rgba(255,59,48,0.03) 40%, transparent 70%) !important;
}
[data-theme="light"] .hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
[data-theme="light"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
[data-theme="light"] .gradient-text {
    filter: saturate(1.3) brightness(1) !important;
}

/* ── Light: Buttons ── */
[data-theme="light"] .btn-primary {
    box-shadow: 0 4px 16px rgba(0,113,227,0.25), inset 0 1px 0 rgba(255,255,255,0.2) !important;
}
[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 12px 36px rgba(0,113,227,0.3), inset 0 1px 0 rgba(255,255,255,0.25) !important;
}
[data-theme="light"] .btn-outline {
    background: rgba(255,255,255,0.6) !important;
    border-color: rgba(0,0,0,0.1) !important;
    color: #1d1d1f !important;
}
[data-theme="light"] .btn-outline:hover {
    border-color: var(--accent) !important;
    background: rgba(0,113,227,0.04) !important;
    color: #1d1d1f !important;
}
[data-theme="light"] .btn-sm {
    color: #0071e3 !important;
}
[data-theme="light"] .btn-sm:hover {
    color: #0077ED !important;
}

/* ── Light: Section tags/titles ── */
[data-theme="light"] .section-tag {
    color: #0071e3 !important;
    background: rgba(0,113,227,0.06) !important;
    border-color: rgba(0,113,227,0.12) !important;
}
[data-theme="light"] .section-title {
    color: #1d1d1f !important;
}
[data-theme="light"] .section-subtitle {
    color: #6e6e73 !important;
}

/* ── Light: Section divider ── */
[data-theme="light"] .section + .section::before {
    box-shadow: none !important;
    opacity: 0.5 !important;
}

/* ── Light: Cards (all types) ── */
[data-theme="light"] .service-card,
[data-theme="light"] .persona-card,
[data-theme="light"] .portfolio-card,
[data-theme="light"] .reach-stat,
[data-theme="light"] .feature-card,
[data-theme="light"] .price-card,
[data-theme="light"] .solution-card,
[data-theme="light"] .indoor-outdoor-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .plan-card,
[data-theme="light"] .marketplace-card,
[data-theme="light"] .standee-card,
[data-theme="light"] .spec-card,
[data-theme="light"] .step-card,
[data-theme="light"] .benefit-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .product-card,
[data-theme="light"] .dash-stat,
[data-theme="light"] .dash-panel {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .service-card:hover,
[data-theme="light"] .persona-card:hover,
[data-theme="light"] .portfolio-card:hover,
[data-theme="light"] .reach-stat:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .blog-card:hover,
[data-theme="light"] .plan-card:hover,
[data-theme="light"] .pricing-card:hover,
[data-theme="light"] .product-card:hover,
[data-theme="light"] .standee-card:hover {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 20px 60px -12px rgba(0,0,0,0.12), 0 0 40px rgba(0,113,227,0.05) !important;
    border-color: rgba(0,113,227,0.12) !important;
}
[data-theme="light"] .blog-grid .blog-card,
[data-theme="light"] .blog-grid .blog-card:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
}

/* ── Light: Card text ── */
[data-theme="light"] .service-card h3,
[data-theme="light"] .persona-card h3,
[data-theme="light"] .portfolio-card h4,
[data-theme="light"] .reach-label {
    color: #1d1d1f !important;
}
[data-theme="light"] .service-card p,
[data-theme="light"] .persona-card p,
[data-theme="light"] .service-features li,
[data-theme="light"] .reach-desc {
    color: #6e6e73 !important;
}

/* ── Light: Stats — keep gradient vibrant ── */
[data-theme="light"] .reach-number,
[data-theme="light"] .reach-number-text {
    filter: drop-shadow(0 0 8px rgba(0,113,227,0.15)) brightness(0.9) saturate(1.3) !important;
}

/* ── Light: Map ── */
[data-theme="light"] .map-card {
    background: transparent !important;
    border: none !important;
    border-radius: 20px !important;
}
[data-theme="light"] .map-outline {
    fill: rgba(0,113,227,0.05) !important;
    stroke: rgba(0,113,227,0.25) !important;
}
[data-theme="light"] .pin-dot {
    background: #0071e3 !important;
    box-shadow: 0 0 8px rgba(0,113,227,0.4) !important;
}
[data-theme="light"] .pin-tooltip {
    background: rgba(255,255,255,0.98) !important;
    border-color: rgba(0,0,0,0.08) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
}
[data-theme="light"] .pin-tooltip strong { color: #1d1d1f !important; }
[data-theme="light"] .pin-tooltip span { color: #6e6e73 !important; }
[data-theme="light"] .pin-tooltip em { color: #0071e3 !important; }
[data-theme="light"] .coming-soon-badge {
    background: rgba(0,113,227,0.06) !important;
    border-color: rgba(0,113,227,0.12) !important;
    color: #0071e3 !important;
}

/* ── Light: Quote form ── */
[data-theme="light"] .quote-section {
    background: #ffffff !important;
}
[data-theme="light"] .quote-section::before {
    background: radial-gradient(circle, rgba(0,113,227,0.04) 0%, transparent 70%) !important;
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select {
    background: rgba(255,255,255,0.8) !important;
    border-color: rgba(0,0,0,0.1) !important;
    color: #1d1d1f !important;
}
[data-theme="light"] .form-group input::placeholder {
    color: #86868b !important;
}
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus {
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 3px rgba(0,113,227,0.1), 0 0 20px rgba(0,113,227,0.04) !important;
    background: white !important;
}
[data-theme="light"] .form-group select option {
    background: white !important;
    color: #1d1d1f !important;
}

/* ── Light: Footer ── */
[data-theme="light"] .footer {
    background: #ffffff !important;
    border-top-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .footer-logo {
    filter: brightness(0) saturate(100%) !important;
}
[data-theme="light"] .footer-brand p { color: #6e6e73 !important; }
[data-theme="light"] .footer-col h4 { color: #1d1d1f !important; }
[data-theme="light"] .footer-col a { color: #6e6e73 !important; }
[data-theme="light"] .footer-col a:hover { color: #0071e3 !important; }
[data-theme="light"] .footer-address { color: #86868b !important; }
[data-theme="light"] .footer-bottom { border-top-color: rgba(0,0,0,0.06) !important; }
[data-theme="light"] .footer-bottom p { color: #86868b !important; }
[data-theme="light"] .footer-social a {
    background: rgba(0,0,0,0.04) !important;
    border-color: rgba(0,0,0,0.08) !important;
    color: #6e6e73 !important;
}
[data-theme="light"] .footer-social a:hover {
    background: #0071e3 !important;
    border-color: #0071e3 !important;
    color: white !important;
}

/* ── Light: Cursor system ── */
[data-theme="light"] .cursor-dot {
    background: #0071e3;
    box-shadow: 0 0 8px rgba(0,113,227,0.4);
}
[data-theme="light"] .cursor-dot.hover {
    background: rgba(0,113,227,0.06);
    border-color: #0071e3;
    box-shadow: 0 0 20px rgba(0,113,227,0.15);
}
[data-theme="light"] .cursor-ring {
    border-color: rgba(0,113,227,0.12);
}
[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(0,113,227,0.02) 0%, rgba(0,113,227,0.01) 30%, transparent 70%);
}

/* ── Light: Scrollbar ── */
[data-theme="light"] ::-webkit-scrollbar-track { background: #f5f5f7; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(0,113,227,0.15); }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(0,113,227,0.3); }
[data-theme="light"] ::selection { background: rgba(0,113,227,0.15); color: #1d1d1f; }

/* ── Light: WhatsApp ── */
[data-theme="light"] .wa-float {
    box-shadow: 0 4px 20px rgba(37,211,102,0.3) !important;
}

/* ── Light: Marquee ── */
[data-theme="light"] .marquee-track span { color: rgba(0,0,0,0.04) !important; }
[data-theme="light"] .marquee-strip:hover .marquee-track span { color: rgba(0,113,227,0.06) !important; }

/* ── Light: Wizard / Config ── */
[data-theme="light"] .wizard-container,
[data-theme="light"] .wizard-step {
    background: rgba(255,255,255,0.9) !important;
    border-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .cq-option-card,
[data-theme="light"] .config-option,
[data-theme="light"] .option-card {
    background: rgba(255,255,255,0.8) !important;
    border-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .cq-option-card:hover,
[data-theme="light"] .config-option:hover,
[data-theme="light"] .option-card:hover {
    border-color: #0071e3 !important;
}
[data-theme="light"] .cq-option-card.selected,
[data-theme="light"] .config-option.selected,
[data-theme="light"] .option-card.selected {
    border-color: #0071e3 !important;
    background: rgba(0,113,227,0.04) !important;
}

/* ── Light: Dashboard ── */
[data-theme="light"] .dashboard-mockup {
    background: rgba(255,255,255,0.9) !important;
    border-color: rgba(0,0,0,0.06) !important;
}

/* ── Light: Blog tabs ── */
[data-theme="light"] .blog-tab {
    background: rgba(255,255,255,0.8) !important;
    border-color: rgba(0,0,0,0.06) !important;
    color: #6e6e73 !important;
}
[data-theme="light"] .blog-tab.active {
    background: rgba(0,113,227,0.06) !important;
    border-color: #0071e3 !important;
    color: #0071e3 !important;
}

/* ── Light: Legal / Policy ── */
[data-theme="light"] .policy-content,
[data-theme="light"] .legal-content {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
}

/* ── Light: Stat badge ── */
[data-theme="light"] .stat-badge {
    background: rgba(0,113,227,0.06) !important;
    border-color: rgba(0,113,227,0.12) !important;
}

/* ── Light: Smooth theme transition ── */
[data-theme="light"] *,
[data-theme="light"] *::before,
[data-theme="light"] *::after {
    transition-property: background-color, color, border-color, box-shadow, fill, stroke;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════
   ENHANCED MOBILE — Ultra Touch-Friendly
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Theme toggle in mobile */
    .theme-toggle {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        margin-right: 4px !important;
    }

    /* Smoother mobile menu with slide-in */
    .nav-links {
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s !important;
        transform: translateY(-10px) !important;
        opacity: 0 !important;
    }
    .nav-links.open {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    /* Larger touch-safe spacing */
    .persona-card {
        gap: 14px !important;
    }

    /* Better mobile form */
    .form-group input,
    .form-group select {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        min-height: 48px !important;
        border-radius: 12px !important;
    }

    /* Mobile hero breathing room */
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .hero-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Reach stats compact on mobile */
    .reach-stat {
        flex-direction: column !important;
        text-align: center !important;
        padding: 18px 16px !important;
    }
    .reach-number, .reach-number-text {
        font-size: 2rem !important;
    }

    /* Portfolio cards horizontal scroll on small */
    .portfolio-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }

    /* Safe area padding for notch phones */
    .navbar {
        padding-left: env(safe-area-inset-left) !important;
        padding-right: env(safe-area-inset-right) !important;
    }
    .footer {
        padding-bottom: calc(30px + env(safe-area-inset-bottom)) !important;
    }
    .wa-float {
        bottom: calc(20px + env(safe-area-inset-bottom)) !important;
        right: calc(20px + env(safe-area-inset-right)) !important;
    }

    /* Prevent horizontal overflow */
    .container {
        overflow-x: hidden !important;
    }
}

/* Ultra small screens */
@media (max-width: 380px) {
    .hero-title { font-size: 1.6rem !important; }
    .section-title { font-size: 1.3rem !important; }
    .btn { font-size: 0.85rem !important; padding: 11px 18px !important; }
    .persona-card { padding: 16px 12px !important; }
    .service-card:not(.service-card--apple) { padding: 18px 14px !important; }
    .container { padding: 0 12px !important; }
}

/* Landscape mobile - compact layout */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto !important;
        padding-top: calc(var(--nav-height) + 16px) !important;
        padding-bottom: 24px !important;
    }
    .hero-title { font-size: 1.8rem !important; }
    .hero-subtitle { font-size: 0.85rem !important; margin-bottom: 16px !important; }
    .section { padding: 40px 0 !important; }
}

/* iPad / Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
    .persona-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
    .portfolio-grid { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; }
    .reach-stats { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
    .section { padding: 80px 0 !important; }
    .hero-title { font-size: clamp(2.5rem, 5vw, 4rem) !important; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE LIQUID MESH — Lightweight Version
   Smaller orbs, lower opacity, less blur for 60fps
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .liquid-mesh-mobile .mesh-orb:nth-child(1) {
        width: 400px !important; height: 400px !important;
        filter: blur(60px) !important;
    }
    .liquid-mesh-mobile .mesh-orb:nth-child(2) {
        width: 350px !important; height: 350px !important;
        filter: blur(70px) !important;
    }
    .liquid-mesh-mobile .mesh-orb:nth-child(3) {
        width: 300px !important; height: 300px !important;
        filter: blur(80px) !important;
    }
    /* Mobile grid — larger cells for subtlety */
    .grid-pattern {
        background-size: 40px 40px !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   AI GREETING BADGE — Smart Time-Aware Welcome
   ═══════════════════════════════════════════════════════════ */
.ai-greeting-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 20px;
    animation: aiGreetingIn 1.2s var(--ease-out-expo) 1.5s both;
    font-size: 1rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.ai-greeting-canvas {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
    z-index: 0;
}
.ai-sparkle {
    color: #0071e3;
    animation: aiSparkle 2s ease-in-out infinite;
    font-size: 1.2rem;
}
@keyframes aiSparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    25% { transform: scale(1.3) rotate(20deg); opacity: 0.7; }
    50% { transform: scale(0.8) rotate(-10deg); opacity: 1; }
    75% { transform: scale(1.2) rotate(15deg); opacity: 0.8; }
}
.ai-greeting-text {
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.ai-hint {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}
@keyframes aiGreetingIn {
    from { opacity: 0; transform: translateY(20px) scale(0.9); filter: blur(8px); }
    to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

[data-theme="light"] .ai-greeting-badge {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
[data-theme="light"] .ai-sparkle { color: #60a5fa !important; }
[data-theme="light"] .ai-greeting-text { color: #ffffff !important; }
[data-theme="light"] .ai-hint { color: rgba(255, 255, 255, 0.8) !important; }

/* ═══════════════════════════════════════════════════════════
   AI PULSE INDICATOR — Living AI Badge
   ═══════════════════════════════════════════════════════════ */
.ai-pulse-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(0, 113, 227, 0.04);
    border: 1px solid rgba(0, 113, 227, 0.1);
    animation: aiGreetingIn 1.2s var(--ease-out-expo) 3s both;
}
.ai-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0071e3;
    animation: aiPulseDot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.5);
}
@keyframes aiPulseDot {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 4px rgba(0,113,227,0.3); }
    50% { transform: scale(1.4); opacity: 0.7; box-shadow: 0 0 16px rgba(0,113,227,0.6); }
}
.ai-pulse-text {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0071e3;
}

[data-theme="light"] .ai-pulse-indicator {
    background: rgba(0, 113, 227, 0.04) !important;
    border-color: rgba(0, 113, 227, 0.1) !important;
}
[data-theme="light"] .ai-pulse-dot {
    background: #0071e3 !important;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.4) !important;
}
[data-theme="light"] .ai-pulse-text { color: #0071e3 !important; }

/* ═══════════════════════════════════════════════════════════
   ADVANCED CARD SYSTEM — Inner Glow + Shimmer + Depth
   ═══════════════════════════════════════════════════════════ */
.card-inner-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    transition: background 0.3s ease;
}

.card-shimmer {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.card-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 25%,
        rgba(0, 113, 227, 0.04) 38%,
        rgba(0, 113, 227, 0.06) 50%,
        rgba(0, 113, 227, 0.04) 62%,
        transparent 75%
    );
    transition: none;
    transform: skewX(-15deg);
}
.card-shimmer.shimmer-active::before {
    animation: cardShimmerSweep 1.2s var(--ease-out-expo) both;
}
@keyframes cardShimmerSweep {
    0%   { left: -150%; }
    100% { left: 150%; }
}

/* Card floating icon effect */
.service-icon, .persona-icon {
    position: relative;
    z-index: 3;
    animation: iconFloat 4s ease-in-out infinite;
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.service-card:hover .service-icon { animation: iconPop 0.6s var(--ease-spring) both; }
.persona-card:hover .persona-icon { animation: iconPop 0.6s var(--ease-spring) both; }
@keyframes iconPop {
    0% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.35) rotate(-15deg); }
    60% { transform: scale(1.15) rotate(5deg); }
    100% { transform: scale(1.25) rotate(-10deg); }
}

/* Advanced card depth layers */
.service-card, .persona-card, .portfolio-card {
    transform-style: preserve-3d !important;
}
.service-card h3, .persona-card h3, .portfolio-card h4 {
    position: relative;
    z-index: 3;
}
.service-card p, .persona-card p, .portfolio-card p {
    position: relative;
    z-index: 3;
}

/* Gradient border glow — always visible, subtle */
.service-card, .persona-card {
    background-image: 
        linear-gradient(var(--bg-card), var(--bg-card)),
        var(--gradient-holographic) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    border: 1.5px solid transparent !important;
    animation: cardBorderRotate 8s linear infinite;
}
@keyframes cardBorderRotate {
    to { --angle: 360deg; }
}

/* Card bottom accent line — hidden for Apple clean */
.service-card::before, .persona-card::before {
    display: none !important;
}
.service-card:hover::before, .persona-card:hover::before {
    opacity: 1 !important;
    left: 5% !important; right: 5% !important;
}

/* Portfolio card hover — image parallax effect */
.portfolio-card .portfolio-image {
    transition: transform 1.4s var(--ease-out-expo), filter 1s !important;
    will-change: transform;
}
.portfolio-card:hover .portfolio-image {
    transform: scale(1.12) translateY(-4px) !important;
    filter: brightness(1.2) saturate(1.3) !important;
}

/* Portfolio overlay gradient enhancement */
.portfolio-overlay {
    transition: all 0.6s var(--ease-out-expo) !important;
}
.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(0,113,227,0.06) 60%, transparent 100%) !important;
}

/* Reach stat card — number glow on hover */
.reach-stat:hover .reach-number,
.reach-stat:hover .reach-number-text {
    filter: drop-shadow(0 0 20px rgba(0,113,227,0.4)) brightness(1.1) !important;
    transition: filter 0.4s !important;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE ADVANCED CARDS
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .ai-greeting-badge {
        font-size: 0.78rem !important;
        padding: 6px 14px !important;
        margin-bottom: 14px !important;
    }
    .ai-hint {
        font-size: 0.72rem !important;
    }
    .ai-pulse-indicator {
        margin-top: 16px !important;
        padding: 5px 12px !important;
    }
    .ai-pulse-text {
        font-size: 0.65rem !important;
    }
    
    /* Mobile card floating effect — subtler */
    .service-icon, .persona-icon {
        animation-duration: 5s !important;
    }
    @keyframes iconFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-3px); }
    }

    /* Prevent cards from gradient border on mobile for perf */
    .service-card, .persona-card {
        background-image: none !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--border) !important;
    }
}

/* Mobile AI greeting responsive */
@media (max-width: 380px) {
    .ai-greeting-badge {
        font-size: 0.72rem !important;
        padding: 5px 10px !important;
        gap: 4px !important;
    }
    .ai-hint { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   AI CHATBOT WIDGET — Floating Smart Assistant
   ═══════════════════════════════════════════════════════════ */
.ai-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 10000;
    font-family: 'Inter', -apple-system, sans-serif;
}
.ai-chat-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0071e3, #0071e3);
    color: white;
    box-shadow: 0 8px 32px rgba(0,113,227,0.25), 0 0 60px rgba(0,113,227,0.1);
    transition: all 0.5s var(--ease-out-expo);
    animation: aiTriggerFloat 4s ease-in-out infinite;
    -webkit-tap-highlight-color: transparent;
}
@keyframes aiTriggerFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.ai-chat-trigger:hover {
    transform: scale(1.12) translateY(-4px) !important;
    box-shadow: 0 16px 48px rgba(0,113,227,0.3), 0 0 80px rgba(0,113,227,0.1);
}
.ai-chat-trigger.active {
    transform: scale(0.92) !important;
    animation: none !important;
}
.ai-chat-trigger.ai-chat-pulse {
    animation: aiChatPulse 1s ease-in-out 3 !important;
}
@keyframes aiChatPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(0,113,227,0.25); }
    50% { transform: scale(1.15); box-shadow: 0 16px 48px rgba(0,113,227,0.35), 0 0 80px rgba(0,113,227,0.15); }
}
.ai-chat-icon { display: flex; align-items: center; justify-content: center; }
.ai-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0071e3;
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,113,227,0.5);
    animation: aiBadgePulse 2s ease-in-out infinite;
}
@keyframes aiBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Chat Panel */
.ai-chat-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    max-height: 480px;
    border-radius: 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 60px rgba(0,113,227,0.06);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}
.ai-chat-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: rgba(0,0,0,0.02);
}
.ai-chat-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ai-chat-avatar { font-size: 1.4rem; }
.ai-chat-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1d1d1f;
    display: block;
}
.ai-chat-status {
    font-size: 0.68rem;
    color: #34c759;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ai-online-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #34c759;
    animation: aiPulseDot 2s ease-in-out infinite;
}
.ai-chat-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.04);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}
.ai-chat-close:hover { background: rgba(255,59,48,0.1); color: #ff3b30; }

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 280px;
    scroll-behavior: smooth;
}
.ai-chat-msg { display: flex; }
.ai-msg { justify-content: flex-start; }
.user-msg { justify-content: flex-end; }
.ai-msg-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-primary);
}
.ai-msg .ai-msg-bubble {
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    border-bottom-left-radius: 6px;
}
.user-msg .ai-msg-bubble {
    background: linear-gradient(135deg, #0071e3, #0071e3);
    color: white;
    border-bottom-right-radius: 6px;
}
.ai-msg-bubble a {
    color: #0071e3;
    text-decoration: underline;
    font-weight: 500;
}

/* AI Typing Dots */
.ai-typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}
.ai-typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: aiDotBounce 1.4s ease-in-out infinite;
}
.ai-typing-dots span:nth-child(2) { animation-delay: 0.16s; }
.ai-typing-dots span:nth-child(3) { animation-delay: 0.32s; }
@keyframes aiDotBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}
@keyframes aiMsgIn {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Suggestions */
.ai-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(0,0,0,0.04);
}
.ai-suggestion-chip {
    padding: 7px 14px;
    border-radius: 100px;
    border: 1px solid rgba(0,113,227,0.15);
    background: rgba(0,113,227,0.05);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}
.ai-suggestion-chip:hover, .ai-suggestion-chip:active {
    background: rgba(0,113,227,0.1);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: scale(1.04);
}

/* ═══════════════════════════════════════════════════════════
   AI SCROLL INTELLIGENCE — Reading Progress + Section Glow
   ═══════════════════════════════════════════════════════════ */
.ai-reading-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    background: rgba(255,255,255,0.02);
}
.ai-reading-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-aurora);
    background-size: 400% 100%;
    animation: holoScroll 4s linear infinite;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px rgba(0,113,227,0.3), 0 0 30px rgba(0,113,227,0.1);
}
.ai-reading-complete .ai-reading-fill {
    box-shadow: 0 0 20px rgba(52,199,89,0.4), 0 0 50px rgba(52,199,89,0.15) !important;
    background: linear-gradient(90deg, #34c759, #0071e3) !important;
}
.ai-reading-label {
    position: absolute;
    right: 12px;
    bottom: 8px;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255,255,255,0.92);
    padding: 3px 10px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.4s var(--ease-out-expo);
    pointer-events: none;
    white-space: nowrap;
}
.ai-reading-label.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section active glow */
.ai-section-active {
    position: relative;
}
.ai-section-active::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    width: 60px !important;
    height: 3px !important;
    transform: translateX(-50%) !important;
    background: var(--gradient-aurora) !important;
    background-size: 400% 100% !important;
    animation: holoScroll 3s linear infinite !important;
    border-radius: 2px !important;
    box-shadow: 0 0 16px rgba(0,113,227,0.25) !important;
    z-index: 5 !important;
}

/* Nav link AI glow */
.ai-nav-glow {
    color: #0071e3 !important;
    text-shadow: 0 0 8px rgba(0,113,227,0.3);
}

/* ═══════════════════════════════════════════════════════════
   AI SMART CTA — Contextual Floating Suggestion
   ═══════════════════════════════════════════════════════════ */
.ai-smart-cta {
    position: fixed;
    top: calc(var(--nav-height) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 9998;
    opacity: 0;
    transition: all 0.6s var(--ease-out-expo);
    pointer-events: none;
}
.ai-smart-cta.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.ai-smart-cta-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 100px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 0 40px rgba(0,113,227,0.06);
    white-space: nowrap;
    max-width: calc(100vw - 32px);
    overflow: hidden;
}
.ai-smart-cta-icon {
    font-size: 1.1rem;
    animation: aiSparkle 2s ease-in-out infinite;
}
.ai-smart-cta-text {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.ai-smart-cta-btn {
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--gradient-1);
    color: white !important;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.3s;
}
.ai-smart-cta-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.ai-smart-cta-dismiss {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.04);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.ai-smart-cta-dismiss:hover { background: rgba(255,59,48,0.1); color: #ff3b30; }

/* Return visitor tag */
.ai-return-tag {
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(0,113,227,0.08);
    border: 1px solid rgba(0,113,227,0.15);
    color: #0071e3;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: 4px;
}

/* ═══════════════════════════════════════════════════════════
   TOUCH RIPPLE — Material Tap Effect
   ═══════════════════════════════════════════════════════════ */
.touch-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,113,227,0.12) 0%, rgba(0,113,227,0.06) 40%, transparent 70%);
    transform: scale(0);
    animation: rippleExpand 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
    z-index: 10;
}
@keyframes rippleExpand {
    0%   { transform: scale(0); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE AI CHATBOT + FEATURES RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .ai-chat-widget {
        bottom: 88px !important;
        right: 16px !important;
    }
    .ai-chat-trigger {
        width: 50px !important;
        height: 50px !important;
    }
    .ai-chat-panel {
        width: calc(100vw - 32px) !important;
        max-height: 420px !important;
        right: -8px !important;
        bottom: 62px !important;
        border-radius: 20px !important;
    }
    .ai-chat-body {
        max-height: 230px !important;
    }
    .ai-suggestion-chip {
        font-size: 0.68rem !important;
        padding: 6px 10px !important;
    }
    .ai-smart-cta-inner {
        padding: 8px 12px !important;
        gap: 6px !important;
    }
    .ai-smart-cta-text {
        font-size: 0.7rem !important;
        white-space: normal !important;
    }
    .ai-reading-label {
        display: none !important;
    }
    /* Section active glow on mobile */
    .ai-section-active::after {
        width: 40px !important;
        height: 2px !important;
    }
}

@media (max-width: 380px) {
    .ai-chat-panel {
        width: calc(100vw - 24px) !important;
        right: -12px !important;
    }
    .ai-smart-cta-text { font-size: 0.65rem !important; }
    .ai-smart-cta-icon { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   LIGHT THEME — AI Features
   ═══════════════════════════════════════════════════════════ */
[data-theme="light"] .ai-chat-trigger {
    box-shadow: 0 8px 32px rgba(0,113,227,0.3), 0 0 40px rgba(0,113,227,0.08) !important;
}
[data-theme="light"] .ai-chat-panel {
    background: rgba(255,255,255,0.95) !important;
    border-color: rgba(0,113,227,0.1) !important;
    box-shadow: 0 32px 80px rgba(0,0,0,0.15), 0 0 40px rgba(0,113,227,0.05) !important;
}
[data-theme="light"] .ai-chat-header {
    background: rgba(0,113,227,0.03) !important;
    border-bottom-color: rgba(0,0,0,0.04) !important;
}
[data-theme="light"] .ai-msg .ai-msg-bubble {
    background: rgba(0,113,227,0.06) !important;
    border-color: rgba(0,113,227,0.08) !important;
}
[data-theme="light"] .ai-suggestion-chip {
    background: rgba(0,113,227,0.04) !important;
    border-color: rgba(0,113,227,0.1) !important;
    color: #6e6e73 !important;
}
[data-theme="light"] .ai-suggestion-chip:hover {
    background: rgba(0,113,227,0.08) !important;
    color: #1d1d1f !important;
}
[data-theme="light"] .ai-smart-cta-inner {
    background: rgba(255,255,255,0.95) !important;
    border-color: rgba(0,113,227,0.1) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
}
[data-theme="light"] .ai-smart-cta-text { color: #6e6e73 !important; }
[data-theme="light"] .ai-return-tag {
    background: rgba(0,113,227,0.06) !important;
    border-color: rgba(0,113,227,0.12) !important;
    color: #0071e3 !important;
}
[data-theme="light"] .touch-ripple {
    background: radial-gradient(circle, rgba(0,113,227,0.1) 0%, rgba(0,113,227,0.06) 40%, transparent 70%) !important;
}
[data-theme="light"] .ai-reading-fill {
    box-shadow: 0 0 8px rgba(0,113,227,0.3) !important;
}
[data-theme="light"] .ai-chat-close:hover {
    background: rgba(255,59,48,0.08) !important;
}

/* ═══════════════════════════════════════════════════════════
   v11 — NEURAL NETWORK VISUALIZATION
   ═══════════════════════════════════════════════════════════ */
.neural-network-viz {
    position: fixed;
    top: 0;
    right: 0;
    width: 40px;
    height: 100vh;
    z-index: 50;
    pointer-events: none;
}
.neural-connections-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.neural-synapse {
    transition: stroke 0.3s;
}
.neural-node {
    position: absolute;
    width: 10px;
    height: 10px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.neural-node-core {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 113, 227, 0.3);
    transition: all 0.5s;
    position: relative;
    z-index: 2;
}
.neural-node-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.1);
    transition: all 0.5s;
}
.neural-node-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s;
}
.neural-node.active .neural-node-core {
    background: var(--accent, #0071e3);
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.5);
    transform: scale(1.3);
}
.neural-node.active .neural-node-ring {
    border-color: rgba(0, 113, 227, 0.4);
    transform: scale(1.5);
}
.neural-node.active .neural-node-pulse {
    opacity: 1;
    animation: neuralPulse 2s infinite;
}
.neural-node.firing .neural-node-core {
    background: #0071e3;
    box-shadow: 0 0 16px rgba(0, 113, 227, 0.8), 0 0 32px rgba(0, 113, 227, 0.3);
    transform: scale(1.8);
}
.neural-node.firing .neural-node-pulse {
    opacity: 1;
    animation: neuralFire 0.6s ease-out;
}
@keyframes neuralPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.8); opacity: 0.8; }
}
@keyframes neuralFire {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   v11 — AI ENGAGEMENT SCORING
   ═══════════════════════════════════════════════════════════ */
.ai-engagement-score {
    position: fixed;
    bottom: 90px;
    left: 16px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.ai-engagement-score.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.ai-engagement-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.ai-engagement-ring {
    position: relative;
    width: 40px;
    height: 40px;
}
.ai-engagement-svg {
    width: 40px;
    height: 40px;
    transform: rotate(-90deg);
}
.ai-engagement-bg {
    fill: none;
    stroke: rgba(0, 113, 227, 0.1);
    stroke-width: 2.5;
}
.ai-engagement-fill {
    fill: none;
    stroke: #0071e3;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.5s;
}
.ai-engagement-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #1d1d1f;
    font-family: 'SF Mono', monospace;
}
.ai-engagement-label {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #86868b;
    font-weight: 600;
}
.ai-engagement-score.ai-high-engagement .ai-engagement-inner {
    border-color: rgba(52, 199, 89, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(52, 199, 89, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   v11 — PREDICTIVE PRELOADER
   ═══════════════════════════════════════════════════════════ */
.ai-preload-indicator {
    position: fixed;
    top: 8px;
    right: 60px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 10px;
    color: #0071e3;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.ai-preload-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}
.ai-preload-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0071e3;
    animation: preloadBlink 0.8s infinite alternate;
}
@keyframes preloadBlink {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}
.ai-preload-text {
    font-weight: 600;
    font-family: 'SF Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   v11 — GESTURE NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.gesture-nav-hint {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 9998;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    opacity: 0;
    transition: opacity 0.5s;
}
.gesture-nav-hint.visible {
    opacity: 1;
}
.gesture-arrow {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 24px;
    padding: 8px 14px;
    color: #0071e3;
    font-size: 18px;
    font-weight: 700;
    opacity: 0.5;
    transition: all 0.3s;
    transform: scale(0.9);
}
.gesture-arrow.showing {
    opacity: 1;
    transform: scale(1.05);
    background: rgba(0, 113, 227, 0.08);
    border-color: rgba(0, 113, 227, 0.3);
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.15);
}
.gesture-page-name {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #86868b;
}

/* ═══════════════════════════════════════════════════════════
   v11 — CONTENT MORPHING
   ═══════════════════════════════════════════════════════════ */
.section.ai-morphing-active {
    position: relative;
}
.section.ai-morphing-active::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,113,227,0.03) 0%, transparent 50%, rgba(0,113,227,0.03) 100%);
    pointer-events: none;
    z-index: -1;
    animation: morphGlow 3s ease-in-out infinite;
}
@keyframes morphGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}
.ai-personalization-badge {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 12px;
    color: #86868b;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.ai-personalization-badge.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.ai-personalization-icon {
    font-size: 16px;
}
.ai-personalization-text {
    font-weight: 600;
    background: linear-gradient(135deg, #0071e3, #0071e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   v11 — AI VOICE NARRATOR
   ═══════════════════════════════════════════════════════════ */
.ai-voice-toggle {
    position: fixed;
    bottom: 90px;
    right: 16px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 24px;
    padding: 8px 14px;
    cursor: pointer;
    color: #86868b;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.ai-voice-toggle:hover {
    border-color: rgba(0, 113, 227, 0.3);
    background: rgba(0, 113, 227, 0.06);
    transform: translateY(-2px);
}
.ai-voice-toggle.active {
    border-color: rgba(0, 113, 227, 0.4);
    color: #0071e3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 16px rgba(0, 113, 227, 0.1);
}
.ai-voice-toggle.speaking .ai-voice-icon {
    animation: voicePulse 0.5s infinite alternate;
}
@keyframes voicePulse {
    from { transform: scale(1); }
    to { transform: scale(1.3); }
}
.ai-voice-icon {
    font-size: 16px;
    transition: transform 0.3s;
}
.ai-voice-label {
    font-family: 'SF Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ═══════════════════════════════════════════════════════════
   v11 — SCROLL MOMENTUM INDICATOR
   ═══════════════════════════════════════════════════════════ */
.ai-scroll-momentum {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.ai-scroll-momentum.visible {
    opacity: 1;
}
.ai-momentum-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0071e3, #0071e3, #0071e3);
    background-size: 200% 100%;
    animation: momentumShimmer 1s infinite linear;
    border-radius: 0 2px 2px 0;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.3);
}
@keyframes momentumShimmer {
    from { background-position: 0% 0%; }
    to { background-position: 200% 0%; }
}

/* ═══════════════════════════════════════════════════════════
   v11 — MOBILE RESPONSIVE FOR NEW FEATURES
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .neural-network-viz {
        width: 28px;
    }
    .neural-node-core {
        width: 4px;
        height: 4px;
    }
    .ai-engagement-score {
        bottom: 75px;
        left: 8px;
    }
    .ai-engagement-inner {
        padding: 6px 8px;
        border-radius: 12px;
    }
    .ai-engagement-ring {
        width: 32px;
        height: 32px;
    }
    .ai-engagement-svg {
        width: 32px;
        height: 32px;
    }
    .ai-engagement-num {
        font-size: 9px;
    }
    .ai-engagement-label {
        font-size: 7px;
    }
    .ai-preload-indicator {
        top: auto;
        bottom: 4px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        font-size: 9px;
    }
    .ai-preload-indicator.visible {
        transform: translateX(-50%) translateY(0);
    }
    .ai-voice-toggle {
        bottom: 75px;
        right: 8px;
        padding: 6px 10px;
        font-size: 11px;
    }
    .ai-voice-label {
        display: none;
    }
    .ai-personalization-badge {
        font-size: 11px;
        padding: 6px 14px;
    }
    .gesture-arrow {
        padding: 6px 10px;
        font-size: 14px;
    }
    .gesture-page-name {
        font-size: 8px;
    }
}

/* ═══════════════════════════════════════════════════════════
   v11 — LIGHT THEME OVERRIDES FOR NEW FEATURES
   ═══════════════════════════════════════════════════════════ */
[data-theme="light"] .neural-node-core {
    background: rgba(0, 113, 227, 0.3) !important;
}
[data-theme="light"] .neural-node-ring {
    border-color: rgba(0, 113, 227, 0.15) !important;
}
[data-theme="light"] .neural-node-pulse {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%) !important;
}
[data-theme="light"] .neural-node.active .neural-node-core {
    background: #0071e3 !important;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.4) !important;
}
[data-theme="light"] .neural-node.active .neural-node-ring {
    border-color: rgba(0, 113, 227, 0.3) !important;
}
[data-theme="light"] .neural-node.firing .neural-node-core {
    background: #0071e3 !important;
    box-shadow: 0 0 16px rgba(0, 113, 227, 0.6), 0 0 32px rgba(0, 113, 227, 0.2) !important;
}
[data-theme="light"] .ai-engagement-inner {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 113, 227, 0.12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .ai-engagement-bg {
    stroke: rgba(0, 113, 227, 0.08) !important;
}
[data-theme="light"] .ai-engagement-num {
    color: #1d1d1f !important;
}
[data-theme="light"] .ai-engagement-label {
    color: #6a6a8a !important;
}
[data-theme="light"] .ai-preload-indicator {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 113, 227, 0.15) !important;
    color: #0071e3 !important;
}
[data-theme="light"] .ai-preload-dot {
    background: #0071e3 !important;
}
[data-theme="light"] .gesture-arrow {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 113, 227, 0.15) !important;
    color: #0071e3 !important;
}
[data-theme="light"] .gesture-arrow.showing {
    background: rgba(0, 113, 227, 0.08) !important;
    border-color: rgba(0, 113, 227, 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.1) !important;
}
[data-theme="light"] .gesture-page-name {
    color: #6a6a8a !important;
}
[data-theme="light"] .section.ai-morphing-active::before {
    background: linear-gradient(135deg, rgba(0,113,227,0.04) 0%, transparent 50%, rgba(0,113,227,0.04) 100%) !important;
}
[data-theme="light"] .ai-personalization-badge {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(0, 113, 227, 0.12) !important;
    color: #6e6e73 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .ai-voice-toggle {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 113, 227, 0.12) !important;
    color: #6a6a8a !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}
[data-theme="light"] .ai-voice-toggle:hover {
    background: rgba(0, 113, 227, 0.04) !important;
    border-color: rgba(0, 113, 227, 0.2) !important;
}
[data-theme="light"] .ai-voice-toggle.active {
    border-color: rgba(0, 113, 227, 0.3) !important;
    color: #0071e3 !important;
}
[data-theme="light"] .ai-momentum-bar {
    background: linear-gradient(90deg, #0071e3, #0071e3, #0071e3) !important;
    background-size: 200% 100%;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.3) !important;
}
[data-theme="light"] .ai-scroll-momentum {
    background: rgba(0, 0, 0, 0.02) !important;
}

/* ── Light theme: liquid mesh orbs ── */
[data-theme="light"] .liquid-mesh .orb {
    opacity: 0.35 !important;
    filter: blur(100px) !important;
}

/* ═══════════════════════════════════════════════════════════
 ██╗   ██╗ ██╗██████╗      ██████╗███████╗███████╗
 ██║   ██║███║╚════██╗    ██╔════╝██╔════╝██╔════╝
 ██║   ██║╚██║ █████╔╝    ██║     ███████╗███████╗
 ╚██╗ ██╔╝ ██║██╔═══╝     ██║     ╚════██║╚════██║
  ╚████╔╝  ██║███████╗    ╚██████╗███████║███████║
   ╚═══╝   ╚═╝╚══════╝     ╚═════╝╚══════╝╚══════╝
   WORLD'S MOST BEAUTIFUL WEBSITE
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   AURORA BOREALIS — Living Sky
   ═══════════════════════════════════════════ */
.aurora-borealis {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.4;
}
.aurora-wave {
    position: absolute;
    width: 200%;
    height: 50%;
    left: -50%;
    filter: blur(80px);
    mix-blend-mode: screen;
    will-change: transform;
}
.aurora-wave-1 {
    top: -20%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 113, 227, 0.06) 20%,
        rgba(0, 113, 227, 0.04) 40%,
        transparent 70%
    );
    animation: auroraFlow1 18s ease-in-out infinite;
}
.aurora-wave-2 {
    top: 10%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(59, 130, 246, 0.06) 30%,
        rgba(255, 59, 48, 0.04) 50%,
        transparent 80%
    );
    animation: auroraFlow2 22s ease-in-out infinite;
}
.aurora-wave-3 {
    top: 40%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(52, 199, 89, 0.04) 25%,
        rgba(0, 113, 227, 0.05) 45%,
        transparent 75%
    );
    animation: auroraFlow3 26s ease-in-out infinite;
}
.aurora-wave-4 {
    top: 65%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 113, 227, 0.04) 35%,
        rgba(59, 130, 246, 0.03) 55%,
        transparent 80%
    );
    animation: auroraFlow1 30s ease-in-out infinite reverse;
}

@keyframes auroraFlow1 {
    0%, 100% { transform: translateX(0) skewX(0deg); }
    25% { transform: translateX(8%) skewX(-2deg); }
    50% { transform: translateX(-5%) skewX(3deg); }
    75% { transform: translateX(6%) skewX(-1deg); }
}
@keyframes auroraFlow2 {
    0%, 100% { transform: translateX(0) skewX(0deg) scaleY(1); }
    33% { transform: translateX(-10%) skewX(4deg) scaleY(1.2); }
    66% { transform: translateX(8%) skewX(-3deg) scaleY(0.9); }
}
@keyframes auroraFlow3 {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    20% { transform: translateX(6%) rotate(1deg); }
    40% { transform: translateX(-8%) rotate(-1deg); }
    60% { transform: translateX(4%) rotate(0.5deg); }
    80% { transform: translateX(-3%) rotate(-0.5deg); }
}

/* ═══════════════════════════════════════════
   HOLOGRAPHIC TEXT SHIMMER
   ═══════════════════════════════════════════ */
.holo-text-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(0, 113, 227, 0.1) 45%,
        rgba(0, 113, 227, 0.1) 50%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 70%
    );
    transform: translateX(-120%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}
.holo-text-shimmer.active {
    animation: holoSweep 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes holoSweep {
    from { transform: translateX(-120%); }
    to { transform: translateX(120%); }
}

/* ═══════════════════════════════════════════
   CINEMATIC SECTION REVEALS
   ═══════════════════════════════════════════ */
/* Cinema reveals disabled — was hiding sections with opacity:0 */
.cinema-section.cinema-revealed {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

/* ═══════════════════════════════════════════
   AI FLOATING INTELLIGENCE ORBS
   ═══════════════════════════════════════════ */
.ai-floating-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.ai-float-orb {
    position: absolute;
    width: 20px;
    height: 20px;
    animation: floatOrb 15s ease-in-out infinite;
    transition: top 3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-orb-core {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent, #0071e3);
    box-shadow: 0 0 12px rgba(0, 113, 227, 0.4), 0 0 24px rgba(0, 113, 227, 0.15);
    animation: orbPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
.ai-orb-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.15);
    animation: orbRing 4s ease-in-out infinite;
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(90deg); }
    50% { transform: translate(-15px, 15px) rotate(180deg); }
    75% { transform: translate(25px, -10px) rotate(270deg); }
}
@keyframes orbPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}
@keyframes orbRing {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(2.5); opacity: 0; }
}

/* ═══════════════════════════════════════════
   AI CURSOR NEURAL TRAIL CANVAS
   ═══════════════════════════════════════════ */
.ai-cursor-trail-canvas {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.8;
}

/* ═══════════════════════════════════════════
   AI ATTENTION HEATMAP
   ═══════════════════════════════════════════ */
.ai-heatmap-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: screen;
}

/* ═══════════════════════════════════════════
   AI MOOD AMBIENT (Weather/Time)
   ═══════════════════════════════════════════ */
.ai-mood-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 3s ease;
}
.ai-mood-ambient.mood-night {
    opacity: 0.15;
    background: radial-gradient(ellipse at 50% 0%, rgba(30, 10, 80, 0.3) 0%, transparent 70%);
}
.ai-mood-ambient.mood-morning {
    opacity: 0.1;
    background: radial-gradient(ellipse at 80% 20%, rgba(255, 183, 77, 0.15) 0%, transparent 60%);
}
.ai-mood-ambient.mood-evening {
    opacity: 0.12;
    background: radial-gradient(ellipse at 20% 30%, rgba(255, 87, 34, 0.12) 0%, transparent 60%);
}
.ai-mood-ambient.mood-day {
    opacity: 0.08;
    background: radial-gradient(ellipse at 50% 10%, rgba(0, 176, 255, 0.1) 0%, transparent 60%);
}

/* ═══════════════════════════════════════════
   AI PAGE DNA FINGERPRINT
   ═══════════════════════════════════════════ */
.ai-page-dna {
    position: fixed;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0.4;
    transition: opacity 0.5s;
}
.ai-page-dna:hover {
    opacity: 0.8;
}
.dna-strand {
    display: flex;
    align-items: center;
    gap: 2px;
    animation: dnaRotate 6s ease-in-out infinite;
}
.dna-node {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dna-color, #0071e3);
    opacity: 0.3;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.dna-node-a {
    transform: translateX(0px);
}
.dna-node-b {
    transform: translateX(0px);
}
.dna-bridge {
    width: 8px;
    height: 1px;
    background: var(--dna-color, #0071e3);
    opacity: 0.15;
    transition: all 0.6s;
}
.dna-strand.active .dna-node {
    opacity: 1;
    transform: scale(2);
    box-shadow: 0 0 8px var(--dna-color);
}
.dna-strand.active .dna-bridge {
    opacity: 0.6;
    width: 14px;
    box-shadow: 0 0 4px var(--dna-color);
}
@keyframes dnaRotate {
    0%, 100% { transform: translateX(0px); }
    25% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
}

/* ═══════════════════════════════════════════
   ENHANCED GLASSMORPHISM 2.0 — Cards
   Even more stunning glass effects
   ═══════════════════════════════════════════ */
.service-card,
.persona-card,
.portfolio-card {
    background: rgba(255, 255, 255, 0.022) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.service-card:hover,
.persona-card:hover,
.portfolio-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(0, 113, 227, 0.15) !important;
}

/* ═══════════════════════════════════════════
   ENHANCED HERO — Floating Elements
   ═══════════════════════════════════════════ */
.hero-content {
    position: relative !important;
}
.hero-title {
    text-shadow: 0 0 80px rgba(0, 113, 227, 0.06) !important;
}

/* ═══════════════════════════════════════════
   v12 MOBILE RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .aurora-borealis {
        opacity: 0.25;
    }
    .aurora-wave {
        filter: blur(60px);
    }
    .ai-floating-orbs {
        opacity: 0.5;
    }
    .ai-float-orb {
        width: 14px;
        height: 14px;
    }
    .ai-orb-core {
        width: 4px;
        height: 4px;
    }
    .ai-cursor-trail-canvas {
        display: none;
    }
    .ai-page-dna {
        display: none;
    }
    .ai-heatmap-canvas {
        opacity: 0.3;
    }
    /* Cinema reveals handled by AOS */
    .holo-text-shimmer {
        display: none;
    }
}

/* ═══════════════════════════════════════════
   v12 LIGHT THEME OVERRIDES
   ═══════════════════════════════════════════ */
[data-theme="light"] .aurora-borealis {
    opacity: 0.2;
    mix-blend-mode: normal;
}
[data-theme="light"] .aurora-wave {
    mix-blend-mode: multiply;
    filter: blur(100px);
}
[data-theme="light"] .aurora-wave-1 {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 113, 227, 0.06) 20%,
        rgba(0, 113, 227, 0.04) 40%,
        transparent 70%
    );
}
[data-theme="light"] .aurora-wave-2 {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(59, 130, 246, 0.04) 30%,
        rgba(198, 40, 91, 0.03) 50%,
        transparent 80%
    );
}
[data-theme="light"] .aurora-wave-3 {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 137, 123, 0.04) 25%,
        rgba(0, 113, 227, 0.05) 45%,
        transparent 75%
    );
}
[data-theme="light"] .holo-text-shimmer {
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(0, 0, 0, 0.02) 40%,
        rgba(0, 113, 227, 0.06) 45%,
        rgba(0, 113, 227, 0.06) 50%,
        rgba(0, 0, 0, 0.02) 55%,
        transparent 70%
    ) !important;
    mix-blend-mode: normal !important;
}
[data-theme="light"] .ai-orb-core {
    background: #0071e3 !important;
    box-shadow: 0 0 12px rgba(0, 113, 227, 0.4), 0 0 24px rgba(0, 113, 227, 0.15) !important;
}
[data-theme="light"] .ai-orb-ring {
    border-color: rgba(0, 113, 227, 0.12) !important;
}
[data-theme="light"] .ai-heatmap-canvas {
    mix-blend-mode: multiply !important;
}
[data-theme="light"] .ai-mood-ambient.mood-morning {
    opacity: 0.06 !important;
}
[data-theme="light"] .ai-mood-ambient.mood-day {
    opacity: 0.04 !important;
}
[data-theme="light"] .ai-mood-ambient.mood-evening {
    opacity: 0.06 !important;
}
[data-theme="light"] .ai-mood-ambient.mood-night {
    opacity: 0.08 !important;
}
[data-theme="light"] .dna-node {
    opacity: 0.25 !important;
}
[data-theme="light"] .dna-strand.active .dna-node {
    opacity: 0.8 !important;
}
[data-theme="light"] .service-card,
[data-theme="light"] .persona-card,
[data-theme="light"] .portfolio-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
}
[data-theme="light"] .service-card:hover,
[data-theme="light"] .persona-card:hover,
[data-theme="light"] .portfolio-card:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 113, 227, 0.15) !important;
}
/* Cinema reveals handled by AOS in light theme */
[data-theme="light"] .hero-title {
    text-shadow: none !important;
}
[data-theme="light"] #heroSection .hero-title {
    text-shadow: 0 2px 20px rgba(0,0,0,0.5) !important;
}

/* ═══════════════════════════════════════════════════════════
 ██╗   ██╗ ██╗██████╗      ██████╗███████╗███████╗
 ██║   ██║███║╚════██╗    ██╔════╝██╔════╝██╔════╝
 ██║   ██║╚██║ █████╔╝    ██║     ███████╗███████╗
 ╚██╗ ██╔╝ ██║██╔═══╝     ██║     ╚════██║╚════██║
  ╚████╔╝  ██║███████╗    ╚██████╗███████║███████║
   ╚═══╝   ╚═╝╚══════╝     ╚═════╝╚══════╝╚══════╝
   N E X T   L E V E L — A D V A N C E D   B E S T
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   QUANTUM PARTICLE FIELD — Canvas
   ═══════════════════════════════════════════ */
.quantum-field-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    mix-blend-mode: screen;
}

/* ═══════════════════════════════════════════
   CHROME LIQUID GRADIENT — Molten Metal
   ═══════════════════════════════════════════ */
.chrome-liquid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.35;
}
.chrome-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
    mix-blend-mode: screen;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.chrome-blob-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(192, 192, 255, 0.06) 0%, rgba(0, 113, 227, 0.03) 40%, transparent 70%);
    top: -10%;
    left: -5%;
    animation: chromePulse1 20s ease-in-out infinite;
}
.chrome-blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.05) 0%, rgba(61, 90, 254, 0.025) 40%, transparent 70%);
    top: 40%;
    right: -10%;
    animation: chromePulse2 25s ease-in-out infinite;
}
.chrome-blob-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.05) 0%, rgba(59, 130, 246, 0.03) 40%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation: chromePulse1 30s ease-in-out infinite reverse;
}

@keyframes chromePulse1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.35; }
    25% { transform: translate(50px, -30px) scale(1.15) rotate(5deg); opacity: 0.45; }
    50% { transform: translate(-30px, 50px) scale(0.9) rotate(-3deg); opacity: 0.3; }
    75% { transform: translate(40px, -20px) scale(1.1) rotate(4deg); opacity: 0.4; }
}
@keyframes chromePulse2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    33% { transform: translate(-40px, 30px) scale(1.2); opacity: 0.4; }
    66% { transform: translate(30px, -40px) scale(0.85); opacity: 0.25; }
}

/* ═══════════════════════════════════════════
   PRISMATIC LIGHT REFRACTION — Crystal Rays
   ═══════════════════════════════════════════ */
.prismatic-refraction {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.15;
}
.prism-ray {
    position: absolute;
    width: 2px;
    height: 200%;
    transform-origin: top center;
    filter: blur(1px);
    animation: prismSweep 12s ease-in-out infinite;
}
.prism-ray-1 {
    left: 15%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 113, 227, 0.2) 20%, rgba(0, 113, 227, 0.4) 50%, rgba(0, 113, 227, 0.2) 80%, transparent 100%);
    animation-delay: 0s;
    animation-duration: 14s;
}
.prism-ray-2 {
    left: 35%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 113, 227, 0.25) 25%, rgba(0, 113, 227, 0.4) 50%, rgba(0, 113, 227, 0.25) 75%, transparent 100%);
    animation-delay: -2s;
    animation-duration: 18s;
}
.prism-ray-3 {
    left: 55%;
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.25) 20%, rgba(59, 130, 246, 0.5) 50%, rgba(59, 130, 246, 0.25) 80%, transparent 100%);
    animation-delay: -4s;
    animation-duration: 16s;
}
.prism-ray-4 {
    left: 72%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 59, 48, 0.2) 30%, rgba(255, 59, 48, 0.45) 50%, rgba(255, 59, 48, 0.2) 70%, transparent 100%);
    animation-delay: -6s;
    animation-duration: 20s;
}
.prism-ray-5 {
    left: 88%;
    background: linear-gradient(180deg, transparent 0%, rgba(52, 199, 89, 0.2) 25%, rgba(52, 199, 89, 0.4) 50%, rgba(52, 199, 89, 0.2) 75%, transparent 100%);
    animation-delay: -8s;
    animation-duration: 22s;
}

@keyframes prismSweep {
    0%   { transform: rotate(-20deg) translateY(-30%); opacity: 0; }
    15%  { opacity: 1; }
    50%  { transform: rotate(8deg) translateY(10%); }
    85%  { opacity: 1; }
    100% { transform: rotate(25deg) translateY(40%); opacity: 0; }
}

/* ═══════════════════════════════════════════
   AI SMART SPOTLIGHT — Content Illuminator
   ═══════════════════════════════════════════ */
.ai-smart-spotlight {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0, 113, 227, 0.02) 0%,
        rgba(0, 113, 227, 0.01) 30%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    transition: opacity 0.6s ease, left 0.15s ease, top 0.15s ease;
    opacity: 0;
    mix-blend-mode: screen;
}
.spotlight-active {
    position: relative;
}
@keyframes spotlightPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ═══════════════════════════════════════════
   AI BREATHING UI — Living Interface
   Uses CSS custom property --breath
   ═══════════════════════════════════════════ */
.service-card,
.persona-card,
.portfolio-card {
    box-shadow: var(--shadow-card),
        0 0 calc(20px * var(--breath-glow, 0.1)) rgba(0, 113, 227, var(--breath-glow, 0.05)) !important;
}
.nav-cta {
    box-shadow: 0 4px 20px rgba(0, 113, 227, calc(0.15 + var(--breath, 0.5) * 0.1)) !important;
}
.scroll-progress {
    box-shadow: 0 0 calc(8px + var(--breath, 0.5) * 6px) rgba(0, 113, 227, calc(0.2 + var(--breath, 0.5) * 0.15)),
                0 0 calc(20px + var(--breath, 0.5) * 15px) rgba(0, 113, 227, calc(0.08 + var(--breath, 0.5) * 0.06)) !important;
}

/* ═══════════════════════════════════════════
   AI MAGNETIC FIELD LINES — Canvas
   ═══════════════════════════════════════════ */
.magnetic-field-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ═══════════════════════════════════════════
   CINEMATIC DEPTH LAYERS
   Multi-plane parallax depth effect
   ═══════════════════════════════════════════ */
.cinematic-depth-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.depth-plane {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.depth-plane-1 {
    background: radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0, 113, 227, 0.01) 0%, transparent 60%);
    filter: blur(40px);
}
.depth-plane-2 {
    background: radial-gradient(ellipse 60% 50% at 70% 60%, rgba(0, 113, 227, 0.008) 0%, transparent 55%);
    filter: blur(60px);
}
.depth-plane-3 {
    background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(59, 130, 246, 0.008) 0%, transparent 65%);
    filter: blur(80px);
}

/* ═══════════════════════════════════════════
   ENHANCED GRADIENT TEXT v13
   Ultra-smooth animated prismatic text
   ═══════════════════════════════════════════ */
.gradient-text,
.section-title {
    position: relative !important;
}

/* ═══════════════════════════════════════════
   ENHANCED CARD HOVER v13 — Liquid Border
   Animated gradient border on hover
   ═══════════════════════════════════════════ */
.service-card::after,
.persona-card::after,
.portfolio-card::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    padding: 1.5px !important;
    background: conic-gradient(from var(--angle, 0deg),
        #0071e3, #3d5afe, #0071e3, #3b82f6, #60a5fa, #3b82f6, #60a5fa, #0071e3
    ) !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    opacity: 0 !important;
    transition: opacity 0.6s var(--ease-out-expo) !important;
    pointer-events: none !important;
    animation: borderSpin 4s linear infinite !important;
}
.service-card:hover::after,
.persona-card:hover::after,
.portfolio-card:hover::after {
    opacity: 0.8 !important;
}

/* ═══════════════════════════════════════════
   ENHANCED SECTION HEADERS — Bigger Impact
   ═══════════════════════════════════════════ */
.section-tag {
    letter-spacing: 0.3em !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #0071e3 !important;
    text-transform: uppercase !important;
    position: relative !important;
    display: inline-block !important;
    padding: 4px 16px !important;
    border-radius: 20px !important;
    background: rgba(0, 113, 227, 0.06) !important;
    border: 1px solid rgba(0, 113, 227, 0.12) !important;
    margin-bottom: 12px !important;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.1 !important;
    margin-bottom: 16px !important;
}

/* ═══════════════════════════════════════════
   ENHANCED FOOTER v13 — Depth & Glow
   ═══════════════════════════════════════════ */
.footer {
    position: relative !important;
}
.footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 10% !important;
    right: 10% !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.2), rgba(0, 113, 227, 0.15), rgba(0, 113, 227, 0.2), transparent) !important;
}

/* ═══════════════════════════════════════════
   ENHANCED BUTTONS v13 — Glass Depth
   ═══════════════════════════════════════════ */
.btn-primary {
    position: relative !important;
    z-index: 1 !important;
}
.btn-primary::after {
    content: '' !important;
    position: absolute !important;
    inset: 2px !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.btn-outline {
    position: relative !important;
    overflow: hidden !important;
}
.btn-outline::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: conic-gradient(from var(--angle, 0deg), transparent 60%, rgba(0, 113, 227, 0.08) 80%, transparent) !important;
    animation: borderSpin 6s linear infinite !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* ═══════════════════════════════════════════
   v13 MOBILE RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .quantum-field-canvas {
        opacity: 0.4;
    }
    .chrome-liquid-bg {
        opacity: 0.2;
    }
    .chrome-blob {
        filter: blur(80px);
    }
    .chrome-blob-1 { width: 400px; height: 400px; }
    .chrome-blob-2 { width: 350px; height: 350px; }
    .chrome-blob-3 { width: 300px; height: 300px; }
    .prismatic-refraction {
        opacity: 0.08;
    }
    .prism-ray {
        filter: blur(2px);
    }
    .ai-smart-spotlight {
        display: none;
    }
    .magnetic-field-canvas {
        display: none;
    }
    .cinematic-depth-container {
        opacity: 0.5;
    }
    .depth-plane { filter: blur(60px); }
    .section-tag {
        font-size: 0.6rem !important;
        letter-spacing: 0.2em !important;
    }
}

@media (max-width: 480px) {
    .quantum-field-canvas {
        opacity: 0.3;
    }
    .chrome-liquid-bg {
        opacity: 0.15;
    }
    .prismatic-refraction {
        display: none;
    }
}

/* ═══════════════════════════════════════════
   v13 LIGHT THEME OVERRIDES
   ═══════════════════════════════════════════ */
[data-theme="light"] .quantum-field-canvas {
    opacity: 0.4 !important;
    mix-blend-mode: multiply !important;
}
[data-theme="light"] .chrome-liquid-bg {
    opacity: 0.2 !important;
}
[data-theme="light"] .chrome-blob {
    mix-blend-mode: multiply !important;
}
[data-theme="light"] .chrome-blob-1 {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.04) 0%, rgba(0, 113, 227, 0.02) 40%, transparent 70%) !important;
}
[data-theme="light"] .chrome-blob-2 {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.03) 0%, rgba(41, 98, 255, 0.015) 40%, transparent 70%) !important;
}
[data-theme="light"] .chrome-blob-3 {
    background: radial-gradient(circle, rgba(167, 139, 250, 0.03) 0%, rgba(59, 130, 246, 0.015) 40%, transparent 70%) !important;
}
[data-theme="light"] .prismatic-refraction {
    opacity: 0.06 !important;
}
[data-theme="light"] .prism-ray-1 {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 113, 227, 0.15) 20%, rgba(0, 113, 227, 0.3) 50%, rgba(0, 113, 227, 0.15) 80%, transparent 100%) !important;
}
[data-theme="light"] .prism-ray-2 {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 113, 227, 0.15) 25%, rgba(0, 113, 227, 0.25) 50%, rgba(0, 113, 227, 0.15) 75%, transparent 100%) !important;
}
[data-theme="light"] .prism-ray-3 {
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.1) 20%, rgba(59, 130, 246, 0.25) 50%, rgba(59, 130, 246, 0.1) 80%, transparent 100%) !important;
}
[data-theme="light"] .prism-ray-4 {
    background: linear-gradient(180deg, transparent 0%, rgba(194, 24, 91, 0.1) 30%, rgba(194, 24, 91, 0.2) 50%, rgba(194, 24, 91, 0.1) 70%, transparent 100%) !important;
}
[data-theme="light"] .prism-ray-5 {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 137, 123, 0.1) 25%, rgba(0, 137, 123, 0.2) 50%, rgba(0, 137, 123, 0.1) 75%, transparent 100%) !important;
}
[data-theme="light"] .ai-smart-spotlight {
    background: radial-gradient(circle,
        rgba(0, 113, 227, 0.015) 0%,
        rgba(0, 113, 227, 0.008) 30%,
        transparent 60%
    ) !important;
    mix-blend-mode: normal !important;
}
[data-theme="light"] .magnetic-field-canvas {
    opacity: 0.3 !important;
}
[data-theme="light"] .cinematic-depth-container {
    opacity: 0.6 !important;
}
[data-theme="light"] .depth-plane-1 {
    background: radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0, 113, 227, 0.01) 0%, transparent 60%) !important;
}
[data-theme="light"] .depth-plane-2 {
    background: radial-gradient(ellipse 60% 50% at 70% 60%, rgba(0, 113, 227, 0.008) 0%, transparent 55%) !important;
}
[data-theme="light"] .depth-plane-3 {
    background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(59, 130, 246, 0.006) 0%, transparent 65%) !important;
}
[data-theme="light"] .section-tag {
    color: #0071e3 !important;
    background: rgba(0, 113, 227, 0.06) !important;
    border-color: rgba(0, 113, 227, 0.12) !important;
}
[data-theme="light"] .footer::before {
    background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.15), rgba(0, 113, 227, 0.1), rgba(0, 113, 227, 0.15), transparent) !important;
}
[data-theme="light"] .service-card,
[data-theme="light"] .persona-card,
[data-theme="light"] .portfolio-card {
    box-shadow: var(--shadow-card),
        0 0 calc(15px * var(--breath-glow, 0.05)) rgba(0, 113, 227, calc(var(--breath-glow, 0.03) * 0.5)) !important;
}

/* ═══════════════════════════════════════════════════════════
   v14 — BEYOND REALITY — CSS FOR 10 MOST ADVANCED AI EFFECTS
   ═══════════════════════════════════════════════════════════ */

/* ──────── 1. GRAVITATIONAL LENS WARP ──────── */
.grav-lens-warp {
    position: fixed;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(circle,
        rgba(100, 180, 255, 0.03) 0%,
        rgba(100, 180, 255, 0.01) 40%,
        transparent 70%
    );
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    border: 1px solid rgba(100, 180, 255, 0.06);
    box-shadow:
        0 0 60px rgba(100, 180, 255, 0.04),
        0 0 120px rgba(100, 180, 255, 0.02),
        inset 0 0 30px rgba(100, 180, 255, 0.03);
    transition: opacity 0.3s;
    mix-blend-mode: screen;
}

/* ──────── 3. HOLOGRAPHIC 3D PARALLAX ──────── */
.holo-3d-parallax {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.holo-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    will-change: transform;
}
.holo-layer-1 {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 60px,
        rgba(100, 180, 255, 0.015) 60px,
        rgba(100, 180, 255, 0.015) 61px
    );
}
.holo-layer-2 {
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 80px,
        rgba(180, 100, 255, 0.012) 80px,
        rgba(180, 100, 255, 0.012) 81px
    );
}
.holo-layer-3 {
    background: radial-gradient(
        ellipse 100% 100% at 50% 30%,
        rgba(100, 255, 200, 0.02) 0%,
        transparent 50%
    );
}
.holo-shimmer {
    position: absolute;
    top: 0; left: 0;
    width: 200%; height: 200%;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(255, 255, 255, 0.015) 45%,
        transparent 55%,
        rgba(100, 180, 255, 0.01) 70%,
        transparent 80%
    );
    background-size: 200% 200%;
    animation: holoShimmerDrift 12s ease-in-out infinite;
}
@keyframes holoShimmerDrift {
    0%, 100% { transform: translate(-25%, -25%); }
    50% { transform: translate(-10%, -10%); }
}

/* ──────── 4. AI EMOTION PARTICLE STORM ──────── */
.emotion-storm-canvas {
    mix-blend-mode: screen;
}

/* ──────── 5. QUANTUM ENTANGLEMENT CURSOR ──────── */
.entangled-cursor {
    position: fixed;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}
.entangled-cursor-1 {
    background: radial-gradient(circle, rgba(100, 180, 255, 0.4), transparent 70%);
    box-shadow: 0 0 20px rgba(100, 180, 255, 0.3), 0 0 40px rgba(100, 180, 255, 0.1);
    border: 1px solid rgba(100, 180, 255, 0.25);
}
.entangled-cursor-2 {
    background: radial-gradient(circle, rgba(200, 100, 255, 0.3), transparent 70%);
    box-shadow: 0 0 20px rgba(200, 100, 255, 0.25), 0 0 40px rgba(200, 100, 255, 0.08);
    border: 1px solid rgba(200, 100, 255, 0.2);
    width: 14px; height: 14px;
}

/* ──────── 6. AI PREDICTIVE GAZE ──────── */
.predictive-approaching {
    box-shadow:
        0 0 calc(30px * var(--predictive-glow, 0)) rgba(100, 180, 255, var(--predictive-glow, 0)),
        0 0 calc(60px * var(--predictive-glow, 0)) rgba(100, 180, 255, calc(var(--predictive-glow, 0) * 0.3)) !important;
    border-color: rgba(100, 180, 255, calc(var(--predictive-glow, 0) * 0.4)) !important;
    transition: box-shadow 0.6s ease, border-color 0.6s ease;
}

/* ──────── 7. NEURAL PULSE HEARTBEAT GRID ──────── */
.heartbeat-grid-canvas {
    mix-blend-mode: screen;
}

/* ──────── 9. AI TEMPORAL MORPHING ──────── */
/* Subtle temporal accent applied via CSS vars set by JS */
[data-temporal="dawn"] .hero-section { --accent-temporal: rgba(255, 180, 50, 0.06); }
[data-temporal="day"] .hero-section { --accent-temporal: rgba(50, 120, 255, 0.06); }
[data-temporal="sunset"] .hero-section { --accent-temporal: rgba(255, 80, 150, 0.06); }
[data-temporal="night"] .hero-section { --accent-temporal: rgba(100, 50, 200, 0.06); }
.hero-section {
    background-image: radial-gradient(ellipse at 50% 30%, var(--accent-temporal, transparent) 0%, transparent 70%);
}

/* ──────── v14 LIGHT THEME OVERRIDES ──────── */
[data-theme="light"] .grav-lens-warp {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.03), transparent 70%);
    border-color: rgba(0, 113, 227, 0.06);
    box-shadow: 0 0 60px rgba(0, 113, 227, 0.04);
}
[data-theme="light"] .entangled-cursor-1 {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.3), transparent 70%);
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.2);
    border-color: rgba(0, 113, 227, 0.2);
}
[data-theme="light"] .entangled-cursor-2 {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.25), transparent 70%);
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.15);
    border-color: rgba(0, 113, 227, 0.15);
}
[data-theme="light"] .predictive-approaching {
    box-shadow:
        0 0 calc(30px * var(--predictive-glow, 0)) rgba(0, 113, 227, var(--predictive-glow, 0)),
        0 0 calc(60px * var(--predictive-glow, 0)) rgba(0, 113, 227, calc(var(--predictive-glow, 0) * 0.3)) !important;
    border-color: rgba(0, 113, 227, calc(var(--predictive-glow, 0) * 0.4)) !important;
}
[data-theme="light"] .holo-layer-1 {
    background: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(0, 113, 227, 0.01) 60px, rgba(0, 113, 227, 0.01) 61px);
}
[data-theme="light"] .holo-layer-2 {
    background: repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(0, 113, 227, 0.008) 80px, rgba(0, 113, 227, 0.008) 81px);
}

/* ──────── v14 MOBILE RESPONSIVE ──────── */
@media (max-width: 768px) {
    .grav-lens-warp,
    .entangled-cursor,
    .holo-3d-parallax { display: none !important; }
    .emotion-storm-canvas { opacity: 0.5 !important; }
    .heartbeat-grid-canvas { opacity: 0.15 !important; }
}

/* ═══════════════════════════════════════════════════════════
   v14 — REAL AI FEATURES CSS
   ═══════════════════════════════════════════════════════════ */

/* ──────── AI SMART ASSISTANT WIDGET ──────── */
.ai-assistant-widget {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}
.ai-assist-btn {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: #1d1d1f !important;
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-assist-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 24px rgba(0,0,0,0.25) !important;
}
.ai-assist-btn.active {
    transform: scale(0.94);
    background: #1d1d1f !important;
}
.ai-assist-icon {
    display: flex; align-items: center; justify-content: center;
    position: relative; width: 52px !important; height: 52px !important;
    border-radius: 50%;
    background: none !important;
    overflow: hidden;
    animation: none !important;
}
.ai-bubble-canvas { display: none !important; }
.ai-blob-text {
    position: relative !important;
    z-index: 5;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #34C759 !important;
    box-shadow: 0 0 6px rgba(52,199,89,0.6), 0 0 12px rgba(52,199,89,0.3) !important;
    animation: dotBlink 2s ease-in-out infinite !important;
    font-size: 0 !important;
    color: transparent !important;
    text-shadow: none !important;
    pointer-events: none;
}
@keyframes dotBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(52,199,89,0.6), 0 0 12px rgba(52,199,89,0.3); }
    50% { opacity: 0.4; box-shadow: 0 0 3px rgba(52,199,89,0.3); }
}
.ai-assist-label {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #FF6B6B;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}
.ai-assist-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(108, 99, 255, 0.6);
    animation: aiPulse 2s ease-in-out infinite;
}
@keyframes aiPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 0; }
}

/* Panel */
.ai-assist-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    max-height: 480px;
    background: rgba(20, 20, 30, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.ai-assist-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.ai-assist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(78, 205, 196, 0.1));
    border-bottom: 1px solid rgba(108, 99, 255, 0.15);
}
.ai-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ai-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ECDC4;
    animation: aiDotBlink 2s ease-in-out infinite;
}
@keyframes aiDotBlink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.ai-title {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}
.ai-status {
    font-size: 11px;
    color: #4ECDC4;
    font-weight: 500;
}
.ai-assist-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    max-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ai-message {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.ai-message-user {
    flex-direction: row-reverse;
}
.ai-avatar {
    font-size: 18px;
    flex-shrink: 0;
}
.ai-bubble {
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    max-width: 85%;
}
.ai-message-user .ai-bubble {
    background: rgba(78, 205, 196, 0.15);
    border-color: rgba(78, 205, 196, 0.25);
}
.ai-typing {
    color: rgba(255,255,255,0.5);
    animation: aiTyping 0.8s ease-in-out infinite alternate;
}
@keyframes aiTyping { from{opacity:0.3} to{opacity:0.8} }

.ai-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
    border-top: 1px solid rgba(108, 99, 255, 0.1);
}
.ai-quick-btn {
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.ai-quick-btn:hover {
    background: rgba(108, 99, 255, 0.25);
    border-color: rgba(108, 99, 255, 0.4);
    transform: translateY(-1px);
}
.ai-input-row {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid rgba(108, 99, 255, 0.1);
}
.ai-input {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.ai-input:focus { border-color: #6C63FF; }
.ai-input::placeholder { color: rgba(255,255,255,0.35); }
.ai-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C63FF, #4ECDC4);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.ai-send-btn:hover { transform: scale(1.1); }

/* Attach button (image upload) */
.ai-attach-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.25);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.ai-attach-btn:hover {
    background: rgba(108, 99, 255, 0.3);
    color: #fff;
    transform: scale(1.1);
}
/* Image preview */
.ai-image-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(108, 99, 255, 0.08);
    border-top: 1px solid rgba(108, 99, 255, 0.1);
}
.ai-image-preview img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 8px;
    object-fit: cover;
}
.ai-image-preview button {
    background: rgba(255,60,60,0.2);
    border: none;
    color: #ff6b6b;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-image-preview button:hover { background: rgba(255,60,60,0.4); }

/* Auto-tip */
.ai-auto-tip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.ai-auto-tip.show {
    opacity: 1;
    transform: translateY(0);
}

/* ──────── AI CONTEXT BANNER ──────── */
.ai-context-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(78, 205, 196, 0.08));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 99, 255, 0.15);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ai-context-banner.show {
    transform: translateY(0);
    opacity: 1;
}
.ai-banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ai-banner-icon { font-size: 20px; }
.ai-banner-text {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}
.ai-banner-text strong { color: #fff; }
.ai-banner-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.ai-banner-close {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.ai-banner-close:hover { color: #fff; }

/* ──────── AI LIVE STATS ──────── */
.ai-live-stats {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;
    background: rgba(20, 20, 30, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 16px;
    padding: 14px 18px;
    min-width: 200px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.ai-live-stats.visible {
    opacity: 1;
    transform: translateX(0);
}
.ai-stats-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.ai-stats-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ECDC4;
    animation: aiDotBlink 1.5s ease-in-out infinite;
}
.ai-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ai-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.ai-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    min-width: 50px;
    text-align: right;
}
.ai-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

/* ──────── AI TRENDING BADGE ──────── */
.ai-trending-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}
.ai-trending-badge.show {
    opacity: 1;
    transform: scale(1);
}

/* ──────── AI PAGE INSIGHT ──────── */
.ai-page-insight {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 30px;
    padding: 8px 18px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 10;
}
.ai-page-insight.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.ai-insight-icon { font-size: 16px; }
.ai-insight-text {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
}

/* ──────── LIGHT THEME OVERRIDES ──────── */
[data-theme="light"] .ai-assist-panel {
    background: rgba(255,255,255,0.96);
    border-color: rgba(108, 99, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
[data-theme="light"] .ai-title { color: #1a1a2e; }
[data-theme="light"] .ai-bubble {
    color: #1a1a2e;
    background: rgba(108, 99, 255, 0.08);
    border-color: rgba(108, 99, 255, 0.12);
}
[data-theme="light"] .ai-message-user .ai-bubble {
    background: rgba(78, 205, 196, 0.1);
    border-color: rgba(78, 205, 196, 0.18);
}
[data-theme="light"] .ai-quick-btn {
    color: #333;
    background: rgba(108, 99, 255, 0.06);
    border-color: rgba(108, 99, 255, 0.12);
}
[data-theme="light"] .ai-input {
    background: rgba(0,0,0,0.04);
    border-color: rgba(108, 99, 255, 0.15);
    color: #1a1a2e;
}
[data-theme="light"] .ai-input::placeholder { color: rgba(0,0,0,0.35); }
[data-theme="light"] .ai-auto-tip {
    background: rgba(255,255,255,0.96);
    color: #333;
    border-color: rgba(108, 99, 255, 0.15);
}
[data-theme="light"] .ai-context-banner {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(78, 205, 196, 0.06));
    border-bottom-color: rgba(108, 99, 255, 0.1);
}
[data-theme="light"] .ai-banner-text { color: #333; }
[data-theme="light"] .ai-banner-text strong { color: #1a1a2e; }
[data-theme="light"] .ai-banner-close { color: rgba(0,0,0,0.4); }
[data-theme="light"] .ai-banner-close:hover { color: #000; }
[data-theme="light"] .ai-live-stats {
    background: rgba(255,255,255,0.94);
    border-color: rgba(108, 99, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
[data-theme="light"] .ai-stats-header { color: rgba(0,0,0,0.5); }
[data-theme="light"] .ai-stat-value { color: #1a1a2e; }
[data-theme="light"] .ai-stat-label { color: rgba(0,0,0,0.45); }
[data-theme="light"] .ai-page-insight {
    background: rgba(255,255,255,0.9);
    border-color: rgba(108, 99, 255, 0.12);
}
[data-theme="light"] .ai-insight-text { color: rgba(0,0,0,0.7); }

/* ──────── AI FEATURES MOBILE ──────── */
@media (max-width: 768px) {
    .ai-assistant-widget { bottom: 24px; right: 16px; }
    .ai-assist-btn { width: 44px !important; height: 44px !important; box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important; }
    .ai-assist-icon { width: 44px !important; height: 44px !important; }
    .ai-blob-text { width: 8px !important; height: 8px !important; }
    .ai-assist-pulse { display: none; }
    .ai-bubble-canvas { display: none !important; }
    .ai-auto-tip { display: none !important; }
    .ai-assist-panel {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 60px;
        max-height: 400px;
    }
    .ai-live-stats { display: none; }
    .ai-context-banner { padding: 8px 12px; }
    .ai-banner-text { font-size: 11px; }
    .ai-banner-tag { display: none; }
    .ai-page-insight { padding: 6px 12px; }
    .ai-insight-text { font-size: 10px; }
    .ai-trending-badge { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   APPLE MASTER OVERRIDES — Final Layer
   These override everything else for a true Apple.com look
   ═══════════════════════════════════════════════════════════ */

/* Force white/light page background everywhere */
html, body {
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
}

/* Logo must be BLACK on light backgrounds */
.logo-img {
    filter: brightness(0) saturate(100%) !important;
}
.logo-img:hover {
    filter: brightness(0) saturate(100%) !important;
    opacity: 0.7 !important;
}

/* Navbar — Apple.com exact replica */
.navbar {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    height: 44px !important;
    box-shadow: none !important;
    z-index: 10000 !important;
    isolation: isolate !important;
}
.navbar.scrolled {
    background: #ffffff !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.nav-link { color: rgba(0, 0, 0, 0.8) !important; font-size: 12px !important; font-weight: 400 !important; background: transparent !important; padding: 0 10px !important; line-height: 44px !important; }
.nav-link:hover { color: rgba(0, 0, 0, 0.56) !important; opacity: 1 !important; background: transparent !important; }
.nav-link.active { color: rgba(0, 0, 0, 0.8) !important; font-weight: 400 !important; background: transparent !important; }
.nav-link::after { display: none !important; }

/* Nav CTA — Apple blue pill */
.nav-cta {
    background: #0071e3 !important;
    color: white !important;
    border-radius: 980px !important;
    padding: 4px 14px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    border: none !important;
    line-height: 1.33337 !important;
    letter-spacing: -0.01em !important;
}
.nav-cta:hover {
    background: #0077ED !important;
    box-shadow: none !important;
    transform: none !important;
}
.nav-cta::before { display: none !important; }

/* Hide theme toggle for clean Apple look */
.theme-toggle { display: none !important; }

/* Hero text — dark on light pages, white on homepage video */
.hero-title {
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
}
#heroSection .hero-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Gradient text — Apple style */
.gradient-text {
    background: linear-gradient(90deg, #2997ff, #0071e3, #bf5af2) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: prismaticText 6s ease-in-out infinite !important;
    filter: none !important;
}

/* Hero subtitle — Apple gray */
.hero-subtitle {
    color: #86868b !important;
    -webkit-text-fill-color: #86868b !important;
}

/* Buttons — exactly like Apple */
.btn-primary {
    background: #0071e3 !important;
    color: white !important;
    border-radius: 980px !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 400 !important;
    font-size: 17px !important;
    padding: 12px 28px !important;
}
.btn-primary:hover {
    background: #0077ED !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn-outline {
    background: transparent !important;
    color: #0071e3 !important;
    border: 2px solid #0071e3 !important;
    border-radius: 980px !important;
    font-weight: 400 !important;
    font-size: 17px !important;
    padding: 11px 28px !important;
    backdrop-filter: none !important;
}
.btn-outline:hover {
    background: #0071e3 !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Section tags — Apple blue pills */
.section-tag {
    color: #0071e3 !important;
    background: transparent !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Section titles — Apple large bold black */
.section-title {
    color: #1d1d1f !important;
    font-size: clamp(2.4rem, 5vw, 4rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
}

/* Section subtitles — Apple muted gray */
.section-subtitle {
    color: #86868b !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
}

/* Cards — clean white with subtle shadow */
.service-card, .persona-card, .portfolio-card, .reach-stat,
.feature-card, .price-card, .solution-card,
.indoor-outdoor-card, .contact-card, .blog-card, .plan-card,
.marketplace-card, .standee-card, .spec-card, .step-card,
.benefit-card, .pricing-card, .product-card, .dash-stat, .dash-panel {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    border-radius: 18px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
}
.service-card:hover, .persona-card:hover, .portfolio-card:hover,
.feature-card:hover, .price-card:hover,
.solution-card:hover, .blog-card:hover, .plan-card:hover,
.marketplace-card:hover, .standee-card:hover, .spec-card:hover,
.step-card:hover, .benefit-card:hover, .pricing-card:hover, .product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
}
.blog-grid .blog-card,
.blog-grid .blog-card:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
    overflow: visible !important;
}

/* No pseudo-element decorations on any card */
.service-card::before, .service-card::after,
.persona-card::before, .persona-card::after,
.portfolio-card::before, .portfolio-card::after,
.feature-card::after, .price-card::after,
.solution-card::after, .blog-card::after, .plan-card::after,
.marketplace-card::after, .standee-card::after, .spec-card::after,
.step-card::after, .benefit-card::after, .pricing-card::after, .product-card::after,
.reach-stat::after {
    display: none !important;
}

/* Section dividers — invisible */
.section + .section::before {
    display: none !important;
}

/* Footer — Apple light gray */
.footer {
    background: #ffffff !important;
    border-top: 1px solid #d2d2d7 !important;
}
.footer-col h4 { color: #1d1d1f !important; }
.footer-col a { color: #424245 !important; }
.footer-col a:hover { color: #0071e3 !important; }

/* Kill all dark background effects */
.liquid-mesh, #neural-canvas, .grid-pattern, .cursor-dot, .cursor-ring, .cursor-glow {
    display: none !important;
}

/* Film grain — gone */
body::after {
    display: none !important;
}

/* Mobile nav — Apple.com clone */
@media (max-width: 768px) {
    .nav-links,
    [data-theme="light"] .nav-links {
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 56px 48px 48px !important;
        gap: 0 !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .nav-link {
        display: block !important;
        font-size: 28px !important;
        font-weight: 600 !important;
        color: #6e6e73 !important;
        padding: 0 !important;
        line-height: 1.15 !important;
        margin-bottom: 20px !important;
        border: none !important;
        border-radius: 0 !important;
        text-align: left !important;
        width: auto !important;
    }
    .nav-link:first-child {
        font-weight: 700 !important;
        color: #1d1d1f !important;
    }
    .nav-link:last-child { border-bottom: none !important; margin-bottom: 0 !important; }
}
