@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   AL GHASSANI ENTERPRISES - EXECUTIVE STYLE SYSTEM (VANILLA CSS)
   ========================================================================== */

/* 1. DESIGN SYSTEM VARIABLES */
:root {
    /* Color Palette - Premium Executive Midnight Navy & Charcoal */
    --bg-base: #0B1F3A;
    --bg-surface: rgba(46, 49, 56, 0.45);
    --bg-surface-nested: rgba(30, 33, 40, 0.5);
    --border-color: rgba(201, 162, 39, 0.15);
    --border-glow: rgba(201, 162, 39, 0.35);
    
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #8c9ba5;
    
    /* Elegant ACCENTS (Rich Gold & White) */
    --color-cyan-raw: 47, 67%, 47%;
    --color-cyan: #C9A227;
    --color-cyan-glow: rgba(201, 162, 39, 0.15);
    
    --color-magenta-raw: 0, 0%, 100%;
    --color-magenta: #ffffff;
    --color-magenta-glow: rgba(255, 255, 255, 0.15);

    --color-gold-raw: 47, 67%, 47%;
    --color-gold: #C9A227;
    --color-gold-glow: rgba(201, 162, 39, 0.2);

    --color-green-raw: 142, 70%, 45%;
    --color-green: #10B981;
    --color-green-glow: rgba(16, 185, 129, 0.15);

    /* Curated Classy Gradients */
    --gradient-primary: linear-gradient(135deg, #DFBA73 0%, #C9A227 100%);
    --gradient-accent: linear-gradient(135deg, #2E3138 0%, #0B1F3A 100%);
    --gradient-gold: linear-gradient(135deg, #EAD2AC 0%, #C9A227 100%);
    --gradient-dark: linear-gradient(180deg, #0B1F3A 0%, #051020 100%);
    --gradient-text: linear-gradient(90deg, #FFFFFF 0%, #DFBA73 50%, #C9A227 100%);

    /* Shadows & Glows (Subtle and classy, not hot neon) */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 25px rgba(201, 162, 39, 0.08);
    --shadow-glow-magenta: 0 0 25px rgba(255, 255, 255, 0.05);

    /* Typography & Structure */
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    
    --transition-fast: 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Light Theme Variables Override */
[data-theme="light"] {
    --bg-base: #fafafa;
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-nested: rgba(245, 245, 247, 0.85);
    --border-color: rgba(11, 31, 58, 0.08);
    --border-glow: rgba(201, 162, 39, 0.25);
    
    --text-primary: #0B1F3A;
    --text-secondary: #2E3138;
    --text-muted: #6b7280;

    /* Override brand accents in light mode to provide proper contrast against light background */
    --color-cyan: #8C6F12;              /* Darker Gold/Brass */
    --color-magenta: #0B1F3A;           /* Primary Dark Navy instead of White */
    --color-gold: #8C6F12;              /* Darker Gold/Brass */
    --color-green: #047857;             /* Darker Emerald Green */
    
    --color-cyan-glow: rgba(140, 111, 18, 0.1);
    --color-magenta-glow: rgba(11, 31, 58, 0.1);
    --color-gold-glow: rgba(140, 111, 18, 0.1);

    --gradient-primary: linear-gradient(135deg, #a88418 0%, #8C6F12 100%);
    --gradient-text: linear-gradient(90deg, #0B1F3A 0%, #8C6F12 50%, #C9A227 100%);

    --gradient-dark: linear-gradient(180deg, #fafafa 0%, #ededf0 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.05);
    --shadow-glow-magenta: 0 0 25px rgba(11, 31, 58, 0.05);
}

/* 2. BASE RESET & INITIALIZATION */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-base);
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    font-weight: 400;
}

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

/* 3. DYNAMIC GLOWING BACKGROUND ORBS */
.bg-glows {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.05;
    transition: opacity var(--transition-normal);
}

[data-theme="light"] .glow-orb {
    opacity: 0.03;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--color-gold);
    top: -200px;
    right: -100px;
    animation: orbFloating 30s infinite alternate ease-in-out;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--color-cyan);
    top: 30%;
    left: -200px;
    animation: orbFloating 35s infinite alternate-reverse ease-in-out;
}

.glow-3 {
    width: 550px;
    height: 550px;
    background: var(--color-gold);
    bottom: -150px;
    right: 15%;
    animation: orbFloating 25s infinite alternate ease-in-out;
}

@keyframes orbFloating {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.08); }
    100% { transform: translate(-20px, -40px) scale(0.95); }
}

/* 4. UTILITY COMPONENTS (GLASS CARD, BUTTONS, GRADIENTS) */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.text-center { text-align: center; }
.text-cyan { color: var(--color-cyan) !important; }
.text-magenta { color: var(--text-secondary) !important; }
.text-gold { color: var(--color-gold) !important; }
.text-green { color: var(--color-green) !important; }
.mt-lg { margin-top: 1.5rem; }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(223, 186, 115, 0.04), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #0c0d12;
    box-shadow: 0 4px 15px rgba(223, 186, 115, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(223, 186, 115, 0.35);
}

.btn-glow:hover {
    box-shadow: 0 0 15px rgba(223, 186, 115, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(223, 186, 115, 0.05);
    border: 1px solid rgba(223, 186, 115, 0.18);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: 1.2rem;
}

.badge-premium i {
    width: 12px;
    height: 12px;
}

/* 5. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    background: rgba(6, 7, 19, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] .header {
    background: rgba(248, 250, 252, 0.8);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.poly-outer {
    fill: none;
    stroke: var(--color-cyan);
    stroke-width: 6;
    animation: floatAnim 4s infinite ease-in-out;
}

.poly-inner {
    fill: none;
    stroke: var(--color-magenta);
    stroke-width: 4;
    animation: floatAnim 4s infinite ease-in-out alternate;
}

.logo-center {
    fill: var(--color-cyan);
    animation: glowPulse 2s infinite alternate ease-in-out;
}

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

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gold);
}

@keyframes glowPulse {
    0% { opacity: 0.5; filter: drop-shadow(0 0 2px var(--color-cyan)); }
    100% { opacity: 1; filter: drop-shadow(0 0 8px var(--color-cyan)); }
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.theme-toggle i {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.btn-nav {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

/* Mobile Hamburger Menu */
.menu-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    justify-content: center;
}

.menu-hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* 6. HERO SECTION */
.hero-section {
    padding: 160px 0 100px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--color-gold);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
}

/* Hero Visuals / Interactive Cards */
.hero-visual {
    position: relative;
}

.hero-card-container {
    position: relative;
    padding: 2rem;
}

.hero-stats-card {
    padding: 2.5rem;
    animation: cardFloating 6s infinite ease-in-out;
}

.card-header-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.card-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.tag-cyan {
    background: rgba(0, 242, 254, 0.1);
    color: var(--color-cyan);
}

.tag-magenta {
    background: rgba(209, 98, 255, 0.1);
    color: var(--color-magenta);
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: #00FF66;
    border-radius: 50%;
    box-shadow: 0 0 8px #00FF66;
    animation: indicatorPulse 2s infinite alternate;
}

@keyframes indicatorPulse {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

.stats-card-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.stat-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-primary);
}

.stat-unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-cyan);
    margin-left: 1px;
}

