/* HAIDEN Technologies - Enhanced Dark Theme
   High-tech, modern, and performant
   ================================================== */

/* CSS Variables - Dark Theme with Vibrant Accents */
:root {
    /* Dark backgrounds with blue undertones */
    --dark-bg: #0A0E1B;
    --dark-bg-secondary: #0F1525;
    --dark-bg-tertiary: #141B2D;
    --card-bg: rgba(20, 27, 45, 0.6);
    --card-bg-hover: rgba(25, 35, 60, 0.8);

    /* Vibrant accent colors */
    --vibrant-blue: #00D4FF;
    --vibrant-purple: #9945FF;
    --vibrant-green: #21B66F;
    --vibrant-pink: #FF0080;
    --vibrant-orange: #FF6B35;
    --vibrant-yellow: #FFD93D;

    /* Primary brand colors */
    --primary: #4DB8ED;
    --secondary: #21B66F;
    --tertiary: #9945FF;

    /* Text colors for dark theme */
    --white: #FFFFFF;
    --text-primary: #E8EAED;
    --text-secondary: #9AA0A6;
    --text-gray: #8B92A1;

    /* Gradient combinations */
    --gradient-1: linear-gradient(135deg, #00D4FF 0%, #9945FF 100%);
    --gradient-2: linear-gradient(135deg, #21B66F 0%, #00D4FF 100%);
    --gradient-3: linear-gradient(135deg, #FF0080 0%, #FF6B35 100%);
    --gradient-4: linear-gradient(135deg, #9945FF 0%, #FF0080 100%);
    --gradient-5: linear-gradient(135deg, #FFD93D 0%, #FF6B35 100%);

    /* Shadows with color */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow-blue: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-glow-purple: 0 0 20px rgba(153, 69, 255, 0.3);
    --shadow-glow-green: 0 0 20px rgba(33, 182, 111, 0.3);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure all containers respect viewport width */
*,
*::before,
*::after {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Animated AI Background Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(153, 69, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 20%, rgba(33, 182, 111, 0.06) 0%, transparent 40%);
    z-index: -2;
    animation: aiBreathing 8s ease-in-out infinite;
}

@keyframes aiBreathing {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }

    33% {
        transform: scale(1.05) rotate(1deg);
        filter: hue-rotate(10deg);
    }

    66% {
        transform: scale(0.98) rotate(-1deg);
        filter: hue-rotate(-10deg);
    }
}

/* Animated particles background - AI Data Matrix */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* AI Data Particles */
.particle {
    position: absolute;
    width: 2px;
    height: 20px;
    opacity: 0;
    animation: dataRain 15s linear infinite;
}

.particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, currentColor, transparent);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    color: var(--vibrant-blue);
    filter: drop-shadow(0 0 6px currentColor);
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    color: var(--vibrant-purple);
    filter: drop-shadow(0 0 6px currentColor);
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    color: var(--vibrant-green);
    filter: drop-shadow(0 0 6px currentColor);
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 6s;
    color: var(--vibrant-blue);
    filter: drop-shadow(0 0 6px currentColor);
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 8s;
    color: var(--vibrant-purple);
    filter: drop-shadow(0 0 6px currentColor);
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 10s;
    color: var(--vibrant-green);
    filter: drop-shadow(0 0 6px currentColor);
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 12s;
    color: var(--vibrant-blue);
    filter: drop-shadow(0 0 6px currentColor);
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 14s;
    color: var(--vibrant-purple);
    filter: drop-shadow(0 0 6px currentColor);
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 16s;
    color: var(--vibrant-green);
    filter: drop-shadow(0 0 6px currentColor);
}

@keyframes dataRain {
    0% {
        opacity: 0;
        transform: translateY(-100vh) scaleY(0);
    }

    10% {
        opacity: 1;
        transform: translateY(-80vh) scaleY(1);
    }

    90% {
        opacity: 1;
        transform: translateY(80vh) scaleY(1);
    }

    100% {
        opacity: 0;
        transform: translateY(100vh) scaleY(0);
    }
}

/* Navigation - Glassmorphism Dark */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 27, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    background: rgba(10, 14, 27, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.05);
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    height: 50px;
}

.logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.3));
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 250px;
    display: block;
    filter: brightness(1.1) contrast(1.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

/* CTA Button */
.nav-cta {
    background: var(--gradient-1);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Container */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Main Content Area */
#main-content {
    background: var(--dark-bg);
    min-height: 100vh;
}

/* Page Sections */
.page-section {
    display: none;
    min-height: 100vh;
    padding-top: 90px;
    position: relative;
    background: var(--dark-bg);
}

.page-section.active {
    display: block;
}

/* Hero Section - AI-Themed Dark Modern Design */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #0A0E1B;
}

/* NEW: AI Neural Network Background */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 40%, rgba(0, 212, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(153, 69, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(33, 182, 111, 0.08) 0%, transparent 40%);
}

/* AI Neural Network Connections */
.hero-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, var(--vibrant-blue) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, var(--vibrant-purple) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, var(--vibrant-green) 2px, transparent 2px),
        radial-gradient(circle at 35% 80%, var(--vibrant-blue) 1px, transparent 1px),
        radial-gradient(circle at 65% 20%, var(--vibrant-purple) 1px, transparent 1px);
    background-size: 400px 400px, 350px 350px, 450px 450px, 300px 300px, 380px 380px;
    animation: neuralPulse 20s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes neuralPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }

    25% {
        transform: scale(1.1) rotate(90deg);
        filter: brightness(1.2);
    }

    50% {
        transform: scale(0.95) rotate(180deg);
        filter: brightness(0.8);
    }

    75% {
        transform: scale(1.05) rotate(270deg);
        filter: brightness(1.1);
    }
}

