/* ============================================
   KYZLO LABS - Institutional Quant Aesthetic
   Premium Design System
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Deep Space Palette */
    --bg-void: #050508;
    --bg-deep: #0a0b14;
    --bg-space: #0d0f1a;
    --bg-nebula: #101324;

    /* Accent Colors */
    --accent-cyan: #00d4ff;
    --accent-cyan-bright: #5cebff;
    --accent-cyan-dim: rgba(0, 212, 255, 0.5);
    --accent-gold: #c9a227;
    --accent-gold-bright: #e8c547;
    --accent-gold-dim: rgba(201, 162, 39, 0.5);
    --accent-emerald: #10b981;
    --accent-red: #ef4444;

    /* Text Hierarchy */
    --text-primary: #f0f1f5;
    --text-secondary: #a0a3b5;
    --text-muted: #5c5f73;
    --text-dim: #3a3d4d;

    /* Glass & Surfaces */
    --glass-bg: rgba(16, 19, 36, 0.75);
    --glass-bg-solid: rgba(16, 19, 36, 0.92);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-light: rgba(255, 255, 255, 0.1);
    --glass-glow: rgba(0, 212, 255, 0.08);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Typography */
    --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", "Consolas", monospace;

    /* Animation Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ANIMATED COSMIC BACKGROUND
   Deep Space with Greek Influences
   ============================================ */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background:
        linear-gradient(180deg,
            var(--bg-void) 0%,
            var(--bg-deep) 30%,
            var(--bg-space) 60%,
            var(--bg-nebula) 100%);
}

/* Animated grid pattern with Greek key influence */
.bg-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Nebula gradient overlays - animated */
.bg-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 70% 60% at 70% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 30% 70%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
    animation: nebulaShift 20s ease-in-out infinite alternate;
}

@keyframes nebulaShift {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* ============================================
   STAR FIELD - Twinkling Stars
   ============================================ */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9;
    pointer-events: none;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
}

.stars-small {
    background-image:
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 50px 160px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 200px 20px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 220px 180px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 280px 60px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 320px 140px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 360px 100px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 400px 50px, rgba(255, 255, 255, 0.7), transparent);
    background-size: 400px 200px;
    animation: twinkle 4s ease-in-out infinite;
}

.stars-medium {
    background-image:
        radial-gradient(1.5px 1.5px at 100px 150px, var(--accent-cyan), transparent),
        radial-gradient(1.5px 1.5px at 200px 220px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 300px 50px, var(--accent-gold), transparent),
        radial-gradient(1.5px 1.5px at 400px 180px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 500px 100px, var(--accent-cyan), transparent),
        radial-gradient(1.5px 1.5px at 150px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 350px 250px, var(--accent-gold), transparent),
        radial-gradient(1.5px 1.5px at 450px 300px, rgba(255, 255, 255, 0.9), transparent);
    background-size: 550px 350px;
    animation: twinkle 6s ease-in-out infinite 1s;
}

.stars-large {
    background-image:
        radial-gradient(2px 2px at 150px 200px, var(--accent-gold), transparent),
        radial-gradient(2.5px 2.5px at 400px 300px, var(--accent-cyan), transparent),
        radial-gradient(2px 2px at 600px 100px, rgba(255, 255, 255, 1), transparent),
        radial-gradient(2.5px 2.5px at 300px 400px, var(--accent-gold), transparent),
        radial-gradient(2px 2px at 700px 250px, var(--accent-cyan), transparent);
    background-size: 800px 500px;
    animation: twinkleLarge 8s ease-in-out infinite 0.5s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes twinkleLarge {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ============================================
   NEBULA CLOUDS - Moving Gas Clouds
   ============================================ */
.nebula-clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -8;
    pointer-events: none;
    overflow: hidden;
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.nebula-1 {
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.4) 0%, rgba(139, 92, 246, 0.2) 40%, transparent 70%);
    top: 10%;
    left: -10%;
    animation: nebulaFloat1 40s ease-in-out infinite;
}

.nebula-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.35) 0%, rgba(0, 100, 180, 0.15) 50%, transparent 70%);
    top: 40%;
    right: -15%;
    animation: nebulaFloat2 45s ease-in-out infinite 5s;
}

