/* Core Design Tokens & Variables */
:root {
    --bg-dark: #080a10;
    --bg-card: rgba(18, 22, 35, 0.65);
    --bg-card-hover: rgba(28, 34, 52, 0.85);
    --border-color: rgba(0, 242, 254, 0.15);
    --border-hover: rgba(0, 242, 254, 0.4);
    
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.35);
    --secondary: #4facfe;
    --secondary-glow: rgba(79, 172, 254, 0.3);
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.25);
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: blur(12px);
    --shadow-neon: 0 0 20px rgba(0, 242, 254, 0.15);
    --shadow-neon-strong: 0 0 35px rgba(0, 242, 254, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

/* Faster first paint for off-screen sections without changing layout */
.stats-section,
.benefits-section,
.timeline-section,
.gallery-section,
.media-section,
.diagnostic-section,
.consultation-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Utilities & Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 20px 0;
}

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Badges & Buttons */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-neon);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-xs {
    padding: 6px 12px;
    font-size: 0.75rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #040608;
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow), var(--shadow-neon-strong);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-block {
    width: 100%;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}

.btn-link:hover {
    color: var(--secondary);
    gap: 8px;
}

/* Floating Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 10, 16, 0.75);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(8, 10, 16, 0.9);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-neon);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-end {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.mobile-consultation-link {
    display: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
    transition: var(--transition-smooth);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-smooth);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

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

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

.hero-glow-orb-1, .hero-glow-orb-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.15;
}

.hero-glow-orb-1 {
    top: 10%;
    right: 10%;
    width: 450px;
    height: 450px;
    background: var(--primary);
    animation: floatOrb 12s infinite alternate;
}

.hero-glow-orb-2 {
    bottom: 10%;
    left: 5%;
    width: 350px;
    height: 350px;
    background: var(--secondary);
    animation: floatOrb 10s infinite alternate-reverse;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    overflow-wrap: anywhere;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.profile-card {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 12px;
    background: rgba(18, 22, 35, 0.4);
    backdrop-filter: var(--glass-blur);
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.profile-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon-strong);
    transform: translateY(-5px);
}

.profile-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1.15;
    filter: brightness(0.95) contrast(1.02);
}

.profile-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(8, 10, 16, 0.85);
    border: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    padding: 10px 16px;
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: 4;
}

/* Stats Counter Section */
.stats-section {
    padding: 80px 0;
    position: relative;
    z-index: 5;
}

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

.stat-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
}

.stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 254, 0.08);
    border-radius: 50%;
    color: var(--primary);
    box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-number-wrapper, .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

/* UK Cyber Benefits Matrix */
.benefits-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, var(--bg-dark), rgba(12, 16, 26, 0.8), var(--bg-dark));
}

.tabs-container {
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
    background: rgba(0, 242, 254, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.tab-content-wrapper {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.tab-text h3 {
    font-size: 1.85rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.tab-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.benefit-list li strong {
    color: var(--text-primary);
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Tab Visualizations */
.tab-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 100%;
    max-width: 320px;
    height: 320px;
    background: rgba(10, 12, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0, 242, 254, 0.05);
}

.visual-svg {
    width: 80px;
    height: 80px;
    color: var(--primary);
    margin-bottom: 24px;
    z-index: 2;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.visual-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.7) contrast(1.05);
    transition: var(--transition-smooth);
    z-index: 1;
}

.visual-card:hover .visual-img-full {
    transform: scale(1.05);
    filter: brightness(0.85) contrast(1.02);
}

.visual-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    z-index: 2;
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 10px;
    right: 10px;
    background: rgba(8, 10, 16, 0.8);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
}

.pulse-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(0, 242, 254, 0.2);
    border-radius: 50%;
    animation: ringPulse 3s infinite linear;
    z-index: 2;
    pointer-events: none;
}

.radar-scan {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 254, 0.1);
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.radar-scan::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(0, 242, 254, 0.2), transparent 40%);
    animation: spin 4s infinite linear;
}

.network-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 242, 254, 0.15) 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

.sound-wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
    margin-bottom: 20px;
    z-index: 2;
    position: absolute;
    top: 30px;
}

.sound-wave span {
    width: 4px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: wave 1.2s infinite ease-in-out alternate;
}

.sound-wave span:nth-child(1) { height: 10px; animation-delay: -0.1s; }
.sound-wave span:nth-child(2) { height: 35px; animation-delay: -0.5s; }
.sound-wave span:nth-child(3) { height: 48px; animation-delay: -0.3s; }
.sound-wave span:nth-child(4) { height: 25px; animation-delay: -0.7s; }
.sound-wave span:nth-child(5) { height: 15px; animation-delay: -0.2s; }

/* Selected Casework */
.casework-section {
    padding: 110px 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 50% at 12% 18%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%),
        radial-gradient(ellipse 55% 45% at 88% 8%, color-mix(in srgb, var(--secondary) 14%, transparent), transparent 55%),
        linear-gradient(160deg, color-mix(in srgb, var(--bg-dark) 92%, var(--primary) 8%), var(--bg-dark) 48%, color-mix(in srgb, var(--bg-dark) 90%, #0b1f2e 10%));
}

.casework-section > .container {
    position: relative;
    z-index: 2;
}

.casework-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.casework-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    animation: casework-orb-drift 14s ease-in-out infinite alternate;
}

.casework-orb--one {
    width: 340px;
    height: 340px;
    top: -80px;
    left: -40px;
    background: color-mix(in srgb, var(--primary) 55%, transparent);
}

.casework-orb--two {
    width: 280px;
    height: 280px;
    right: -60px;
    top: 18%;
    background: color-mix(in srgb, var(--secondary) 50%, transparent);
    animation-duration: 18s;
    animation-delay: -4s;
}

.casework-orb--three {
    width: 420px;
    height: 220px;
    left: 28%;
    bottom: -90px;
    background: color-mix(in srgb, var(--accent) 35%, transparent);
    animation-duration: 16s;
    animation-delay: -7s;
}