/* Data Flow Streams */
.hero-particles::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        linear-gradient(45deg, transparent 48%, rgba(0, 212, 255, 0.03) 49%, rgba(0, 212, 255, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(153, 69, 255, 0.03) 49%, rgba(153, 69, 255, 0.03) 51%, transparent 52%),
        linear-gradient(90deg, transparent 48%, rgba(33, 182, 111, 0.03) 49%, rgba(33, 182, 111, 0.03) 51%, transparent 52%);
    background-size: 30px 30px, 40px 40px, 50px 50px;
    animation: dataFlow 15s linear infinite;
}

@keyframes dataFlow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* AI Holographic Layers */
.layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Quantum Computing Visualization */
.layer-1 {
    opacity: 0.7;
}

.layer-1::before,
.layer-1::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.layer-1::before {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 15%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(0, 212, 255, 0.2) 60deg,
            transparent 120deg,
            rgba(153, 69, 255, 0.2) 180deg,
            transparent 240deg,
            rgba(33, 182, 111, 0.2) 300deg,
            transparent 360deg);
    animation: quantumSpin 20s linear infinite;
}

.layer-1::after {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: 10%;
    background: conic-gradient(from 180deg,
            transparent 0deg,
            rgba(33, 182, 111, 0.2) 60deg,
            transparent 120deg,
            rgba(0, 212, 255, 0.2) 180deg,
            transparent 240deg,
            rgba(153, 69, 255, 0.2) 300deg,
            transparent 360deg);
    animation: quantumSpin 25s linear infinite reverse;
}

@keyframes quantumSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* AI Particle System */
.layer-2 {
    background-image:
        radial-gradient(2px 2px at 20% 30%, var(--vibrant-blue) 1px, transparent 1px),
        radial-gradient(2px 2px at 60% 70%, var(--vibrant-purple) 1px, transparent 1px),
        radial-gradient(2px 2px at 80% 20%, var(--vibrant-green) 1px, transparent 1px),
        radial-gradient(3px 3px at 40% 60%, var(--vibrant-blue) 1px, transparent 1px),
        radial-gradient(2px 2px at 30% 90%, var(--vibrant-purple) 1px, transparent 1px),
        radial-gradient(3px 3px at 90% 50%, var(--vibrant-green) 1px, transparent 1px);
    background-size: 250px 250px, 300px 300px, 200px 200px, 350px 350px, 280px 280px, 320px 320px;
    animation: particleDrift 40s linear infinite;
    opacity: 0.8;
}

@keyframes particleDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(20px, -40px) scale(0.95);
    }

    75% {
        transform: translate(-20px, 30px) scale(1.02);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Energy Wave Overlay */
.layer-2::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 100px,
            rgba(0, 212, 255, 0.03) 100px,
            rgba(0, 212, 255, 0.03) 101px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 100px,
            rgba(153, 69, 255, 0.03) 100px,
            rgba(153, 69, 255, 0.03) 101px);
    animation: waveShift 10s ease-in-out infinite;
}

@keyframes waveShift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 50px);
    }
}

/* Digital Pulse Effect */
.layer-2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
            transparent 0%,
            transparent 30%,
            rgba(0, 212, 255, 0.1) 30.5%,
            transparent 31%,
            transparent 40%,
            rgba(153, 69, 255, 0.1) 40.5%,
            transparent 41%,
            transparent 50%,
            rgba(33, 182, 111, 0.1) 50.5%,
            transparent 51%);
    animation: digitalPulse 4s ease-in-out infinite;
}

@keyframes digitalPulse {

    0%,
    100% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(2);
        opacity: 1;
    }
}

/* AI Floating Orbs */
.layer-1 .ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
    animation: orbitFloat 30s ease-in-out infinite;
}

.layer-1 .ai-orb:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    background: radial-gradient(circle at 30% 30%,
            rgba(0, 212, 255, 0.8) 0%,
            rgba(0, 212, 255, 0.4) 40%,
            transparent 70%);
    box-shadow:
        0 0 60px rgba(0, 212, 255, 0.6),
        inset 0 0 40px rgba(0, 212, 255, 0.3);
    animation-duration: 25s;
}

.layer-1 .ai-orb:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    background: radial-gradient(circle at 30% 30%,
            rgba(153, 69, 255, 0.8) 0%,
            rgba(153, 69, 255, 0.4) 40%,
            transparent 70%);
    box-shadow:
        0 0 40px rgba(153, 69, 255, 0.6),
        inset 0 0 30px rgba(153, 69, 255, 0.3);
    animation-duration: 30s;
    animation-delay: -10s;
}

.layer-1 .ai-orb:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 25%;
    background: radial-gradient(circle at 30% 30%,
            rgba(33, 182, 111, 0.8) 0%,
            rgba(33, 182, 111, 0.4) 40%,
            transparent 70%);
    box-shadow:
        0 0 50px rgba(33, 182, 111, 0.6),
        inset 0 0 35px rgba(33, 182, 111, 0.3);
    animation-duration: 35s;
    animation-delay: -5s;
}

