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

:root {
    --neon-cyan: #00f5ff;
    --neon-purple: #b829ff;
    --neon-pink: #ff2d92;
    --dark-bg: #0a0a0f;
    --dark-card: #12121a;
    --dark-border: #1f1f2e;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    top: -200px;
    right: -100px;
    background: var(--neon-purple);
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    bottom: -200px;
    left: -100px;
    background: var(--neon-cyan);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

a.logo {
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
}

.btn-demo {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    color: #000;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-demo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.5);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 60px 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 30px;
    font-size: 14px;
    color: var(--neon-cyan);
    margin-bottom: 30px;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {

    0%,
    100% {
        box-shadow: 0 0 5px var(--neon-cyan);
    }

    50% {
        box-shadow: 0 0 20px var(--neon-cyan);
    }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 22px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    color: #000;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--dark-border);
    padding: 18px 40px;
    border-radius: 50px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

/* ============================================
   MOCKUP DE TELÉFONO REALISTA CON CSS PURO
   ============================================ */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 750px;
    overflow: visible;
    max-width: 520px;
    margin: 0 auto;
}

/* Contenedor para las floating cards - con overflow hidden */
.floating-cards-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-cards-container .floating-card {
    pointer-events: auto;
}

.phone-wrapper {
    position: relative;
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {

    0%,
    100% {
        transform: translateY(0) rotateY(-5deg) rotateX(2deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-5deg) rotateX(2deg);
    }
}

/* Marco exterior del teléfono - Titanio/Aluminio */
.phone-device {
    position: relative;
    width: 290px;
    height: 600px;
    background: linear-gradient(145deg,
            #4a5568 0%,
            #2d3748 20%,
            #1a202c 50%,
            #2d3748 80%,
            #4a5568 100%);
    border-radius: 55px;
    padding: 12px;
    box-shadow:
        /* Sombra principal */
        0 50px 100px -20px rgba(0, 0, 0, 0.8),
        0 30px 60px -30px rgba(0, 0, 0, 0.6),
        /* Brillo del borde metálico */
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3),
        /* Borde exterior */
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Efecto de brillo en el marco */
.phone-device::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 55px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 5;
}

/* Botones laterales */
.phone-device::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 120px;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, #3d4852, #2d3748, #3d4852);
    border-radius: 0 3px 3px 0;
    box-shadow:
        0 40px 0 0 linear-gradient(180deg, #3d4852, #2d3748),
        inset -1px 0 1px rgba(255, 255, 255, 0.1);
}

/* Botón de volumen izquierdo */
.volume-buttons {
    position: absolute;
    left: -3px;
    top: 100px;
    width: 4px;
    height: 35px;
    background: linear-gradient(180deg, #3d4852, #2d3748, #3d4852);
    border-radius: 3px 0 0 3px;
    box-shadow: inset 1px 0 1px rgba(255, 255, 255, 0.1);
}

.volume-buttons::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50px;
    width: 4px;
    height: 35px;
    background: linear-gradient(180deg, #3d4852, #2d3748, #3d4852);
    border-radius: 3px 0 0 3px;
}

.volume-buttons::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100px;
    width: 4px;
    height: 55px;
    background: linear-gradient(180deg, #3d4852, #2d3748, #3d4852);
    border-radius: 3px 0 0 3px;
}

/* Pantalla interior */
.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 45px;
    overflow: hidden;
    position: relative;
}

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
}

.dynamic-island::before {
    content: '';
    position: absolute;
    right: 12px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #1a1a2e 40%, #0d0d15 60%);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8);
}

/* Contenido de la pantalla - App NexusCall */
.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0f1629 0%, #0a0f1f 50%, #060a14 100%);
    padding: 60px 16px 20px;
    display: flex;
    flex-direction: column;
}

/* Reflejo de pantalla */
.screen-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(165deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.02) 25%,
            transparent 50%);
    pointer-events: none;
    z-index: 15;
    border-radius: 45px;
}

/* Header de la app */
.app-header {
    text-align: center;
    margin-bottom: 20px;
}

.app-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.app-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

/* Status bar */
.status-bar {
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    z-index: 10;
}

.status-bar-time {
    margin-left: 8px;
}

.status-bar-icons {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-right: 8px;
}

.status-bar-icons span {
    font-size: 10px;
}

/* Tarjetas de la app */
.app-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    animation: card-slide 0.6s ease-out both;
    transition: transform 0.2s, background 0.2s;
}

.app-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.app-card:nth-child(1) {
    animation-delay: 0.1s;
}

.app-card:nth-child(2) {
    animation-delay: 0.2s;
}

.app-card:nth-child(3) {
    animation-delay: 0.3s;
}

.app-card:nth-child(4) {
    animation-delay: 0.4s;
}