.casework-spark-field {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35) 0 1px, transparent 2px),
        radial-gradient(circle at 70% 20%, rgba(0, 242, 254, 0.55) 0 1px, transparent 2px),
        radial-gradient(circle at 40% 75%, rgba(79, 172, 254, 0.45) 0 1px, transparent 2px),
        radial-gradient(circle at 85% 65%, rgba(255, 255, 255, 0.28) 0 1px, transparent 2px),
        radial-gradient(circle at 55% 45%, rgba(16, 185, 129, 0.4) 0 1px, transparent 2px);
    background-size: 100% 100%;
    opacity: 0.35;
    animation: casework-sparkle 8s linear infinite;
}

@keyframes casework-orb-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(36px, 28px, 0) scale(1.12); }
}

@keyframes casework-sparkle {
    from { opacity: 0.22; transform: translateY(0); }
    50% { opacity: 0.42; }
    to { opacity: 0.22; transform: translateY(-18px); }
}

.casework-kicker {
    margin-bottom: 12px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.casework-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 0 34px;
}

.casework-stats div,
.casework-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 16px;
    border: 1px solid color-mix(in srgb, var(--border-color) 70%, var(--primary) 30%);
    border-radius: 14px;
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--bg-card) 92%, transparent), color-mix(in srgb, var(--bg-card-hover) 70%, transparent));
    text-align: center;
    backdrop-filter: blur(8px);
}

.casework-stats strong,
.casework-stat strong {
    display: block;
    width: 100%;
    margin: 0;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.15;
    text-shadow: 0 0 16px var(--primary-glow);
}

.casework-stats span,
.casework-stat span {
    display: block;
    width: 100%;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.35;
}

.casework-reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(8px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.7s ease;
    transition-delay: var(--reveal-delay, 0s);
}

.casework-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.casework-modal-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.casework-feature {
    position: relative;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 42px;
    padding: 44px;
    margin-bottom: 26px;
    border: 1px solid color-mix(in srgb, var(--border-color) 70%, var(--primary) 30%);
    border-radius: 18px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--bg-card) 88%, transparent), color-mix(in srgb, var(--bg-card-hover) 70%, transparent));
    box-shadow: var(--shadow-neon);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.casework-feature::before,
.casework-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        420px circle at var(--shine-x, 50%) var(--shine-y, 20%),
        color-mix(in srgb, var(--primary) 22%, transparent),
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casework-feature.is-tilting::before,
.casework-card.is-tilting::before,
.casework-card:hover::before {
    opacity: 1;
}

.casework-feature-meta {
    position: relative;
    z-index: 1;
    padding-top: 4px;
    border-right: 1px solid var(--border-color);
}

.casework-feature-meta span,
.casework-number {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.casework-feature-meta p {
    margin-top: 12px;
    padding-right: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.45;
}

.casework-signal {
    display: inline-flex;
    margin-top: 18px;
    padding: 6px 10px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 999px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.casework-feature-content {
    position: relative;
    z-index: 1;
}

.casework-feature-content h3,
.casework-card h3 {
    color: var(--text-primary);
}

.casework-feature-content h3 {
    max-width: 750px;
    margin-bottom: 16px;
    font-size: 2rem;
}

.casework-feature-content > p,
.casework-card > p {
    color: var(--text-secondary);
}

.casework-feature-content > p {
    max-width: 800px;
}

.casework-highlights,
.casework-card-points {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.casework-highlights li,
.casework-card-points li {
    position: relative;
    padding-left: 16px;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.45;
}

.casework-highlights li::before,
.casework-card-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.casework-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
}

.casework-link span {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.casework-link:hover span,
.casework-link:focus-visible span {
    transform: translateX(4px);
}

.casework-link:focus-visible,
.casework-modal-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.casework-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.casework-metrics div,
.casework-takeaway {
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.casework-metrics strong {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.65rem;
    text-shadow: 0 0 18px var(--primary-glow);
}

.casework-metrics span,
.casework-takeaway span {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.4;
}

.casework-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.casework-grid--compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.casework-card {
    position: relative;
    display: flex;
    min-height: 340px;
    flex-direction: column;
    padding: 26px 22px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--bg-card) 92%, transparent), color-mix(in srgb, var(--bg-card-hover) 65%, transparent));
    backdrop-filter: blur(8px);
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
    transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.casework-card--compact {
    min-height: 210px;
    padding: 22px 20px;
    animation: casework-card-float 7s ease-in-out infinite;
}

.casework-card--compact:nth-child(2n) {
    animation-delay: -2.2s;
}

.casework-card--compact:nth-child(3n) {
    animation-delay: -4.4s;
}

@keyframes casework-card-float {
    0%, 100% { box-shadow: 0 0 0 transparent; }
    50% { box-shadow: 0 0 28px color-mix(in srgb, var(--primary) 18%, transparent); }
}

.casework-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.casework-card:hover,
.casework-card.is-tilting {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-neon), 0 18px 40px rgba(0, 0, 0, 0.28);
}

.casework-card:hover {
    transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
}

.casework-tag {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 0;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--secondary) 40%, transparent);
    color: var(--secondary);
    font-family: var(--font-heading);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--secondary) 12%, transparent);
    white-space: nowrap;
}

.casework-card h3 {
    margin: 14px 0 12px;
    font-size: 1.18rem;
    line-height: 1.25;
}

.casework-card--compact h3 {
    margin: 16px 0 10px;
    font-size: 1.12rem;
}

.casework-card > p {
    font-size: 0.88rem;
    line-height: 1.55;
}

.casework-card--compact > p {
    margin-bottom: 8px;
    font-size: 0.86rem;
}

.casework-card--compact .casework-link {
    margin-top: auto;
}

.casework-card-points {
    margin: 14px 0 8px;
}

.casework-takeaway {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
}