@keyframes orbitFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-30px, -50px) scale(0.9);
    }

    75% {
        transform: translate(-40px, 20px) scale(1.05);
    }
}

/* Neural Connection Lines */
.neural-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.neural-connections svg {
    width: 100%;
    height: 100%;
    position: absolute;
}

.neural-connections path {
    fill: none;
    stroke-width: 1;
    opacity: 0.3;
    animation: neuralFlow 3s ease-in-out infinite;
}

.neural-connections path:nth-child(1) {
    stroke: var(--vibrant-blue);
    animation-delay: 0s;
}

.neural-connections path:nth-child(2) {
    stroke: var(--vibrant-purple);
    animation-delay: 1s;
}

.neural-connections path:nth-child(3) {
    stroke: var(--vibrant-green);
    animation-delay: 2s;
}

@keyframes neuralFlow {

    0%,
    100% {
        stroke-dasharray: 0 1000;
        opacity: 0;
    }

    50% {
        stroke-dasharray: 200 800;
        opacity: 0.6;
    }
}

/* Hero Content - Static White Text with AI glow */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    /* Subtle AI glow effect */
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.2));
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    line-height: 1.1;
    /* AI-powered entrance animation */
    animation: aiReveal 1.5s ease-out;
}

@keyframes aiReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    }

    50% {
        opacity: 0.7;
        filter: blur(2px) drop-shadow(0 2px 20px rgba(0, 212, 255, 0.3));
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    }
}

/* Gradient accent for portion of text - AI Terminal Style */
.hero-highlight {
    background: linear-gradient(90deg, #00D4FF 0%, #9945FF 50%, #21B66F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 700;
    position: relative;
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* AI Terminal Cursor Effect */
.hero-highlight::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: var(--vibrant-green);
    font-weight: 300;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Subtle glow effect on highlight */
.hero-highlight {
    transition: all 0.3s ease;
}

.hero-highlight:hover {
    animation-duration: 1.5s;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    transform: scale(1.02);
}

.subtitle {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    /* Static positioning */
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Button Styles - Enhanced for actual button elements */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* Button reset styles */
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Primary button style */
.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

/* Secondary button style */
.btn-secondary {
    background: transparent;
    color: var(--vibrant-green);
    border: 2px solid var(--vibrant-green);
    box-shadow: 0 0 20px rgba(33, 182, 111, 0.2);
}

.btn-secondary:hover {
    background: var(--vibrant-green);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 182, 111, 0.5);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(33, 182, 111, 0.3);
}

/* Focus states for accessibility */
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 3px solid var(--vibrant-blue);
    outline-offset: 3px;
}

/* Disabled state */
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Enhanced Let's Talk Freedom button in hero */
.hero .btn-primary {
    background: linear-gradient(135deg, #00D4FF 0%, #21B66F 100%);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, #21B66F 0%, #00D4FF 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(33, 182, 111, 0.4);
}

/* Enhanced scroll indicator - AI Style */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator::before {
    content: '';
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid transparent;
    border-radius: 25px;
    position: relative;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.3), rgba(153, 69, 255, 0.3), rgba(33, 182, 111, 0.3));
    box-shadow:
        0 0 20px rgba(0, 212, 255, 0.4),
        inset 0 0 10px rgba(153, 69, 255, 0.2);
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    background: linear-gradient(180deg, var(--vibrant-blue), var(--vibrant-green));
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
    box-shadow: 0 0 10px currentColor;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--dark-bg-secondary);
    position: relative;
}

.features.cta-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(153, 69, 255, 0.05) 100%),
        var(--dark-bg-tertiary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.quote-block {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(153, 69, 255, 0.1) 100%),
        rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border-left: 4px solid var(--vibrant-blue);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.quote-text {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-style: italic;
}

.quote-attribution {
    text-align: right;
    color: var(--vibrant-green);
    margin-top: 1rem;
}

/* Feature Cards Grid - Enhanced Responsiveness */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
    justify-content: center;
    /* No shadow on grid container */
}

.features-grid>* {
    flex: 0 1 calc(33.333% - 1.5rem);
    min-width: 350px;
    max-width: 450px;
}

/* Special 2x2 grid for Orchestrator page */
.features-grid[style*="max-width: 900px"]>* {
    flex: 0 1 calc(50% - 1rem);
    min-width: 300px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .features-grid[style*="max-width: 900px"]>* {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

/* Culture section grid handling - Fixed for mobile */
.culture-section .features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 2rem auto;
    /* No shadow on container */
}

.culture-section .features-grid>* {
    flex: 0 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    max-width: 400px;
}

/* Ensure last items center when odd number */
.culture-section .features-grid>*:nth-child(4),
.culture-section .features-grid>*:nth-child(5) {
    flex: 0 1 calc(33.333% - 1rem);
}

/* Mobile overrides for culture section */
@media (max-width: 768px) {
    .culture-section .features-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .culture-section .features-grid>* {
        flex: 0 1 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
    }
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) scale(1.5);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
}

.feature-card p {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.8;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(33, 182, 111, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%),
        var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 182, 111, 0.2) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
    justify-content: center;
    /* No shadow on grid */
}

.stats-grid>* {
    flex: 0 1 calc(25% - 1.5rem);
    min-width: 220px;
    max-width: 300px;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(33, 182, 111, 0.5);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--dark-bg-secondary);
}

