/* ==========================================================================
   RNS SUITE EDUCATIVA 2026 - MASTER DESIGN SYSTEM
   Fusión de Alta Gama: Estética SaaS de Vanguardia + Conversión de Ventas
   ========================================================================== */

:root {
    --night: #050e1f;
    --night-card: #0a1730;
    --deep: #081a35;
    --ink: #0f233f;
    --body-text: #334155;
    --muted: #64748b;
    --light-muted: #94a3b8;
    
    --teal: #10b981;
    --teal-light: #d1fae5;
    --teal-glow: rgba(16, 185, 129, 0.3);
    
    --cyan: #0ea5e9;
    --cyan-light: #e0f2fe;
    --cyan-glow: rgba(14, 165, 233, 0.3);
    
    --indigo: #6366f1;
    --indigo-light: #ede9fe;
    
    --amber: #f59e0b;
    --amber-light: #fef3c7;
    
    --paper: #f8fafc;
    --paper-card: #ffffff;
    --stroke: #e2e8f0;
    --stroke-dark: rgba(255, 255, 255, 0.1);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 10px 30px -10px rgba(15, 35, 63, 0.08);
    --shadow-card: 0 18px 45px -12px rgba(15, 35, 63, 0.12);
    --shadow-deep: 0 25px 65px -15px rgba(5, 14, 31, 0.4);
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--body-text);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    color: var(--ink);
    letter-spacing: -0.03em;
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.wrap {
    width: min(1200px, calc(100% - 44px));
    margin-inline: auto;
}

/* GRADIENTES Y DECORACIONES */
.gradient-text-hero {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 55%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-teal {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2.2px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.eyebrow-dark {
    color: #38bdf8;
}

/* BOTONES MASTER */
.btn-m {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: var(--radius-full);
    padding: 14px 26px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn-m:hover {
    transform: translateY(-2px);
}

.btn-m.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px var(--teal-glow);
}

.btn-m.primary:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 14px 30px -5px rgba(16, 185, 129, 0.5);
    color: #ffffff;
}

.btn-m.ghost-hero {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-m.ghost-hero:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-m.blue {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
}

.btn-m.blue:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 14px 30px -5px rgba(37, 99, 235, 0.5);
    color: #ffffff;
}

.btn-m.outline {
    border: 1px solid var(--stroke);
    color: var(--ink);
    background: #ffffff;
}

.btn-m.outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: var(--shadow-soft);
}

/* TOP ANNOUNCEMENT BAR */
.top-announcement {
    background: linear-gradient(90deg, #04241e 0%, #064e3b 50%, #04382e 100%);
    color: #ecfdf5;
    text-align: center;
    padding: 9px 16px;
    font-size: 0.84rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.top-announcement .badge-pill {
    background: #facc15;
    color: #0f172a;
    border-radius: var(--radius-full);
    padding: 3px 9px;
    font-size: 0.72rem;
    font-weight: 900;
    margin-right: 8px;
    text-transform: uppercase;
}

.top-announcement a {
    color: #ffffff;
    text-decoration: underline;
    margin-left: 6px;
    font-weight: 700;
}

/* NAVBAR */
.navbar-top {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 14, 31, 0.88);
    color: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stroke-dark);
}

.navbar-container {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1480px, calc(100% - 48px));
    margin-inline: auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.nav-brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(16, 185, 129, 0.3));
}

.nav-brand span {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.nav-brand span strong {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    gap: 16px;
    margin-left: auto;
    margin-right: 12px;
    align-items: center;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    white-space: nowrap;
}

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

.nav-btn-mobile {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 1.3rem;
}

.mobile-menu-drawer {
    display: none;
    background: var(--night);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--stroke-dark);
}

.mobile-menu-drawer.open {
    display: grid;
    gap: 8px;
}

.mobile-menu-drawer a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-weight: 600;
}