.app-card:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes card-slide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.card-icon.green {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.card-icon.red {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.card-icon.blue {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.card-icon.yellow {
    background: linear-gradient(135deg, #f59e0b, #eab308);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.card-icon.pink {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #fff;
}

.card-info p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.card-badge {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    animation: pulse-badge 2s infinite;
}

.card-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Navbar inferior */
.app-navbar {
    display: flex;
    justify-content: space-around;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.nav-item.active {
    opacity: 1;
}

.nav-item.active .nav-icon {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-icon {
    font-size: 18px;
}

.nav-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
}

/* Home indicator */
.home-indicator {
    width: 140px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin: 10px auto 0;
}

/* Floating cards alrededor del teléfono */
.floating-card {
    position: absolute;
    background: rgba(18, 18, 26, 0.95);
    border-radius: 16px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
    backdrop-filter: blur(20px);
}

.floating-card.card-1 {
    top: 80px;
    right: -40px;
}

.floating-card.card-2 {
    bottom: 140px;
    left: -40px;
}

.floating-card.card-3 {
    top: 55%;
    right: -50px;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-card .status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.status-dot.green {
    background: #10b981;
    box-shadow: 0 0 15px #10b981;
}

.status-dot.red {
    background: #ef4444;
    box-shadow: 0 0 15px #ef4444;
}

.status-dot.blue {
    background: #6366f1;
    box-shadow: 0 0 15px #6366f1;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.floating-card .status span {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

/* Glow detrás del teléfono */
.phone-glow {
    position: absolute;
    width: 400px;
    height: 600px;
    background: radial-gradient(ellipse,
            rgba(0, 245, 255, 0.15) 0%,
            rgba(184, 41, 255, 0.1) 40%,
            transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

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

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

/* ============================================
   SECCIONES DE LA PÁGINA
   ============================================ */
.modules {
    padding: 100px 60px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 20px;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

.gradient {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.module-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--dark-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.module-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.15);
}

.module-card:hover::before {
    opacity: 1;
}

.module-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(184, 41, 255, 0.2));
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.module-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.module-card p {
    font-size: 15px;
    color: #888;
    line-height: 1.5;
}

.stats {
    padding: 80px 60px;
    background: linear-gradient(180deg, transparent, rgba(0, 245, 255, 0.03), transparent);
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    color: #888;
}

.cta {
    padding: 120px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(184, 41, 255, 0.1));
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 30px;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--neon-cyan), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
}

.cta p {
    font-size: 20px;
    color: #888;
    margin-bottom: 40px;
    position: relative;
}

footer {
    padding: 40px 60px;
    border-top: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

footer p {
    color: #666;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

/* ============================================
   ESTILOS PARA PÁGINAS DE MÓDULOS
   ============================================ */
.module-page {
    min-height: 100vh;
    padding: 120px 60px 60px;
    position: relative;
    z-index: 1;
}

.module-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.module-page-header .module-icon {
    width: 100px;
    height: 100px;
    font-size: 50px;
    margin: 0 auto 30px;
}

.module-page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.module-page-header p {
    font-size: 20px;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
    transition: all 0.3s;
}

.back-button:hover {
    text-shadow: 0 0 20px var(--neon-cyan);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Desktop grande - floating cards más cerca */
@media (max-width: 1400px) {
    .floating-card.card-1 {
        right: -60px;
    }

    .floating-card.card-2 {
        left: -50px;
    }

    .floating-card.card-3 {
        right: -70px;
    }
}

@media (max-width: 900px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ocultar floating cards SOLO en tablet y mobile */
    .floating-card {
        display: none;
    }

    .hero {
        padding: 120px 40px 60px;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 30px 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        min-height: 500px;
        margin-top: 40px;
        width: 100%;
    }

    .phone-wrapper {
        transform: scale(0.85);
    }

    .phone-glow {
        width: 300px;
        height: 450px;
    }

    .modules {
        padding: 80px 30px;
    }

    .stats {
        padding: 60px 30px;
    }

    .cta {
        padding: 80px 30px;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .cta h2 {
        font-size: 32px;
    }

    footer {
        padding: 30px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .module-page {
        padding: 100px 30px 60px;
    }

    .module-page-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 150px 20px 40px;
    }

    .hero-badge {
        margin-top: 12px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 14px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .phone-wrapper {
        transform: scale(0.7);
    }

    .phone-glow {
        width: 250px;
        height: 350px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .module-card {
        padding: 20px;
    }

    .module-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .module-card h3 {
        font-size: 18px;
    }

    .module-card p {
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .stat-item p {
        font-size: 14px;
    }

    .cta-box {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .cta h2 {
        font-size: 24px;
    }

    .cta p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .module-page {
        padding: 100px 20px 40px;
    }

    .module-page-header h1 {
        font-size: 28px;
    }

    .module-page-header .module-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 24px;
    }

    .phone-wrapper {
        transform: scale(0.6);
    }

    .hero-visual {
        min-height: 380px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 13px;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
}

/* ============================================
   ENLACES LEGALES DEL FOOTER
   ============================================ */
.footer-legal {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--neon-cyan);
}