.services-wrapper {
    margin-top: 3rem;
    /* No shadow on wrapper */
}

.service-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(153, 69, 255, 0.03) 100%),
        rgba(255, 255, 255, 0.05);
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

/* Service gradient accents */
.service-item:nth-child(1) {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--vibrant-pink);
}

.service-item:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--vibrant-orange);
}

.service-item:nth-child(3) {
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--vibrant-yellow);
}

.service-item:nth-child(4) {
    background: linear-gradient(135deg, rgba(33, 182, 111, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--vibrant-green);
}

.service-item:nth-child(5) {
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--vibrant-purple);
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-item:nth-child(1):hover {
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.2);
}

.service-item:nth-child(2):hover {
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.service-item:nth-child(3):hover {
    box-shadow: 0 10px 30px rgba(255, 217, 61, 0.2);
}

.service-item:nth-child(4):hover {
    box-shadow: 0 10px 30px rgba(33, 182, 111, 0.2);
}

.service-item:nth-child(5):hover {
    box-shadow: 0 10px 30px rgba(153, 69, 255, 0.2);
}

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 700;
    opacity: 0.1;
    color: var(--white);
}

.service-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.service-item:nth-child(1) h4 {
    color: var(--vibrant-pink);
}

.service-item:nth-child(2) h4 {
    color: var(--vibrant-orange);
}

.service-item:nth-child(3) h4 {
    color: var(--vibrant-yellow);
}

.service-item:nth-child(4) h4 {
    color: var(--vibrant-green);
}

.service-item:nth-child(5) h4 {
    color: var(--vibrant-purple);
}

.service-intro {
    color: var(--text-secondary);
    margin: 1rem 0;
}

.service-features {
    list-style: none;
    margin-top: 2rem;
}

.service-features li {
    padding: 0.5rem 0 0.5rem 2rem;
    color: var(--text-secondary);
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-item:nth-child(1) .service-features li::before {
    color: var(--vibrant-pink);
}

.service-item:nth-child(2) .service-features li::before {
    color: var(--vibrant-orange);
}

.service-item:nth-child(3) .service-features li::before {
    color: var(--vibrant-yellow);
}

.service-item:nth-child(4) .service-features li::before {
    color: var(--vibrant-green);
}

.service-item:nth-child(5) .service-features li::before {
    color: var(--vibrant-purple);
}

.service-outcome {
    font-weight: 600;
    margin-top: 1.5rem;
}

.service-item:nth-child(1) .service-outcome {
    color: var(--vibrant-pink);
}

.service-item:nth-child(2) .service-outcome {
    color: var(--vibrant-orange);
}

.service-item:nth-child(3) .service-outcome {
    color: var(--vibrant-yellow);
}

.service-item:nth-child(4) .service-outcome {
    color: var(--vibrant-green);
}

.service-item:nth-child(5) .service-outcome {
    color: var(--vibrant-purple);
}

/* Service Detail */
.service-detail {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(153, 69, 255, 0.05) 100%),
        rgba(255, 255, 255, 0.05);
    padding: 4rem;
    margin: 0 auto 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    max-width: 1200px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.service-detail h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.service-detail h4 {
    color: var(--vibrant-green);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.process-list {
    list-style: none;
    padding-left: 0;
    counter-reset: item;
}

.process-list li {
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
    color: var(--text-secondary);
}

.process-list li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    color: white;
    font-weight: bold;
}

/* Why Matters Grid */
.why-matters-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    /* No shadow on grid */
}

.why-matters-grid>* {
    flex: 0 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    max-width: 380px;
}

.why-matters-tile {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(33, 182, 111, 0.1) 50%, transparent 70%),
        rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(33, 182, 111, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-matters-tile::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00D4FF 0%, #21B66F 100%);
    border-radius: 15px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.why-matters-tile:hover::before {
    opacity: 0.2;
}

.why-matters-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(33, 182, 111, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(33, 182, 111, 0.15) 50%, transparent 70%),
        rgba(255, 255, 255, 0.1);
}

.why-matters-tile strong {
    color: var(--vibrant-green);
    text-shadow: 0 0 10px rgba(33, 182, 111, 0.3);
}

/* Values Section */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    /* No shadow on grid */
}

.values-grid>* {
    flex: 0 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    max-width: 400px;
}

.value-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(153, 69, 255, 0.05) 100%),
        rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.value-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h3 {
    color: var(--vibrant-green);
    margin-bottom: 1rem;
}

/* Culture Section */
.culture-section {
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.05) 0%, rgba(33, 182, 111, 0.05) 100%),
        var(--dark-bg-tertiary);
    padding: 4rem;
    border-radius: 30px;
    margin: 4rem auto;
    max-width: 1400px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* No shadow on container */
}

.culture-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(77, 184, 237, 0.05) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite;
}

.culture-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(184, 118, 248, 0.04) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite reverse;
}

.culture-section>* {
    position: relative;
    z-index: 1;
}