.casework-takeaway strong {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.casework-note {
    max-width: 850px;
    margin: 28px auto 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
    text-align: center;
}

.casework-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.casework-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.casework-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 42%),
        rgba(3, 7, 18, 0.72);
    backdrop-filter: blur(8px);
}

.casework-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    max-height: min(820px, calc(100vh - 48px));
    overflow-y: auto;
    padding: 48px;
    border: 1px solid color-mix(in srgb, var(--border-color) 60%, var(--primary) 40%);
    border-radius: 18px;
    background:
        linear-gradient(165deg, color-mix(in srgb, var(--bg-card) 92%, #0b1524), color-mix(in srgb, var(--bg-dark) 88%, #102033));
    box-shadow: var(--shadow-neon-strong), 0 0 80px color-mix(in srgb, var(--primary) 18%, transparent);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.casework-modal.is-open .casework-modal-panel {
    transform: translateY(0) scale(1);
    animation: casework-modal-glow 2.8s ease-in-out infinite alternate;
}

@keyframes casework-modal-glow {
    from { box-shadow: var(--shadow-neon-strong), 0 0 50px color-mix(in srgb, var(--primary) 12%, transparent); }
    to { box-shadow: var(--shadow-neon-strong), 0 0 90px color-mix(in srgb, var(--secondary) 22%, transparent); }
}

.casework-modal-panel h2 {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 2rem;
}

.casework-modal-image {
    width: 100%;
    aspect-ratio: 16 / 7;
    margin: 0 0 24px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    object-fit: cover;
}

.casework-modal-panel > p {
    color: var(--text-secondary);
    font-size: 1.03rem;
}

.casework-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 4px;
}

.casework-modal-meta span {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.casework-modal-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 22px 0 8px;
}

.casework-modal-metrics div {
    padding: 14px 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: color-mix(in srgb, var(--bg-card-hover) 70%, transparent);
}

.casework-modal-metrics strong {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.1;
    text-shadow: 0 0 18px var(--primary-glow);
}

.casework-modal-metrics span {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.35;
}

.casework-modal-timeline {
    display: grid;
    gap: 12px;
    counter-reset: case-step;
}

.casework-modal-timeline li {
    position: relative;
    padding-left: 34px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.casework-modal-timeline li::before {
    counter-increment: case-step;
    content: counter(case-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 18%, transparent);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 0 12px var(--primary-glow);
}

.casework-modal-block--playbook {
    border-left-color: var(--primary);
}

.casework-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-dark);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.casework-modal-detail,
.casework-modal-block {
    margin: 22px 0;
    padding: 22px;
    border-left: 3px solid var(--accent);
    background: color-mix(in srgb, var(--bg-card-hover) 78%, transparent);
}

.casework-modal-detail h3,
.casework-modal-block h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.casework-modal-detail p,
.casework-modal-note,
.casework-modal-block li {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.casework-modal-block ul {
    display: grid;
    gap: 10px;
}

.casework-modal-block li {
    position: relative;
    padding-left: 16px;
    line-height: 1.5;
}

.casework-modal-block li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.casework-source-link {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 700;
}

.casework-source-link:hover {
    color: var(--secondary);
}

.casework-modal-note {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
}

body.casework-modal-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .casework-orb,
    .casework-spark-field,
    .casework-card--compact,
    .casework-modal.is-open .casework-modal-panel {
        animation: none !important;
    }

    .casework-reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .casework-feature,
    .casework-card {
        transform: none !important;
    }
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--border-color) 15%, var(--border-color) 85%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    left: 50%;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 100%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 3px solid var(--primary);
    transform: translate(-50%, 0);
    z-index: 2;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-marker {
    left: 0;
}

.timeline-item:hover .timeline-marker {
    background-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    transform: translate(-50%, 0) scale(1.2);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.925rem;
    color: var(--text-secondary);
}

.timeline-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 16px;
    border: 1px solid var(--border-color);
    filter: brightness(0.9);
}

/* Gallery Section Styles */
.gallery-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, var(--bg-dark), rgba(12, 16, 26, 0.4), var(--bg-dark));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.gallery-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
    transform: translateY(-5px);
}

.gallery-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 10, 16, 0.9), transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.gallery-info {
    margin-top: 16px;
    padding: 0 8px 8px;
}

.gallery-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Media & Publications Section */
.media-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, var(--bg-dark), rgba(12, 16, 26, 0.8), var(--bg-dark));
}

.media-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-top: 50px;
}

.books-display h3, .media-channels h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.books-display h3::after, .media-channels h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.books-banner-wrapper {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.books-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.95);
    transition: var(--transition-smooth);
}

.books-banner-wrapper:hover .books-banner {
    transform: scale(1.01);
}

.podcast-banner-wrapper {
    width: 100%;
    height: 220px;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.podcast-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: var(--transition-smooth);
}

.podcast-banner-wrapper:hover .podcast-banner {
    transform: scale(1.02);
}

.books-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.book-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.book-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.book-cover {
    width: 120px;
    height: 180px;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    color: white;
    font-family: var(--font-heading);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.book-cover.hidden-files {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    border-right: 3px solid #6b21a8;
}

.book-cover.trojan {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-right: 3px solid #0284c7;
}

.book-spine {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.book-cover .book-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    text-align: left;
}

.book-cover .book-author {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
}

.book-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.book-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    min-height: 72px;
}

.media-channels .media-intro {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.film-feature {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    align-items: center;
    margin-top: 50px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-neon);
    transition: var(--transition-smooth);
}

.film-feature:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon-strong);
}

.film-poster-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.film-poster {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.film-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.film-content h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.film-content > p {
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 18px;
}

.film-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.film-meta li {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.film-meta li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--primary);
    vertical-align: middle;
}

.channels-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.channel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
}

.channel-card:hover {
    border-color: var(--border-hover);
    transform: translateX(5px);
    box-shadow: var(--shadow-neon);
}

