:root {
    --bg-dark: #ffffff;
    --bg-dark-900: #f8fafc;
    --bg-card: #ffffff;
    --primary-color: #0f2c4a;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --primary-gradient: linear-gradient(135deg, #0f2c4a 0%, #3b82f6 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    --accent-purple: #3b82f6;
    --accent-cyan: #1d4ed8;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --neon-border: #e2e8f0;
    --neon-border-hover: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-blur: blur(12px);
}

/* Base Reset & Typography */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-wrap: break-word;
    word-break: break-word;
    position: relative;
}

/* Evita que textos largos sin espacios (links, urls) desborden el ancho y generen scroll horizontal */
h1, h2, h3, h4, h5, h6, p, a, span {
    overflow-wrap: break-word;
    word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

a {
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-900);
}
::-webkit-scrollbar-thumb {
    background: rgba(15, 44, 74, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Glowing Effects & Background Elements */
.ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Modern Header / Floating Glass Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--neon-border);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.main-header .logo a {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.main-header .logo a em {
    font-style: normal;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.main-header .logo a span {
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(15, 44, 74, 0.06);
    color: var(--accent-cyan);
    border: 1px solid rgba(15, 44, 74, 0.15);
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin-left: 25px;
}

.main-menu li a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.main-menu li a:hover,
.main-menu li.active a {
    color: var(--text-main);
}

.main-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.main-menu li a:hover::after,
.main-menu li.active a::after {
    width: 100%;
}

.highlight-nav-btn {
    background: var(--primary-gradient);
    color: white !important;
    padding: 8px 18px !important;
    border-radius: 30px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.highlight-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.highlight-nav-btn::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.menu-link {
    display: none;
    font-size: 24px;
    color: var(--text-main);
    line-height: 40px;
    flex-shrink: 0;
    margin-left: auto;
}

.main-banner {
    position: relative;
    min-height: 90vh;
    padding: 120px 0 120px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 75% 35%, #1e1b4b 0%, #0f172a 50%, #090d16 100%);
    color: #f8fafc;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0) 50%),
                radial-gradient(circle at 85% 40%, rgba(168, 85, 247, 0.18) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
    pointer-events: none;
}

.header-text {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-text-col {
    position: relative;
    z-index: 4;
}

.hero-text-col .caption {
    max-width: 100%;
    margin: 0;
}

.caption .h6-subtitle {
    display: inline-block;
    color: #38bdf8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.15);
}

.caption h1.text-gradient-white {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -1px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 40%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(168, 85, 247, 0.3));
}

.caption h2 {
    font-size: 1.35rem;
    font-weight: 500;
    color: #94a3b8 !important;
    margin-bottom: 22px;
    line-height: 1.4;
}

.caption p {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 30px;
}

.caption p strong {
    color: #ffffff;
    font-weight: 700;
}

.cta-btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #d946ef 100%);
    background-size: 200% auto;
    color: #ffffff !important;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-glow 3s infinite ease-in-out;
}

.cta-btn-glow:hover {
    background-position: right center;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(217, 70, 239, 0.65);
}

.btn-outline-hero {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #38bdf8;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

/* Hero 35% Image Mockup Showcase */
@media (min-width: 992px) {
    .hero-text-col {
        flex: 0 0 65%;
        max-width: 65%;
    }
    .hero-image-col {
        flex: 0 0 35%;
        max-width: 35%;
    }
}

.hero-image-col {
    position: relative;
    z-index: 5;
}

.hero-mockup-wrapper {
    position: relative;
    width: 100%;
    perspective: 1200px;
    padding: 15px;
}

.mockup-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(168, 85, 247, 0.25) 45%, rgba(0,0,0,0) 70%);
    filter: blur(45px);
    z-index: 1;
    pointer-events: none;
}

.hero-mockup-card {
    position: relative;
    z-index: 2;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75),
                0 0 40px rgba(99, 102, 241, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: rotateY(-6deg) rotateX(3deg) scale(0.98);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-mockup-wrapper:hover .hero-mockup-card {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.85),
                0 0 60px rgba(168, 85, 247, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border-color: rgba(56, 189, 248, 0.5);
}

.hero-mockup-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.25);
    pointer-events: none;
    white-space: nowrap;
}

.badge-icon {
    font-size: 1.1rem;
}

.badge-top-left {
    top: -15px;
    left: -10px;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-bottom-right {
    bottom: -15px;
    right: 10px;
    animation: floatBadge 5s ease-in-out infinite 1s;
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(168, 85, 247, 0.3);
}

.badge-top-right {
    top: 20px;
    right: -15px;
    animation: floatBadge 4.5s ease-in-out infinite 0.5s;
    border-color: rgba(16, 185, 129, 0.4);
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Features Section */
.features {
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.features-post {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--neon-border);
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.features-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.features-post:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(15, 44, 74, 0.08);
}

.features-post:hover::before {
    opacity: 1;
}

.features-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.features-content a {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.features-content a:hover {
    color: var(--text-main);
}

.content-hide {
    display: none;
    margin-top: 15px;
}

/* Custom Owl Carousel Dots */
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 35px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 10;
}

.owl-carousel .owl-dots.disabled {
    display: flex !important;
}

.owl-carousel .owl-dot {
    background: transparent !important;
    border: none !important;
    padding: 8px !important;
    margin: 0 !important;
    outline: none !important;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s ease;
}

.owl-carousel .owl-dot:focus {
    outline: none;
}

.owl-carousel .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    background: #94a3b8;
    border: 2px solid rgba(15, 44, 74, 0.1);
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.owl-carousel .owl-dot:hover span {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.25);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.owl-carousel .owl-dot.active span {
    background: linear-gradient(135deg, #0f2c4a 0%, #3b82f6 100%);
    border-color: #3b82f6;
    width: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.45);
}

.owl-carousel .owl-nav {
    display: none !important;
}

/* Contact Form Response */
#contact-response {
    border-radius: 16px;
    padding: 15px 20px;
    font-size: 0.95rem;
    backdrop-filter: var(--glass-blur);
    border: 1px solid transparent;
    margin-top: 20px;
    display: none;
}

#contact-response.success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

#contact-response.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}

/* Section Layout Utilities */
.section {
    padding: 100px 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-heading h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    font-weight: 800;
    overflow-wrap: break-word;
    word-break: break-word;
}

.section-heading h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Why Us Section / Tabs */
.why-us {
    background-color: var(--bg-dark-900);
    border-top: 1px solid var(--neon-border);
    border-bottom: 1px solid var(--neon-border);
}

#tabs .nav-tabs {
    border-bottom: none;
    background: rgba(15, 44, 74, 0.05);
    padding: 8px;
    border-radius: 40px;
    display: inline-flex;
    border: 1px solid var(--neon-border);
}

#tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

#tabs .nav-link.active {
    background: var(--primary-gradient) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(15, 44, 74, 0.2);
}

.tab-pane {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--neon-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.5s ease;
}

.tab-pane img {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.tab-pane img:hover {
    transform: scale(1.02);
}

.tab-pane h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tab-pane p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.tab-pane a {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
}

.tab-pane a:hover {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

/* Modules Section (Courses Carousel) */
.courses {
    position: relative;
}

.owl-carousel .owl-stage {
    display: flex;
}

.owl-carousel .owl-item {
    display: flex;
}

.owl-carousel .item {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--neon-border);
    border-radius: 24px;
    overflow: hidden;
    margin: 15px 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.owl-carousel .item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(15, 44, 74, 0.08);
}

.owl-carousel .item img {
    border-bottom: 1px solid var(--neon-border);
    height: 200px;
    object-fit: cover;
}

.down-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.down-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.down-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.text-button-pay {
    margin-top: auto;
}

.text-button-pay a {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
}

.text-button-pay a:hover {
    color: var(--accent-purple);
}

/* Pricing Section */
.video {
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #0f172a 60%, #090d16 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.pricing-header h2 {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.pricing-header p.lead {
    color: #cbd5e1 !important;
    font-size: 1.15rem;
}

.free-quote h3 {
    color: #ffffff !important;
}

.free-quote p {
    color: #94a3b8 !important;
}

.plan-box {
    background: #ffffff !important;
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--neon-border);
    border-radius: 28px !important;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04) !important;
    height: 100%;
}

