/* Variables */
:root {
    --primary: #00c3ff;
    --dark: #0a192f;
    --darker: #060d1a;
    --light: #ffffff;
    --gray: #94a3b8;
    --mouse-x: 0px;
    --mouse-y: 0px;
    --x: 0px;
    --y: 0px;
}

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

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 350px;
    height: auto;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, rgba(0, 195, 255, 0.1), rgba(0, 195, 255, 0.2));
    border: 1px solid rgba(0, 195, 255, 0.3);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(45deg, rgba(0, 195, 255, 0.2), rgba(0, 195, 255, 0.3));
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 195, 255, 0.74),
        rgba(6, 13, 26, 0.521)
        
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: left;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    background: linear-gradient(45deg, var(--primary), var(--light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
    color: var(--light);
    margin-bottom: 2rem;
}

/* Dashboard Preview */
.dashboard-preview {
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.preview-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 500px;
    margin: 0 auto;
    
}

.preview-image img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   
    pointer-events: none;
}

/* Features */
.features {
    padding: 60px 0;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.feature-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary), #80e5ff);
    border-radius: 8px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 195, 255, 0.4);
}

/* System Info */
.system-info {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.info-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
}

/* Benefits */
.benefits {
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Contact Form */
.contact {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-type {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-type label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group:last-child {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 2rem auto 0;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary), #80e5ff);
    border: none;
    border-radius: 8px;
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 195, 255, 0.4);
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo img {
        width: 150px;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 120px;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .form-type {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

/* Animaciones y efectos */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.feature-card, .benefit-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before, .benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(0, 195, 255, 0.1),
        transparent 40%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before, .benefit-card:hover::before {
    opacity: 1;
}

.login-btn, .submit-btn {
    position: relative;
    overflow: hidden;
}

.login-btn::before, .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--x) var(--y),
        rgba(255, 255, 255, 0.3),
        transparent 40%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.login-btn:hover::before, .submit-btn:hover::before {
    opacity: 1;
}

/* Hero Parallax */
.hero {
    position: relative;
    background-attachment: fixed;
   
    background-size: cover;
    background-position: center;
}

/* Form Animations */
.form-group input, .form-group textarea {
    transform-origin: left;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    transform: scale(1.02);
}

/* Card Hover Effects */
.feature-card, .benefit-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .benefit-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 195, 255, 0.2);
}

.preview-image {
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.preview-image:hover {
    transform: translateY(-10px);
}

/* Loading Animation for Form Submit */
.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--dark);
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
} 