/*
   GEODEV Landing Page — "Conectar Mundos"
   Dark Mode Premium · Vanilla CSS
   Brand: #0B0F19 bg, #2563EB accent, Inter font
*/

/* ═══════════════════════════════════════════ */
/* VARIABLES & THEMING                        */
/* ═══════════════════════════════════════════ */
:root {
    /* Brand Palette */
    --color-accent: #2563EB;
    --color-accent-light: #3b82f6;
    --color-accent-glow: rgba(37, 99, 235, 0.4);
    --color-cyan: #06b6d4;
    --color-teal: #14b8a6;
    --color-amber: #f59e0b;
    --color-green: #22c55e;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
    --gradient-glow: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout */
    --container-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme (Default) */
[data-theme="dark"] {
    --color-bg-main: #0B0F19;
    --color-bg-secondary: #0f1422;
    --color-bg-tertiary: #141a2e;
    --color-text-main: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-text-bright: #f8fafc;
    --color-surface: rgba(15, 20, 34, 0.7);
    --color-surface-hover: rgba(20, 26, 46, 0.9);
    --color-border: rgba(148, 163, 184, 0.08);
    --color-border-hover: rgba(37, 99, 235, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
}

/* Light Theme */
[data-theme="light"] {
    --color-bg-main: #f8fafc;
    --color-bg-secondary: #f1f5f9;
    --color-bg-tertiary: #e2e8f0;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-text-bright: #0f172a;
    --color-surface: rgba(255, 255, 255, 0.8);
    --color-surface-hover: rgba(255, 255, 255, 1);
    --color-border: rgba(30, 41, 59, 0.08);
    --color-border-hover: rgba(37, 99, 235, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.08);
}


/* ═══════════════════════════════════════════ */
/* GLOBAL RESETS & BASE                       */
/* ═══════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.7;
    font-weight: 400;
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text-bright);
    letter-spacing: -0.02em;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7rem 0;
}


/* ═══════════════════════════════════════════ */
/* UTILITY CLASSES                            */
/* ═══════════════════════════════════════════ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
}

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

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

.title-underline {
    height: 3px;
    width: 60px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

.title-underline.left {
    margin: 0.75rem 0 0 0;
}


/* ═══════════════════════════════════════════ */
/* BUTTONS                                    */
/* ═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-accent-glow);
    color: #ffffff;
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    background: rgba(37, 99, 235, 0.05);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

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


/* ═══════════════════════════════════════════ */
/* PARTICLE CANVAS                            */
/* ═══════════════════════════════════════════ */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}


/* ═══════════════════════════════════════════ */
/* HEADER / NAVIGATION                        */
/* ═══════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-normal);
    padding: 1.2rem 0;
}

.header.scrolled {
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    height: 36px;
    width: auto;
    transition: opacity var(--transition-fast);
}

/* Theme Logo Switching */
.logo-light, .logo-dark,
.light-icon, .dark-icon {
    display: none;
}

[data-theme="dark"] .logo-dark,
[data-theme="dark"] .light-icon {
    display: block;
}

[data-theme="light"] .logo-light,
[data-theme="light"] .dark-icon {
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    position: relative;
    letter-spacing: 0.01em;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    border-radius: 1px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 1rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    background: rgba(37, 99, 235, 0.05);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-main);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg-main);
    z-index: 999;
    padding-top: 100px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mobile-nav.active {
    display: block;
    opacity: 1;
}

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

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--color-text-main);
}

.btn-mobile-cta {
    margin-top: 1rem;
}


/* ═══════════════════════════════════════════ */
/* HERO SECTION                               */
/* ═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow--left {
    top: -100px;
    left: -200px;
    background: rgba(37, 99, 235, 0.12);
}

.hero-glow--right {
    bottom: -100px;
    right: -200px;
    background: rgba(6, 182, 212, 0.08);
}

[data-theme="light"] .hero-glow--left {
    background: rgba(37, 99, 235, 0.06);
}

[data-theme="light"] .hero-glow--right {
    background: rgba(6, 182, 212, 0.04);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-accent-light);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-subtitle strong {
    color: var(--color-text-bright);
    font-weight: 600;
}

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

/* Orbit System */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-system {
    position: relative;
    width: 380px;
    height: 380px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.orbit-logo {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 0 20px var(--color-accent-glow));
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    animation: orbit-spin 20s linear infinite;
}

.orbit-ring--1 {
    width: 160px;
    height: 160px;
    margin-top: -80px;
    margin-left: -80px;
    animation-duration: 25s;
}

.orbit-ring--2 {
    width: 240px;
    height: 240px;
    margin-top: -120px;
    margin-left: -120px;
    animation-duration: 35s;
    animation-direction: reverse;
}

.orbit-ring--3 {
    width: 310px;
    height: 310px;
    margin-top: -155px;
    margin-left: -155px;
    animation-duration: 30s;
}

.orbit-ring--4 {
    width: 370px;
    height: 370px;
    margin-top: -185px;
    margin-left: -185px;
    animation-duration: 40s;
    animation-direction: reverse;
}

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

.orbit-node {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    box-shadow: 0 0 20px var(--color-accent-glow);
    /* Counter-rotate to keep icon upright */
    animation: orbit-counter-spin 25s linear infinite;
    transition: transform var(--transition-normal);
}

.orbit-node::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-text-muted);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

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

