/* Variables */
:root {
    --bg-dark: #0F172A;
    --bg-darker: #020617;
    --primary-color: #f20976;
    /* Neon Pink */
    --secondary-color: #a855f7;
    /* Purple */
    --accent-color: #c61ba7;
    /* Magenta */
    --text-white: #F8FAFC;
    --text-gray: #94A3B8;

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-main: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(242, 9, 118, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 9, 118, 0.6);
}

.btn-outline {
    background: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--bg-dark);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Typography Effects */
.text-gradient {
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-neon {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    border-radius: 8px;
    /* Slight rounding if logo has bg */
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(242, 9, 118, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Cards & Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.card p {
    color: var(--text-gray);
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li strong {
    color: var(--text-white);
}

.feature-list li::before {
    content: '';
    display: block;
    width: 8px;
    min-width:8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-color);
}

.image-wrapper {
    position: relative;
}

.rounded-img {
    border-radius: 20px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--glass-border);
}

.image-glow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    filter: blur(40px);
    opacity: 0.3;
    z-index: 1;
    border-radius: 20px;
}

/* CTA Box */
.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.small-text {
    font-size: 0.9rem !important;
    margin-top: 15px;
    opacity: 0.7;
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
}

.social-links a {
    margin-left: 20px;
    color: var(--text-white);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.responsive-video{
    max-width:100%;
}

#puentes a.btn.btn-outline{
    padding-top:17px;
    font-size:18px;
}
.feature-list li strong{
    min-width:9em;
}
.video-wrapper {
    position: relative; /* CRÍTICO: El botón absoluto se posicionará relativo a este contenedor */
    padding-bottom: 56.25%; /* (ya lo tenías, asegura 16:9) */
    height: 0;
    overflow: hidden;
    max-width: 900px; 
    margin: 0 auto 2rem; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2); 
    background: rgba(0, 0, 0, 0.3);
}

.responsive-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* 2. Estilo y Posicionamiento para el botón de control */
.audio-control-btn {
    position: absolute; /* CRÍTICO: Flota sobre el video */
    top: 20px; 
    right: 20px; 
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10; /* Asegura que esté por encima del video y sus controles */
    transition: background 0.3s;
    backdrop-filter: blur(5px);
}

.audio-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}
/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}