.nebula-3 {
    width: 450px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(201, 162, 39, 0.3) 0%, rgba(180, 140, 30, 0.1) 50%, transparent 70%);
    bottom: 5%;
    left: 30%;
    animation: nebulaFloat3 35s ease-in-out infinite 10s;
}

@keyframes nebulaFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
    25% { transform: translate(50px, 30px) scale(1.1); opacity: 0.2; }
    50% { transform: translate(100px, -20px) scale(1); opacity: 0.12; }
    75% { transform: translate(30px, -40px) scale(1.15); opacity: 0.18; }
}

@keyframes nebulaFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
    33% { transform: translate(-80px, 50px) scale(1.2); opacity: 0.2; }
    66% { transform: translate(-40px, -30px) scale(0.9); opacity: 0.1; }
}

@keyframes nebulaFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
    50% { transform: translate(60px, -60px) scale(1.1); opacity: 0.22; }
}

/* ============================================
   SHOOTING STARS
   ============================================ */
.shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -7;
    pointer-events: none;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    border-radius: 2px;
    opacity: 0;
    transform: rotate(-45deg);
}

.shooting-star:nth-child(1) {
    top: 10%;
    left: 20%;
    animation: shootingStar 8s ease-in-out infinite;
}

.shooting-star:nth-child(2) {
    top: 30%;
    left: 60%;
    width: 80px;
    animation: shootingStar 12s ease-in-out infinite 3s;
}

.shooting-star:nth-child(3) {
    top: 60%;
    left: 40%;
    width: 120px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    animation: shootingStar 15s ease-in-out infinite 7s;
}

@keyframes shootingStar {
    0% { opacity: 0; transform: rotate(-45deg) translateX(-200px); }
    5% { opacity: 1; }
    15% { opacity: 0; transform: rotate(-45deg) translateX(600px); }
    100% { opacity: 0; transform: rotate(-45deg) translateX(600px); }
}

/* ============================================
   COSMIC DUST - Floating Particles
   ============================================ */
.cosmic-dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(201, 162, 39, 0.4), transparent),
        radial-gradient(1px 1px at 30% 50%, rgba(0, 212, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 80%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(1px 1px at 90% 60%, rgba(201, 162, 39, 0.4), transparent);
    background-size: 100% 100%;
    animation: dustFloat 25s linear infinite;
}

@keyframes dustFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(5deg); }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 20s infinite;
    box-shadow: 0 0 6px var(--accent-cyan);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 20s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 28s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 22s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 24s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 26s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 21s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 23s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 27s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 19s; }
.particle:nth-child(11) { left: 35%; animation-delay: 5s; animation-duration: 24s; }
.particle:nth-child(12) { left: 55%; animation-delay: 0s; animation-duration: 22s; }
.particle:nth-child(13) { left: 75%; animation-delay: 2s; animation-duration: 26s; }
.particle:nth-child(14) { left: 85%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(15) { left: 95%; animation-delay: 1s; animation-duration: 25s; }

.particle:nth-child(even) {
    background: var(--accent-gold);
    width: 2px;
    height: 2px;
    box-shadow: 0 0 8px var(--accent-gold);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Scan line effect - subtle */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.02) 2px,
        rgba(0, 0, 0, 0.02) 4px
    );
}

/* ============================================
   FLOATING PLANETS
   ============================================ */
.planets {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -6;
    pointer-events: none;
    overflow: hidden;
}

.planet {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.planet-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 8%;
    background:
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.8) 0%, rgba(99, 102, 241, 0.4) 50%, rgba(79, 70, 229, 0.2) 100%);
    box-shadow:
        inset -20px -20px 40px rgba(0, 0, 0, 0.4),
        inset 10px 10px 20px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(139, 92, 246, 0.3);
    animation: planetFloat1 60s ease-in-out infinite;
}

.planet-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 5%;
    background:
        radial-gradient(circle at 35% 35%, rgba(0, 212, 255, 0.7) 0%, rgba(0, 150, 200, 0.4) 50%, rgba(0, 100, 150, 0.2) 100%);
    box-shadow:
        inset -15px -15px 30px rgba(0, 0, 0, 0.4),
        inset 8px 8px 15px rgba(255, 255, 255, 0.15),
        0 0 40px rgba(0, 212, 255, 0.25);
    animation: planetFloat2 45s ease-in-out infinite 5s;
}

