/* ============================================
   GAMITEC - STYLES.CSS
   Versión HTML pura editable
   ============================================ */

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores GAMITEC */
    --primary: #00FF88;
    --primary-dark: #00cc6d;
    --secondary: #00D4FF;
    --secondary-dark: #00a9cc;
    --dark-bg: #0A0E27;
    --dark-surface: #1a1f3a;
    --dark-border: #2a2f4a;

    /* Espaciado */
    --section-padding: 4rem 0;

    /* Transiciones */
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background:
        linear-gradient(180deg, rgba(10, 14, 39, 0.85) 0%, rgba(10, 14, 39, 0.95) 100%),
        url('gaming-setup-bg.png') center center / cover no-repeat fixed;
    color: #f3f4f6;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

main {
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 14, 39, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.logo-icon {
    color: var(--primary);
    animation: glow 2s ease-in-out infinite alternate;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}

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

.nav-link-highlight {
    color: var(--primary) !important;
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(0, 255, 136, 0.05);
}

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

.nav-link-highlight:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mobile-menu a {
    color: #d1d5db;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
}

/* Language Switcher */
.language-dropdown {
    position: relative;
    z-index: 1001;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    color: #d1d5db;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.globe-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.current-lang {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 0.25rem;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.5rem;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.lang-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
}

.lang-option img,
.lang-option span.flag {
    font-size: 1.2rem;
}

/* Install App Button */
.install-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    animation: fadeIn 0.5s ease;
}

.install-text {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.install-btn-floating {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    border: 2px solid var(--primary);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-glow 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.install-btn-floating img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.install-btn-floating:hover {
    transform: scale(1.1) rotate(5deg);
}

.install-btn-floating:active {
    transform: scale(0.95);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 255, 136, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, #00cc6d 100%);
    color: #0A0E27;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: #0A0E27;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #dc2626;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    animation: pulse-slow 3s infinite;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 1.5rem 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    margin: 1.5rem 0 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #d1d5db;
}

.trust-icon {
    font-size: 1.5rem;
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

/* ============================================
   GRADIENT TEXT
   ============================================ */

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
    clear: both;
}

.section-dark {
    background: rgba(0, 0, 0, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
    background: rgba(10, 14, 39, 0.5);
    border-radius: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
    position: relative;
    z-index: 11;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 11;
}

/* ============================================
   SERVICES GRID
   ============================================ */

.section-services {
    clear: both;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    opacity: 0.9;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 136, 0.3);
    transform: scale(1.05);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    word-break: break-word;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    color: #9ca3af;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
    flex-grow: 1;
}

.service-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-card:hover .service-cta {
    opacity: 1;
    transform: translateX(5px);
}

/* ============================================
   PROCESS
   ============================================ */

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

.process-step {
    text-align: center;
}

.process-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #00cc6d 100%);
    color: #0A0E27;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.3);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: #9ca3af;
}

/* ============================================
   FEATURES GRID
   ============================================ */

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #9ca3af;
    font-size: 0.95rem;
}

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

.cta-section {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    clear: both;
    position: relative;
    z-index: 1;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.6) 0%, rgba(26, 31, 58, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
    position: relative;
    z-index: 100;
}

.logo-image {
    height: 70px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 255, 136, 0.3));
}

.logo-text-gmtc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #00FF88 0%, #00D4FF 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    filter: drop-shadow(0 2px 10px rgba(0, 255, 136, 0.4));
    animation: glow-text 3s ease-in-out infinite alternate;
    position: relative;
}

@keyframes glow-text {
    0% {
        filter: drop-shadow(0 2px 10px rgba(0, 255, 136, 0.4)) drop-shadow(0 0 20px rgba(0, 255, 136, 0.2));
    }

    100% {
        filter: drop-shadow(0 4px 15px rgba(0, 255, 136, 0.7)) drop-shadow(0 0 40px rgba(0, 255, 136, 0.5));
    }
}

.logo:hover,
.logo:active {
    transform: scale(1.12);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3),
        0 0 40px rgba(0, 255, 136, 0.2);
}

.logo:hover .logo-image,
.logo:active .logo-image {
    filter: drop-shadow(0 4px 12px rgba(0, 255, 136, 0.5)) brightness(1.15);
}

.logo:hover .logo-text-gmtc,
.logo:active .logo-text-gmtc {
    filter: drop-shadow(0 4px 20px rgba(0, 255, 136, 0.8)) drop-shadow(0 0 50px rgba(0, 255, 136, 0.6));
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: white;
    line-height: 1.4;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

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

.tech-logos {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.tech-logos p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.tech-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 2rem;
}

.copyright {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.8));
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

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

@media (max-width: 768px) {

    .nav-links,
    .desktop-only {
        display: none;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .logo-text-gmtc {
        font-size: 1.8rem;
    }

    .mobile-menu-btn {
        display: block;
        /* Ensure hamburger is visible if it relies on ::before/after on this class, or add styling for .hamburger here if missing */
    }

    /* Add hamburger lines if missing */
    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background: white;
        position: relative;
        transition: var(--transition);
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: white;
        transition: var(--transition);
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    /* Animate hamburger when active */
    .mobile-menu-btn.active .hamburger {
        background: transparent;
    }

    .mobile-menu-btn.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mobile-menu-btn.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

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

    .section {
        padding: 3rem 0;
    }

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

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Smooth scrolling */
/* End of file */