/* =====================================================
   QUANTUM AEROSPACE - VARIABLE POLE MOTOR
   Neomorphic Dark Tech Design System
   Inspired by Tesla, SpaceX, and Semiconductor Companies
   Clean, Minimal, Industrial Elegance
   ===================================================== */

/* =====================================================
   CSS VARIABLES & DESIGN TOKENS
   ===================================================== */
:root {
    /* Background Colors - Dark Industrial */
    --color-bg-primary: #0f0f0f;
    --color-bg-secondary: #161616;
    --color-bg-tertiary: #1c1c1c;
    --color-bg-card: #1a1a1a;
    --color-bg-elevated: #222222;
    
    /* Accent Colors - Minimal & Clean */
    --color-accent: #ffffff;
    --color-accent-dim: #a0a0a0;
    --color-accent-blue: #3b82f6;
    --color-accent-blue-dim: #2563eb;
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    
    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-tertiary: #666666;
    --color-text-muted: #4a4a4a;
    
    /* Neomorphic Shadows - Soft & Subtle */
    --neo-shadow-sm: 
        4px 4px 8px rgba(0, 0, 0, 0.4),
        -2px -2px 6px rgba(255, 255, 255, 0.02);
    --neo-shadow-md: 
        8px 8px 16px rgba(0, 0, 0, 0.5),
        -4px -4px 12px rgba(255, 255, 255, 0.02);
    --neo-shadow-lg: 
        12px 12px 24px rgba(0, 0, 0, 0.6),
        -6px -6px 18px rgba(255, 255, 255, 0.02);
    --neo-shadow-inset: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.4),
        inset -2px -2px 6px rgba(255, 255, 255, 0.02);
    
    /* Border Colors */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-active: rgba(255, 255, 255, 0.2);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Border Radius - Softer, More Modern */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

::selection {
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* =====================================================
   CUSTOM CURSOR - Minimal Style
   ===================================================== */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--color-text-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.cursor-outline {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

@media (hover: none) {
    .cursor-dot, .cursor-outline {
        display: none;
    }
}

/* =====================================================
   PARTICLE CANVAS - Subtle
   ===================================================== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* =====================================================
   NAVIGATION - Clean & Minimal
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-sm) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

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

.logo-icon svg circle,
.logo-icon svg path {
    stroke: var(--color-text-primary);
}

.logo-icon svg circle:nth-child(2) {
    fill: var(--color-text-primary);
}

/* Logo imagen oficial */
.logo-image {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
}

.logo-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--space-xs) 0;
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text-primary);
    transition: var(--transition-base);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--color-text-primary);
    width: 0%;
    transition: width 0.1s linear;
}

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

.mobile-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--color-text-primary);
    transition: var(--transition-base);
}

/* =====================================================
   SIDE NAVIGATION - Minimal Dots
   ===================================================== */
.side-nav {
    position: fixed;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.side-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition-base);
}

.side-dot span {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
}

.side-dot:hover span {
    opacity: 1;
}

.side-dot:hover {
    background: var(--color-text-secondary);
    transform: scale(1.3);
}

.side-dot.active {
    background: var(--color-text-primary);
    transform: scale(1.5);
}

/* =====================================================
   BUTTONS - Neomorphic Style
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    letter-spacing: 0.02em;
}

.btn-neo {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    box-shadow: var(--neo-shadow-sm);
    border: 1px solid var(--border-subtle);
}

.btn-neo:hover {
    transform: translateY(-2px);
    box-shadow: var(--neo-shadow-md);
    border-color: var(--border-light);
}

.btn-primary {
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-neo-glow {
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
}

.btn-neo-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
}

.btn-neo-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--border-light);
}

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

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: var(--transition-base);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
}

/* =====================================================
   NEOMORPHIC CARDS - Clean & Subtle
   ===================================================== */
.neo-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--neo-shadow-md);
    transition: var(--transition-base);
}

.neo-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: var(--neo-shadow-lg);
}

.neo-card-large {
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--neo-shadow-md);
    padding: var(--space-xl);
    transition: var(--transition-base);
}

.neo-card-sm {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: var(--space-md);
    transition: var(--transition-base);
}

.neo-card-highlight {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--neo-shadow-lg);
    padding: var(--space-xl);
    text-align: center;
}

