/* Global Reset & Base Styles */
:root {
    --primary: #10B981;
    /* Tennis Green - Neon */
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary: #3B82F6;
    /* Sky Blue */
    --accent: #F97316;
    /* Orange */

    /* Dark Mode Palette */
    --dark: #FFFFFF;
    /* High contrast text for dark mode */
    --text-muted: #94A3B8;
    /* Slate 400 */
    --bg-dark: #0F172A;
    /* Slate 900 */
    --bg-darker: #020617;
    /* Slate 950 */

    /* Glassmorphism - Dark Mode */
    --glass-bg: rgba(30, 41, 59, 0.7);
    /* Slate 800 with opacity */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Work Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--dark);
    /* Default White Text */
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

.glass-card p {
    text-wrap: pretty;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3rem 0;
    /* Reduced from 5rem 0 */
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Typography */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-blue-light {
    color: #60A5FA;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #020617;
    /* Dark text on green button for contrast */
    box-shadow: 0 0 20px var(--primary-glow);
    /* Neon Glow */
}

.btn-primary:hover {
    background: #34D399;
    /* Lighter green */
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Nav */
.navbar {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 1280px;
    margin: 0 auto;
    z-index: 1000;
    border-radius: 9999px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Language Switcher */
/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}


/* Hero */
.hero {
    padding-top: 9.5rem;
    padding-bottom: 4rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 550px;
    z-index: 2;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    /* Removed align-items: center to keep text left-aligned on desktop */
}

/* Promo Badge - Precio Bonificado */
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.12));
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    border: none;
    align-self: flex-end;
    /* Right align relative to container */
    max-width: 100%;
    /* Prevent overflow on small screens */
}

.promo-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: promoShimmer 3s infinite;
}

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

    100% {
        left: 100%;
    }
}

.promo-badge svg {
    animation: promoPulse 2s ease-in-out infinite;
}

@keyframes promoPulse {

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

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, white, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-wrap: balance;
    /* Modern CSS for balanced headlines */
    line-height: 1.1;
    max-width: 100%;
}

/* Highlight for key words (Profesores, Academias) */
.text-highlight {
    background: linear-gradient(to right, #34D399, #059669);
    /* Emerald gradient - darker */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(5, 150, 105, 0.5));
    /* Darker green glow */
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    /* Clean white with opacity */
    margin-bottom: 2.5rem;
}

.hero-image {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    z-index: 1;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark);
    border-radius: 40px;
    border: 8px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.screen-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--light) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

/* Features */
/* Features */
.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    /* Features Styles */
    /* Added comment to ensure unique match if needed, or rely on context */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1.5rem auto !important;
    /* Force centering */
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2px;
}

.mobile-beta-btn {
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    width: fit-content;
}

.feature-icon.icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0.2) 100%);
    color: #34D399;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.feature-icon.icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(96, 165, 250, 0.2) 100%);
    color: #60A5FA;
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.feature-icon.icon-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(251, 146, 60, 0.2) 100%);
    color: #FB923C;
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.feature-icon.icon-dark {
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.4) 0%, rgba(100, 116, 139, 0.4) 100%);
    color: #E2E8F0;
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 0 20px rgba(100, 116, 139, 0.15);
}

.glass-card:hover .feature-icon {
    transform: scale(1.1);
}

/* FAQ Accordion */
.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    color: #ffffff;
    /* Changed to white for better contrast/readability */
    line-height: 1.7;
}

