/* ============================================
   VARIABLES Y ESTILOS GLOBALES
   ============================================ */
:root {
    --primary-color: #00f2fe;
    --primary-dark: #0077b6;
    --secondary-color: #0096c7;
    --success-color: #06d6a0;
    --danger-color: #ef476f;
    --dark-bg: #0a0e27;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f3f7 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   HEADER Y NAVEGACION (BLANCO)
   ============================================ */
.main-header {
    background: var(--text-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    position: sticky;
    top: 0;
}

.main-header .navbar {
    padding: 1rem 0;
}

/* Logo Container - DESTACADO */
.logo-container-dynamic {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.5rem;
    transition: var(--transition);
}

.logo-container-dynamic:hover {
    transform: scale(1.08);
}

.logo-glow-ring {
    position: absolute;
    top: 50%;
    left: -8px;
    width: 70px;
    height: 70px;
    border: 2.5px solid var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    animation: glow-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 242, 254, 0.5), inset 0 0 20px rgba(0, 242, 254, 0.1);
        transform: translateY(-50%) scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(0, 242, 254, 0.8), inset 0 0 30px rgba(0, 242, 254, 0.2);
        transform: translateY(-50%) scale(1.1);
    }
}

.logo-img {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.logo-container-dynamic:hover .logo-img {
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.7));
    transform: rotate(10deg) scale(1.1);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* Navegación */
.nav-link-custom {
    color: var(--text-dark) !important;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    margin: 0 0.5rem;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 100%;
}

.nav-link-custom:hover {
    color: var(--primary-color) !important;
}

/* Botón Header */
.btn-login-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-dark) !important;
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

.btn-login-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.35);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-premium {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f3f7 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 100px 0;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 242, 254, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 150, 199, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-glow-1,
.hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    animation: float-glow 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -100px;
    left: 50%;
    animation: float-glow 10s ease-in-out infinite reverse;
}

@keyframes float-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-dark) !important;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 242, 254, 0.4);
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--text-dark) !important;
    border: 2px solid var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: var(--primary-color);
    color: var(--text-dark) !important;
    transform: translateY(-4px);
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 242, 254, 0.2);
    overflow: hidden;
    animation: fadeInRight 1s ease 0.4s both;
    border: 1px solid rgba(0, 242, 254, 0.1);
}

.mockup-header {
    background: linear-gradient(90deg, #0f3460 0%, #16213e 100%);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.dot-red, .dot-yellow, .dot-green {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: 'Monaco', monospace;
    flex: 1;
    text-align: center;
}

.network-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 214, 160, 0.1);
    color: var(--success-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.mockup-body {
    padding: 2rem;
    color: #fff;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.mockup-stat-card {
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.mockup-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.mockup-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Monaco', monospace;
}

.glow-cyan {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.glow-green {
    color: var(--success-color);
    text-shadow: 0 0 10px var(--success-color);
}

.mockup-chart-container {
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.chart-label {
    color: rgba(255, 255, 255, 0.7);
}

.chart-legend {
    display: flex;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.svg-chart {
    width: 100%;
    height: 150px;
}

.chart-path-traffic-bg {
    fill: url(#cyanGradBg);
}

.chart-path-traffic {
    stroke: url(#cyanGrad);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.5));
    animation: dash 4s linear infinite;
}

@keyframes dash {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

.mikrotik-terminal {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Monaco', monospace;
    font-size: 0.85rem;
    color: var(--primary-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-height: 150px;
    overflow-y: auto;
}

.terminal-line {
    display: flex;
    gap: 0.5rem;
}

.term-prompt {
    color: var(--primary-color);
}

.term-cmd {
    color: rgba(255, 255, 255, 0.8);
    animation: blink-cursor 1s infinite;
}

.term-info {
    color: rgba(0, 242, 254, 0.7);
}

@keyframes blink-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.2; }
}

.simulator-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 1rem;
    border-radius: 8px;
}

.sim-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.sim-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff6b6b;
    animation: pulse 2s ease-in-out infinite;
}

.btn-simulate {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-dark);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-simulate:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.3);
}

/* ============================================
   SECCIONES DE CONTENIDO
   ============================================ */
.section-title {
    color: var(--text-dark);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scroll-margin-top {
    scroll-margin-top: 100px;
}

/* Feature Cards */
.feature-card {
    background: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-text {
    color: #666;
    line-height: 1.8;
}

/* ============================================
   PRECIOS
   ============================================ */
.precios-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f3f7 100%);
    border-radius: 20px;
    padding: 3rem !important;
    margin-top: 2rem !important;
}

.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    cursor: pointer;
}

.toggle-label.active {
    color: var(--primary-color);
}

.toggle-checkbox {
    display: none;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    background: #ccc;
    border-radius: 34px;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-checkbox:checked + .toggle-switch {
    background: var(--primary-color);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-checkbox:checked + .toggle-switch .toggle-slider {
    transform: translateX(26px);
}

.discount-badge {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    font-weight: 600;
}

.pricing-card {
    background: var(--text-light);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 242, 254, 0.2);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: #666;
    font-size: 0.95rem;
}

.price-container {
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-period {
    color: #666;
    font-weight: 600;
}

.features-list {
    text-align: left;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: #666;
    border-bottom: 1px solid var(--border-color);
}

.price-feature:last-child {
    border-bottom: none;
}

.price-feature i {
    color: var(--success-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.price-feature.disabled {
    opacity: 0.5;
}

.price-feature.disabled i {
    color: #ccc;
}

.btn-pricing {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-dark) !important;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    transition: var(--transition);
    margin-top: auto;
}

.btn-pricing:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.3);
}

/* ============================================
   DETALLES Y SEGURIDAD
   ============================================ */
.details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.details-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.details-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.details-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.details-text {
    color: #666;
    line-height: 1.8;
}

/* ============================================
   CTA Y TESTIMONIOS
   ============================================ */
.cta-premium {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0096c7 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-glow 8s ease-in-out infinite;
}

.cta-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    color: white;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-premium .lead {
    position: relative;
    z-index: 2;
}

.btn-hero-primary.border-0 {
    position: relative;
    z-index: 2;
}

.btn-hero-secondary.bg-transparent {
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
    transform: translateY(-5px);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 700;
}

.testimonial-role {
    color: #999;
}

/* ============================================
   RECURSOS Y FAQ
   ============================================ */
.resource-card {
    background: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
}

.resource-icon-wrap {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.resource-text {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-link:hover {
    gap: 1rem;
}

/* FAQ */
.faq-accordion {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: rgba(0, 242, 254, 0.05);
}

.faq-question h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}

.faq-icon-arrow {
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1.3rem;
}

.faq-question.active .faq-icon-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.8;
    background: rgba(0, 242, 254, 0.02);
}

.faq-answer.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   GALLERY SECTION - IMÁGENES DEL SISTEMA
   ============================================ */
.gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f3f7 100%);
    border-radius: 20px;
    padding: 3rem 0;
    margin-top: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.2);
    transition: var(--transition);
    height: 300px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-image:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.8), rgba(0, 150, 199, 0.8));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-image:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    padding: 1.5rem;
}