.planet-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    background:
        radial-gradient(circle at 30% 30%, rgba(201, 162, 39, 0.8) 0%, rgba(180, 140, 30, 0.4) 50%, rgba(150, 120, 20, 0.2) 100%);
    box-shadow:
        inset -12px -12px 25px rgba(0, 0, 0, 0.4),
        inset 6px 6px 12px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(201, 162, 39, 0.3);
    animation: planetFloat3 50s ease-in-out infinite 10s;
}

/* Saturn-like ring */
.planet-ring {
    position: absolute;
    width: 180px;
    height: 40px;
    top: 12%;
    right: 5%;
    border: 3px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    transform: rotateX(70deg) rotateZ(-15deg);
    animation: planetFloat1 60s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes planetFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, 30px) rotate(5deg); }
    50% { transform: translate(-40px, 0px) rotate(0deg); }
    75% { transform: translate(-20px, -20px) rotate(-5deg); }
}

@keyframes planetFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(-8deg); }
    66% { transform: translate(15px, 25px) rotate(8deg); }
}

@keyframes planetFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-25px, -35px); }
}

/* ============================================
   SPACESHIP
   ============================================ */
.spaceship-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
    overflow: hidden;
}

.spaceship {
    position: absolute;
    top: 25%;
    left: -150px;
    animation: spaceshipFly 25s linear infinite;
}

.spaceship-body {
    width: 50px;
    height: 20px;
    background: linear-gradient(180deg,
        rgba(200, 200, 220, 0.9) 0%,
        rgba(150, 150, 170, 0.8) 50%,
        rgba(100, 100, 120, 0.7) 100%);
    border-radius: 50% 80% 80% 50% / 50% 50% 50% 50%;
    position: relative;
    box-shadow:
        0 0 20px rgba(0, 212, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* Cockpit window */
.spaceship-body::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 8px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.8), rgba(0, 150, 200, 0.6));
    border-radius: 50%;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* Wing */
.spaceship-body::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 30px;
    background: linear-gradient(90deg,
        rgba(150, 150, 170, 0.7),
        rgba(100, 100, 120, 0.5));
    left: 10px;
    top: -5px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.spaceship-engine {
    position: absolute;
    width: 8px;
    height: 12px;
    background: linear-gradient(90deg, rgba(100, 100, 120, 0.8), rgba(80, 80, 100, 0.6));
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px 0 0 2px;
}

.spaceship-trail {
    position: absolute;
    width: 80px;
    height: 6px;
    left: -85px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.1) 20%,
        rgba(0, 212, 255, 0.4) 60%,
        rgba(255, 200, 100, 0.6) 100%);
    border-radius: 3px;
    animation: engineGlow 0.5s ease-in-out infinite alternate;
}

@keyframes spaceshipFly {
    0% {
        left: -150px;
        top: 25%;
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    45% {
        top: 35%;
    }
    50% {
        top: 30%;
        opacity: 0.8;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        left: calc(100% + 150px);
        top: 20%;
        opacity: 0;
    }
}

@keyframes engineGlow {
    0% {
        opacity: 0.8;
        width: 60px;
    }
    100% {
        opacity: 1;
        width: 80px;
    }
}

/* ============================================
   GREEK DECORATIVE ELEMENTS
   Ancient Columns & Meander Patterns
   ============================================ */
.greek-columns {
    position: fixed;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: -3;
    pointer-events: none;
    opacity: 0.04;
}

.greek-columns.left {
    left: 0;
    background:
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 50px,
            rgba(201, 162, 39, 0.5) 50px,
            rgba(201, 162, 39, 0.5) 52px,
            transparent 52px,
            transparent 100px
        ),
        linear-gradient(90deg,
            rgba(201, 162, 39, 0.3) 0%,
            rgba(201, 162, 39, 0.15) 30%,
            transparent 100%);
}