.telemetry-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    transition: width var(--transition-slow);
}

.telemetry-log {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.telemetry-log i {
    width: 14px;
    height: 14px;
}

/* Secondary mini-float card */
.mini-float-card {
    position: absolute;
    bottom: -20px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    max-width: 260px;
    box-shadow: var(--shadow-glow-magenta);
    animation: cardFloatingAlternate 7s infinite ease-in-out;
}

.mini-icon {
    width: 40px;
    height: 40px;
    background: rgba(209, 98, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-icon i {
    width: 20px;
    height: 20px;
}

.mini-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.mini-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes cardFloating {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes cardFloatingAlternate {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(12px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* 7. THE PARTNERSHIP MODEL (ABOUT) */
.about-section {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.section-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-magenta);
    letter-spacing: 0.1em;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
}

.section-desc {
    font-size: 1.1rem;
    max-width: 780px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    padding: 2.5rem;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.cyan-glow {
    background: rgba(0, 242, 254, 0.1);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.cyan-glow i { color: var(--color-cyan); }

.magenta-glow {
    background: rgba(209, 98, 255, 0.1);
    box-shadow: 0 0 20px rgba(209, 98, 255, 0.15);
}

.magenta-glow i { color: var(--color-magenta); }

.gold-glow {
    background: rgba(255, 224, 102, 0.1);
    box-shadow: 0 0 20px rgba(255, 224, 102, 0.15);
}

.gold-glow i { color: var(--color-gold); }

.feature-icon {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-list li i {
    width: 16px;
    height: 16px;
}


/* 7.5 FOUNDER'S CORNER SECTION */
.founder-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(6, 9, 19, 0.4) 0%, rgba(2, 3, 8, 0.6) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.founder-grid-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.founder-visual-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    aspect-ratio: 1 / 1.15;
    background: rgba(14, 17, 39, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.pitch-tactics-board {
    position: relative;
    width: 100%;
    flex: 1;
    background: rgba(4, 6, 15, 0.85);
    border: 1px solid rgba(0, 255, 135, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pitch-svg {
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    opacity: 0.7;
    z-index: 1;
}

/* Soccer Jersey Graphic & Number */
.founder-jersey-badge {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 100px;
    background: radial-gradient(circle at 50% 30%, hsla(var(--color-cyan-raw), 0.25) 0%, transparent 70%);
    animation: floatingJersey 5s infinite ease-in-out;
}

.icon-award-jersey {
    width: 80px;
    height: 80px;
    color: var(--color-cyan);
    filter: drop-shadow(0 0 15px var(--color-cyan-glow));
}

.jersey-number {
    position: absolute;
    top: 36px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.05em;
}

.jersey-glow {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-cyan);
    filter: blur(25px);
    opacity: 0.35;
    z-index: -1;
}

/* Animations for Tactics Board */
@keyframes floatingJersey {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.play-node-pulsing {
    animation: nodePulse 2s infinite alternate;
}

@keyframes nodePulse {
    0% { transform: scale(0.9); opacity: 0.5; filter: drop-shadow(0 0 1px var(--color-cyan)); }
    100% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 8px var(--color-cyan)); }
}

.animate-dash {
    stroke-dasharray: 6;
    animation: tacticalDash 20s linear infinite;
}

@keyframes tacticalDash {
    to { stroke-dashoffset: -120; }
}

/* Footer of Visual Card */
.founder-visual-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.founder-status-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.founder-trophy-shelf {
    display: flex;
    gap: 0.8rem;
}

.founder-trophy-shelf i {
    width: 16px;
    height: 16px;
    opacity: 0.85;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    cursor: pointer;
}

.founder-trophy-shelf i:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Founder Content Area */
.founder-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.section-desc-light {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Elegant Quote Container */
.founder-quote-box {
    position: relative;
    width: 100%;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-surface-nested);
    border: 1px solid var(--border-color);
    margin: 1rem 0;
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.founder-quote-box.animate-glow {
    box-shadow: 0 0 30px hsla(var(--color-cyan-raw), 0.05);
}

.founder-quote-box:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 32px;
    height: 32px;
    opacity: 0.15;
}

.founder-quote-text {
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    transition: opacity var(--transition-fast);
}

.founder-signature {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-magenta);
}

/* Tactical Playbook Toggles */
.tactical-toggles {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.tactic-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tactic-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.tactic-btn.active {
    background: hsla(var(--color-cyan-raw), 0.08);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 15px hsla(var(--color-cyan-raw), 0.15);
}

.tactic-btn i {
    width: 16px;
    height: 16px;
}

/* Responsive adjustment for founder */
@media (max-width: 991px) {
    .founder-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .founder-visual-card {
        aspect-ratio: 1.2 / 1;
        max-height: 400px;
    }
    .tactical-toggles {
        flex-direction: column;
    }
}

/* 8. ECOSYSTEM GRID & MODAL VIEW */
.ecosystem-section {
    padding: 100px 0;
}

.ecosystem-section .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.ecosystem-section .section-header .section-desc {
    margin: 0;
    max-width: 480px;
    font-size: 0.95rem;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-primary);
    color: #04050D;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

/* Portfolio grid container */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.accent-cyan { background: var(--gradient-primary); }
.accent-magenta { background: var(--gradient-accent); }
.accent-gold { background: var(--gradient-gold); }


.badge-tier {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: inline-block;
    width: fit-content;
}

.badge-tier.equity {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.badge-tier.elevated {
    background: rgba(255, 224, 102, 0.08);
    border: 1px solid rgba(255, 224, 102, 0.25);
    color: var(--color-gold);
    box-shadow: 0 0 10px rgba(255, 224, 102, 0.05);
}

.portfolio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.partner-sector {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.partner-icon {
    width: 16px;
    height: 16px;
}

.partner-growth {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--color-green);
    background: rgba(16, 185, 129, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.partner-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.partner-desc {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.partner-synergy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    margin-bottom: 1.8rem;
}

.syn-metric {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.syn-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.syn-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.btn-card-action {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-cyan);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.btn-card-action i {
    width: 16px;
    height: 16px;
}

.btn-card-action:hover {
    color: var(--color-magenta);
    gap: 0.8rem;
}

/* Dynamic Details Dialog (Modal) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    background: rgba(4, 5, 13, 0.8);
    backdrop-filter: blur(8px);
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    width: 100%;
    max-width: 650px;
    padding: 3rem;
    box-shadow: 0 20px 80px rgba(0, 242, 254, 0.15);
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-cyan);
}

.modal-close i {
    width: 16px;
    height: 16px;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

#modal-partner-name {
    font-size: 2.2rem;
}

.modal-desc {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.modal-section-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Synergy flow graphic */
.synergy-flow-visualization {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border-color);
    margin-bottom: 2rem;
}

.flow-node {
    padding: 0.8rem 1.4rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
}

.parent-node {
    background: var(--gradient-primary);
    color: #04050D;
}

.child-node {
    background: var(--bg-surface-nested);
    border: 1px solid var(--color-magenta);
    color: var(--text-primary);
}

.flow-connector {
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.flow-dot {
    position: absolute;
    width: 10px;
    height: 100%;
    background: var(--color-cyan);
    top: 0;
    left: -10px;
    box-shadow: 0 0 8px var(--color-cyan);
    animation: flowDotMotion 2s infinite linear;
}

@keyframes flowDotMotion {
    0% { left: -10px; }
    100% { left: 80px; }
}

.modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.modal-stat {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.015);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.m-stat-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.m-stat-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
}

.modal-synergy-list h5 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.modal-synergy-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.modal-synergy-list ul li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.modal-synergy-list ul li i {
    width: 14px;
    height: 14px;
}

/* 9. SYNERGY CALCULATOR SECTION */
.calculator-section {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.grid-two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

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

.calc-info .section-subtitle {
    text-align: left;
    margin-bottom: 0.5rem;
}

.calc-info .section-title {
    margin-bottom: 1.5rem;
}

.calc-info .section-desc {
    margin-bottom: 2.5rem;
}

.calc-card {
    padding: 2.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.slider-header label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.slider-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-cyan);
}

/* Custom Slider Styling */
.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    transition: background 0.3s;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-cyan);
    transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Dropdown & General inputs */
.custom-select {
    width: 100%;
    background: var(--bg-surface-nested);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

.custom-select:focus {
    border-color: var(--color-cyan);
}

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

/* Results Pane Styling */
.result-card {
    padding: 3rem;
    box-shadow: var(--shadow-glow-magenta);
}

.result-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.result-tag {
    margin-bottom: 2.5rem;
    display: inline-block;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.res-lbl {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.res-value-container {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.res-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.res-sublbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.grand-result-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.grand-lbl {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.grand-val {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.grand-increase {
    font-size: 0.85rem;
}

/* 10. PREMIUM PARTNER PORTAL */
.portal-section {
    padding: 100px 0;
}

/* Simulated Operating Dashboard */
.portal-dashboard {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 520px;
    padding: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Sidebar inside frame */
.dashboard-sidebar {
    background: rgba(8, 9, 20, 0.9);
    border-right: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.db-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
}

.small-logo {
    width: 28px;
    height: 28px;
}

.font-sm {
    font-size: 0.9rem;
}

.db-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-grow: 1;
}

.db-nav-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.db-nav-item i {
    width: 18px;
    height: 18px;
}

.db-nav-item:hover, .db-nav-item.active {
    background: rgba(0, 242, 254, 0.08);
    color: var(--color-cyan);
}

.db-user-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.u-name {
    font-size: 0.85rem;
    font-weight: 600;
}

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

/* Dashboard Body area */
.dashboard-content {
    background: rgba(14, 18, 44, 0.25);
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.db-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.db-title-area h4 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

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

.db-system-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 102, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #00FF66;
    border-radius: 50%;
}

.green-pulse {
    box-shadow: 0 0 6px #00FF66;
    animation: indicatorPulse 1.5s infinite alternate;
}

.status-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-green);
    font-size: 0.75rem;
}

/* Tab Management Styles */
.db-tab-pane {
    display: none;
    flex-direction: column;
    height: 100%;
}

.db-tab-pane.active {
    display: flex;
    animation: tabTransition 0.3s ease-out forwards;
}

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

.tab-introduction {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Tab 1: Telemetry Content */
.telemetry-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mini-telemetry-card {
    background: var(--bg-surface-nested);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
}

.tm-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.tm-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.tm-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.trending-icon {
    width: 12px;
    height: 12px;
}

.trending-icon.green { color: #00FF66; }

/* Nesting custom panel elements */
.glass-card-nested {
    background: var(--bg-surface-nested);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
}

.box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.box-header h5 {
    font-size: 1rem;
}

.realtime-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* Feed lists */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.activity-row {
    display: grid;
    grid-template-columns: 70px 1fr 100px;
    gap: 1.5rem;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.activity-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.activity-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.activity-desc strong {
    color: var(--text-primary);
}

.activity-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    text-align: center;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.tag-green { background: rgba(16, 185, 129, 0.08); color: var(--color-green); }
.tag-magenta { background: rgba(209, 98, 255, 0.08); color: var(--color-magenta); }

/* Tab 2: Shared Resource Vault items */
.vault-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.vault-item-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.v-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.v-category {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.v-category i { width: 14px; height: 14px; }

.v-availability {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.v-availability.green { background: rgba(16, 185, 129, 0.08); color: var(--color-green); }
.v-availability.orange { background: rgba(255, 166, 0, 0.08); color: orange; }

.v-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.v-desc {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.v-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-cyan {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--color-cyan);
}

.btn-cyan:hover {
    background: var(--color-cyan);
    color: #04050D;
}

/* Tab 3: Pipelines layout */
.pipeline-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pipeline-header-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 100px;
    gap: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
}

.pipeline-rows {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pipeline-row-item {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 100px;
    gap: 1.5rem;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

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

.p-opt { font-weight: 600; color: var(--text-primary); }
.p-ops { color: var(--text-secondary); }
.p-status {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-align: center;
}

.badge-cyan { background: rgba(0, 242, 254, 0.08); color: var(--color-cyan); }
.badge-gold { background: rgba(255, 224, 102, 0.08); color: var(--color-gold); }
.badge-green { background: rgba(16, 185, 129, 0.08); color: var(--color-green); }

/* Custom Form elements inside Pipeline */
.pipeline-form-row {
    border-top: 1px dashed var(--border-color);
    padding-top: 1.5rem;
}

.pipeline-form-row h5 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.deal-fields {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 1rem;
}

.custom-input {
    background: var(--bg-surface-nested);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}

.custom-input:focus { border-color: var(--color-cyan); }

.custom-select-small {
    background: var(--bg-surface-nested);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

.custom-select-small:focus { border-color: var(--color-cyan); }

.btn-magenta {
    background: rgba(209, 98, 255, 0.08);
    border: 1px solid rgba(209, 98, 255, 0.2);
    color: var(--color-magenta);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1.4rem;
    transition: all var(--transition-fast);
}

.btn-magenta:hover {
    background: var(--color-magenta);
    color: #04050D;
}

/* Toast alert messages */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 350px;
}

.toast {
    background: rgba(6, 8, 20, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--color-cyan);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-glow);
    animation: toastSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes toastSlideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.removing {
    animation: toastFadeOut 0.3s ease-out forwards;
}

@keyframes toastFadeOut {
    to { transform: translateX(100px); opacity: 0; }
}

.toast-msg {
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* 11. TESTIMONIAL SLIDER */
.testimonials-section {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    position: relative;
}

.testimonial-track {
    position: relative;
    min-height: 280px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.test-body {
    padding: 3rem;
    text-align: center;
}

.test-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.star-filled {
    width: 16px;
    height: 16px;
    fill: #FFD700;
    color: #FFD700;
}

.test-body p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.test-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--border-color);
}

.av-1 { background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=100&h=100&fit=crop'); }
.av-2 { background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?w=100&h=100&fit=crop'); }

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

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

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

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-cyan);
}

.slider-btn i { width: 16px; height: 16px; }

.slider-dots {
    display: flex;
    gap: 0.6rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.dot.active {
    background: var(--color-cyan);
    transform: scale(1.25);
}

/* 12. INQUIRY FORM (CONTACT) */
.contact-section {
    padding: 100px 0;
}

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

.contact-info .section-subtitle { text-align: left; margin-bottom: 0.5rem; }
.contact-info .section-title { margin-bottom: 1.5rem; }
.contact-info .section-desc { margin-bottom: 3.5rem; }

.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.2rem;
}

.highlight-item i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.highlight-item h5 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.highlight-item p {
    font-size: 0.85rem;
}

.form-card {
    padding: 3rem;
}

#inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.custom-textarea {
    background: var(--bg-surface-nested);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    resize: none;
}

.custom-textarea:focus { border-color: var(--color-cyan); }

/* 13. FOOTER */
.footer {
    background: rgba(4, 5, 13, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-bio {
    font-size: 0.85rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: #04050D;
    border-color: transparent;
    transform: translateY(-2px);
}

.social-links a i { width: 16px; height: 16px; }

.footer-links-group h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-group ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links-group ul li a:hover {
    color: var(--color-cyan);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 14. RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (max-width: 1024px) {
    html { font-size: 15px; }
    .hero-grid, .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-visual {
        order: -1;
    }
    .hero-stats-card {
        max-width: 500px;
        margin: 0 auto;
    }
    .mini-float-card {
        left: 20px;
    }
    .features-grid, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portal-dashboard {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
    }
    .db-logo { margin-bottom: 1.5rem; }
    .db-nav { flex-direction: row; flex-wrap: wrap; margin-bottom: 1rem; }
    .db-user-pill { border-top: none; padding-top: 0; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(6, 8, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 3rem;
        gap: 2rem;
        transition: left 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .menu-hamburger { display: flex; }
    .menu-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .menu-hamburger.active span:nth-child(2) { opacity: 0; }
    .menu-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .btn-nav { display: none; }
    
    .features-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .form-row, .input-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .vault-items-grid {
        grid-template-columns: 1fr;
    }
    .activity-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .activity-tag {
        align-self: flex-start;
    }
    .pipeline-header-row, .pipeline-row-item {
        grid-template-columns: 1.2fr 1fr;
        gap: 1rem;
    }
    .pipeline-header-row span:nth-child(3), .pipeline-header-row span:nth-child(4),
    .pipeline-row-item span:nth-child(3), .pipeline-row-item span:nth-child(4) {
        display: none;
    }
    .deal-fields {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   6. EMEA REGIONALIZATION & NAVIGATION PATHWAY STYLES
   ========================================================================== */

/* Region Selector Styling */
.region-select-wrapper {
    position: relative;
}

.region-toggle-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.region-toggle-btn:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.region-toggle-btn .icon-globe {
    width: 16px;
    height: 16px;
    color: var(--color-cyan);
}

.region-toggle-btn .icon-chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.region-select-wrapper.open .icon-chevron {
    transform: rotate(180deg);
}

.region-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 190px;
    background: rgba(6, 7, 19, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 110;
}

[data-theme="light"] .region-dropdown {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.region-select-wrapper.open .region-dropdown {
    display: flex;
    animation: slideDownFade 0.2s ease-out forwards;
}

.region-option {
    background: none;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    width: 100%;
}

.region-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

[data-theme="light"] .region-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

.region-option.active {
    background: rgba(0, 242, 254, 0.1);
    color: var(--color-cyan);
    font-weight: 600;
}

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

/* Integration Pathway Styling */
.integration-pathway {
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.pathway-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
}

.pathway-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pathway-step {
    flex: 1;
    padding: 2.2rem 1.5rem;
    text-align: center;
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--transition-normal);
}

.pathway-step:hover {
    border-color: var(--color-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.1);
}

.step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.05em;
    background-color: var(--background-base); /* Fallback */
    padding: 0 0.5rem;
}

.pathway-step h5 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

.pathway-step p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.pathway-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    animation: pulseArrow 2s infinite ease-in-out;
}

.pathway-arrow i {
    width: 24px;
    height: 24px;
}

.select-info-tag {
    display: block;
    font-size: 0.78rem;
    color: var(--color-cyan);
    margin-top: 0.5rem;
    line-height: 1.4;
    opacity: 0.85;
    font-weight: 500;
}

@keyframes pulseArrow {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

/* Responsive Pathway */
@media (max-width: 992px) {
    .pathway-grid {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .pathway-arrow {
        transform: rotate(90deg);
        animation: pulseArrowVert 2s infinite ease-in-out;
    }
    
    @keyframes pulseArrowVert {
        0%, 100% {
            transform: rotate(90deg) translateY(0);
            opacity: 0.6;
        }
        50% {
            transform: rotate(90deg) translateY(5px);
            opacity: 1;
        }
    }
}

/* ==========================================================================
   7. SCROLL REVEAL & INTERACTIVE TACTICS GRAPH ANIMATIONS
   ========================================================================== */

/* Clean, simplified viewport entrance transitions */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Tactics board self-drawing vectors */
.tactic-line {
    transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.6s ease, stroke-width 0.6s ease;
    will-change: stroke-dashoffset;
}

/* Playmaker Play - Cyan glowing vectors draw themselves */
.pitch-svg.playmaker-active .playmaker-line {
    stroke-dashoffset: 0;
    stroke: var(--color-cyan) !important;
    stroke-width: 2.5px;
    filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.5));
}

/* Resilience Play - Gold defensive shield vectors draw themselves */
.pitch-svg.resilience-active .resilience-line {
    stroke-dashoffset: 0;
    stroke: var(--color-gold) !important;
    stroke-width: 2.5px;
    filter: drop-shadow(0 0 5px rgba(223, 186, 115, 0.5));
}

/* Acceleration Play - Magenta forward shot vectors draw themselves */
.pitch-svg.acceleration-active .acceleration-line {
    stroke-dashoffset: 0;
    stroke: var(--color-magenta) !important;
    stroke-width: 2.5px;
    filter: drop-shadow(0 0 5px rgba(209, 98, 255, 0.5));
}

/* Fluid mouse interaction on visual cards (simpler transitions) */
.glass-card, .portfolio-card, .vault-item-card {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover, .portfolio-card:hover, .vault-item-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .glass-card:hover, [data-theme="light"] .portfolio-card:hover, [data-theme="light"] .vault-item-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Soft pulse highlights for key nodes */
@keyframes nodePulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 1; }
}

.playmaker-node {
    animation: nodePulse 1.5s infinite alternate ease-in-out;
}

/* ==========================================================================
   AL GHASSANI ENTERPRISES - LAUNCH REFINEMENTS
   ========================================================================== */

/* Qualitative Stats Card */
.qualitative-stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.qual-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transition-fast);
}

.qual-stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 162, 39, 0.2);
    transform: translateX(4px);
}

.qual-stat-item i {
    width: 20px;
    height: 20px;
}

/* Solutions Flex Container */
.solutions-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.solutions-container .feature-card {
    flex: 1 1 340px;
    max-width: 380px;
}

/* Recommended Service Box */
.recommended-service-box {
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    margin-top: 1.5rem;
    text-align: left;
}

.rec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.4rem;
}

.rec-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.rec-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* The AGE Difference Section */
.difference-section {
    padding: 8rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.difference-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.diff-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.8rem;
    align-items: flex-start;
    transition: all var(--transition-normal);
}

.diff-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.diff-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    background: rgba(201, 162, 39, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Selected Industries Section */
.industries-section {
    padding: 8rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.2rem 1.5rem;
    text-align: center;
    gap: 1.2rem;
    transition: all var(--transition-normal);
}

.industry-card i {
    width: 32px;
    height: 32px;
    transition: transform var(--transition-fast) ease;
}

.industry-card span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.industry-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-gold);
}

.industry-card:hover i {
    transform: scale(1.15);
}

.sliders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sliders-grid {
        grid-template-columns: 1fr;
    }
}

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

/* Gemini AI advisory Integration styles */
.ai-key-wrapper {
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.01);
    border: 1px dashed rgba(0, 242, 254, 0.15);
    margin-top: 2rem;
    text-align: left;
}

.ai-key-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.ai-key-header label {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.ai-status-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 600;
}

.ai-status-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-green);
}

.ai-key-input-container {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.ai-key-input {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
}

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

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 242, 254, 0.1);
    border-top: 2px solid var(--color-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mt-sm { margin-top: 0.8rem; }

/* ==========================================================================
   15. DEVICE VIEW MODE SWITCHER (MOBILE <=> PC)
   ========================================================================== */

/* Floating Switcher FAB styling */
.device-switcher-fab {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999; /* Ensure it floats above all, including other fixed containers */
    background: rgba(11, 31, 58, 0.8);
    border: 1px solid rgba(201, 162, 39, 0.45);
    color: var(--text-primary);
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), var(--shadow-glow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all var(--transition-normal);
}

.device-switcher-fab:hover {
    background: rgba(201, 162, 39, 0.15);
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 18px rgba(201, 162, 39, 0.5);
}

.device-switcher-fab:active {
    transform: translateY(-1px);
}

.device-switcher-fab i {
    width: 15px;
    height: 15px;
    color: var(--color-gold);
    display: inline-block;
}

.device-switcher-fab .fab-content {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

#switcher-text {
    color: var(--text-primary);
}

/* Always show switcher to allow simulation on PC */
.device-switcher-fab {
    display: flex !important;
}

/* Simulated Mobile Mode styling on Desktop Screens */
html.simulated-mobile-mode {
    background: #04050D !important;
}

html.simulated-mobile-mode body {
    max-width: 480px !important;
    width: 480px !important;
    margin: 0 auto !important;
    position: relative !important;
    border-left: 1px solid rgba(201, 162, 39, 0.25) !important;
    border-right: 1px solid rgba(201, 162, 39, 0.25) !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8) !important;
    background: #060814 !important;
    overflow-x: hidden !important;
}

html.simulated-mobile-mode .header {
    width: 480px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    position: fixed !important;
}

/* Force mobile layouts on desktop in simulated mobile mode */
html.simulated-mobile-mode .hero-grid,
html.simulated-mobile-mode .grid-two-cols {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
}

html.simulated-mobile-mode .hero-visual {
    order: -1 !important;
}

html.simulated-mobile-mode .features-grid,
html.simulated-mobile-mode .portfolio-grid {
    grid-template-columns: 1fr !important;
}

html.simulated-mobile-mode .solutions-container .feature-card {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}

html.simulated-mobile-mode .industries-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

html.simulated-mobile-mode .difference-grid {
    grid-template-columns: 1fr !important;
}

html.simulated-mobile-mode .sliders-grid {
    grid-template-columns: 1fr !important;
}

html.simulated-mobile-mode .nav-menu {
    position: fixed !important;
    top: 80px !important;
    left: -9999px !important;
    width: 480px !important;
    height: calc(100vh - 80px) !important;
    background: rgba(6, 8, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    flex-direction: column !important;
    padding: 3rem !important;
    gap: 2rem !important;
    transition: left 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out !important;
    z-index: 99 !important;
    display: flex !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.simulated-mobile-mode .nav-menu.active {
    left: 50% !important;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

html.simulated-mobile-mode .menu-hamburger {
    display: flex !important;
}

html.simulated-mobile-mode .btn-nav {
    display: none !important;
}

html.simulated-mobile-mode .portal-dashboard {
    grid-template-columns: 1fr !important;
}

html.simulated-mobile-mode .dashboard-sidebar {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 1.5rem !important;
}

html.simulated-mobile-mode .db-nav {
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

html.simulated-mobile-mode .pipeline-header-row,
html.simulated-mobile-mode .pipeline-row-item {
    grid-template-columns: 1.2fr 1fr !important;
}

html.simulated-mobile-mode .pipeline-header-row span:nth-child(3),
html.simulated-mobile-mode .pipeline-header-row span:nth-child(4),
html.simulated-mobile-mode .pipeline-row-item span:nth-child(3),
html.simulated-mobile-mode .pipeline-row-item span:nth-child(4) {
    display: none !important;
}

html.simulated-mobile-mode .device-switcher-fab {
    display: flex !important;
    position: fixed !important;
    bottom: 2rem !important;
    left: calc(50% - 220px) !important; /* Keep FAB inside the simulated viewport */
    transform: none !important;
    z-index: 99999 !important;
}


/* Forced PC / Desktop Mode layout overrides on mobile viewports */
html.forced-pc-mode {
    overflow-x: auto !important;
}

html.forced-pc-mode body {
    min-width: 1200px !important;
    width: 1200px !important;
    overflow-x: auto !important;
}

/* Maintain FAB visibility and scale it up slightly so it remains readable when zoomed out */
html.forced-pc-mode .device-switcher-fab {
    display: flex !important;
    position: fixed !important;
    bottom: 2rem !important;
    left: 2rem !important;
    transform: scale(1.6) !important;
    transform-origin: bottom left !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
    z-index: 99999 !important;
}

/* Position header at absolute 1200px width so it scales stably with the rest of the canvas */
html.forced-pc-mode .header {
    position: absolute !important;
    width: 1200px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Maintain default backgrounds and alignment */
html.forced-pc-mode .bg-glows {
    width: 1200px !important;
}

/* ==========================================================================
   16. LIGHT THEME CONTRAST & ACCESSIBILITY OVERRIDES
   ========================================================================== */

/* Light mode footer layout background to match lighter surface */
[data-theme="light"] .footer {
    background: #ededf0 !important;
    border-top: 1px solid var(--border-color) !important;
}

/* Light mode mobile/simulated navigation menu drawer */
[data-theme="light"] .nav-menu {
    background: rgba(250, 250, 252, 0.98) !important;
    border-bottom: 1px solid var(--border-color);
}

/* Ensure button hover state has white text against dark gold/navy background */
[data-theme="light"] .btn-magenta:hover,
[data-theme="light"] .social-links a:hover {
    color: #ffffff !important;
}

/* ==========================================================================
   17. INTERACTIVE WIDGET COVER OVERLAYS
   ========================================================================== */

.interactive-covered {
    position: relative;
    overflow: hidden;
}

.interactive-covered > *:not(.interactive-cover-overlay) {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
    opacity: 0.25;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.interactive-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(6, 8, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
    border-radius: inherit;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cover-content {
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cover-icon {
    width: 42px;
    height: 42px;
    color: var(--color-gold);
    filter: drop-shadow(0 0 10px rgba(201, 162, 39, 0.35));
    margin-bottom: 0.5rem;
}

.cover-content h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cover-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
}

/* Light Mode Overlays */
[data-theme="light"] .interactive-cover-overlay {
    background: rgba(240, 240, 243, 0.95) !important;
}

/* Simulated Mobile Alignment for covered portal FAB */
html.simulated-mobile-mode .interactive-cover-overlay {
    padding: 1.5rem;
}
html.simulated-mobile-mode .cover-content h4 {
    font-size: 1.4rem;
}
html.simulated-mobile-mode .cover-content p {
    font-size: 0.8rem;
}

/* ==========================================================================
   STRATEGIC ALLIANCE GRID (DYNAMIC SPREADSHEET PORTFOLIO)
   ========================================================================== */
.alliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.alliance-card {
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border-radius: var(--radius-md);
}

.alliance-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.25) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.alliance-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.alliance-card-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.alliance-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.alliance-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
    font-size: 0.8rem;
}

.alliance-card-metric {
    font-weight: 700;
}

/* ==========================================================================
   MOBILE & SIMULATED MOBILE LAYOUT FIXES
   ========================================================================== */

/* 1. Collapse blurred content on mobile when covered to prevent giant empty scroll cards */
@media (max-width: 768px) {
    .interactive-covered {
        min-height: 280px;
    }
    .interactive-covered > *:not(.interactive-cover-overlay) {
        display: none !important;
    }
}
html.simulated-mobile-mode .interactive-covered {
    min-height: 280px;
}
html.simulated-mobile-mode .interactive-covered > *:not(.interactive-cover-overlay) {
    display: none !important;
}

/* 2. Position floating mini-cards relatively on mobile so they flow instead of overlapping */
@media (max-width: 768px) {
    .mini-float-card {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin: 2rem auto 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
}
html.simulated-mobile-mode .mini-float-card {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    margin: 2rem auto 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 3. Hide the logo subtitle on mobile/simulated mobile to prevent header item collision */
@media (max-width: 480px) {
    .logo-subtitle {
        display: none !important;
    }
}
html.simulated-mobile-mode .logo-subtitle {
    display: none !important;
}

