/* ============================================
   RESET & VARIABLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00F5FF;
    --secondary-color: #D4A373;
    --accent-color: #4A4A4A;
    --dark-bg: #121212;
    --light-bg: #1a1a1a;
    --text-dark: #ffffff;
    --text-light: #b0b0b0;
    --border-color: #2a2a2a;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

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

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.15;
    filter: blur(40px);
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 100px;
    left: 50px;
    animation: float 10s ease-in-out infinite 2s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    top: 50%;
    right: 20%;
    animation: float 9s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
}

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

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   BUSINESS UNITS SECTION
   ============================================ */
.business-units {
    padding: 100px 20px;
    background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 60px;
}

.container > .unit-card {
    margin-bottom: 40px;
}

.unit-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.5));
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.unit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.unit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.unit-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.unit-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.tech-icon {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15), rgba(0, 245, 255, 0.05));
    color: var(--primary-color);
}

.design-icon {
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.15), rgba(212, 163, 115, 0.05));
    color: var(--secondary-color);
}

.solutions-icon {
    background: linear-gradient(135deg, rgba(74, 74, 74, 0.15), rgba(74, 74, 74, 0.05));
    color: var(--accent-color);
}

.unit-icon svg {
    width: 32px;
    height: 32px;
}

.unit-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.unit-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.unit-description {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.unit-value {
    margin-bottom: 25px;
}

.unit-value h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    color: #ffffff;
}

.unit-value h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #ffffff;
}

.unit-features {
    list-style: none;
    margin-bottom: 25px;
}

.unit-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    font-size: 15px;
}

.unit-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

.unit-card:nth-child(1) .unit-features li::before {
    color: var(--primary-color);
}

.unit-card:nth-child(2) .unit-features li::before {
    color: var(--secondary-color);
}

.unit-card:nth-child(3) .unit-features li::before {
    color: var(--accent-color);
}

.unit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.unit-card:nth-child(1) .unit-link {
    color: var(--primary-color);
}

.unit-card:nth-child(2) .unit-link {
    color: var(--secondary-color);
}

.unit-card:nth-child(3) .unit-link {
    color: var(--accent-color);
}

.unit-link:hover {
    transform: translateX(5px);
}

/* ============================================
   MANIFESTO SECTION
   ============================================ */
.manifesto {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a, #121212);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.manifesto-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.manifesto-text p:last-child {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
}

/* ============================================
   LABS SECTION
   ============================================ */
.labs-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    border-top: 1px solid var(--border-color);
}

.labs-content {
    max-width: 800px;
    margin: 0 auto;
}

.labs-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.labs-content > p {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.8;
}

.labs-details {
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(0, 245, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
}

.labs-details p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   VISION SECTION
   ============================================ */
.vision {
    padding: 100px 20px;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    color: white;
}

.vision-content {
    max-width: 800px;
}

.vision-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.vision-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 50px;
}

.vision-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #121212;
    color: white;
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ============================================
   LABS PAGES - SPECIFIC STYLES
   ============================================ */
.labs-estado {
    padding: 80px 20px;
    background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
}

.labs-estado h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.estado-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.estado-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.5));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.estado-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
}

.estado-card h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.estado-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.labs-que-pasa {
    padding: 80px 20px;
    background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
    border-top: 1px solid var(--border-color);
}

.labs-que-pasa h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.labs-lista {
    list-style: none;
    max-width: 700px;
}

.labs-lista li {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
    padding-left: 35px;
    position: relative;
    color: #e0e0e0;
}

.labs-lista li::before {
    content: '▸';
    position: absolute;
    left: 0;
    font-size: 24px;
    color: var(--primary-color);
}

.labs-disclaimer {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05), rgba(212, 163, 115, 0.02));
    border-top: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}

.labs-disclaimer h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.disclaimer-content {
    max-width: 700px;
    background: rgba(0, 245, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.disclaimer-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #e0e0e0;
}

.disclaimer-content p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.disclaimer-separator {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    margin: 30px 0;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

.labs-proyectos {
    padding: 80px 20px;
    background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
    border-top: 1px solid var(--border-color);
}

.labs-proyectos h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.proyectos-content {
    max-width: 700px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.5));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.proyectos-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #e0e0e0;
}

.proyectos-cta {
    margin-top: 30px;
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .nav-links {
        gap: 20px;
        font-size: 12px;
    }

    .unit-card {
        padding: 30px 20px;
    }

    .unit-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vision-content h2 {
        font-size: 36px;
    }

    .stat h3 {
        font-size: 36px;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }
}

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

    .hero {
        min-height: auto;
        padding: 40px 20px;
    }

    .unit-card {
        padding: 20px;
    }

    .vision-stats {
        gap: 30px;
    }
}
