
/* Reset y variables futuristas */
:root {
    --primary-black: #000000;
    --secondary-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #666666;
    --lighter-gray: #e8e8e8;
    --pure-white: #ffffff;
    --accent-white: #f8f9fa;
    
    /* Colores futuristas */
    --neon-blue: #00f3ff;
    --neon-purple: #b967ff;
    --neon-pink: #ff2a6d;
    --electric-blue: #0066ff;
    --cyber-green: #00ff88;
    
    /* Gradientes avanzados */
    --gradient: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, var(--dark-gray) 100%);
    --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    
    /* Efectos de sombra mejorados */
    --shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    --shadow-hover: 0 20px 50px rgba(0, 243, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 243, 255, 0.3);
    --shadow-neon: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--pure-white);
    background: var(--secondary-black);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

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

/* Texto con gradiente */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header futurista */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.logo-container {
    position: relative;
}

/* LOGO ACTUALIZADO - CIRCULAR COMO WHATSAPP */
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;  /* Hacemos el logo circular */
    object-fit: cover;   /* Asegura que la imagen se ajuste al círculo */
    position: relative;
    z-index: 2;
    border: 2px solid rgba(0, 243, 255, 0.3);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--neon-blue);
    border-radius: 50%;  /* Glow también circular */
    filter: blur(10px);
    opacity: 0.3;
}

.nav-brand h2 {
    color: var(--pure-white);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-brand span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--pure-white);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.link-text {
    position: relative;
    z-index: 2;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--pure-white);
    transition: 0.3s;
    transform-origin: center;
}

/* Hero Section futurista */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--lighter-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

/* Botones futuristas */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    white-space: nowrap;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--pure-white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--neon-blue);
}

.btn-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Stats del Hero */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--light-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Hero Visual mejorado */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    min-height: 300px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--neon-blue);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.element:hover {
    transform: scale(1.1);
}

.element-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    top: 50%;
    left: 60%;
    animation-delay: 2s;
}

.element-3 {
    top: 70%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Holograma */
.hologram-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    max-width: 80vw;
    max-height: 80vw;
}

.hologram {
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent, var(--neon-blue), transparent);
    border-radius: 50%;
    animation: rotateHologram 8s linear infinite;
    filter: blur(50px);
    opacity: 0.1;
}

@keyframes rotateHologram {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pure-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

/* Contact Divider */
.contact-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    width: 200px;
    margin: 0 auto;
}

.contact-divider-small {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    width: 100%;
    margin: 1.5rem 0;
}

/* Services Section futurista */
.services {
    background: var(--dark-gray);
    position: relative;
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 15px;
}

.service-card {
    background: var(--gradient-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 243, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.3);
}

.service-icon-large {
    margin: 0 auto 2rem;
    position: relative;
}

.icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.icon-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.icon-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    padding: 0 10px;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--lighter-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.service-features i {
    color: var(--neon-blue);
    font-size: 0.9rem;
}

/* Process Section */
.process {
    background: var(--secondary-black);
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    padding: 0 15px;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: var(--shadow-glow);
}

.step-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.5;
}

.step-connector {
    position: absolute;
    top: 40px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: var(--gradient);
    z-index: 1;
}

.step:last-child .step-connector {
    display: none;
}

.step h3 {
    font-size: 1.5rem;
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.step p {
    color: var(--light-gray);
    line-height: 1.5;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    text-align: center;
    position:relative;
    padding: 80px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 3rem;
    line-height: 1.5;
}

/* Contact Section (nuevo diseño) */
.contact {
    background: var(--secondary-black);
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
}

.contact-info-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info-header h3 {
    color: var(--pure-white);
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 1.2rem;
}

.contact-info-detail {
    color: var(--lighter-gray);
    font-size: 1.1rem;
    padding-left: 3.5rem;
    line-height: 1.4;
}

.contact-form-section {
    display: flex;
    flex-direction: column;
}

.contact-form {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--neon-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    max-height: 200px;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--primary-black);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 0 15px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.footer-brand span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.tech-badge {
    display: inline-block;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
}

.tech-badge span {
    background: none;
    -webkit-text-fill-color: var(--neon-blue);
    color: var(--neon-blue);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
    color: var(--pure-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--neon-blue);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lighter-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--neon-blue);
    color: var(--primary-black);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.9rem;
    padding: 0 15px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid rgba(0, 243, 255, 0.1);
        gap: 1rem;
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        height: 300px;
        margin-top: 3rem;
        order: -1;
        flex: none;
    }
    
    .hologram-container {
        width: 200px;
        height: 200px;
    }
    
    .element {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .element-1 {
        top: 10%;
        left: 10%;
    }
    
    .element-2 {
        top: 60%;
        left: 70%;
    }
    
    .element-3 {
        top: 80%;
        left: 20%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-detail {
        padding-left: 0;
        text-align: center;
    }
    
    .contact-info-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-connector {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem !important;
    }
    
    .btn {
        width: 100% !important;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-content i {
        font-size: 0.9rem;
    }
    
    .icon-container {
        width: 80px !important;
        height: 80px !important;
    }
    
    .icon-halo {
        width: 100px !important;
        height: 100px !important;
    }
    
    .service-card {
        padding: 1.5rem !important;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer-links h4,
    .footer-social h4 {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .tech-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.7rem !important;
    }
    
    .contact-info-card,
    .contact-form {
        padding: 1.2rem !important;
    }
    
    .contact-info-detail {
        font-size: 1rem;
    }
}

/* Mejoras para animaciones en móvil */
@media (prefers-reduced-motion: reduce) {
    .element,
    .hologram,
    .service-card,
    .step {
        animation: none !important;
        transition: none !important;
    }
}

/* Ajustes para mejorar la experiencia táctil */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .btn:hover,
    .element:hover,
    .social-link:hover {
        transform: none !important;
    }
    
    .service-card:hover {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
    }
    
    .btn-primary:hover {
        box-shadow: var(--shadow) !important;
    }
    
    .nav-link:hover::before {
        width: 0;
    }
}

/* Mejorar contraste para accesibilidad */
@media (prefers-contrast: high) {
    .service-card,
    .contact-info-card,
    .contact-form {
        border: 2px solid var(--neon-blue);
    }
    
    .nav-link {
        font-weight: 600;
    }
}