/* ========================================
   FONT FACES - Self-hosted fonts
   ======================================== */

/* Inter Font Family */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/inter-800.woff2') format('woff2');
}

/* Space Grotesk Font Family */
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/space-grotesk-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/space-grotesk-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/space-grotesk-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/space-grotesk-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/space-grotesk-800.woff2') format('woff2');
}

/* ========================================
   VARIABLES Y RESET
   ======================================== */

:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: #0B0E11;
    --accent-cyan: #22D3EE;
    --accent-blue: #4FD1C5;
    --accent-amber: #F59E0B;
    --text-primary: #F5F5F5;
    --text-secondary: #B0B0B0;
    --border-color: #1A1A1A;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 300ms ease-in-out;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--accent-amber);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    flex: 1;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 300ms ease-in-out;
    text-transform: capitalize;
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.language-selector {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2) 0%, rgba(79, 209, 197, 0.12) 100%);
    border: 2.5px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    outline: none;
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.4), inset 0 0 15px rgba(34, 211, 238, 0.15);
    backdrop-filter: blur(20px);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    min-width: 150px;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2322D3EE" stroke-width="3"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 40px;
    z-index: 1001;
}

.language-selector:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.3) 0%, rgba(79, 209, 197, 0.2) 100%);
    box-shadow: 0 0 35px rgba(34, 211, 238, 0.5), inset 0 0 20px rgba(34, 211, 238, 0.2);
    transform: translateY(-2px);
}

.language-selector option {
    background: var(--bg-primary);
    color: var(--accent-cyan);
    padding: 0.8rem 1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', monospace;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    background: transparent;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
    transform: translateY(-2px);
}

/* ========================================
   SECCIONES
   ======================================== */

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.01em;
}

section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(79, 209, 197, 0.03) 100%);
    border: 1px solid rgba(34, 211, 238, 0.1);
    padding: 2rem;
    border-radius: 12px;
    transition: all 300ms ease-in-out;
}

.feature-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--accent-cyan);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   TABLA
   ======================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

table th {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-cyan);
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-cyan);
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

table tr:hover {
    background: rgba(34, 211, 238, 0.05);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: rgba(11, 14, 17, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 300ms ease-in-out;
}

.footer-links a:hover {
    color: var(--accent-amber);
}

/* ========================================
   STEPS CONTAINER
   ======================================== */

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(79, 209, 197, 0.03) 100%);
    border: 1px solid rgba(34, 211, 238, 0.1);
    border-radius: 12px;
    transition: all 300ms ease-in-out;
}

.step:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.step-number {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    flex-shrink: 0;
}

.step h3 {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    margin: 0;
    color: var(--text-secondary);
}

.step ul {
    margin-top: 0.5rem;
}

/* ========================================
   USE CASES GRID
   ======================================== */

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.usecase-card {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(79, 209, 197, 0.03) 100%);
    border: 1px solid rgba(34, 211, 238, 0.1);
    padding: 2rem;
    border-radius: 12px;
    transition: all 300ms ease-in-out;
}

.usecase-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
    transform: translateY(-5px);
}

.usecase-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.usecase-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-item {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(79, 209, 197, 0.03) 100%);
    border: 1px solid rgba(34, 211, 238, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 300ms ease-in-out;
}

.faq-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.faq-item h3 {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-item p {
    margin: 0;
    color: var(--text-secondary);
}

/* ========================================
   CTA FINAL SECTION
   ======================================== */

.cta-final {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(79, 209, 197, 0.05) 100%);
    border-radius: 16px;
    margin: 4rem auto;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* ========================================
   GDPR COOKIE BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 14, 17, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    padding: 1.5rem 2rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent-cyan);
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-text a:hover {
    color: var(--accent-blue);
}

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

.cookie-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-cyan);
}

.cookie-checkbox label {
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
    pointer-events: none;
}

.cookie-btn.enabled {
    opacity: 1;
    pointer-events: all;
}

.cookie-btn:hover.enabled {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}
    .nav-menu {
        gap: 1.5rem;
    }

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

    section h2 {
        font-size: 1.8rem;
    }

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

    .language-selector {
        min-width: 120px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        padding-right: 32px;
    }
}
