/* =========================================
   1. BASES Y RESET
   ========================================= */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #000;
    color: white;
    overflow-x: hidden;
}

/* =========================================
   2. HEADER Y NAVEGACIÓN
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px; /* Reducido para mayor control */
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1100;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}

/* Menú central (Escritorio) */
.nav-center {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-center a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    opacity: 0.8;
    transition: 0.3s;
    background: transparent;
}

.nav-center a:hover {
    opacity: 1;
    color: #d100ff;
}

/* Botón Header Derecha */
.btn-demo-small {
    background: linear-gradient(90deg, #7216f4, #d100ff);
    padding: 12px 25px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-demo-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(114, 22, 244, 0.4);
}

/* Botón oculto por defecto en menú */
.btn-demo-mobile {
    display: none !important;
}

/* =========================================
   3. MENÚ HAMBURGUESA (PC Oculto)
   ========================================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1200;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: 0.3s;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    padding: 100px 60px;
    background: radial-gradient(circle at top right, #1a0533, #000);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-wrapper {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(114, 22, 244, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* =========================================
   5. SECCIONES Y FORMULARIO (Centrado)
   ========================================= */
.section {
    padding: 100px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.card {
    background: #111;
    padding: 40px 30px;
    border-radius: 20px;
    max-width: 280px;
    transition: transform 0.3s;
}

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

.card h3 {
    color: #d100ff;
    margin-bottom: 15px;
}

/* Formulario Centrado */
.contact-section {
    background: #050505;
}

.form-container {
    max-width: 600px;
    margin: 40px auto 0; /* Margen auto para centrar bloque */
    padding: 0 20px;
    text-align: left; /* Contenido del form alineado normal */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #d100ff;
    box-shadow: 0 0 10px rgba(209, 0, 255, 0.2);
}

.cta-button {
    padding: 18px;
    background: linear-gradient(90deg, #7216f4, #d100ff);
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.cta-button:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 20px rgba(209, 0, 255, 0.3);
}

/* =========================================
   6. FOOTER (Centrado)
   ========================================= */
footer {
    background: #000;
    padding: 60px 20px;
    text-align: center;
    opacity: 0.6;
    border-top: 1px solid #111;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================