.greek-columns.right {
    right: 0;
    background:
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 50px,
            rgba(201, 162, 39, 0.5) 50px,
            rgba(201, 162, 39, 0.5) 52px,
            transparent 52px,
            transparent 100px
        ),
        linear-gradient(270deg,
            rgba(201, 162, 39, 0.3) 0%,
            rgba(201, 162, 39, 0.15) 30%,
            transparent 100%);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    animation: logoRotate 20s linear infinite;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    animation: logoRotate 15s linear infinite reverse;
}

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

.logo-inner {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

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

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out-expo);
    border-radius: 1px;
}

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

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s var(--ease-out-expo) 0.2s both;
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent-cyan);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg,
        var(--text-primary) 0%,
        var(--accent-cyan) 50%,
        var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tag {
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #0099cc 100%);
    color: var(--bg-void);
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background: rgba(201, 162, 39, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.15);
}

.btn-outline {
    background: transparent;
    border: 1px dashed var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}

/* ============================================
   LIVE TICKER - Premium Styling
   ============================================ */
.hero-card {
    animation: fadeInUp 1s var(--ease-out-expo) 0.5s both;
}

.metrics-card {
    background: var(--glass-bg-solid);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        0 0 0 1px var(--glass-border),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Animated border gradient */
.metrics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        var(--accent-gold),
        var(--accent-cyan),
        var(--accent-gold));
    background-size: 200% 100%;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Corner accents */
.metrics-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at bottom right, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.metrics-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.metrics-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-emerald);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 12px var(--accent-emerald);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px var(--accent-emerald);
    }
}

.metrics-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    flex: 1;
}

.ticker-time {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.metrics-body {
    padding: 8px 24px 24px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.metric-row:last-of-type {
    border-bottom: none;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.metric-value.mono {
    font-variant-numeric: tabular-nums;
}

.metric-value.regime-bullish {
    color: var(--accent-emerald);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.metric-value.regime-bearish {
    color: var(--accent-red);
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.metric-value.regime-neutral {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

/* Edge Row - Highlighted */
.edge-row {
    background: linear-gradient(90deg,
        rgba(0, 212, 255, 0.05) 0%,
        rgba(0, 212, 255, 0.02) 50%,
        transparent 100%);
    margin: 12px -24px;
    padding: 18px 24px !important;
    border: none !important;
    border-left: 3px solid var(--accent-cyan) !important;
    position: relative;
}

.edge-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan);
}

.edge-value {
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.2s var(--ease-out-expo);
    letter-spacing: -0.5px;
}

.edge-value.positive {
    color: var(--accent-emerald);
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.edge-value.negative {
    color: var(--accent-red);
    text-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

.edge-value.flash {
    transform: scale(1.08);
}

/* Value update animation */
.metric-value.updating {
    animation: valueUpdate 0.4s var(--ease-out-expo);
}

@keyframes valueUpdate {
    0% { opacity: 1; transform: translateY(0); }
    30% { opacity: 0.3; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
}

.metrics-adapters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.adapter-chip {
    padding: 6px 12px;
    background: rgba(60, 63, 80, 0.3);
    border: 1px solid rgba(60, 63, 80, 0.5);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    font-family: var(--font-mono);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.adapter-chip.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
}

.adapter-chip.active::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: livePulse 1.5s infinite;
}

.adapter-chip.processing {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--accent-cyan);
}

.adapter-chip.processing::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    animation: shimmer 1s ease infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

/* ============================================
   SECTIONS - Common Styles
   ============================================ */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold));
}

.section-eyebrow::after {
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

/* Greek Key Border Pattern for Sections */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 8px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--accent-gold) 0px,
            var(--accent-gold) 8px,
            transparent 8px,
            transparent 12px,
            var(--accent-gold) 12px,
            var(--accent-gold) 16px,
            transparent 16px,
            transparent 24px
        );
    opacity: 0.15;
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
}

.section-cta {
    margin: 70px auto 0;
    max-width: 900px;
    padding: 36px 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(16, 19, 36, 0.9));
    border: 1px solid var(--glass-border-light);
    box-shadow: 0 18px 60px rgba(0, 212, 255, 0.1);
    text-align: center;
}

.section-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.section-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

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

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s var(--ease-out-expo);
}

/* ============================================
   PLATFORM SECTION
   ============================================ */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.platform-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-gold) 50%,
        transparent 100%);
    opacity: 0.5;
}

.platform-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-light);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--glass-border-light);
}