.plan-box:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 45px rgba(15, 44, 74, 0.08) !important;
}

/* Individual Card Accents */
.col-lg-4:nth-child(1) .plan-box {
    border-top: 5px solid #10b981;
}
.col-lg-4:nth-child(2) .plan-box {
    border-top: 5px solid #f5a425;
    background: #ffffff !important;
    box-shadow: 0 15px 40px rgba(15, 44, 74, 0.1) !important;
}
.col-lg-4:nth-child(3) .plan-box {
    border-top: 5px solid var(--primary-color);
}

.plan-box h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.col-lg-4:nth-child(1) .plan-box h4 { color: #10b981; }
.col-lg-4:nth-child(2) .plan-box h4 { color: #f5a425; }
.col-lg-4:nth-child(3) .plan-box h4 { color: #6366f1; }

.plan-box p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.plan-box p strong {
    color: var(--text-main);
}

.plan-box .btn {
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 700;
    width: 100%;
    margin-top: 25px !important;
    border: none;
    transition: all 0.3s ease;
}

.plan-box .btn-warning {
    background: var(--primary-gradient);
    color: white !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.plan-box .btn-warning:hover {
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
    transform: translateY(-2px);
}

.plan-box .btn-primary {
    background: rgba(15, 44, 74, 0.05);
    color: var(--primary-color) !important;
    border: 1px solid rgba(15, 44, 74, 0.2);
}

.plan-box .btn-primary:hover {
    background: var(--primary-color);
    color: white !important;
}

.plan-box .btn-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.plan-box .btn-success:hover {
    background: #10b981;
    color: white !important;
}

.border-first-button a {
    display: inline-block;
    margin-top: 40px;
    color: var(--accent-cyan);
    font-weight: 600;
    border-bottom: 1px dashed var(--accent-cyan);
    padding-bottom: 3px;
}

.border-first-button a:hover {
    color: var(--accent-purple);
    border-color: var(--accent-purple);
}

/* Contact Section */
.contact {
    background: var(--bg-dark-900);
    border-top: 1px solid rgba(255,255,255,0.03);
}

form#contact {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--neon-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

form#contact input,
form#contact textarea {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: var(--text-main);
    padding: 15px 20px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

form#contact input:focus,
form#contact textarea:focus {
    background: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
    outline: none;
}

form#contact button {
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 30px;
    padding: 14px 35px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

form#contact button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

#map {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--neon-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 50px 0;
    text-align: center;
}

footer p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

footer p i {
    color: var(--accent-purple);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 10px 35px rgba(168, 85, 247, 0.7); }
}

/* Responsive */
@media (max-width: 991px) {
    .main-header {
        padding: 10px 0;
    }
    .main-header .container {
        flex-wrap: wrap;
    }
    /* El header queda fijo y solapa el contenido del hero: se agrega espacio superior */
    .main-banner .header-text {
        padding-top: 80px;
    }
    .hero-mockup-card {
        transform: none !important;
        margin-top: 20px;
    }
    .floating-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    .badge-top-left {
        top: -10px;
        left: 0px;
    }
    .badge-top-right {
        top: 10px;
        right: 0px;
    }
    .badge-bottom-right {
        bottom: -10px;
        right: 0px;
    }
    .menu-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        margin-left: auto;
        float: none;
    }
    .main-nav {
        display: none;
        width: 100%;
        flex-basis: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: var(--glass-blur);
        position: absolute;
        top: 100%;
        left: 0;
        border-bottom: 1px solid var(--neon-border);
        padding: 20px;
    }
    .main-nav.active {
        display: block;
    }
    .main-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-menu li {
        margin: 10px 0;
        width: 100%;
    }
    .main-menu li a {
        display: block;
        width: 100%;
    }
    .caption h1 {
        font-size: 2.5rem;
    }
    .caption h2 {
        font-size: 1.4rem;
    }
    .features {
        margin-top: 40px;
    }
    .features .col-12 {
        margin-bottom: 20px;
    }
    .tab-pane {
        padding: 25px;
    }
    .tab-pane img {
        margin-bottom: 25px;
    }
}

.text-gradient-white {
    background: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-gradient-cyan {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Mobile specific adjustments to avoid horizontal page stretching */
@media (max-width: 480px) {
    .caption h1 {
        font-size: 1.8rem !important;
    }
    .caption h2 {
        font-size: 1.1rem !important;
    }
    .cta-btn-glow {
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
    }
    .main-header .logo a {
        font-size: 1.25rem;
    }
    .main-header .logo a span {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}