.orbit-ring--2 .orbit-node { animation-duration: 35s; animation-direction: reverse; }
.orbit-ring--3 .orbit-node { animation-duration: 30s; }
.orbit-ring--4 .orbit-node { animation-duration: 40s; animation-direction: reverse; }

.orbit-node--arcgis {
    top: -22px;
    left: 50%;
    margin-left: -22px;
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
}

.orbit-node--sap {
    right: -22px;
    top: 50%;
    margin-top: -22px;
    background: linear-gradient(135deg, #0369a1, #0284c7);
}

.orbit-node--ia {
    bottom: -22px;
    left: 50%;
    margin-left: -22px;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.orbit-node--whatsapp {
    left: -22px;
    top: 50%;
    margin-top: -22px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.orbit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}


/* ═══════════════════════════════════════════ */
/* LOS MUNDOS QUE CONECTAMOS                  */
/* ═══════════════════════════════════════════ */
.worlds {
    background-color: var(--color-bg-secondary);
    position: relative;
    z-index: 1;
}

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

.glass-card {
    background: var(--color-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.glass-card:hover::before {
    opacity: 1;
}

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

.world-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.world-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-light);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.world-icon-badge--sap {
    background: rgba(3, 105, 161, 0.1);
    color: #38bdf8;
}

.world-icon-badge--ia {
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
}

.world-icon-badge--whatsapp {
    background: rgba(22, 163, 74, 0.1);
    color: #4ade80;
}

.world-icon-badge--iot {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
}

.world-icon-badge--analytics {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.glass-card:hover .world-icon-badge {
    transform: scale(1.05);
}

.world-connector {
    display: flex;
    align-items: center;
    gap: 0;
}

.connector-line {
    width: 16px;
    height: 1px;
    background: var(--color-border);
    transition: background var(--transition-normal);
}

.glass-card:hover .connector-line {
    background: var(--color-accent);
}

.connector-symbol {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 0 2px;
}

.world-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.world-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.world-subtitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.world-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.world-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

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

/* Flow Visualization */
.flow-visual {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.flow-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.3;
}

.flow-nodes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
}

.flow-node i {
    font-size: 1.5rem;
    color: var(--color-accent-light);
    transition: transform var(--transition-normal);
}

.flow-node span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.flow-node:hover i {
    transform: scale(1.2);
    color: var(--color-accent);
}

.flow-arrow {
    color: var(--color-border);
    font-size: 0.8rem;
    animation: flow-pulse 2s ease-in-out infinite;
}

@keyframes flow-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; color: var(--color-accent-light); }
}


/* ═══════════════════════════════════════════ */
/* VALIDACIÓN TÉCNICA                         */
/* ═══════════════════════════════════════════ */
.validation {
    position: relative;
    z-index: 1;
}

.validation-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.validation-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
    line-height: 1.8;
}

.validation-desc strong {
    color: var(--color-text-bright);
}

.validation-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.val-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem;
}

.val-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-accent-light);
    flex-shrink: 0;
}

.val-icon--teal {
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-teal);
}

.val-icon--amber {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-amber);
}

.val-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.val-subtitle {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--color-accent-light);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.val-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.val-status {
    display: flex;
    align-items: flex-start;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    white-space: nowrap;
}

.status-badge--active {
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-green);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge--pilot {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-amber);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2s ease-in-out infinite;
}


/* ═══════════════════════════════════════════ */
/* CONTACT SECTION                            */
/* ═══════════════════════════════════════════ */
.contact {
    background-color: var(--color-bg-secondary);
    position: relative;
    z-index: 1;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
    line-height: 1.8;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.contact-feature i {
    color: var(--color-accent-light);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

/* Contact Form */
.contact-form {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--color-bg-main);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.5;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}


/* ═══════════════════════════════════════════ */
/* FOOTER                                     */
/* ═══════════════════════════════════════════ */
.footer {
    background-color: var(--color-bg-main);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    opacity: 0.7;
}

/* Footer logo theme switching */
.footer .footer-logo.logo-dark { display: none; }
.footer .footer-logo.logo-light { display: none; }
[data-theme="dark"] .footer .footer-logo.logo-dark { display: block; }
[data-theme="light"] .footer .footer-logo.logo-light { display: block; }

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

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--color-accent-light);
}

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

.copyright {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.footer-links a:hover {
    color: var(--color-accent-light);
    opacity: 1;
}

.separator {
    color: var(--color-text-muted);
    opacity: 0.2;
}


/* ═══════════════════════════════════════════ */
/* SCROLL ANIMATIONS                          */
/* ═══════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════ */
/* RESPONSIVE                                 */
/* ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-visual {
        display: none;
    }

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

    .validation-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links,
    .cta-header {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

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

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

    .section-padding {
        padding: 4rem 0;
    }

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

    .val-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .val-icon {
        width: 44px;
        height: 44px;
    }

    .val-status {
        justify-content: flex-start;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .flow-nodes {
        gap: 0.5rem;
    }

    .flow-node {
        padding: 0.5rem 0.8rem;
    }

    .flow-node i {
        font-size: 1.1rem;
    }

    .flow-node span {
        font-size: 0.65rem;
    }

    .flow-arrow {
        font-size: 0.6rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
}

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

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

    .glass-card {
        padding: 1.75rem;
    }

    .world-card-header {
        flex-direction: column;
        gap: 1rem;
    }
}