/* =====================================================
   BADGES & TAGS - Minimal
   ===================================================== */
.neo-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xs) var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
}

.neo-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-tertiary);
    letter-spacing: 0.1em;
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* =====================================================
   INPUTS - Neomorphic Style
   ===================================================== */
.neo-input {
    width: 100%;
    background: var(--color-bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    box-shadow: var(--neo-shadow-inset);
    transition: var(--transition-base);
}

.neo-input:focus {
    outline: none;
    border-color: var(--border-active);
    box-shadow: var(--neo-shadow-inset), 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.neo-input::placeholder {
    color: var(--color-text-muted);
}

textarea.neo-input {
    resize: vertical;
    min-height: 100px;
}

select.neo-input {
    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='%23666666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* =====================================================
   SLIDER - Neomorphic Style
   ===================================================== */
.neo-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--neo-shadow-inset);
    outline: none;
    cursor: pointer;
}

.neo-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-text-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
}

.neo-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.neo-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--color-text-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-number {
    display: block;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
    font-weight: 400;
}

/* =====================================================
   GRADIENT TEXT - Subtle
   ===================================================== */
.gradient-text {
    color: var(--color-text-primary);
}


/* =====================================================
   HERO SECTION - Clean & Impactful
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.hero-orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    animation: float 30s ease-in-out infinite;
}

.hero-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    bottom: -200px;
    left: -150px;
    animation: float 35s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -20px); }
    50% { transform: translate(-15px, 15px); }
    75% { transform: translate(15px, 20px); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-tertiary);
    max-width: 480px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-metrics {
    display: flex;
    gap: var(--space-md);
}

.metric-card {
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    min-width: 110px;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    margin-top: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-motor-img {
    max-width: 420px;
    width: 100%;
    opacity: 0.9;
    filter: grayscale(20%);
}

/* Video del Hero */
.hero-video {
    max-width: 550px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(255, 255, 255, 0.05);
    opacity: 0.95;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid var(--color-text-muted);
    border-radius: 10px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--color-text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* =====================================================
   TECHNOLOGY SECTION
   ===================================================== */
.technology {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
}

.motor-interactive-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.motor-display {
    padding: var(--space-xl);
}

.motor-canvas-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-lg);
}

#motorCanvas {
    border-radius: var(--radius-lg);
    opacity: 0.9;
}

.motor-info-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.pole-count-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pole-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.pole-label {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.motor-controls {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

.pole-slider-container {
    margin-bottom: var(--space-lg);
}

.pole-slider-container label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.slider-min, .slider-max {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    min-width: 25px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xs);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.motor-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stat-item {
    display: grid;
    grid-template-columns: 70px 1fr 45px;
    align-items: center;
    gap: var(--space-md);
}

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

.stat-bar {
    height: 4px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    border-radius: var(--radius-xl);
    transition: width 0.5s ease;
}

.torque-fill {
    background: var(--color-text-primary);
    width: 60%;
}

.speed-fill {
    background: var(--color-text-secondary);
    width: 80%;
}

.efficiency-fill {
    background: var(--color-success);
    width: 95%;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-align: right;
}

.tech-explanation {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.tech-card {
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
}

.tech-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--color-text-secondary);
}

.tech-icon svg {
    width: 100%;
    height: 100%;
}

.tech-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.tech-card p {
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
    line-height: 1.6;
}

.tech-card strong {
    color: var(--color-text-secondary);
}

/* Lab Showcase */
.lab-showcase {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.lab-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    filter: grayscale(30%);
}

.lab-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    background: linear-gradient(transparent, rgba(15, 15, 15, 0.95));
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.lab-overlay .neo-badge {
    margin-bottom: var(--space-sm);
}

.lab-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.lab-overlay p {
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
}


/* =====================================================
   APPLICATIONS SECTION
   ===================================================== */
.applications {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
}

.application-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    align-items: center;
}

.application-showcase.wind-showcase {
    direction: rtl;
}

.application-showcase.wind-showcase > * {
    direction: ltr;
}

.app-visual {
    width: 100%;
}

.app-info {
    padding: var(--space-lg);
}

.app-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.app-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border-subtle);
    filter: grayscale(30%);
}

.app-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.app-tagline {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.app-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.benefit-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    filter: grayscale(50%);
}