.platform-card:hover::after {
    opacity: 1;
}

/* Laurel Wreath Inspired Card Icons */
.card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Laurel leaves - left side */
.card-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-left-color: var(--accent-gold);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.5;
    animation: laurelRotate 20s linear infinite;
}

/* Laurel leaves - right side */
.card-icon::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px solid transparent;
    border-right-color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.5;
    animation: laurelRotate 20s linear infinite reverse;
}

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

.card-icon-inner {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Greek marble texture hint on cards */
.platform-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%, rgba(255, 255, 255, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.platform-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.platform-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

/* Service List inside cards */
.service-list {
    list-style: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.service-list li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* Tech Stack Section */
.tech-stack {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.tech-stack-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tech-tag {
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   ARCHITECTURE SECTION
   ============================================ */
.arch-layers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.arch-layer {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transition: all 0.4s ease;
}

.arch-layer:hover {
    border-color: var(--glass-border-light);
    transform: translateX(4px);
}

.arch-layer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-cyan));
    border-radius: 2px;
}

.arch-layer h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.arch-layer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Architecture Diagram - Visual Version */
.arch-diagram-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.arch-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 700px;
    width: 100%;
}

/* Architecture Box - Base Styles */
.arch-box {
    width: 100%;
    padding: 20px 28px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.arch-box:hover {
    transform: scale(1.02);
}

.arch-box-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.arch-box-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-style: italic;
}

.arch-box-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.arch-box-items span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 500;
}

/* External World */
.arch-box.external {
    background: linear-gradient(135deg, rgba(100, 100, 120, 0.15) 0%, rgba(80, 80, 100, 0.1) 100%);
    border: 1px solid rgba(150, 150, 170, 0.2);
}

.arch-box.external .arch-box-label {
    color: var(--text-secondary);
}

.arch-box.external .arch-box-items span {
    background: rgba(150, 150, 170, 0.15);
    border: 1px solid rgba(150, 150, 170, 0.2);
    color: var(--text-secondary);
}

/* Adapters Layer */
.arch-box.adapters {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.arch-box.adapters .arch-box-label {
    color: #a78bfa;
}

.adapter-tag {
    background: rgba(139, 92, 246, 0.15) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    color: #c4b5fd !important;
}

/* Ports Layer */
.arch-box.ports {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 150, 200, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.25);
}

.arch-box.ports .arch-box-label {
    color: var(--accent-cyan);
}

.port-tag {
    background: rgba(0, 212, 255, 0.12) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    color: var(--accent-cyan-bright) !important;
}

/* Application Layer */
.arch-box.application {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(10, 150, 100, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.arch-box.application .arch-box-label {
    color: var(--accent-emerald);
}

.app-tag {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #6ee7b7 !important;
}

/* Domain Layer - Core/Highlighted */
.arch-box.domain {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12) 0%, rgba(180, 140, 30, 0.08) 100%);
    border: 2px solid rgba(201, 162, 39, 0.4);
    box-shadow:
        0 0 30px rgba(201, 162, 39, 0.1),
        inset 0 0 20px rgba(201, 162, 39, 0.05);
}

.arch-box.domain .arch-box-label {
    color: var(--accent-gold);
    font-size: 0.8rem;
}

.domain-tag {
    background: rgba(201, 162, 39, 0.15) !important;
    border: 1px solid rgba(201, 162, 39, 0.4) !important;
    color: var(--accent-gold-bright) !important;
}

/* Connectors */
.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 32px;
    position: relative;
}

.connector-line {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.4) 0%, rgba(0, 212, 255, 0.4) 100%);
}

.connector-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid rgba(0, 212, 255, 0.5);
}

/* Animated data flow effect */
.arch-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: dataFlow 2s ease-in-out infinite;
    opacity: 0;
}

.arch-connector:nth-child(2)::before { animation-delay: 0s; }
.arch-connector:nth-child(4)::before { animation-delay: 0.4s; }
.arch-connector:nth-child(6)::before { animation-delay: 0.8s; }
.arch-connector:nth-child(8)::before { animation-delay: 1.2s; }
.arch-connector:nth-child(10)::before { animation-delay: 1.6s; }