.gallery-carousel {
    position: relative;
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.15);
    margin-top: 2rem;
}

.carousel-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
}

.carousel-controls {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 254, 0.1) !important;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.btn-contact {
    background: var(--primary-color);
    color: var(--text-dark) !important;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 242, 254, 0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.copyright {
    border-top: 1px solid rgba(0, 242, 254, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-pulse {
    animation: pulse-opacity 2s ease-in-out infinite;
}

@keyframes pulse-opacity {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .section-title {
        font-size: 2rem;
    }

    .mockup-stats {
        grid-template-columns: 1fr;
    }

    .gallery-image {
        height: 250px;
    }

    .carousel-image {
        height: 300px;
    }

    .cta-premium {
        padding: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .nav-link-custom {
        margin: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .btn-login-header {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .feature-card,
    .resource-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .gallery-image,
    .carousel-image {
        height: 200px;
    }

    .mockup-title {
        font-size: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.close-modal {
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 10000;
    color: #fff;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
    padding: 10px;
}

.carousel-image {
    cursor: pointer;
}

/* chat flotante */

#isprotik-chat-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999999;
    font-family: 'Figtree', sans-serif;
}
#chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f2fe 0%, #0077b6 100%);
    border: none;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#chat-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.6);
}
.chat-notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #ff4d4d;
    border-radius: 50%;
    border: 2px solid white;
}
.chat-window-hidden {
    display: none !important;
}
#chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 350px;
    height: 480px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInChat 0.3s ease-out;
}
@keyframes fadeInChat {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-header-ia {
    background: #20207d; /* Color corporativo primario */
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-avatar {
    position: relative;
    width: 38px;
    height: 38px;
}
.chat-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    object-fit: contain;
    padding: 2px;
}
.status-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #2ecc71;
    border-radius: 50%;
    border: 2px solid #20207d;
}
.btn-close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
}
.btn-close-chat:hover { opacity: 1; }
.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.message {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.92rem;
    max-width: 85%;
    line-height: 1.4;
}
.message.assistant {
    background-color: #ffffff;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.message.user {
    background: linear-gradient(135deg, #3333cc 0%, #20207d 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-footer-ia {
    padding: 10px;
    background: #ffffff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}
.chat-footer-ia input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
}
.chat-footer-ia input:focus { border-color: #3333cc; }
#chat-send-btn {
    background: #3333cc;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#chat-send-btn:hover { background: #20207d; }