.benefit-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.benefit-item p {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
}

/* =====================================================
   EV ANIMATION CONTAINER
   ===================================================== */
.ev-animation-container {
    padding: var(--space-lg);
}

.ev-scene {
    position: relative;
    height: 280px;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-subtle);
}

.ev-road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--color-bg-primary);
}

.road-lines {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-text-muted) 0px,
        var(--color-text-muted) 30px,
        transparent 30px,
        transparent 60px
    );
    transform: translateY(-50%);
    animation: roadMove 1s linear infinite paused;
}

.ev-scene.running .road-lines {
    animation-play-state: running;
}

@keyframes roadMove {
    from { transform: translateY(-50%) translateX(0); }
    to { transform: translateY(-50%) translateX(-60px); }
}

.ev-car {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    transition: transform 0.5s ease;
}

.ev-image {
    width: 100%;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4)) grayscale(20%);
}

.ev-hud {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    font-family: var(--font-mono);
    min-width: 140px;
    backdrop-filter: blur(10px);
}

.hud-speed {
    text-align: center;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
}

.hud-speed .hud-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.hud-speed .hud-unit {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.hud-poles, .hud-efficiency {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: var(--space-xs);
}

.hud-label {
    color: var(--color-text-muted);
}

.hud-poles .hud-value {
    color: var(--color-text-secondary);
    font-weight: 600;
}

.hud-efficiency .hud-value {
    color: var(--color-success);
}

.hud-mode {
    text-align: center;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: var(--space-xs);
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    font-weight: 600;
    margin-top: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ev-controls {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.neo-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--neo-shadow-sm);
}

.neo-btn:hover {
    border-color: var(--border-light);
    box-shadow: var(--neo-shadow-md);
    transform: translateY(-2px);
}

.neo-btn:active {
    transform: translateY(0);
}

.ev-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.timeline-phase {
    background: var(--color-bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    transition: var(--transition-base);
    cursor: pointer;
}

.timeline-phase:hover {
    border-color: var(--border-light);
}

.timeline-phase.active {
    background: var(--color-bg-elevated);
    border-color: var(--border-active);
    box-shadow: var(--neo-shadow-sm);
}

.phase-icon {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    filter: grayscale(50%);
}

.phase-name {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--color-text-secondary);
}

.phase-poles {
    display: block;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

/* =====================================================
   WIND TURBINE ANIMATION
   ===================================================== */
.wind-animation-container {
    padding: var(--space-lg);
}

.wind-scene {
    position: relative;
    height: 320px;
    background: linear-gradient(180deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 50%, var(--color-bg-primary) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-subtle);
}

/* ==============================================
   TURBINA EÓLICA - Estructura con flujo normal
   Usa flexbox para alinear: cabeza arriba, torre abajo
   ============================================== */

.wind-turbine {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Contenedor que organiza la turbina verticalmente */
.turbine-assembly {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CABEZA: Contiene el rotor y la nacelle, va ARRIBA */
.turbine-head {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: -2px; /* Conecta con la torre */
}

/* ROTOR HUB: Círculo blanco donde se conectan las aspas */
.rotor-hub {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #ffffff 0%, #e8e8e8 50%, #c0c0c0 100%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

/* NACELLE: Góndola horizontal detrás del rotor */
.nacelle-body {
    width: 45px;
    height: 14px;
    background: linear-gradient(180deg, #d0d0d0 0%, #a0a0a0 100%);
    border-radius: 3px 8px 8px 3px;
    margin-left: -8px; /* Se superpone con el hub */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* TORRE: Barra vertical que va DEBAJO de la cabeza */
.turbine-tower {
    width: 10px;
    height: 130px;
    background: linear-gradient(90deg, #909090 0%, #c8c8c8 50%, #808080 100%);
    border-radius: 2px 2px 4px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ASPAS: Giran alrededor del centro del rotor hub */
.turbine-blades {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    animation: rotateBlade 4s linear infinite;
    z-index: 5;
}

@keyframes rotateBlade {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* CADA ASPA: Sale del centro hacia afuera */
.blade {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 8px;
    background: linear-gradient(90deg, #f0f0f0 0%, #d8d8d8 40%, #b0b0b0 100%);
    transform-origin: left center;
    border-radius: 2px 4px 4px 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.blade-1 { transform: translateY(-50%) rotate(0deg); }
.blade-2 { transform: translateY(-50%) rotate(120deg); }
.blade-3 { transform: translateY(-50%) rotate(240deg); }

.wind-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.wind-particle {
    position: absolute;
    width: 25px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: windFlow 2s linear infinite;
}

@keyframes windFlow {
    from { transform: translateX(-40px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    to { transform: translateX(calc(100% + 40px)); opacity: 0; }
}

.wind-hud {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    font-family: var(--font-mono);
    min-width: 130px;
    backdrop-filter: blur(10px);
}

.wind-hud .hud-wind {
    text-align: center;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
}

.wind-hud .hud-wind .hud-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.wind-hud .hud-poles, .wind-hud .hud-power {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: var(--space-xs);
}

.wind-hud .hud-poles .hud-value {
    color: var(--color-text-secondary);
}

.wind-hud .hud-power .hud-value {
    color: var(--color-success);
}

.wind-hud .hud-efficiency {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-top: var(--space-xs);
    padding-top: var(--space-xs);
    border-top: 1px solid var(--border-subtle);
}

.wind-hud .hud-efficiency .hud-value {
    color: var(--color-success);
    font-weight: 600;
}

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

.wind-controls label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.wind-slider-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.wind-slider-wrapper span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    min-width: 55px;
}

.wind-indicator {
    height: 4px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.wind-bar {
    height: 100%;
    background: var(--color-text-secondary);
    border-radius: var(--radius-xl);
    width: 20%;
    transition: width 0.3s ease;
}

/* More Applications Grid */
.more-applications {
    margin-top: var(--space-2xl);
}

.more-applications h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.app-card {
    padding: var(--space-lg);
    text-align: center;
}

.app-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-sm);
    filter: grayscale(50%);
}

.app-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.app-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}


/* =====================================================
   MARKET SECTION
   ===================================================== */
.market-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.market-stat {
    padding: var(--space-xl);
    text-align: center;
}

.stat-visual {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto var(--space-md);
}

.stat-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-bg {
    fill: none;
    stroke: var(--color-bg-secondary);
    stroke-width: 6;
}

.stat-progress {
    fill: none;
    stroke: var(--color-text-secondary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--progress) / 100));
    transition: stroke-dashoffset 1s ease;
}

.stat-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stat-center .stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.market-stat .stat-label {
    font-size: 0.9rem;
    color: var(--color-text-tertiary);
}

.market-drivers {
    padding: var(--space-xl);
}

.market-drivers h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.drivers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.driver-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.driver-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    filter: grayscale(50%);
}

.driver-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.driver-item p {
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
}

/* =====================================================
   INVESTMENT SECTION
   ===================================================== */
.investment {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
}

.investment-hero {
    margin-bottom: var(--space-2xl);
}

.investment-badge {
    display: inline-block;
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.investment-hero h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.investment-hero p {
    font-size: 1rem;
    color: var(--color-text-tertiary);
    max-width: 550px;
    margin: 0 auto;
}

.allocation-section {
    margin-bottom: var(--space-2xl);
}

.allocation-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.allocation-visual {
    max-width: 750px;
    margin: 0 auto;
}

.allocation-bar {
    display: flex;
    height: 50px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--neo-shadow-md);
    border: 1px solid var(--border-subtle);
}

.alloc-segment {
    width: var(--width);
    background: var(--color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-sm);
    transition: var(--transition-base);
    cursor: pointer;
}

.alloc-segment:hover {
    filter: brightness(1.1);
}

.alloc-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.alloc-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Override segment colors for neomorphic style */
.alloc-segment:nth-child(1) { --color: #3a3a3a; }
.alloc-segment:nth-child(2) { --color: #4a4a4a; }
.alloc-segment:nth-child(3) { --color: #5a5a5a; }
.alloc-segment:nth-child(4) { --color: #6a6a6a; }
.alloc-segment:nth-child(5) { --color: #7a7a7a; }

.business-model {
    margin-bottom: var(--space-2xl);
}

.business-model h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.model-card {
    padding: var(--space-xl);
    text-align: center;
}

.model-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-md);
    filter: grayscale(50%);
}

.model-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.model-card p {
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-md);
}

.model-tag {
    display: inline-block;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--border-subtle);
    color: var(--color-text-secondary);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.why-invest {
    padding: var(--space-xl);
}

.why-invest h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.invest-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.invest-point {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.point-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--color-bg-primary);
    font-weight: 700;
}

.invest-point strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.invest-point p {
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
}

/* =====================================================
   ROADMAP SECTION
   ===================================================== */
.roadmap {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
}

.timeline-container {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
}

.timeline-track {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-bg-tertiary);
    border-radius: 1px;
    z-index: 0;
}

.timeline-progress {
    height: 100%;
    background: var(--color-text-secondary);
    border-radius: 1px;
    width: 20%;
    transition: width 1s ease;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-marker {
    position: relative;
    margin-bottom: var(--space-lg);
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-bg-secondary);
    border-radius: 50%;
    transition: var(--transition-base);
}

.timeline-item.completed .marker-dot,
.timeline-item.active .marker-dot {
    background: var(--color-text-primary);
    border-color: var(--color-text-primary);
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-text-secondary);
    border-radius: 50%;
    opacity: 0;
    animation: markerPulse 2s infinite;
}

.timeline-item.active .marker-pulse {
    opacity: 1;
}

@keyframes markerPulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.timeline-content {
    padding: var(--space-md);
    max-width: 160px;
}

.timeline-badge {
    display: inline-block;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--border-subtle);
    color: var(--color-text-secondary);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-sm);
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.timeline-content p {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-sm);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.timeline-item.completed .timeline-date {
    color: var(--color-success);
}

/* =====================================================
   TEAM SECTION
   ===================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.team-card {
    padding: var(--space-xl);
    text-align: center;
}

.team-avatar {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto var(--space-md);
}

.avatar-glow {
    position: absolute;
    inset: -4px;
    background: var(--color-text-primary);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(8px);
}

.avatar-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--color-text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-bg-primary);
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.team-role {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
}

.team-bio {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
    line-height: 1.6;
}

.company-banner {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl);
}

.company-logo {
    flex-shrink: 0;
}

.company-logo svg {
    width: 70px;
    height: 70px;
}

.company-logo svg circle,
.company-logo svg path {
    stroke: var(--color-text-primary);
}

.company-logo svg circle:nth-child(2) {
    fill: var(--color-text-primary);
}

/* Logo imagen oficial en company banner */
.company-logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(1.1);
}

.company-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.company-tagline {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.company-locations {
    display: flex;
    gap: var(--space-lg);
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
}

.contact-info {
    padding: var(--space-xl);
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.contact-info > p {
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.method-icon {
    font-size: 1.3rem;
    filter: grayscale(50%);
}

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

.contact-method a {
    color: var(--color-text-secondary);
}

.contact-method a:hover {
    color: var(--color-text-primary);
}

.contact-form {
    padding: var(--space-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-text-secondary);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--color-bg-secondary);
    padding: var(--space-2xl) 0 var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

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

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

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

.footer-links {
    display: flex;
    gap: var(--space-2xl);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-bottom: var(--space-sm);
    transition: var(--transition-base);
}

.footer-col a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

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

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1200px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
        margin-bottom: var(--space-xl);
    }
    
    .hero-description {
        margin: 0 auto var(--space-xl);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-metrics {
        justify-content: center;
    }
    
    .motor-interactive-section {
        grid-template-columns: 1fr;
    }
    
    .application-showcase {
        grid-template-columns: 1fr;
    }
    
    .application-showcase.wind-showcase {
        direction: ltr;
    }
    
    /* Aerospace section adjustments for single column */
    .aerospace-showcase .app-visual {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .aerospace-animation-container {
        min-height: 380px;
    }
    
    .aerospace-scene {
        height: 300px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .side-nav {
        display: none;
    }
    
    .market-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .model-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-items {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .timeline-track {
        display: none;
    }
    
    .timeline-item {
        flex-direction: row;
        text-align: left;
        gap: var(--space-md);
    }
    
    .timeline-marker {
        margin-bottom: 0;
    }
    
    .timeline-content {
        max-width: none;
    }
    
    .invest-points {
        grid-template-columns: 1fr;
    }
    
    .drivers-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 5rem;
    }
    
    .hero-metrics {
        flex-direction: column;
        align-items: center;
    }
    
    .metric-card {
        width: 100%;
        max-width: 180px;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ev-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .company-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .company-locations {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .allocation-bar {
        flex-direction: column;
        height: auto;
    }
    
    .alloc-segment {
        width: 100% !important;
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .ev-car {
        width: 260px;
    }
    
    .ev-timeline {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   ANIMATIONS & TRANSITIONS
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}


/* ==================== AEROSPACE SECTION ==================== */
.aerospace-showcase {
    margin-top: 80px;
}

.aerospace-animation-container {
    background: linear-gradient(180deg, #0a1628 0%, #1a2a4a 50%, #2d4a2d 100%);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.aerospace-scene {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
}

/* Sky background with gradient */
.sky-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 30%;
    background: linear-gradient(180deg, 
        #0a1628 0%, 
        #1a3a5c 30%,
        #3a6a8c 60%,
        #7ab4d4 100%
    );
    z-index: 1;
}

/* Ground line */
.ground-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, #2d4a2d 0%, #1a2a1a 100%);
    z-index: 2;
}

.ground-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* Clouds */
.clouds {
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    height: 40%;
    z-index: 3;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    filter: blur(8px);
}

/* Aircraft container */
.aircraft-container {
    position: absolute;
    bottom: 35%;
    right: 10%;
    z-index: 10;
    transition: all 0.8s ease-out;
    display: block;
    visibility: visible;
    opacity: 1;
}

.aircraft-container.flying {
    bottom: 55%;
    right: 20%;
}

.aircraft-container.cruising {
    bottom: 65%;
    right: 40%;
}

.aircraft-container.descending {
    bottom: 50%;
    right: 60%;
}

.aircraft-container.landing {
    bottom: 35%;
    right: 75%;
}

/* Aircraft body */
.aircraft {
    position: relative;
    width: 120px;
    height: 40px;
    display: block;
    visibility: visible;
}

.aircraft-body {
    position: absolute;
    width: 100px;
    height: 25px;
    background: linear-gradient(180deg, #e8e8e8 0%, #c0c0c0 50%, #a0a0a0 100%);
    border-radius: 25px 15px 15px 25px;
    left: 10px;
    top: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.aircraft-body::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 5px;
    width: 30px;
    height: 10px;
    background: linear-gradient(180deg, #4a90c2 0%, #2a5a8a 100%);
    border-radius: 10px 5px 5px 10px;
}

.aircraft-body::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 40px;
    width: 40px;
    height: 6px;
    background: repeating-linear-gradient(90deg, 
        #4a90c2 0px, #4a90c2 4px, 
        #c0c0c0 4px, #c0c0c0 8px
    );
    border-radius: 2px;
}

/* Wings */
.aircraft-wing-left,
.aircraft-wing-right {
    position: absolute;
    width: 50px;
    height: 8px;
    background: linear-gradient(180deg, #d0d0d0 0%, #a0a0a0 100%);
    top: 15px;
    left: 35px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.aircraft-wing-left {
    transform: perspective(100px) rotateX(-20deg);
    transform-origin: bottom;
    border-radius: 2px 20px 20px 2px;
}

.aircraft-wing-right {
    transform: perspective(100px) rotateX(20deg);
    transform-origin: top;
    top: 18px;
    border-radius: 2px 20px 20px 2px;
}

/* Tail */
.aircraft-tail {
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(180deg, #d0d0d0 0%, #a0a0a0 100%);
    clip-path: polygon(100% 100%, 0% 100%, 100% 0%);
}

/* Ducted fans */
.ducted-fan {
    position: absolute;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #1a1a1a 30%, #3a3a3a 70%);
    border-radius: 50%;
    border: 2px solid #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: fan-spin 0.5s linear infinite paused;
}

.ducted-fan::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: conic-gradient(from 0deg, #666, #333, #666, #333, #666);
    border-radius: 50%;
}

.ducted-fan.active {
    animation-play-state: running;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
}

.ducted-fan.high-thrust {
    animation-duration: 0.1s;
    box-shadow: 0 0 25px rgba(0, 255, 136, 1);
}

.ducted-fan.medium-thrust {
    animation-duration: 0.2s;
}

.ducted-fan.low-thrust {
    animation-duration: 0.4s;
}

@keyframes fan-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fan-left {
    left: 40px;
    top: 5px;
}

.fan-right {
    left: 40px;
    bottom: 2px;
}

.fan-tail {
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
}

/* Aerospace HUD */
.aerospace-hud {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    padding: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    z-index: 20;
    backdrop-filter: blur(5px);
}

.aerospace-hud > div {
    display: flex;
    gap: 5px;
    margin-bottom: 4px;
}

.aerospace-hud > div:last-child {
    margin-bottom: 0;
}

.aerospace-hud .hud-label {
    color: rgba(255, 255, 255, 0.6);
}

.aerospace-hud .hud-value {
    color: #00ff88;
    font-weight: 600;
}

.aerospace-hud .hud-unit {
    color: rgba(255, 255, 255, 0.4);
}

#flightPhase {
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Aerospace controls */
.aerospace-controls {
    margin-top: 15px;
}

.flight-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.flight-phases-legend {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.phase-item {
    flex: 1;
    min-width: 70px;
    text-align: center;
    padding: 8px 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.phase-item.active {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.5);
    color: #00ff88;
}

.phase-item small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
}

.phase-item.active small {
    color: rgba(0, 255, 136, 0.8);
}

/* Desktop styles for aerospace - ensure visibility on large screens */
@media (min-width: 992px) {
    .aerospace-animation-container {
        min-height: 400px;
    }
    
    .aerospace-scene {
        height: 320px;
        position: relative;
    }
    
    .aircraft-container {
        position: absolute;
        bottom: 35%;
        right: 10%;
        z-index: 10;
    }
    
    .aircraft {
        width: 140px;
        height: 50px;
        transform: scale(1);
    }
    
    .aircraft-body {
        width: 120px;
        height: 30px;
    }
    
    .aerospace-hud {
        font-size: 12px;
        padding: 15px;
    }
    
    .flight-phases-legend {
        gap: 12px;
    }
    
    .phase-item {
        min-width: 90px;
        padding: 10px 8px;
        font-size: 12px;
    }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 991px) {
    .aerospace-animation-container {
        min-height: 350px;
    }
    
    .aerospace-scene {
        height: 280px;
    }
    
    .aircraft {
        transform: scale(0.9);
    }
}

/* Responsive adjustments for aerospace - mobile */
@media (max-width: 768px) {
    .aerospace-animation-container {
        min-height: 300px;
    }
    
    .aerospace-scene {
        height: 220px;
    }
    
    .aircraft {
        transform: scale(0.8);
    }
    
    .flight-phases-legend {
        gap: 5px;
    }
    
    .phase-item {
        min-width: 55px;
        padding: 6px 3px;
        font-size: 10px;
    }
    
    .aerospace-hud {
        font-size: 10px;
        padding: 8px;
    }
}


/* =====================================================
   ADDITIONAL RESPONSIVE FIXES
   ===================================================== */

/* Ensure aerospace section is visible on all screen sizes */
.aerospace-showcase {
    overflow: visible;
}

.aerospace-showcase .app-visual {
    overflow: visible;
}

/* Large desktop (1400px+) */
@media (min-width: 1400px) {
    .aerospace-animation-container {
        min-height: 420px;
    }
    
    .aerospace-scene {
        height: 340px;
    }
    
    .aircraft {
        width: 160px;
        height: 55px;
    }
    
    .aircraft-body {
        width: 140px;
        height: 35px;
    }
    
    .aerospace-hud {
        font-size: 13px;
        padding: 18px;
    }
}

/* Fix for application showcase grid on medium screens */
@media (min-width: 993px) and (max-width: 1199px) {
    .application-showcase {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .aerospace-animation-container {
        min-height: 360px;
    }
    
    .aerospace-scene {
        height: 280px;
    }
}

/* Ensure all animation containers have proper dimensions */
.ev-animation-container,
.wind-animation-container,
.aerospace-animation-container {
    position: relative;
    overflow: hidden;
}

/* Fix video responsiveness in hero */
.hero-video {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-video {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-video {
        max-width: 280px;
    }
    
    .aerospace-animation-container {
        min-height: 280px;
    }
    
    .aerospace-scene {
        height: 200px;
    }
    
    .aircraft {
        transform: scale(0.7);
    }
}