.culture-section h2,
.culture-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.about-hero {
    background: linear-gradient(135deg, rgba(77, 184, 237, 0.2) 0%, rgba(78, 199, 120, 0.2) 100%);
    padding: 5rem;
    text-align: center;
    margin-bottom: 4rem;
    border-radius: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    /* No shadow on hero wrapper */
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

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

.about-hero h2 {
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

.about-hero p {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Manifesto Section */
.manifesto-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(153, 69, 255, 0.05) 100%),
        rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    /* No shadow on wrapper */
}

/* Shimmer effect for manifesto */
.manifesto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(77, 184, 237, 0.05) 0%,
            transparent 40%,
            transparent 60%,
            rgba(184, 118, 248, 0.05) 100%);
    animation: shimmer-slow 10s ease-in-out infinite;
}

@keyframes shimmer-slow {

    0%,
    100% {
        transform: translateX(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

.manifesto-section h3 {
    color: var(--vibrant-green);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.manifesto-section p {
    position: relative;
    z-index: 1;
}

/* Orchestrator Page Elements */
.orchestrator-intro {
    font-size: 1.3rem;
    color: var(--vibrant-blue);
    text-align: center;
    margin: 2rem 0;
}

/* FIXED: Orchestrator table - removed container shadow */
.orchestrator-table {
    margin: 2rem 0;
    /* No shadow on container */
}

.orchestrator-table table {
    display: block;
    width: 100%;
    background: transparent;
    /* No shadow */
}

.orchestrator-table thead {
    display: none;
}

.orchestrator-table tbody {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    /* No shadow on tbody */
}

.orchestrator-table tr {
    display: block;
    flex: 0 1 calc(50% - 1rem);
    min-width: 350px;
    max-width: 500px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(153, 69, 255, 0.05) 100%),
        rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orchestrator-table tr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.orchestrator-table tr:nth-child(2n)::before {
    background: var(--gradient-2);
}

.orchestrator-table tr:nth-child(3n)::before {
    background: var(--gradient-3);
}

.orchestrator-table tr:nth-child(4n)::before {
    background: var(--gradient-4);
}

.orchestrator-table tr:nth-child(5n)::before {
    background: var(--gradient-5);
}

.orchestrator-table tr:hover::before {
    opacity: 0.7;
}

.orchestrator-table tr:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(153, 69, 255, 0.08) 100%),
        rgba(255, 255, 255, 0.08);
}

.orchestrator-table td {
    display: block;
    padding: 0;
    border: none;
}

.orchestrator-table td:first-child {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--vibrant-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.orchestrator-table td:first-child::before {
    content: '⚡';
    font-size: 1.5rem;
}

.orchestrator-table tr:nth-child(2) td:first-child::before {
    content: '🔒';
}

.orchestrator-table tr:nth-child(3) td:first-child::before {
    content: '🔗';
}

.orchestrator-table tr:nth-child(4) td:first-child::before {
    content: '🚀';
}

.orchestrator-table tr:nth-child(5) td:first-child::before {
    content: '🔍';
}

.orchestrator-table td:last-child {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Culture Principles */
.culture-principles {
    margin-top: 3rem;
}

.principle {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--vibrant-green);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.principle:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(77, 184, 237, 0.1);
}

.principle h4 {
    color: var(--vibrant-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Section Separators */
.section-separator {
    text-align: center;
    margin: 4rem 0;
    font-size: 2rem;
    color: var(--vibrant-green);
    opacity: 0.5;
}

.subsection-separator {
    text-align: center;
    margin: 2rem 0;
    font-size: 1.5rem;
    color: var(--vibrant-blue);
    opacity: 0.5;
}

/* Color Palette Display */
.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

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

.swatch {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-family: monospace;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.swatch:hover {
    transform: translateY(-5px) scale(1.05);
}

.swatch::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.swatch:hover::before {
    opacity: 1;
    animation: shimmer 0.6s ease;
}

@keyframes shimmer {
    from {
        transform: rotate(45deg) translateX(-100%);
    }

    to {
        transform: rotate(45deg) translateX(100%);
    }
}

.swatch.deep-blue {
    background: #1B3A5D;
}

.swatch.vibrant-green {
    background: var(--vibrant-green);
}

.swatch.charcoal {
    background: #333333;
}

.swatch.orange {
    background: var(--vibrant-orange);
}

/* Symbolism Grid */
.symbolism-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    /* No shadow on grid */
}

.symbolism-grid>* {
    flex: 0 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    max-width: 400px;
}

.symbolism-tile {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 70%),
        rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.symbolism-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
}

.symbol-icon {
    font-size: 2.5rem;
    color: var(--vibrant-blue);
    margin-bottom: 1rem;
    display: block;
}

.symbolism-tile h5 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* CTA Wrapper */
.cta-wrapper {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(153, 69, 255, 0.1) 100%),
        rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    margin: 3rem auto;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* No shadow on wrapper */
}

.cta-wrapper h2 {
    margin-bottom: 2rem;
}

.cta-wrapper p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: var(--dark-bg-secondary);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    animation: gradient-shift 5s ease-in-out infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--vibrant-green);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--vibrant-blue);
}

.footer-tagline {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-logo-img {
    height: 40px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Skip to content link - Accessibility */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
    background: var(--gradient-1);
    color: white;
    padding: 1rem;
    text-decoration: none;
    font-weight: bold;
}

.skip-to-content:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    z-index: 9999;
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    outline: 3px solid var(--vibrant-orange);
}

/* FIXED: Remove shadows from grid containers */
.features-grid,
.stats-grid,
.values-grid,
.symbolism-grid,
.why-matters-grid,
.services-wrapper,
.orchestrator-table,
.culture-section .features-grid,
.features,
.stats,
.services,
.about,
.culture-section {
    box-shadow: none !important;
}