/* HERO SECTION */
.hero-wrapper {
    position: relative;
    background: radial-gradient(ellipse at 85% 15%, #133963 0%, transparent 45%),
                radial-gradient(ellipse at 10% 55%, #0f3354 0%, transparent 40%),
                linear-gradient(135deg, #030a17 0%, #06152d 60%, #041024 100%);
    color: #ffffff;
    overflow: hidden;
    padding: 70px 0 80px;
}

.hero-wrapper::after {
    content: "";
    position: absolute;
    width: 750px;
    height: 750px;
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 50%;
    right: -320px;
    top: -200px;
    pointer-events: none;
    box-shadow: 0 0 0 140px rgba(56, 189, 248, 0.03), 0 0 0 280px rgba(56, 189, 248, 0.015);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.12);
    border-radius: var(--radius-full);
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #6ee7b7;
}

.hero-title {
    font-size: clamp(38px, 4.2vw, 62px);
    letter-spacing: -0.04em;
    margin: 18px 0;
    color: #ffffff;
    line-height: 1.12;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
    max-width: 580px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-assurance {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #94a3b8;
}

.hero-assurance span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-assurance b {
    color: #34d399;
}

/* 3D SCREEN STAGE */
.screen-stage {
    position: relative;
    padding: 30px 10px;
}

.dashboard-card-mock {
    background: #ffffff;
    border: 1px solid #94b8e3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 80px -15px rgba(0, 0, 0, 0.65);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    color: #1e293b;
    transition: transform 0.4s ease;
}

.dashboard-card-mock:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    height: 36px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
}

.win-dot {
    height: 9px;
    width: 9px;
    border-radius: 50%;
}
.win-dot.red { background: #f87171; }
.win-dot.yellow { background: #fbbf24; }
.win-dot.green { background: #34d399; }

.win-url {
    margin: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 10px;
    padding: 3px 28px;
    color: #64748b;
    font-weight: 600;
}

.dash-body {
    display: grid;
    grid-template-columns: 86px 1fr;
    min-height: 320px;
    background: #f8fafc;
}

.dash-sidebar {
    background: #0f2444;
    padding: 16px 8px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

.dash-sidebar div {
    padding: 9px 6px;
    margin: 4px 0;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-sidebar div.active {
    background: #2563eb;
    color: #ffffff;
}

.dash-content {
    padding: 18px 20px;
}

.dash-content-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.dash-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 14px 0;
}

.dash-stat-box {
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 10px;
    color: #64748b;
}

.dash-stat-box strong {
    font-size: 20px;
    color: #0f2444;
    display: block;
    margin-top: 2px;
}

.dash-preview-table {
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    border-collapse: collapse;
    overflow: hidden;
    font-size: 11px;
}

.dash-preview-table th {
    color: #475569;
    background: #e2e8f0;
    text-align: left;
    padding: 8px 10px;
}

.dash-preview-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
}

.badge-tag-ok {
    border-radius: 8px;
    background: #d1fae5;
    color: #065f46;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 800;
}

/* FLOATING GLASS PILLS */
.floating-glass-pill {
    position: absolute;
    background: rgba(10, 24, 48, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    color: #ffffff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
    animation: floatMove 4s ease-in-out infinite;
}

.floating-glass-pill strong {
    font-size: 0.85rem;
    display: block;
}

.floating-glass-pill small {
    display: block;
    color: #94a3b8;
    font-size: 0.72rem;
}

.pill-one { top: 0px; right: -15px; animation-delay: 0s; }
.pill-two { bottom: -10px; left: -15px; animation-delay: 2s; }
.pill-three { bottom: 50px; right: -25px; animation-delay: 1s; }

@keyframes floatMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* STATS & TRUST STRIP */
.trust-strip {
    background: #f8fafc;
    border-bottom: 1px solid var(--stroke);
    padding: 28px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    border-right: 1px solid var(--stroke);
}

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.trust-item strong {
    font-size: 0.95rem;
    display: block;
    color: var(--ink);
}

.trust-item small {
    color: var(--muted);
    font-size: 0.8rem;
}

/* SECCIONES ESTÁNDAR */
.section {
    padding: 90px 0;
}

.section-head {
    max-width: 740px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    margin: 10px 0 14px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* COMPARATIVA */
.comparison-section {
    background: #f1f5f9;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.compare-box {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
}

.compare-box.best {
    border: 2px solid var(--teal);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    box-shadow: 0 15px 45px -10px rgba(16, 185, 129, 0.2);
}

.compare-box-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--stroke);
}

.compare-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
}

.compare-box:not(.best) .compare-icon-circle {
    background: #fee2e2;
    color: #ef4444;
}

.compare-box.best .compare-icon-circle {
    background: #d1fae5;
    color: #059669;
}

.compare-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.compare-item:last-child {
    border-bottom: none;
}

.compare-item .ic-bad {
    color: #ef4444;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.compare-item .ic-good {
    color: #10b981;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* INTERACTIVE SCREENSHOT SHOWCASE */
.showcase-section {
    background: #ffffff;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: center;
}

.feature-check-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.feature-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #d1fae5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.showcase-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.showcase-tab-btn {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    color: #475569;
    font-weight: 800;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.showcase-tab-btn:hover {
    background: #e2e8f0;
}

.showcase-tab-btn.active {
    background: #0f233f;
    color: #ffffff;
}

.screen-display-wrapper {
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-card);
}

.screen-display-btn {
    width: 100%;
    cursor: zoom-in;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
}

.screen-display-btn img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}

.screen-display-btn:hover img {
    transform: scale(1.02);
}

.screen-caption-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 10px;
}

/* VIDEO EMBED DEMO */
.video-demo-card {
    background: var(--night);
    border: 1px solid var(--stroke-dark);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.video-container-ratio {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000000;
}

.video-container-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ECOSYSTEM SUITE CARDS (4 PILARES) */
.ecosystem-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 60%, #ecfdf5 100%);
    border-top: 1px solid var(--stroke);
    border-bottom: 1px solid var(--stroke);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.eco-card {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-soft);
}

.eco-card:hover {
    transform: translateY(-6px);
    border-color: #93c5fd;
    box-shadow: var(--shadow-card);
}

.eco-card.eco-highlight {
    border-color: #34d399;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.eco-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.eco-card h3 {
    font-size: 1.15rem;
    margin: 10px 0 8px;
}

.eco-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* SPOTLIGHT SECTIONS: IA & HORARIOS */
.spotlight-card-dark {
    background: radial-gradient(circle at top right, #1e3a5f 0%, #07172f 80%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    color: #ffffff;
    box-shadow: var(--shadow-deep);
}

/* CHRONOS HORARIOS AI SHOWCASE */
.chronos-box-dark {
    background: radial-gradient(circle at 80% 20%, #151e3d 0%, #060b18 80%);
    border: 1px solid rgba(129, 140, 248, 0.3);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    color: #ffffff;
    box-shadow: 0 25px 65px -15px rgba(2, 6, 23, 0.7);
}

.chronos-item-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}

.chronos-item-card:hover {
    border-color: rgba(129, 140, 248, 0.5);
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(4px);
}

.chronos-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* CENTRO DE MANDO INSTITUCIONAL (REAL UI) */
.centro-mando-container {
    background: #071326;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.centro-mando-header {
    background: #0b1a33;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.centro-mando-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px;
}

.mando-card {
    background: #0b1930;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    position: relative;
    transition: all 0.25s ease;
}

.mando-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: #0f2242;
}

.mando-badge-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.centro-mando-footer {
    background: #050d1a;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: monospace;
}

/* APP FAMILIA MOCKUP */
.family-section {
    background: #06152d;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.family-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 500px;
    background: rgba(14, 165, 233, 0.12);
    filter: blur(100px);
    right: 5%;
    top: 0;
}

.phone-device-mock {
    width: 250px;
    margin: 0 auto;
    border: 9px solid #1e3352;
    border-radius: 40px;
    background: #f8fafc;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    padding: 18px 14px 24px;
    color: #0f172a;
    transform: rotate(4deg);
    transition: transform 0.4s ease;
}

.phone-device-mock:hover {
    transform: rotate(0deg);
}

.phone-top-notch {
    height: 16px;
    width: 70px;
    background: #1e3352;
    border-radius: 20px;
    margin: -19px auto 20px;
}

.phone-tile-item {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 10px;
    margin: 8px 0;
    padding: 9px 11px;
    font-size: 11px;
}

/* PRICING */
.pricing-section {
    background: #ffffff;
}

/* BILLING TOGGLE SWITCH */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.billing-toggle-pill {
    background: #f1f5f9;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-full);
    padding: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.billing-toggle-btn {
    padding: 9px 22px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    background: transparent;
}

.billing-toggle-btn.active {
    background: #0f233f;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 35, 63, 0.25);
}

.billing-save-badge {
    background: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-left: 6px;
    letter-spacing: 0.5px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.plan-card {
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    background: #ffffff;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: #94a3b8;
    box-shadow: var(--shadow-card);
}

.plan-card.featured-plan {
    background: linear-gradient(180deg, #092140 0%, #06162d 100%);
    color: #ffffff;
    border: 2px solid var(--teal);
    box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.3);
    transform: translateY(-8px);
}

.plan-card.featured-plan:hover {
    transform: translateY(-12px);
}

.plan-card.institucional-plan {
    border: 2px solid var(--cyan);
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.plan-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    width: max-content;
    margin-bottom: 14px;
}

.plan-price-num {
    font-family: 'Manrope', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 12px 0 4px;
}

.plan-period {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.plan-card.featured-plan .plan-period {
    color: #94a3b8;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 28px;
    display: grid;
    gap: 12px;
    flex: 1;
    font-size: 0.88rem;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.plan-features-list li::before {
    content: '✓';
    font-weight: 900;
    color: var(--teal);
}

.plan-card.institucional-plan .plan-features-list li::before {
    color: var(--cyan);
}

/* BANNER SINPE */
.sinpe-banner-card {
    margin-top: 36px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-soft);
}

/* TESTIMONIOS */
.testimonials-section {
    background: #f8fafc;
    border-top: 1px solid var(--stroke);
    border-bottom: 1px solid var(--stroke);
}

.testimonial-card-item {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.stars-rating {
    color: #f59e0b;
    margin-bottom: 14px;
}

/* FAQ DETAILS ACCORDION */
.faq-box-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.faq-box-wrap details {
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    padding: 0 24px;
    transition: all 0.2s ease;
}

.faq-box-wrap details[open] {
    border-color: #94a3b8;
    box-shadow: var(--shadow-soft);
}

.faq-box-wrap summary {
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
}

.faq-box-wrap summary::-webkit-details-marker {
    display: none;
}

.faq-box-wrap summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--cyan);
    font-weight: 700;
}

.faq-box-wrap details[open] summary::after {
    content: '−';
}

.faq-box-wrap details p {
    color: var(--body-text);
    padding-bottom: 20px;
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* FINAL CTA */
.final-cta-banner {
    background: linear-gradient(135deg, #041228 0%, #082947 100%);
    color: #ffffff;
    padding: 70px 0;
    border-top: 1px solid var(--stroke-dark);
}

.final-cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* FOOTER */
.main-footer {
    background: #020815;
    color: #94a3b8;
    padding: 50px 0 30px;
    font-size: 0.88rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

/* WIDGET FLOTANTE WHATSAPP */
.floating-wa-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-wa-btn:hover {
    transform: translateY(-4px);
}

.wa-circle-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    position: relative;
}

.wa-sonar-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.7;
    animation: sonarEffect 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: -1;
}

@keyframes sonarEffect {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.wa-hover-pill {
    background: rgba(5, 14, 31, 0.95);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* LIVE SOCIAL PROOF TOAST */
.social-proof-toast-box {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: rgba(5, 14, 31, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    max-width: 330px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-deep);
    z-index: 998;
    animation: toastSlideIn 0.5s ease-out;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

@keyframes toastSlideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* LIGHTBOX MODAL GENÉRICO */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    place-items: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox-modal.open {
    display: grid;
}

.lightbox-modal-content {
    position: relative;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 20px;
    max-width: 950px;
    width: 100%;
    color: #ffffff;
}

.lightbox-modal-content img {
    display: block;
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close-btn {
    position: absolute;
    right: 14px;
    top: 14px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 700;
}

.lightbox-close-btn:hover {
    background: #ef4444;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1120px) {
    .nav-links { display: none; }
    .nav-btn-mobile { display: block; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .ecosystem-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: none; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .compare-grid { grid-template-columns: 1fr; }
    .ecosystem-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
    .plan-card.featured-plan { transform: none; }
    .sinpe-banner-card { flex-direction: column; text-align: center; }
    .final-cta-flex { flex-direction: column; text-align: center; }
    .footer-top-grid { grid-template-columns: 1fr; }
    .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
    .hero-title { font-size: 34px; }
    .dash-body { grid-template-columns: 65px 1fr; }
    .wa-hover-pill { display: none; }
}
