﻿ :root {
            --bg-dark: #0a0f1d;
            --bg-card: #131c31;
            --accent-primary: #00f2fe;
            --accent-secondary: #4facfe;
            --text-main: #f3f4f6;
            --text-muted: #9ca3af;
            --border-glow: rgba(0, 242, 254, 0.15);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        /* Fondo dinámico de partículas con CSS animado */
        .bg-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            z-index: -1;
        }

        .bg-glow {
            position: fixed;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(79, 172, 254, 0.08) 0%, transparent 70%);
            top: -200px;
            right: -100px;
            z-index: -1;
            animation: pulse-glow 8s ease-in-out infinite alternate;
        }

        @keyframes pulse-glow {
            0% { transform: scale(1); opacity: 0.5; }
            100% { transform: scale(1.2); opacity: 0.9; }
        }

        /* Header / Navbar */
        header {
            max-width: 1200px;
            margin: 0 auto;
            padding: 25px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text-main);
        }

        .logo-text {
            font-size: 22px;
            font-weight: 800;
            letter-spacing: 0.5px;
            background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .cta-nav {
            background: rgba(0, 242, 254, 0.1);
            border: 1px solid rgba(0, 242, 254, 0.3);
            color: var(--accent-primary);
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .cta-nav:hover {
            background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
            color: var(--bg-dark);
            box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
            transform: translateY(-2px);
        }

        /* Hero Section */
        .hero {
            max-width: 1200px;
            margin: 60px auto 100px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        @media (max-width: 900px) {
            .hero {
                grid-template-columns: 1fr;
                text-align: center;
                margin-top: 30px;
            }
        }

        .hero-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 13px;
            color: var(--accent-primary);
            margin-bottom: 24px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero h2 {
            font-size: 48px;
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 24px;
        }

        .hero h2 span {
            background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            color: var(--text-muted);
            font-size: 18px;
            line-height: 1.6;
            margin-bottom: 40px;
        }

        /* Formulario Auditoría */
        .audit-form-container {
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 40px;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.05);
            position: relative;
        }

        .audit-form-container::before {
            content: '';
            position: absolute;
            top: -1px; left: -1px; right: -1px; bottom: -1px;
            border-radius: 24px;
            background: linear-gradient(135deg, rgba(0, 242, 254, 0.3), transparent, rgba(79, 172, 254, 0.3));
            z-index: -1;
            pointer-events: none;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-main);
        }

        .form-group input {
            width: 100%;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 14px 18px;
            border-radius: 12px;
            color: white;
            font-size: 15px;
            transition: all 0.3s;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--accent-primary);
            box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
        }

        .captcha-wrapper {
            margin: 20px 0;
            display: flex;
            justify-content: center;
        }

        .btn-submit {
            width: 100%;
            background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
            color: var(--bg-dark);
            border: none;
            padding: 16px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(0, 242, 254, 0.4);
        }

        /* Sección Búsqueda Agéntica (Explicación) */
        .section-explanation {
            max-width: 1200px;
            margin: 100px auto;
            padding: 0 20px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h3 {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 15px;
        }

        .section-title p {
            color: var(--text-muted);
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
        }

        .grid-cards {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 30px;
        }

        @media (max-width: 850px) {
            .grid-cards {
                grid-template-columns: 1fr;
            }
        }

        .card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 35px;
            border-radius: 20px;
            transition: transform 0.3s;
        }

        .card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(0, 242, 254, 0.2);
        }

        .card-icon {
            width: 50px;
            height: 50px;
            background: rgba(0, 242, 254, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent-primary);
            margin-bottom: 20px;
        }

        .card h4 {
            font-size: 20px;
            margin-bottom: 12px;
            font-weight: 700;
        }

        .card p {
            color: var(--text-muted);
            line-height: 1.6;
            font-size: 15px;
        }

        /* Contenedor Animación Interactiva (Código vs Humano) */
        .animation-section {
            max-width: 1160px;
            margin: 100px auto;
            background: #0d1527;
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 24px;
            padding: 50px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        @media (max-width: 850px) {
            .animation-section {
                grid-template-columns: 1fr;
                padding: 30px 20px;
            }
        }

        .animation-display {
            background: #060a13;
            border-radius: 16px;
            padding: 25px;
            font-family: "Courier New", Courier, monospace;
            border: 1px solid rgba(0, 242, 254, 0.2);
            box-shadow: 0 0 30px rgba(0, 242, 254, 0.05);
            min-height: 280px;
            position: relative;
            overflow: hidden;
        }

        .animation-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 10px;
        }

        .tab-btn {
            background: transparent;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 6px;
        }

        .tab-btn.active {
            background: rgba(0, 242, 254, 0.15);
            color: var(--accent-primary);
        }

        .code-view {
            font-size: 14px;
            line-height: 1.5;
            color: #a5d6ff;
            display: none;
        }

        .code-view.active {
            display: block;
        }

        .keyword { color: #ff7b72; }
        .string { color: #a5d6ff; }
        .number { color: #79c0ff; }
        .comment { color: #8b949e; }

        /* Footer */
        footer {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            max-width: 1200px;
            margin: 100px auto 0 auto;
            padding: 40px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-muted);
            font-size: 14px;
        }

        @media (max-width: 600px) {
            footer {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
        }