/* Contact Form Styles */
#contactFormActual {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(153, 69, 255, 0.05) 100%),
        rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#contactFormActual label {
    display: block;
    color: var(--vibrant-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

#contactFormActual input,
#contactFormActual textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

#contactFormActual input:focus,
#contactFormActual textarea:focus {
    outline: none;
    border-color: var(--vibrant-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), inset 0 0 5px rgba(0, 212, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

#contactFormActual button {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* Why Choose Grid - Enhanced Contact Page */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Override grid for very small screens */
@media (max-width: 320px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.why-choose-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(153, 69, 255, 0.05) 100%),
        rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Animated background gradient on hover */
.why-choose-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            var(--vibrant-blue),
            var(--vibrant-purple),
            var(--vibrant-green),
            var(--vibrant-blue));
    background-size: 400% 400%;
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: gradientRotate 3s ease infinite;
}

@keyframes gradientRotate {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.why-choose-card:hover::before {
    opacity: 0.3;
}

.why-choose-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
}

.why-choose-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 20px currentColor);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px currentColor);
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px currentColor);
    }
}

.why-choose-card:hover .why-choose-icon {
    animation-duration: 0.5s;
    transform: rotateY(360deg);
    transition: transform 0.6s ease;
}

.why-choose-card h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--white) 0%, var(--vibrant-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    transition: background-position 0.3s ease;
}

.why-choose-card:hover h4 {
    background-position: -100% 0;
}

.why-choose-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Icon-specific colors */
.why-choose-card:nth-child(1) .why-choose-icon {
    color: var(--vibrant-blue);
}

.why-choose-card:nth-child(2) .why-choose-icon {
    color: var(--vibrant-purple);
}

.why-choose-card:nth-child(3) .why-choose-icon {
    color: var(--vibrant-green);
}

.why-choose-card:nth-child(4) .why-choose-icon {
    color: var(--vibrant-orange);
}

.why-choose-card:nth-child(5) .why-choose-icon {
    color: var(--vibrant-pink);
}

.why-choose-card:nth-child(6) .why-choose-icon {
    color: var(--vibrant-yellow);
}

/* Add specific glow colors on hover */
.why-choose-card:nth-child(1):hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 212, 255, 0.3);
}

.why-choose-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(153, 69, 255, 0.3);
}

.why-choose-card:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(33, 182, 111, 0.3);
}

.why-choose-card:nth-child(4):hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 107, 53, 0.3);
}

.why-choose-card:nth-child(5):hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 0, 128, 0.3);
}

.why-choose-card:nth-child(6):hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 217, 61, 0.3);
}

/* Mobile responsiveness for Why Choose section */
@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-choose-card {
        padding: 2rem;
    }

    .why-choose-icon {
        font-size: 2.5rem;
    }

    .why-choose-card h4 {
        font-size: 1.2rem;
    }
}

ul.contact-list li,
.culture-section ul li {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(33, 182, 111, 0.05) 100%),
        rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

ul.contact-list li::before,
.culture-section ul li::before {
    content: '✓';
    font-size: 1.5rem;
    color: var(--vibrant-green);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(33, 182, 111, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

ul.contact-list li:nth-child(1)::before,
.culture-section ul li:nth-child(1)::before {
    content: '🔓';
}

ul.contact-list li:nth-child(2)::before,
.culture-section ul li:nth-child(2)::before {
    content: '💬';
}

ul.contact-list li:nth-child(3)::before,
.culture-section ul li:nth-child(3)::before {
    content: '🤖';
}

ul.contact-list li:nth-child(4)::before,
.culture-section ul li:nth-child(4)::before {
    content: '💎';
}

ul.contact-list li:nth-child(5)::before,
.culture-section ul li:nth-child(5)::before {
    content: '🚀';
}

ul.contact-list li:nth-child(6)::before,
.culture-section ul li:nth-child(6)::before {
    content: '🔐';
}

ul.contact-list li:hover,
.culture-section ul li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 212, 255, 0.3);
}

/* Contact List Styles */
ul.contact-list,
.culture-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 2rem auto;
    max-width: 900px;
    padding: 0;
}

ul.contact-list li,
.culture-section ul li {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(33, 182, 111, 0.05) 100%),
        rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

ul.contact-list li::before,
.culture-section ul li::before {
    content: '✓';
    font-size: 1.5rem;
    color: var(--vibrant-green);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(33, 182, 111, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

ul.contact-list li:nth-child(1)::before,
.culture-section ul li:nth-child(1)::before {
    content: '🔓';
}

ul.contact-list li:nth-child(2)::before,
.culture-section ul li:nth-child(2)::before {
    content: '💬';
}

ul.contact-list li:nth-child(3)::before,
.culture-section ul li:nth-child(3)::before {
    content: '🤖';
}

ul.contact-list li:nth-child(4)::before,
.culture-section ul li:nth-child(4)::before {
    content: '💎';
}

ul.contact-list li:nth-child(5)::before,
.culture-section ul li:nth-child(5)::before {
    content: '🚀';
}

ul.contact-list li:nth-child(6)::before,
.culture-section ul li:nth-child(6)::before {
    content: '🔐';
}

ul.contact-list li:hover,
.culture-section ul li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 212, 255, 0.3);
}