.faq-answer-content strong {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0 1.25rem 1rem;
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    padding: 1.5rem 0 1rem;
    background: transparent;
    /* Was white */
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

html {
    background-color: var(--bg-darker);
    /* Prevent white overscroll */
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Visibility Utilities */
.desktop-only {
    display: flex !important;
}

.mobile-only {
    display: none !important;
}

.mobile-break {
    display: none;
}

.show-mobile {
    display: none;
}

.show-desktop {
    display: inline;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    z-index: 1001;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .mobile-break {
        display: block;
    }

    .navbar {
        top: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        padding: 1rem;
        background: #0F172A !important;
        /* Force dark background (Slate 900) */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* Add separator */
    }

    .mobile-menu-btn {
        display: block;
        color: white !important;
        z-index: 1002;
        position: relative;
        /* Force white icon */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0F172A !important;
        /* Force dark background */
        flex-direction: column;
        justify-content: flex-start;
        /* Changed from center to start */
        align-items: center;
        gap: 2rem;
        /* Increased gap for consistency */
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        display: flex;
        padding-top: 8rem;
        /* More space from top */
    }

    .mobile-nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 2rem;
        /* Match parent gap */
        margin-bottom: 0;
        /* Remove extra margin */
    }

    .nav-item {
        font-size: 1.25rem !important;
        /* Slightly smaller for elegance */
        color: white !important;
        padding: 0.5rem;
        width: 100%;
        display: block;
        border-bottom: none;
        /* Removed border specifically */
        font-weight: 500;
        /* Ensure same weight */
        font-family: inherit;
        /* Ensure same font family */
        text-decoration: none;
    }

    .w-full {
        width: 80%;
        /* Button width constraint */
        text-align: center;
        font-weight: 500 !important;
        /* Match nav items */
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero {
        padding-top: 6rem;
        text-align: center;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        margin: 0 auto;
        padding: 0 1rem;
        align-items: center;
        /* Center content on mobile */
    }

    .hero h1 {
        font-size: 2.22rem;
        /* Adjusted for better fit */
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: transparent !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
    }

    .hero p {
        color: #f1f5f9 !important;
        /* Brighter, high-contrast text */
        font-size: 1.05rem;
        opacity: 1 !important;
        margin-bottom: 2rem;
    }

    .cta-group .btn-secondary {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        color: #ffffff !important;
        font-weight: 700 !important;
        letter-spacing: 0.02em;
    }

    .text-highlight {
        background: none !important;
        color: #4ade80 !important;
        -webkit-text-fill-color: #4ade80 !important;
        text-shadow: 0 0 15px rgba(74, 222, 128, 0.6);
        font-weight: 800;
    }

    .show-desktop {
        display: none;
    }

    .show-mobile {
        display: inline;
    }

    .promo-badge {
        align-self: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        width: fit-content !important;
        margin-left: auto;
        margin-right: auto;
        padding: 0.75rem 1.5rem !important;
    }

    .hero-image {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 3rem;
        display: flex;
        justify-content: center;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

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

    .glass-card {
        padding: 1.5rem;
    }
}

/* ========================================
   Access Modal Styles
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 1.5rem;
    padding: 2rem;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.modal-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Opera */
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    box-shadow: 0 0 30px var(--primary-glow);
}

.modal-icon svg {
    width: 28px;
    height: 28px;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* Field Error Styles */
.field-error {
    display: block;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.2s ease;
}

.field-error.visible {
    opacity: 1;
    max-height: 2rem;
}

/* ========================================
   Showcase Modal & Carousel
   ======================================== */

.showcase-container {
    position: relative;
    width: 95%;
    max-width: 1150px;
    /* Increased to give more room and avoid scroll */
    height: 90vh;
    /* Taller for showcase */
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    outline: none;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Track moves left/right */
.carousel-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    /* 100% of container, but slides will stretch it? No, flex. */
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

/* New Split Layout Structure */
.slide-content {
    display: flex;
    flex-direction: column;
    /* Mobile first: Stacked */
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.7);
    /* Background for readability */
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 40%;
    /* Mobile: Image takes top part */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.slide-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slide-info {
    width: 100%;
    height: 60%;
    /* Mobile: content takes rest */
    padding: 1.5rem;
    overflow-y: auto;
    /* Scrollable text */
    text-align: left;
    color: white;
}

.slide-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    /* Condensed gap to prevent scrolling */
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e2e8f0;
}

.feature-list li i,
.feature-list li svg {
    color: var(--secondary);
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.feature-list li.important-note {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.feature-list li.important-note i {
    color: #ef4444;
}

/* Desktop: Side-by-side */
@media (min-width: 768px) {
    .slide-content {
        flex-direction: row;
    }

    .slide-image {
        width: 50%;
        height: 100%;
        padding: 1.5rem;
        /* Restored balanced padding */
        justify-content: center;
        /* Center image in its half */
    }

    .slide-image img {
        max-height: 90%;
    }

    .slide-info {
        width: 50%;
        height: 100%;
        padding: 2rem;
        /* Restored balanced padding */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Nav Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    z-index: 20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -60px;
}

.carousel-btn.next {
    right: -60px;
}

/* Indicators */
.carousel-nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    z-index: 20;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.current-slide {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .showcase-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .carousel-track-container {
        border-radius: 0;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
        /* Darker for better visibility over image */
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .slide-image {
        height: 55%;
        /* More space for image */
        padding: 0.5rem;
        /* Less padding */
    }

    .slide-info {
        height: 45%;
        /* Less space for text */
        padding: 1rem;
    }

    .carousel-slide img {
        max-height: 100%;
        /* Allow full height use */
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
}

.form-group input.invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.optional-label {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

/* Card Selector (Profesor/Academia) */
.card-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.selector-card {
    display: block;
    cursor: pointer;
}

.selector-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.card-inner {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    transition: all 0.25s ease;
}

.card-inner:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.card-icon svg {
    width: 20px;
    height: 20px;
}

.card-label {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.card-check {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.25s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.card-check svg {
    width: 14px;
    height: 14px;
}

/* Selected State */
.selector-card input[type="radio"]:checked~.card-inner {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.08);
}

.selector-card input[type="radio"]:checked~.card-inner .card-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.selector-card input[type="radio"]:checked~.card-inner .card-label {
    color: white;
}

.selector-card input[type="radio"]:checked~.card-inner .card-check {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Number Selector (Cantidad alumnos) */
.number-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.number-option {
    position: relative;
    cursor: pointer;
}

.number-option input[type="radio"] {
    display: none;
}

.number-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    transition: all 0.25s ease;
}

.number-value {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.number-option:hover .number-content {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.number-option input[type="radio"]:checked~.number-content {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary);
}

.number-option input[type="radio"]:checked~.number-content .number-value {
    color: var(--primary);
}

/* Radio Button Group (legacy/fallback) */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.radio-option input[type="radio"]:checked+.radio-custom {
    border-color: var(--primary);
}

.radio-option input[type="radio"]:checked+.radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-option input[type="radio"]:checked~span:last-child {
    color: white;
}

.radio-option span:last-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Full Width Button */
.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.btn-full svg {
    transition: transform 0.2s ease;
}

.btn-full:hover svg {
    transform: translateX(4px);
}

/* Success View */
.success-content {
    text-align: center;
    padding: 1rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 0 40px var(--primary-glow);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {

    0%,
    100% {
        box-shadow: 0 0 40px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 60px var(--primary-glow);
    }
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.success-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-content>p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.success-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.success-whatsapp svg {
    width: 18px;
    height: 18px;
}

/* Modal Scrollbar */
.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Mobile Adjustments for Modal */
@media (max-width: 480px) {
    .modal-container {
        padding: 1.5rem;
        margin: 0.5rem;
        max-height: 95vh;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-icon {
        width: 50px;
        height: 50px;
    }

    .modal-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Card Selector Mobile */
    .card-inner {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .card-icon {
        width: 36px;
        height: 36px;
    }

    .card-icon svg {
        width: 18px;
        height: 18px;
    }

    .card-label {
        font-size: 0.9rem;
    }

    .card-check {
        width: 22px;
        height: 22px;
    }

    .card-check svg {
        width: 12px;
        height: 12px;
    }

    /* Number Selector Mobile */
    .number-selector {
        gap: 0.5rem;
    }

    .number-content {
        padding: 0.75rem 0.25rem;
    }

    .number-value {
        font-size: 0.9rem;
    }

    .radio-option {
        padding: 0.625rem 0.875rem;
    }

    .radio-option span:last-child {
        font-size: 0.9rem;
    }
}

/* Contact Modal & Founder Card Styles */
.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-contact.whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-contact.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-contact.email {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-contact.email:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}