.channel-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.channel-card.spotify .channel-icon {
    background: rgba(29, 185, 84, 0.1);
    color: #1db954;
}

.channel-card.apple .channel-icon {
    background: rgba(252, 60, 89, 0.1);
    color: #fc3c59;
}

.channel-details h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.channel-details span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Diagnostic Section */
.diagnostic-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

.diagnostic-wrapper {
    background: linear-gradient(135deg, rgba(16, 20, 32, 0.8) 0%, rgba(10, 12, 20, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.diagnostic-info h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.diagnostic-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.badge-partner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.badge-partner strong {
    color: var(--primary);
}

/* Diagnostic Widget */
.diagnostic-widget {
    background: rgba(8, 10, 16, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget-step {
    width: 100%;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

select {
    width: 100%;
    background-color: rgba(18, 22, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    outline: none;
    transition: var(--transition-smooth);
    position: relative;
}

.radio-label input[type="radio"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.radio-label input[type="radio"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

.radio-label span {
    font-size: 0.925rem;
    color: var(--text-secondary);
}

/* Loader in Widget */
.cyber-loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 242, 254, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s infinite linear;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Diagnostic Results */
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.results-header h3 {
    font-size: 1.25rem;
}

.result-risk-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.risk-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.risk-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.risk-badge.critical { background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; color: #ef4444; }
.risk-badge.high { background: rgba(249, 115, 22, 0.15); border: 1px solid #f97316; color: #f97316; }
.risk-badge.medium { background: rgba(234, 179, 8, 0.15); border: 1px solid #eab308; color: #eab308; }

.recommendation-block {
    margin-bottom: 20px;
}

.recommendation-block h5 {
    font-size: 0.85rem;
    font-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.recommendation-block p {
    font-size: 0.925rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Footer Section */
.footer {
    background-color: #040608;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0;
    position: relative;
    z-index: 5;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.95rem;
}

.footer-links {
    max-width: 400px;
}

.footer-links h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.partner-logo:hover {
    color: var(--primary);
}

.ap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
}

.ap-uk {
    font-size: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 2px 4px;
    color: var(--text-secondary);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 242, 254, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
    }
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, -40px) scale(1.15);
    }
}

@keyframes ringPulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

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

@keyframes wave {
    0% {
        transform: scaleY(0.2);
    }
    100% {
        transform: scaleY(1);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 64px !important;
        padding-right: 0 !important;
        justify-content: flex-start;
    }
    .timeline-marker {
        left: 31px !important;
    }
    .media-layout {
        grid-template-columns: 1fr;
    }
    .film-feature {
        grid-template-columns: 140px 1fr;
        gap: 24px;
        padding: 22px;
    }
    .film-content h3 {
        font-size: 1.45rem;
    }
    .diagnostic-wrapper {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .casework-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .casework-grid--compact {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-menu {
        gap: 14px;
    }
    .nav-link {
        font-size: 0.82rem;
    }
    .btn-sm {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.75rem;
        overflow-wrap: anywhere;
    }
    .logo {
        font-size: 1.25rem;
    }
    .theme-switcher-btn {
        width: 40px;
        height: 40px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .casework-section {
        padding: 78px 0;
    }
    .casework-feature {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px;
    }
    .casework-feature-meta {
        display: flex;
        align-items: baseline;
        gap: 16px;
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
        padding: 0 0 18px;
    }
    .casework-feature-meta p {
        margin: 0;
        padding: 0;
    }
    .casework-feature-content h3 {
        font-size: 1.6rem;
    }
    .casework-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .casework-grid,
    .casework-grid--compact {
        grid-template-columns: 1fr;
    }
    .casework-card,
    .casework-card--compact {
        min-height: 0;
        animation: none;
    }
    .casework-highlights {
        margin-top: 14px;
    }
    .casework-modal-metrics {
        grid-template-columns: 1fr;
    }
    .casework-modal {
        padding: 12px;
        align-items: stretch;
    }
    .casework-modal-panel {
        padding: 36px 20px 24px;
        max-height: calc(100dvh - 24px);
        width: 100%;
        border-radius: 12px;
    }
    .casework-orb {
        filter: blur(48px);
        opacity: 0.28;
    }
    .film-feature {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .film-poster-wrap {
        max-width: 220px;
        margin: 0 auto;
    }
    .film-content > p {
        margin-left: auto;
        margin-right: auto;
    }
    .film-meta {
        justify-content: center;
    }
    .film-content .btn {
        width: 100%;
        max-width: 320px;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(8, 10, 16, 0.95);
        backdrop-filter: var(--glass-blur);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        gap: 20px;
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-consultation-link {
        display: block;
        color: var(--primary);
        font-weight: 700;
    }
    .mobile-toggle {
        display: flex;
    }
    .nav-cta-wrapper {
        display: none;
    }
    .nav-container {
        padding: 12px 16px;
    }
    .nav-end {
        gap: 8px;
    }
    .tab-grid {
        grid-template-columns: 1fr;
    }
    .tab-visual {
        order: -1;
    }
    .books-slider {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .casework-metrics {
        grid-template-columns: 1fr;
    }
    .casework-card {
        min-height: 240px;
    }
}

@media (max-width: 480px) {
    .casework-feature {
        padding: 24px;
    }
    .casework-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.15rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }
    .logo {
        font-size: 1.15rem;
    }
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
    .hero-lead,
    .section-lead {
        font-size: 0.98rem;
    }
    .media-section,
    .benefits-section,
    .profile-section,
    .timeline-section,
    .gallery-section,
    .diagnostic-section,
    .casework-section {
        padding-left: 0;
        padding-right: 0;
    }
    .container {
        padding: 0 16px;
    }
    .film-feature {
        padding: 18px;
        margin-top: 32px;
    }
    .film-poster-wrap {
        max-width: 180px;
    }
    .film-content h3 {
        font-size: 1.3rem;
    }
    .tabs-nav {
        flex-wrap: wrap;
        gap: 8px;
    }
    .tab-btn {
        flex: 1 1 calc(50% - 8px);
        min-height: 44px;
        font-size: 0.85rem;
    }
    .mobile-toggle {
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ==========================================================================
   THEME SWITCHING SYSTEM
   ========================================================================== */

/* Theme Variables Redefinition */
body.theme-cyber {
    /* Quantum Cyber (Default) variables remain as defined in :root */
}

body.theme-executive {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --primary: #1d4ed8;
    --primary-glow: rgba(29, 78, 216, 0.15);
    --secondary: #0369a1;
    --secondary-glow: rgba(3, 105, 161, 0.15);
    --accent: #0d9488;
    --accent-glow: rgba(13, 148, 136, 0.15);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --glass-blur: none;
    --shadow-neon: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-neon-strong: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
}

body.theme-stealth {
    --bg-dark: #0b0c10;
    --bg-card: rgba(31, 40, 51, 0.65);
    --bg-card-hover: rgba(31, 40, 51, 0.95);
    --border-color: rgba(255, 183, 3, 0.18);
    --border-hover: rgba(255, 183, 3, 0.5);
    --primary: #ffb703;
    --primary-glow: rgba(255, 183, 3, 0.25);
    --secondary: #fb8500;
    --secondary-glow: rgba(251, 133, 0, 0.2);
    --accent: #2ec4b6;
    --accent-glow: rgba(46, 196, 182, 0.2);
    --text-primary: #e5e5e5;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Space Mono', monospace;
    --glass-blur: blur(8px);
    --shadow-neon: 0 0 15px rgba(255, 183, 3, 0.12);
    --shadow-neon-strong: 0 0 30px rgba(255, 183, 3, 0.25);
}

body.theme-brutalist {
    --bg-dark: #f3f4f6;
    --bg-card: #ffffff;
    --bg-card-hover: #f3f4f6;
    --border-color: #000000;
    --border-hover: #000000;
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.2);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.2);
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.2);
    --text-primary: #000000;
    --text-secondary: #1f2937;
    --text-muted: #4b5563;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Space Mono', monospace;
    --glass-blur: none;
    --shadow-neon: 4px 4px 0px #000000;
    --shadow-neon-strong: 8px 8px 0px #000000;
}

/* Executive Theme Styling Overrides */
body.theme-executive {
    color: #0f172a;
}
body.theme-executive h1,
body.theme-executive h2,
body.theme-executive h3,
body.theme-executive h4,
body.theme-executive h5,
body.theme-executive h6,
body.theme-executive .section-header h2,
body.theme-executive .logo {
    color: #0f172a;
}
body.theme-executive p,
body.theme-executive .section-lead,
body.theme-executive .hero-lead,
body.theme-executive .nav-link {
    color: #334155;
}
body.theme-executive .nav-link:hover,
body.theme-executive .nav-link.active {
    color: #0f172a;
}
body.theme-executive .navbar {
    background: rgba(248, 250, 252, 0.85);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
body.theme-executive .navbar.scrolled {
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.15);
}
body.theme-executive .logo-accent {
    background: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.theme-executive .gradient-text {
    background: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.theme-executive .btn-primary {
    color: #ffffff;
}
body.theme-executive .btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}
body.theme-executive .btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}
body.theme-executive .hero-section {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    background-color: #f8fafc;
}
body.theme-executive .hero-glow-orb-1,
body.theme-executive .hero-glow-orb-2,
body.theme-executive .profile-glow,
body.theme-executive .stat-glow {
    display: none;
}
body.theme-executive .badge {
    background: rgba(29, 78, 216, 0.08);
    border: 1px solid rgba(29, 78, 216, 0.25);
    color: #1d4ed8;
    box-shadow: none;
}
body.theme-executive .stats-section {
    background: #f1f5f9;
}
body.theme-executive .benefits-section,
body.theme-executive .gallery-section,
body.theme-executive .media-section {
    background: #f8fafc;
    background-image: none;
}
body.theme-executive .stat-card,
body.theme-executive .benefit-card,
body.theme-executive .timeline-card,
body.theme-executive .gallery-card,
body.theme-executive .gallery-item,
body.theme-executive .book-card,
body.theme-executive .channel-card,
body.theme-executive .media-card,
body.theme-executive .film-feature,
body.theme-executive .diagnostic-card,
body.theme-executive .step-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}
body.theme-executive .profile-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    box-shadow: var(--shadow-neon);
}
body.theme-executive .profile-badge {
    background: rgba(15, 23, 42, 0.9);
    color: #93c5fd;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
body.theme-executive .stat-card:hover,
body.theme-executive .benefit-card:hover,
body.theme-executive .timeline-card:hover,
body.theme-executive .media-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-neon-strong);
}
body.theme-executive .stat-number,
body.theme-executive .stat-number-wrapper,
body.theme-executive .tab-text h3,
body.theme-executive .timeline-content h3,
body.theme-executive .gallery-info h4,
body.theme-executive .book-info h4,
body.theme-executive .channel-details h5,
body.theme-executive .books-display h3,
body.theme-executive .media-channels h3,
body.theme-executive .film-content h3 {
    color: #0f172a;
}
body.theme-executive .stat-label,
body.theme-executive .tab-text p,
body.theme-executive .benefit-list li,
body.theme-executive .timeline-content p,
body.theme-executive .gallery-info p,
body.theme-executive .book-info p,
body.theme-executive .channel-details span,
body.theme-executive .media-channels .media-intro,
body.theme-executive .film-content > p,
body.theme-executive .film-meta li {
    color: #334155;
}
body.theme-executive .benefit-list li strong {
    color: #0f172a;
}
body.theme-executive .tab-btn {
    background: #e2e8f0;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-shadow: none;
}
body.theme-executive .tab-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}
body.theme-executive .tab-btn.active {
    background: var(--primary);
    color: #ffffff;
}
body.theme-executive .visual-card {
    background: #1e293b;
}
body.theme-executive .visual-label {
    background: rgba(15, 23, 42, 0.9);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
body.theme-executive .diagnostic-section {
    background: #f1f5f9;
}
body.theme-executive .diagnostic-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.theme-executive .diagnostic-info h2,
body.theme-executive .results-header h3,
body.theme-executive .recommendation-block p {
    color: #0f172a;
}
body.theme-executive .diagnostic-info p,
body.theme-executive .form-group label,
body.theme-executive .loader-text,
body.theme-executive .risk-label,
body.theme-executive .recommendation-block h5,
body.theme-executive .radio-label span {
    color: #334155;
}
body.theme-executive .badge-partner {
    background: rgba(29, 78, 216, 0.06);
    border: 1px solid rgba(29, 78, 216, 0.2);
    color: #334155;
}
body.theme-executive .diagnostic-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
body.theme-executive select,
body.theme-executive .diagnostic-select {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    border: 1px solid #cbd5e1;
    color: #0f172a;
}
body.theme-executive .radio-label input[type="radio"] {
    border: 2px solid #94a3b8;
    background: #ffffff;
}
body.theme-executive .disclaimer {
    color: #64748b;
}
body.theme-executive .divider {
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}
body.theme-executive .footer {
    background: #0f172a;
    color: #cbd5e1;
}
body.theme-executive .footer h5,
body.theme-executive .footer .logo {
    color: #ffffff;
}
body.theme-executive .footer .logo-accent {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}
body.theme-executive .footer-brand p,
body.theme-executive .footer p,
body.theme-executive .footer span,
body.theme-executive .footer a,
body.theme-executive .footer-links h5,
body.theme-executive .ap-uk,
body.theme-executive .ap-sub {
    color: #94a3b8;
}
body.theme-executive .partner-logo,
body.theme-executive .partner-logo span {
    color: #e2e8f0;
}
body.theme-executive .partner-logo:hover,
body.theme-executive .partner-logo:hover span {
    color: #60a5fa;
}
body.theme-executive .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.theme-executive .footer-bottom p {
    color: #64748b;
}
@media (max-width: 768px) {
    body.theme-executive .nav-menu {
        background: rgba(248, 250, 252, 0.98);
        border-bottom: 1px solid #e2e8f0;
    }
}

/* Stealth Theme Styling Overrides */
body.theme-stealth .navbar {
    background: rgba(11, 12, 16, 0.85);
    border-bottom: 1px solid rgba(255, 183, 3, 0.1);
}
body.theme-stealth .logo-accent {
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.theme-stealth .gradient-text {
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.theme-stealth .btn-primary {
    color: #0b0c10;
}
body.theme-stealth .btn-secondary {
    background: rgba(31, 40, 51, 0.2);
    color: var(--text-primary);
    border: 1px solid rgba(255, 183, 3, 0.25);
}
body.theme-stealth .btn-secondary:hover {
    background: rgba(255, 183, 3, 0.1);
    border-color: var(--primary);
}
body.theme-stealth .hero-glow-orb-1 { background: rgba(255, 183, 3, 0.08); }
body.theme-stealth .hero-glow-orb-2 { background: rgba(251, 133, 0, 0.06); }
body.theme-stealth .profile-glow { background: radial-gradient(circle, rgba(255, 183, 3, 0.25) 0%, transparent 70%); }
body.theme-stealth .stat-glow { background: radial-gradient(circle, rgba(255, 183, 3, 0.15) 0%, transparent 60%); }
body.theme-stealth .stat-number,
body.theme-stealth .timeline-year,
body.theme-stealth .risk-badge {
    font-family: 'Space Mono', monospace;
}
body.theme-stealth .diagnostic-select,
body.theme-stealth .step-card {
    background: rgba(31, 40, 51, 0.4);
    border: 1px solid rgba(255, 183, 3, 0.2);
    color: #e5e5e5;
}
body.theme-stealth .stat-card,
body.theme-stealth .benefit-card,
body.theme-stealth .timeline-card,
body.theme-stealth .gallery-card,
body.theme-stealth .media-card,
body.theme-stealth .film-feature,
body.theme-stealth .diagnostic-card {
    border-radius: 8px;
}
body.theme-stealth .profile-card {
    border-radius: 12px;
}
body.theme-stealth .tab-btn {
    border-radius: 4px;
}
@media (max-width: 768px) {
    body.theme-stealth .nav-menu {
        background: rgba(11, 12, 16, 0.98);
        border-bottom: 1px solid rgba(255, 183, 3, 0.1);
    }
}

/* Brutalist Theme Styling Overrides */
body.theme-brutalist {
    color: #000000;
}
body.theme-brutalist h1,
body.theme-brutalist h2,
body.theme-brutalist h3,
body.theme-brutalist h4,
body.theme-brutalist h5,
body.theme-brutalist h6,
body.theme-brutalist .section-header h2,
body.theme-brutalist .logo {
    color: #000000;
}
body.theme-brutalist p,
body.theme-brutalist .section-lead,
body.theme-brutalist .hero-lead,
body.theme-brutalist .nav-link {
    color: #1f2937;
}
body.theme-brutalist .nav-link:hover,
body.theme-brutalist .nav-link.active {
    color: #000000;
}
body.theme-brutalist .mobile-toggle .bar {
    background-color: #000000;
}
body.theme-brutalist .btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: 3px solid #000000;
    box-shadow: 4px 4px 0px #000000;
    border-radius: 0px;
}
body.theme-brutalist .btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
}
body.theme-brutalist .btn-secondary {
    background: #ffffff;
    color: #000000;
    border: 3px solid #000000;
    box-shadow: 4px 4px 0px #000000;
    border-radius: 0px;
}
body.theme-brutalist .btn-secondary:hover {
    background: var(--secondary);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
    color: #000000;
}
body.theme-brutalist .navbar {
    background: #ffffff;
    border-bottom: 3px solid #000000;
}
body.theme-brutalist .navbar.scrolled {
    background: #ffffff;
    border-bottom: 3px solid #000000;
    box-shadow: none;
}
body.theme-brutalist .logo-accent {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--primary);
}
body.theme-brutalist .gradient-text {
    background: none;
    -webkit-text-fill-color: initial;
    color: #000000;
    text-shadow: 2px 2px 0px var(--secondary);
}
body.theme-brutalist .stats-section,
body.theme-brutalist .gallery-section,
body.theme-brutalist .diagnostic-section {
    background: #e5e7eb;
}
body.theme-brutalist .benefits-section,
body.theme-brutalist .media-section {
    background: #f3f4f6;
    background-image: none;
}
body.theme-brutalist .timeline-section {
    background: #ffffff;
}
body.theme-brutalist .stat-card,
body.theme-brutalist .benefit-card,
body.theme-brutalist .timeline-card,
body.theme-brutalist .gallery-card,
body.theme-brutalist .gallery-item,
body.theme-brutalist .book-card,
body.theme-brutalist .channel-card,
body.theme-brutalist .media-card,
body.theme-brutalist .film-feature,
body.theme-brutalist .diagnostic-card,
body.theme-brutalist .step-card,
body.theme-brutalist .profile-card,
body.theme-brutalist .tab-content-wrapper {
    background: #ffffff;
    border: 3px solid #000000;
    box-shadow: 4px 4px 0px #000000;
    border-radius: 0px !important;
}
body.theme-brutalist .film-poster-wrap {
    border-radius: 0;
    border: 3px solid #000000;
    box-shadow: 4px 4px 0px #000000;
}
body.theme-brutalist .stat-card:hover,
body.theme-brutalist .benefit-card:hover,
body.theme-brutalist .timeline-card:hover,
body.theme-brutalist .media-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px #000000;
}
body.theme-brutalist .stat-number,
body.theme-brutalist .stat-number-wrapper,
body.theme-brutalist .tab-text h3,
body.theme-brutalist .timeline-content h3,
body.theme-brutalist .gallery-info h4,
body.theme-brutalist .book-info h4,
body.theme-brutalist .channel-details h5,
body.theme-brutalist .books-display h3,
body.theme-brutalist .media-channels h3,
body.theme-brutalist .film-content h3,
body.theme-brutalist .diagnostic-info h2,
body.theme-brutalist .results-header h3,
body.theme-brutalist .recommendation-block p,
body.theme-brutalist .benefit-list li strong {
    color: #000000;
}
body.theme-brutalist .stat-label,
body.theme-brutalist .tab-text p,
body.theme-brutalist .benefit-list li,
body.theme-brutalist .timeline-content p,
body.theme-brutalist .gallery-info p,
body.theme-brutalist .book-info p,
body.theme-brutalist .channel-details span,
body.theme-brutalist .media-channels .media-intro,
body.theme-brutalist .film-content > p,
body.theme-brutalist .film-meta li,
body.theme-brutalist .diagnostic-info p,
body.theme-brutalist .form-group label,
body.theme-brutalist .loader-text,
body.theme-brutalist .risk-label,
body.theme-brutalist .recommendation-block h5,
body.theme-brutalist .radio-label span {
    color: #1f2937;
}
body.theme-brutalist .hero-section {
    background-color: #f3f4f6;
    background-image: linear-gradient(rgba(0,0,0,0.05) 2px, transparent 2px), linear-gradient(90deg, rgba(0,0,0,0.05) 2px, transparent 2px);
    background-size: 40px 40px;
}
body.theme-brutalist .hero-glow-orb-1,
body.theme-brutalist .hero-glow-orb-2,
body.theme-brutalist .profile-glow,
body.theme-brutalist .stat-glow {
    display: none;
}
body.theme-brutalist .profile-badge {
    background: #000000;
    color: #a78bfa;
    border: 2px solid #000000;
}
body.theme-brutalist .tab-btn {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    border-radius: 0px;
}
body.theme-brutalist .tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}
body.theme-brutalist .visual-card {
    background: #111827;
    border: 3px solid #000000;
    border-radius: 0px;
}
body.theme-brutalist .visual-label {
    background: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
}
body.theme-brutalist .diagnostic-wrapper {
    background: #ffffff;
    border: 3px solid #000000;
    box-shadow: 8px 8px 0px #000000;
    border-radius: 0px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.theme-brutalist .diagnostic-widget {
    background: #f9fafb;
    border: 2px solid #000000;
    border-radius: 0px;
}
body.theme-brutalist .badge-partner {
    background: #f3f4f6;
    border: 2px solid #000000;
    color: #1f2937;
    border-radius: 0px;
}
body.theme-brutalist select,
body.theme-brutalist .diagnostic-select {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    border: 2px solid #000000;
    color: #000000;
    border-radius: 0px;
}
body.theme-brutalist .radio-label input[type="radio"] {
    border: 2px solid #000000;
    background: #ffffff;
}
body.theme-brutalist .disclaimer {
    color: #4b5563;
}
body.theme-brutalist .badge {
    background: #ffffff;
    border: 2px solid #000000;
    color: #000000;
    box-shadow: 2px 2px 0px #000000;
    border-radius: 0px;
}
body.theme-brutalist .divider {
    background: #000000;
    height: 3px;
}
body.theme-brutalist .footer {
    background: #000000;
    color: #ffffff;
    border-top: 3px solid #000000;
}
body.theme-brutalist .footer h5,
body.theme-brutalist .footer .logo {
    color: #ffffff;
}
body.theme-brutalist .footer .logo-accent {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}
body.theme-brutalist .footer-brand p,
body.theme-brutalist .footer p,
body.theme-brutalist .footer span,
body.theme-brutalist .footer a,
body.theme-brutalist .footer-links h5,
body.theme-brutalist .ap-uk,
body.theme-brutalist .ap-sub,
body.theme-brutalist .footer-bottom p {
    color: #d1d5db;
}
body.theme-brutalist .partner-logo,
body.theme-brutalist .partner-logo span {
    color: #ffffff;
}
body.theme-brutalist .partner-logo:hover,
body.theme-brutalist .partner-logo:hover span {
    color: #c4b5fd;
}
body.theme-brutalist .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 768px) {
    body.theme-brutalist .nav-menu {
        background: #ffffff;
        border: 3px solid #000000;
        box-shadow: 4px 4px 0px #000000;
    }
}

/* ==========================================================================
   THEME SWITCHER WIDGET STYLING
   ========================================================================== */
.theme-switcher-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Outfit', sans-serif;
}

.theme-switcher-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), var(--shadow-neon);
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.theme-switcher-btn:hover {
    transform: scale(1.08) rotate(15deg);
    border-color: var(--primary);
}

.theme-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.theme-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(240px, calc(100vw - 24px));
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--shadow-neon-strong);
    display: none;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 20;
}

.theme-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.theme-menu-header {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding: 4px 8px 8px;
    border-bottom: 1px solid var(--border-color);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    transition: var(--transition-smooth);
    width: 100%;
}

.theme-option:hover {
    background: var(--bg-card-hover);
    color: var(--primary);
}

.theme-option.active {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--primary);
}

.theme-preview-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.theme-preview-color.cyber { background: #00f2fe; }
.theme-preview-color.executive { background: #1d4ed8; }
.theme-preview-color.stealth { background: #ffb703; }
.theme-preview-color.brutalist { background: #8b5cf6; }

/* In brutalist theme, adjust theme switcher to have sharp borders and flat shadows */
body.theme-brutalist .theme-switcher-btn {
    border: 3px solid #000000;
    border-radius: 0px;
    box-shadow: 4px 4px 0px #000000;
    background: #ffffff;
    color: #000000;
}
body.theme-brutalist .theme-menu {
    border: 3px solid #000000;
    border-radius: 0px;
    box-shadow: 4px 4px 0px #000000;
    background: #ffffff;
}
body.theme-brutalist .theme-option {
    border: 1px solid transparent;
    border-radius: 0px;
    color: #000000;
}
body.theme-brutalist .theme-option:hover,
body.theme-brutalist .theme-option.active {
    background: var(--primary);
    color: #ffffff;
    border-color: #000000;
}

/* Consultation booking — uses the existing site theme variables */
.consultation-section { padding: 0 0 100px; position: relative; z-index: 5; }
.consultation-page .consultation-section { padding-top: 115px; }
.consultation-wrapper { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; padding: 50px; border: 1px solid var(--border-color); border-radius: 20px; background: linear-gradient(135deg, rgba(16, 20, 32, 0.8), rgba(10, 12, 20, 0.9)); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.consultation-info h2 { font-size: 2.25rem; margin: 14px 0 16px; }
.consultation-info > p { color: var(--text-secondary); font-size: 1.05rem; }
.consultation-points { padding: 0; margin: 28px 0 0; list-style: none; }
.consultation-points li { color: var(--text-secondary); margin: 12px 0; }
.consultation-points li::before { content: '✓'; color: var(--primary); margin-right: 10px; font-weight: 700; }
.consultation-form { padding: 30px; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; background: rgba(8, 10, 16, 0.5); }
.consultation-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consultation-form input, .consultation-form select, .consultation-form textarea { width: 100%; background: rgba(18, 22, 35, 0.8); border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary); padding: 12px 16px; border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; outline: none; }
.consultation-form textarea { resize: vertical; }
.consultation-form input:focus, .consultation-form select:focus, .consultation-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 10px rgba(0,242,254,.1); }
.phone-with-code { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: stretch; }
.phone-with-code select { padding-right: 28px; background-position: right 8px center; }
.field-hint { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--text-secondary); }
body.theme-executive .consultation-wrapper { background: #ffffff; border-color: #dbe3ee; box-shadow: 0 14px 36px rgba(15,23,42,.08); }
body.theme-executive .consultation-form { background: #f8fafc; border-color: #dbe3ee; }
body.theme-executive .consultation-form input, body.theme-executive .consultation-form select, body.theme-executive .consultation-form textarea { background: #ffffff; border-color: #cbd5e1; color: #0f172a; }
body.theme-executive .field-hint { color: #64748b; }
body.theme-brutalist .consultation-wrapper { background: #ffffff; border: 3px solid #000; border-radius: 0; box-shadow: 6px 6px 0 #000; }
body.theme-brutalist .consultation-form { background: #f3f4f6; border: 3px solid #000; border-radius: 0; box-shadow: 6px 6px 0 #000; }
body.theme-brutalist .consultation-info h2,
body.theme-brutalist .consultation-info > p,
body.theme-brutalist .consultation-points li,
body.theme-brutalist .consultation-form label { color: #000000; }
body.theme-brutalist .consultation-form input,
body.theme-brutalist .consultation-form select,
body.theme-brutalist .consultation-form textarea { background: #ffffff; border: 2px solid #000000; border-radius: 0; color: #000000; }
body.theme-brutalist .consultation-form input::placeholder,
body.theme-brutalist .consultation-form textarea::placeholder { color: #4b5563; opacity: 1; }
body.theme-brutalist .field-hint { color: #4b5563; }
@media (max-width: 768px) {
    .consultation-wrapper { grid-template-columns: 1fr; padding: 22px; gap: 24px; }
    .consultation-info h2 { font-size: 1.7rem; overflow-wrap: anywhere; }
    .consultation-form { padding: 18px; }
    .consultation-form-grid { grid-template-columns: 1fr; gap: 12px; }
    .phone-with-code { grid-template-columns: 100px 1fr; }
}
@media (max-width: 480px) {
    .consultation-wrapper { padding: 16px; }
}