@keyframes dataFlow {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Responsive */
@media (max-width: 600px) {
    .arch-box {
        padding: 16px 20px;
    }

    .arch-box-items span {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .arch-box-label {
        font-size: 0.65rem;
    }
}

/* ============================================
   SPORTS ANALYTICS SECTION
   ============================================ */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.sports-feature {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transition: all 0.4s ease;
}

.sports-feature:hover {
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-4px);
}

.sports-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    border-radius: 2px;
}

.sports-feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.sports-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* Feature Badge (Ethos/Pathos/Logos) */
.feature-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

/* Why Us CTA Section */
.why-us-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.why-us-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan), var(--accent-gold));
    background-size: 200% 100%;
    animation: borderGlow 3s linear infinite;
}

.cta-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.cta-subtext {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Large button variant */
.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--glass-border-light);
}

.feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-icon::before {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.feature-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
}

/* ============================================
   QUICK START SECTION
   ============================================ */
.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 56px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-gold), rgba(201, 162, 39, 0.1));
}

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #9a7b1a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-void);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.step-content {
    flex: 1;
    padding-top: 4px;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.code-block {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px 24px;
    overflow-x: auto;
    position: relative;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), transparent);
    border-radius: 2px 0 0 2px;
}

.code-block pre {
    margin: 0;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.about-text {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.85;
    font-size: 1.05rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.founder-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
}

/* Greek Portrait Frame */
.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--accent-gold) 0px,
            var(--accent-gold) 6px,
            transparent 6px,
            transparent 10px,
            var(--accent-gold) 10px,
            var(--accent-gold) 14px,
            transparent 14px,
            transparent 20px
        );
    opacity: 0.6;
}

/* Greek Laurel Avatar Frame */
.founder-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(201, 162, 39, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    box-shadow:
        0 0 30px rgba(201, 162, 39, 0.2),
        inset 0 0 20px rgba(201, 162, 39, 0.1);
}

/* Laurel wreath around avatar */
.founder-avatar::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 3px solid transparent;
    border-left-color: var(--accent-gold);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: laurelRotate 15s linear infinite;
}

.founder-avatar::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border: 2px solid transparent;
    border-right-color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    border-radius: 50%;
    animation: laurelRotate 15s linear infinite reverse;
}

.founder-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.founder-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.founder-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-wrapper {
    max-width: 560px;
    margin: 0 auto;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 48px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 32px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a3b5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-group select option {
    background: var(--bg-space);
    color: var(--text-primary);
    padding: 12px;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group textarea::placeholder {
    color: var(--text-dim);
}

/* Form row for side-by-side inputs */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form .btn {
    width: 100%;
}

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

.contact-direct p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.email-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.back-to-top {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-to-top::after {
    content: '↑';
    font-size: 1rem;
}

.back-to-top:hover {
    color: var(--accent-cyan);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-card {
        max-width: 420px;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .platform-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .arch-layers {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-card {
        max-width: 340px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(5, 5, 8, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 28px;
        transition: right 0.4s var(--ease-out-expo);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .sports-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .arch-diagram {
        padding: 24px;
    }

    .arch-diagram pre {
        font-size: 0.55rem;
    }

    .step {
        flex-direction: column;
        gap: 20px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-tags {
        justify-content: center;
    }

    .metrics-card {
        margin: 0 -8px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .platform-card,
    .feature-card {
        padding: 28px 24px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .bg-grid,
    .stars-container,
    .nebula-clouds,
    .shooting-stars,
    .cosmic-dust,
    .particles,
    .scanlines,
    .planets,
    .spaceship-container,
    .greek-columns,
    .nav {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        padding: 40px 0;
    }

    .section::before {
        display: none;
    }
}

/* ============================================
   GREEK MEANDER DIVIDER
   Horizontal rule with Greek key pattern
   ============================================ */
.greek-divider {
    width: 100%;
    height: 12px;
    margin: 60px 0;
    background:
        repeating-linear-gradient(
            90deg,
            var(--accent-gold) 0px,
            var(--accent-gold) 10px,
            transparent 10px,
            transparent 15px,
            var(--accent-gold) 15px,
            var(--accent-gold) 20px,
            transparent 20px,
            transparent 30px
        );
    opacity: 0.1;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
