@import "tailwindcss";

@theme {
  --color-primary-dark: #000;
  --color-secondary-dark: #112240;
  --color-accent-cyan: #64ffda;
  --color-text-light: #ccd6f6;
  --color-text-lighter: #8892b0;
  --color-white-custom: #e6f1ff;

  /* Animaciones */
  --animate-float: float 8s ease-in-out infinite;
  --animate-pulse-glow: pulse-glow 4s ease-in-out infinite;
  --animate-fadeInUp: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  
  @keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(5px) rotate(2deg); }
    50% { transform: translateY(-35px) translateX(0) rotate(0deg); }
    75% { transform: translateY(-20px) translateX(-5px) rotate(-2deg); }
  }
  @keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* --- TUS ESTILOS PROPIOS ABAJO --- */
/* (Aquí sigue el resto de tu código CSS normal) */

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

/* ============= PRELOADER STYLES ============= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0e27 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(100, 255, 218, 0.02) 2px, rgba(100, 255, 218, 0.02) 4px);
    pointer-events: none;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.hud {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.95) 0%, rgba(5, 10, 20, 0.98) 100%);
    border: 2px solid rgba(100, 255, 218, 0.4);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    min-width: 480px;
    max-width: 90vw;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    color: #64ffda;
    box-shadow: 0 0 60px rgba(100, 255, 218, 0.2), inset 0 0 40px rgba(100, 255, 218, 0.08), 0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    animation: hudEntry 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes hudEntry {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hud::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, transparent 0%, rgba(100, 255, 218, 0.15) 50%, transparent 100%);
    border-radius: 16px;
    opacity: 0;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.scope-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.scope {
    position: relative;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(100, 255, 218, 0.4);
    border-radius: 50%;
    overflow: visible;
    animation: scopeRotate 8s linear infinite;
}

@keyframes scopeRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scope::before,
.scope::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border: 2px solid rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: scopePulse 2s ease-in-out infinite;
}

.scope::after {
    width: 140%;
    height: 140%;
    animation-delay: 0.5s;
}

@keyframes scopePulse {

    0%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to bottom, transparent, rgba(100, 255, 218, 0.9), transparent);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.8);
    animation: scan 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.scope-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, #000 70%);
    border: 2px solid #64ffda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.5), inset 0 0 10px rgba(100, 255, 218, 0.3);
    animation: coreGlow 2s ease-in-out infinite;
}

@keyframes coreGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.5), inset 0 0 10px rgba(100, 255, 218, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(100, 255, 218, 0.7), inset 0 0 20px rgba(100, 255, 218, 0.5);
    }
}

.core-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.8);
}

.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #64ffda;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.8), 0 0 30px rgba(100, 255, 218, 0.4);
    animation: pulse 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.progress-section {
    margin-bottom: 0.75rem;
}

.progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.label {
    color: #64ffda;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.5);
    animation: labelFlicker 3s ease-in-out infinite;
}

@keyframes labelFlicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.percent {
    color: #64ffda;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(100, 255, 218, 0.6);
    min-width: 50px;
    text-align: right;
}

.bar-container {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(100, 255, 218, 0.08);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #64ffda 0%, #45d9cc 50%, #64ffda 100%);
    width: 0%;
    transition: width 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: barShine 1.5s ease-in-out infinite;
}

@keyframes barShine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.tip {
    font-size: 0.8rem;
    color: rgba(100, 255, 218, 0.8);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.5px;
    animation: tipFade 2s ease-in-out infinite;
}

@keyframes tipFade {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.corner-decoration {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(100, 255, 218, 0.4);
}

.corner-decoration.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.corner-decoration.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.corner-decoration.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.corner-decoration.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

@media (max-width: 600px) {
    .hud {
        min-width: 320px;
        padding: 2rem 1.5rem;
    }

    .scope {
        width: 80px;
        height: 80px;
    }

    .scope-core {
        width: 32px;
        height: 32px;
    }
}

/* ============= STICKY NAV STYLES ============= */
nav {
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(100, 255, 218, 0.1);
}

/* ============= SERVICES STYLES ============= */
.grid-pattern {
    background-image:
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.card-bg {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-bg:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.15);
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64ffda;
    transition: all 0.3s;
}

.feature-tag:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: scale(1.05);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64ffda;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 0.25rem;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s;
}

.service-link:hover::after {
    width: 100%;
}

.service-link:hover {
    gap: 1rem;
}

.active-system {
    padding: 0.5rem 1rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64ffda;
    backdrop-filter: blur(10px);
}

/* ============= TECHNOLOGIES STYLES ============= */
.tech-card {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: left 0.5s;
}

.tech-card:hover::before {
    left: 100%;
}

.tech-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.2);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: all 0.4s;
}

.tech-card:hover .tech-icon {
    filter: grayscale(0%);
    transform: scale(1.1) rotate(5deg);
}

/* ============= CONTACT FORM STYLES ============= */
.form-input {
    background: rgba(17, 34, 64, 0.3);
    border: 1px solid rgba(100, 255, 218, 0.2);
    color: #e6f1ff;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    background: rgba(17, 34, 64, 0.5);
}

.form-input::placeholder {
    color: #8892b0;
}

/* ============= FOOTER STYLES ============= */
.footer-link {
    color: #8892b0;
    transition: all 0.3s;
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s;
}

.footer-link:hover {
    color: #64ffda;
}

.footer-link:hover::after {
    width: 100%;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 50%;
    color: #64ffda;
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.3);
}


/* servicios */


.grid-pattern {
    background-image:
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.card-bg {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-bg:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.15);
}

.service-card {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 25px 70px rgba(100, 255, 218, 0.2);
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64ffda;
    transition: all 0.3s;
}

.feature-tag:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: scale(1.05);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 50%;
    color: #64ffda;
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.3);
}

.footer-link {
    color: #8892b0;
    transition: all 0.3s;
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s;
}

.footer-link:hover {
    color: #64ffda;
}

.footer-link:hover::after {
    width: 100%;
}

.process-step {
    position: relative;
    padding-left: 4rem;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #64ffda 0%, #45d9cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    color: #000;
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.4);
}

.process-step::after {
    content: '';
    position: absolute;
    left: 1.4rem;
    top: 3rem;
    width: 2px;
    height: calc(100% + 2rem);
    background: linear-gradient(to bottom, rgba(100, 255, 218, 0.5), transparent);
}

.process-step:last-child::after {
    display: none;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid rgba(100, 255, 218, 0.4);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.2);
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.07);
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.tech-badge:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.2);
}

/* nosotros  */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: #64ffda;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.5);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 1.5rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, rgba(100, 255, 218, 0.5), transparent);
}

.timeline-item:last-child::after {
    display: none;
}

.value-card {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: left 0.5s;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.2);
}

.team-card {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #64ffda 0%, #45d9cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* politica de privacidad */

/* Estilos para el texto legal */
.legal-content h2 {
    color: #e6f1ff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: #64ffda;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #8892b0;
    font-size: 0.95rem;
    text-align: justify;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #8892b0;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: #ccd6f6;
}