/* Ensure all text is readable */
p,
li,
span {
    color: var(--text-secondary);
    line-height: 1.8;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Logo Styles */
.logo-img,
.footer-logo-img {
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: brightness(1.2) contrast(1.2) drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

/* Enhanced Manifesto Cards */
.manifesto-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.manifesto-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(153, 69, 255, 0.08) 100%),
        rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.manifesto-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.manifesto-card:hover::before {
    opacity: 0.3;
}

.manifesto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.manifesto-card h4 {
    color: var(--vibrant-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.manifesto-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Enhanced Principle Cards with Color Coding */
.principle:nth-child(1) {
    border-left-color: var(--vibrant-blue);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
}

.principle:nth-child(2) {
    border-left-color: var(--vibrant-green);
    background: linear-gradient(135deg, rgba(33, 182, 111, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
}

.principle:nth-child(3) {
    border-left-color: var(--vibrant-purple);
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
}

.principle:nth-child(4) {
    border-left-color: var(--vibrant-orange);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
}

.principle:nth-child(5) {
    border-left-color: var(--vibrant-pink);
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
}

.principle:nth-child(6) {
    border-left-color: var(--vibrant-yellow);
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
}

.principle:nth-child(7) {
    border-left-color: var(--vibrant-blue);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.05);
}

.principle h4::before {
    content: '●';
    margin-right: 0.5rem;
    opacity: 0.6;
}

.principle:nth-child(1) h4 {
    color: var(--vibrant-blue);
}

.principle:nth-child(2) h4 {
    color: var(--vibrant-green);
}

.principle:nth-child(3) h4 {
    color: var(--vibrant-purple);
}

.principle:nth-child(4) h4 {
    color: var(--vibrant-orange);
}

.principle:nth-child(5) h4 {
    color: var(--vibrant-pink);
}

.principle:nth-child(6) h4 {
    color: var(--vibrant-yellow);
}

.principle:nth-child(7) h4 {
    color: var(--vibrant-blue);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.p-5 {
    padding: 3rem;
}

/* Selection Styling */
::selection {
    background: var(--vibrant-blue);
    color: white;
    text-shadow: none;
}

::-moz-selection {
    background: var(--vibrant-blue);
    color: white;
    text-shadow: none;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--vibrant-blue);
    outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 14, 27, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 80%;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        margin: 0.5rem 0;
    }

    .nav-links a:hover {
        background: rgba(0, 212, 255, 0.1);
    }

    .nav-cta {
        margin-top: 2rem;
        width: 80%;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Fix feature grids for mobile */
    .features-grid,
    .stats-grid,
    .values-grid,
    .symbolism-grid {
        flex-direction: column;
        align-items: center;
    }

    .features-grid>*,
    .stats-grid>*,
    .values-grid>*,
    .symbolism-grid>* {
        flex: 0 1 100%;
        max-width: 100%;
        min-width: unset;
    }

    /* Fix orchestrator page specific grid */
    .features-grid[style*="max-width: 900px"] {
        display: flex !important;
        flex-direction: column !important;
    }

    .features-grid[style*="max-width: 900px"]>* {
        flex: 0 1 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
    }

    /* Fix culture section features grid */
    .culture-section .features-grid {
        flex-direction: column;
        align-items: center;
    }

    .culture-section .features-grid>* {
        flex: 0 1 100%;
        max-width: 100%;
        min-width: unset;
    }

    .why-matters-grid {
        flex-direction: column;
        align-items: center;
    }

    .why-matters-grid>* {
        flex: 0 1 100%;
        max-width: 100%;
        min-width: unset;
    }

    ul.contact-list,
    .culture-section ul {
        grid-template-columns: 1fr;
    }

    .service-item {
        padding: 2rem 1.5rem;
    }

    .service-detail {
        padding: 2rem 1.5rem;
    }

    .service-number {
        font-size: 3rem;
        top: 1rem;
        right: 1rem;
    }

    .principle {
        padding: 1.5rem;
    }

    .manifesto-section {
        padding: 2rem 1.5rem;
    }

    .culture-section {
        padding: 2rem 1.5rem;
    }

    .about-hero {
        padding: 3rem 1.5rem;
    }

    .orchestrator-table tbody {
        flex-direction: column;
        align-items: center;
    }

    .orchestrator-table tr {
        flex: 0 1 100%;
        max-width: 100%;
        min-width: unset;
    }

    .orchestrator-table tr {
        padding: 1.5rem;
    }

    .orchestrator-table td:first-child {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .quote-block {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .quote-text {
        font-size: 1.1rem;
    }

    /* Fix tile padding on mobile */
    .why-matters-tile {
        padding: 1.5rem;
    }

    .symbolism-tile {
        padding: 2rem 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .features,
    .stats,
    .services,
    .about {
        padding: 3rem 0;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }
}

/* Tablet/iPad responsive adjustments */
@media (min-width: 769px) and (max-width: 1199px) {

    .features-grid>*,
    .stats-grid>*,
    .values-grid>*,
    .symbolism-grid>* {
        flex: 0 1 calc(50% - 1rem);
    }

    .why-matters-grid>* {
        flex: 0 1 calc(50% - 1rem);
    }

    .orchestrator-table tbody {
        gap: 1.5rem;
    }

    .orchestrator-table tr {
        flex: 0 1 calc(50% - 0.75rem);
        min-width: 300px;
    }

    ul.contact-list,
    .culture-section ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item {
        padding: 3rem;
    }

    .service-detail {
        padding: 3rem;
    }

    .container {
        max-width: 960px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .features-grid,
    .stats-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-matters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large desktop adjustments */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }

    .hero h1 {
        font-size: 6rem;
    }

    .section-header h2 {
        font-size: 4.5rem;
    }

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

/* Ultra-wide screens */
@media (min-width: 2000px) {
    body {
        font-size: 18px;
    }

    .container {
        max-width: 1800px;
    }
}

/* Portrait mobile specific */
@media (max-width: 480px) and (orientation: portrait) {
    .hero {
        min-height: 100vh;
        padding: 4rem 0 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Landscape mobile specific */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    nav {
        padding: 0.5rem 0;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }

    body {
        min-height: -webkit-fill-available;
    }
}

/* High Performance Mode */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--vibrant-blue), var(--vibrant-purple));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--vibrant-purple), var(--vibrant-green));
}

/* Ensure no shadows on grid wrappers */
.features-grid,
.stats-grid,
.values-grid,
.symbolism-grid,
.why-matters-grid,
.services-wrapper,
.orchestrator-table,
.culture-section .features-grid {
    box-shadow: none !important;
}

.features,
.stats,
.services,
.about,
.culture-section {
    box-shadow: none !important;
}

/* Final touch - animate the main content on page load */
#main-content {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Additional hover states for service details */
.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Smooth transitions for all page sections */
.page-section {
    animation: sectionFadeIn 0.6s ease-out;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure manifesto intro text is visible */
.manifesto-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Manifesto conclusion styling */
.manifesto-conclusion {
    font-size: 1.3rem;
    color: var(--vibrant-green);
    text-align: center;
    margin-top: 3rem;
    font-weight: 600;
}

/* Subtitle note styling */
.subtitle-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 400;
    opacity: 0.7;
}

/* Enhanced form elements */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
textarea:hover,
select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hardware acceleration for performance */
.will-change-transform {
    will-change: transform;
}

.hardware-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Ensure smooth scrolling everywhere */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .animated-bg,
    .particle,
    nav,
    footer,
    .scroll-indicator {
        display: none;
    }

    .page-section {
        page-break-after: always;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    body {
        background: #000;
    }

    .card-bg {
        background: #111;
        border: 2px solid #fff;
    }

    .text-primary {
        color: #fff;
    }

    .text-secondary {
        color: #ddd;
    }
}

/* Internet Explorer 11 fallbacks */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {

    .feature-card,
    .stat-card,
    .value-card {
        background: rgba(20, 27, 45, 0.95);
    }

    .backdrop-filter,
    .-webkit-backdrop-filter {
        background: rgba(10, 14, 27, 0.95);
    }
}

/* Loading Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--vibrant-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Ensure interactive elements are large enough for touch */
@media (pointer: coarse) {

    button,
    a,
    input,
    select,
    textarea {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    /* Ensure all grids stack to single column */
    .features-grid,
    .stats-grid,
    .values-grid,
    .symbolism-grid,
    .why-matters-grid,
    .culture-section .features-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
        width: 100%;
    }

    .features-grid>*,
    .stats-grid>*,
    .values-grid>*,
    .symbolism-grid>*,
    .why-matters-grid>*,
    .culture-section .features-grid>* {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* Special handling for orchestrator grid */
    .features-grid[style*="max-width: 900px"]>* {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
    }

    /* Adjust padding for all cards on small screens */
    .feature-card,
    .stat-card,
    .value-card,
    .why-matters-tile,
    .symbolism-tile {
        padding: 1.5rem !important;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    .service-item,
    .service-detail {
        padding: 1.5rem 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .quote-block {
        padding: 1.25rem;
    }

    .quote-text {
        font-size: 1rem;
    }

    .about-hero {
        padding: 2rem 1rem;
    }

    .about-hero h2 {
        font-size: 1.75rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    .feature-card,
    .stat-card,
    .value-card {
        padding: 2rem 1.5rem;
    }

    .why-matters-tile {
        padding: 1.25rem;
    }

    .symbolism-tile {
        padding: 1.5rem;
    }

    .service-item,
    .service-detail {
        padding: 1.5rem 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .quote-block {
        padding: 1.25rem;
    }

    .quote-text {
        font-size: 1rem;
    }

    .about-hero {
        padding: 2rem 1rem;
    }

    .about-hero h2 {
        font-size: 1.75rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }
}

/* Catch-all for very small screens */
@media (max-width: 320px) {

    /* Force all grids to single column */
    .features-grid,
    .stats-grid,
    .values-grid,
    .symbolism-grid,
    .why-matters-grid,
    .culture-section .features-grid,
    .why-choose-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Remove all min-width constraints */
    .features-grid>*,
    .stats-grid>*,
    .values-grid>*,
    .symbolism-grid>*,
    .why-matters-grid>*,
    .culture-section .features-grid>*,
    .why-choose-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Reduce padding on all cards */
    .feature-card,
    .stat-card,
    .value-card,
    .why-matters-tile,
    .symbolism-tile,
    .why-choose-card {
        padding: 1.25rem !important;
    }

    /* Reduce container padding */
    .container {
        padding: 0 0.5rem;
    }
}

.hardware-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* End of enhanced dark theme styles */