:root {
    /* Paleta de colores SICOAS - Tema Tecnológico */
    --primary: #519BE9;
    --primary-dark: #3d7cc4;
    --primary-light: #7bb5f0;
    --secondary: #D44A59;
    --secondary-dark: #b83d4a;
    --accent: #F0C6A3;
    --accent-dark: #d4a882;
    --dark: #000000;
    --dark-soft: #1a1a1a;
    --dark-surface: #0a0a0a;
    --light-bg: #FFFFFF;
    --light-surface: #f8f9fa;
    --tech-bg: #f5f9ff;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --beige: #F0C6A3;
    --coral: #D44A59;
    --gradient-tech: linear-gradient(135deg, #519BE9 0%, #3d7cc4 50%, #1a1a1a 100%);
    --gradient-blue: linear-gradient(135deg, #519BE9 0%, #7bb5f0 100%);
    --gradient-main: linear-gradient(135deg, #519BE9 0%, #D44A59 100%);
    --gradient-warm: linear-gradient(135deg, #D44A59 0%, #F0C6A3 100%);
    --gradient-soft: linear-gradient(135deg, #F0C6A3 0%, #519BE9 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 8px 30px rgba(81, 155, 233, 0.2);
    --glass-border: rgba(81, 155, 233, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 50%, #f8f9fa 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Patrón tecnológico de fondo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(81, 155, 233, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(81, 155, 233, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(212, 74, 89, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Geometric, bold */
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-padding {
    padding: 5rem 0;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gradient text con coral - para secciones oscuras */
.gradient-text-coral {
    background: linear-gradient(135deg, #D44A59 0%, #F0C6A3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gradient text para fondos oscuros */
.gradient-text-light {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0C6A3 50%, #D44A59 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: scale(0.97) translateY(0);
    transition: transform 0.1s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(81, 155, 233, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--dark);
}

/* Highlighted nav items — Enterprise & Impacto Social */
.nav-links a.nav-highlight-enterprise {
    color: var(--secondary);
    font-weight: 600;
    position: relative;
}

.nav-links a.nav-highlight-enterprise:hover,
.nav-links a.nav-highlight-enterprise.active {
    color: var(--secondary-dark);
}

.nav-links a.nav-highlight-social {
    color: #10B981;
    font-weight: 600;
    position: relative;
}

.nav-links a.nav-highlight-social:hover,
.nav-links a.nav-highlight-social.active {
    color: #059669;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ========================================
   DROPDOWN DE INSTITUCIONES
   ======================================== */
.institution-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
}

.dropdown-trigger i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown-trigger.active i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: var(--light-bg);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(81, 155, 233, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dropdown-header span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.dropdown-search {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(81, 155, 233, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.dropdown-search:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(81, 155, 233, 0.1);
}

.institution-list {
    list-style: none;
    max-height: 250px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.institution-list li {
    margin: 0;
}

.institution-list li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.institution-list li a:hover {
    background: rgba(81, 155, 233, 0.08);
    color: var(--primary);
}

.institution-list li a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.dropdown-footer {
    padding: 1rem 1.25rem;
    background: rgba(81, 155, 233, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dropdown-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
}

.dropdown-link strong {
    color: var(--primary);
}

.dropdown-link:hover {
    color: var(--primary);
}

/* Scrollbar del dropdown */
.institution-list::-webkit-scrollbar {
    width: 6px;
}

.institution-list::-webkit-scrollbar-track {
    background: transparent;
}

.institution-list::-webkit-scrollbar-thumb {
    background: rgba(81, 155, 233, 0.3);
    border-radius: 3px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8rem;
    /* Nav height + spacing */
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(81, 155, 233, 0.25) 0%, rgba(212, 74, 89, 0.1) 50%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-content p strong {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: var(--primary);
    font-weight: 700;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    background: rgba(81, 155, 233, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(81, 155, 233, 0.2);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========================================
   MOCKUP CARD — Hero showcase panels
   Token: --mockup-slate for dark UI surfaces
   ======================================== */
:root {
    --mockup-slate: #334155;
}

.mockup-container {
    position: relative;
    perspective: 1000px;
}

.mockup-card {
    background: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding: 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.mockup-card:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mockup-slate);
}

.dots span:nth-child(1) {
    background: #EF4444;
}

.dots span:nth-child(2) {
    background: #F59E0B;
}

.dots span:nth-child(3) {
    background: #10B981;
}

.mockup-body {
    height: 300px;
    display: flex;
}

/* mockup-sidebar styles defined in Mockup Carousel section below */

.mockup-content {
    flex: 1;
    padding: 20px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.skeleton-box {
    height: 60px;
    background: var(--mockup-slate);
    border-radius: 6px;
    opacity: 0.5;
}

/* Shared centering for all status/indicator skeleton boxes */
.skeleton-box[class*="status-"],
.skeleton-box[class*="indicator-"] {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.skeleton-graph {
    height: 100px;
    margin-top: 1.25rem;
    background: linear-gradient(180deg, rgba(81, 155, 233, 0.2) 0%, rgba(81, 155, 233, 0) 100%);
    border-top: 2px solid var(--primary);
    border-radius: 4px;
}

.float-card {
    position: absolute;
    background: var(--dark-surface);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.float-1 {
    top: 20%;
    right: -20px;
    color: var(--secondary);
}

.float-2 {
    bottom: 20%;
    left: -20px;
    color: var(--primary);
    animation-delay: 1.5s;
}

.float-3 {
    top: 50%;
    right: -30px;
    color: #10B981;
    animation-delay: 0.8s;
}

.float-4 {
    bottom: 35%;
    right: -15px;
    color: #F59E0B;
    animation-delay: 2.2s;
}

.float-5 {
    top: 35%;
    left: -25px;
    color: #8B5CF6;
    animation-delay: 1s;
}

.float-6 {
    bottom: 5%;
    left: 10%;
    color: #EC4899;
    animation-delay: 2.8s;
}

@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    15% {
        opacity: 1;
        transform: translateY(0);
    }

    85% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* ========================================
   MOCKUP CAROUSEL
   ======================================== */
.mockup-carousel {
    position: relative;
    width: 100%;
    min-height: 380px;
}

.mockup-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.96) translateY(12px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 0;
}

.mockup-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

/* Mockup Title in Header */
.mockup-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.mockup-title i {
    font-size: 0.7rem;
    color: var(--primary-light);
}

/* Sidebar with Icons */
.mockup-sidebar {
    width: 20%;
    border-right: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    gap: 8px;
}

.sidebar-item {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.sidebar-item.active {
    background: rgba(81, 155, 233, 0.2);
    color: var(--primary-light);
}

/* Skeleton Header Bar */
.skeleton-header {
    height: 14px;
    width: 60%;
    background: var(--mockup-slate);
    border-radius: 4px;
    opacity: 0.5;
}

/* Status Themed Skeleton Boxes */
/* Status boxes — colors match brand status tokens */
.skeleton-box.status-green {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    font-size: 1.2rem;
}

.skeleton-box.status-yellow {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #F59E0B;
    font-size: 1.2rem;
}

.skeleton-box.status-red {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
    font-size: 1.2rem;
}

/* Progress Bar Mockup */
.skeleton-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.skeleton-box.progress-bar-mock {
    background: rgba(51, 65, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(81, 155, 233, 0.4), rgba(81, 155, 233, 0.15));
    border-radius: 6px;
}

/* Table Skeleton */
.skeleton-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 15px;
}

.table-row {
    height: 28px;
    background: var(--mockup-slate);
    border-radius: 4px;
    opacity: 0.35;
}

.table-row:nth-child(odd) {
    opacity: 0.25;
}

/* Amount Boxes (Cobranza) */
.skeleton-box.amount-box {
    flex-direction: column;
    gap: 0.25rem;
    background: rgba(51, 65, 85, 0.3);
}

.amount-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amount-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #10B981;
}

/* Schedule Grid (Horarios) */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    margin-top: 15px;
    flex: 1;
}

.schedule-slot {
    border-radius: 4px;
    min-height: 40px;
}

.schedule-slot.slot-blue {
    background: rgba(81, 155, 233, 0.3);
    border: 1px solid rgba(81, 155, 233, 0.4);
}

.schedule-slot.slot-coral {
    background: rgba(212, 74, 89, 0.25);
    border: 1px solid rgba(212, 74, 89, 0.35);
}

.schedule-slot.slot-green {
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.schedule-slot.slot-empty {
    background: rgba(51, 65, 85, 0.15);
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

/* Indicator Themed Boxes (EWS) — shared centering via [class*=indicator-] */
.skeleton-box.indicator-green {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    font-size: 1.4rem;
}

.skeleton-box.indicator-yellow {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #F59E0B;
    font-size: 1.4rem;
}

.skeleton-box.indicator-red {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
    font-size: 1.4rem;
}

/* ========================================
   MOCKUP INTERACTIVE UI (mu-* namespace)
   Dark-themed mini UI inside hero carousel
   ======================================== */
.mu-view { display: none; height: 100%; }
.mu-view.active { display: flex; flex-direction: column; }

.mu-label { font-size: 0.6rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; font-weight: 600; }

/* Data rows */
.mu-row { display: flex; align-items: center; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.mu-row:last-child { border-bottom: none; }
.mu-name { font-size: 0.7rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.mu-val { font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.5); }
.mu-val.green { color: #10B981; }
.mu-val.yellow { color: #F59E0B; }
.mu-val.red { color: #EF4444; }

/* Toggle buttons (attendance) */
.mu-toggles { display: flex; gap: 4px; }
.mu-toggle { width: 22px; height: 22px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.1); background: transparent; color: rgba(255,255,255,0.25); font-size: 0.6rem; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; }
.mu-toggle:hover { border-color: rgba(255,255,255,0.3); }
.mu-toggle.green.active { background: rgba(16,185,129,0.2); border-color: rgba(16,185,129,0.5); color: #10B981; }
.mu-toggle.yellow.active { background: rgba(245,158,11,0.2); border-color: rgba(245,158,11,0.5); color: #F59E0B; }
.mu-toggle.red.active { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.5); color: #EF4444; }

/* Stat bars */
.mu-stat-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; font-size: 0.6rem; color: rgba(255,255,255,0.5); }
.mu-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.mu-bar-fill { height: 100%; border-radius: 3px; transition: width 0.6s cubic-bezier(0.16,1,0.3,1); }
.mu-bar-fill.green { background: #10B981; }
.mu-bar-fill.yellow { background: #F59E0B; }
.mu-bar-fill.red { background: #EF4444; }

/* Mini stats */
.mu-mini-stats { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.mu-mini { flex: 1; text-align: center; padding: 0.5rem; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
.mu-mini span { display: block; font-size: 0.55rem; color: rgba(255,255,255,0.4); }
.mu-big { font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.8); margin-bottom: 2px; }
.mu-big.green { color: #10B981; }
.mu-big.red { color: #EF4444; }
.mu-big.yellow { color: #F59E0B; }

/* Config rows with toggle switches */
.mu-config-row { display: flex; align-items: center; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.65rem; color: rgba(255,255,255,0.6); }
.mu-switch { position: relative; display: inline-block; width: 28px; height: 16px; flex-shrink: 0; }
.mu-switch input { opacity: 0; width: 0; height: 0; }
.mu-slider { position: absolute; cursor: pointer; inset: 0; background: rgba(255,255,255,0.15); border-radius: 16px; transition: 0.3s; }
.mu-slider::before { content: ''; position: absolute; height: 12px; width: 12px; left: 2px; bottom: 2px; background: white; border-radius: 50%; transition: 0.3s; }
.mu-switch input:checked + .mu-slider { background: var(--primary); }
.mu-switch input:checked + .mu-slider::before { transform: translateX(12px); }

/* Badges */
.mu-badge { font-size: 0.55rem; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.mu-badge.green { background: rgba(16,185,129,0.15); color: #10B981; }
.mu-badge.yellow { background: rgba(245,158,11,0.15); color: #F59E0B; }
.mu-badge.red { background: rgba(239,68,68,0.15); color: #EF4444; }

/* Grades */
.mu-grade { font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.mu-grade.good { color: #10B981; background: rgba(16,185,129,0.1); }
.mu-grade.warn { color: #F59E0B; background: rgba(245,158,11,0.1); }
.mu-grade.bad { color: #EF4444; background: rgba(239,68,68,0.1); }

/* Search bar */
.mu-search { display: flex; align-items: center; gap: 6px; padding: 0.35rem 0.5rem; border-radius: 6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 0.5rem; font-size: 0.6rem; color: rgba(255,255,255,0.3); }
.mu-search i { font-size: 0.55rem; }

/* Group cards grid */
.mu-group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.mu-group-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 0.5rem; text-align: center; transition: all 0.2s ease; cursor: pointer; }
.mu-group-card:hover { background: rgba(81,155,233,0.1); border-color: rgba(81,155,233,0.3); }
.mu-group-name { display: block; font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.8); }
.mu-group-count { display: block; font-size: 0.55rem; color: rgba(255,255,255,0.4); }

/* Form fields */
.mu-field { margin-bottom: 0.4rem; }
.mu-field span { display: block; font-size: 0.55rem; color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.mu-input { height: 22px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; }
.mu-btn-row { margin-top: 0.5rem; text-align: right; }
.mu-btn-action { padding: 4px 12px; border-radius: 6px; border: none; background: var(--primary); color: white; font-size: 0.6rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.mu-btn-action:hover { background: var(--primary-dark, #3d7cc4); transform: scale(1.05); }

/* Amount cards */
.mu-amount-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.mu-amount-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 0.6rem; text-align: center; }
.mu-amount-label { display: block; font-size: 0.5rem; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 2px; }
.mu-amount { display: block; font-size: 1rem; font-weight: 700; }
.mu-amount.green { color: #10B981; }
.mu-amount.yellow { color: #F59E0B; }

/* Traffic light grid (ABC) */
.mu-traffic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 0.25rem; }
.mu-traffic { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0.6rem 0.3rem; border-radius: 10px; }
.mu-traffic i { font-size: 1.3rem; }
.mu-traffic span { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.mu-traffic small { font-size: 0.5rem; color: rgba(255,255,255,0.4); }
.mu-traffic.green { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: #10B981; }
.mu-traffic.yellow { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); color: #F59E0B; }
.mu-traffic.red { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #EF4444; }

/* Touch hint */
.mockup-carousel { touch-action: pan-y pinch-zoom; }

/* Carousel Indicators — hidden (dots removed from UI) */
.mockup-indicators {
    display: none;
}

/* Remove background for shapes with videos */
.highlight-image .shape-1,
.highlight-image .shape-2,
.highlight-image .shape-4,
.highlight-image .shape-5 {
    background: transparent;
    box-shadow: none;
}

/* Brands */
.brands {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.brands p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.brands-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 35px;
    width: auto;
}

.brand-item {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.brand-item:hover {
    color: var(--secondary);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--light-bg);
    border-color: var(--primary);
    box-shadow: var(--shadow-blue);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .icon-box {
    transform: scale(1.1) rotate(-5deg);
}

.color-1 {
    background: rgba(81, 155, 233, 0.15);
    color: #519BE9;
}

.color-2 {
    background: rgba(212, 74, 89, 0.15);
    color: #D44A59;
}

.color-3 {
    background: rgba(81, 155, 233, 0.1);
    color: #3d7cc4;
}

.color-4 {
    background: rgba(81, 155, 233, 0.15);
    color: #519BE9;
}

.color-5 {
    background: rgba(212, 74, 89, 0.15);
    color: #D44A59;
}

.color-6 {
    background: rgba(26, 26, 26, 0.1);
    color: #1a1a1a;
}

/* Estilos para iconos SVG en icon-box */
.icon-box svg {
    width: 28px;
    height: 28px;
}

/* Los iconos SVG heredan el color de su contenedor */
.color-1 svg {
    stroke: #519BE9;
}

.color-2 svg {
    stroke: #D44A59;
}

.color-3 svg {
    stroke: #3d7cc4;
}

.color-4 svg {
    stroke: #519BE9;
}

.color-5 svg {
    stroke: #D44A59;
}

.color-6 svg {
    stroke: #1a1a1a;
}

/* Check icon para listas */
.check-icon {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 5px;
}

/* Icono grande para la sección highlight */
.big-icon {
    width: 80px;
    height: 80px;
    stroke: rgba(255, 255, 255, 0.9);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Highlight Section */
.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bg-light {
    background: var(--light-bg);
    border-top: 1px solid rgba(81, 155, 233, 0.1);
    border-bottom: 1px solid rgba(81, 155, 233, 0.1);
}

/* ========================================
   BENEFITS SLIDER
   ======================================== */
.benefits-slider {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.slider-wrapper {
    position: relative;
    min-height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.0s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 1.0s;
}

.slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-40px);
    opacity: 0;
    visibility: hidden;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(81, 155, 233, 0.2);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-btn svg {
    stroke: currentColor;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(81, 155, 233, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot:hover {
    background: rgba(81, 155, 233, 0.4);
}

.slider-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Progress Bar */
.slider-progress {
    width: 100%;
    height: 3px;
    background: rgba(81, 155, 233, 0.1);
    border-radius: 3px;
    margin-top: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-main);
    width: 0%;
    transition: width 0.1s linear;
}

/* Abstract Shapes Variations */
.abstract-shape.shape-1 {
    background: linear-gradient(135deg, #519BE9 0%, #7bb5f0 100%);
}

.abstract-shape.shape-2 {
    background: linear-gradient(135deg, #D44A59 0%, #f07a86 100%);
}

.abstract-shape.shape-3 {
    background: linear-gradient(135deg, #F0C6A3 0%, #d4a882 100%);
}

.abstract-shape.shape-4 {
    background: linear-gradient(135deg, #3d7cc4 0%, #519BE9 100%);
}

.abstract-shape.shape-5 {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.highlight-title {
    color: var(--dark);
}

.highlight-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.check-list {
    margin: 2rem 0;
}

.check-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.check-list i,
.check-icon {
    color: var(--primary);
    font-weight: bold;
}

.abstract-shape {
    width: 100%;
    height: 300px;
    background: var(--gradient-blue);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morph 8s ease-in-out infinite;
    box-shadow: var(--shadow-blue);
    position: relative;
    overflow: hidden;
}

.big-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* ========================================
   FAQ SECTION (Preguntas Frecuentes)
   ======================================== */
.faq-section {
    padding: 5rem 0;
}

.faq-grid {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.faq-item:nth-child(odd) {
    border-left-color: var(--primary);
}

.faq-item:nth-child(even) {
    border-left-color: var(--secondary);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: rgba(81, 155, 233, 0.15);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    gap: 1rem;
    transition: color 0.3s;
}

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

.faq-question i {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   FEATURE DEMO MODALS
   ======================================== */
.feature-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 1rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-demo-link {
    gap: 0.6rem;
}

.feature-demo-link i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.feature-card:hover .feature-demo-link i {
    transform: translateX(3px);
}

/* Modal Overlay */
.feature-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

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

.feature-modal {
    background: var(--light-bg);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

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

.feature-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.2s;
}

.feature-modal-close:hover {
    background: rgba(212, 74, 89, 0.1);
    color: #D44A59;
}

.feature-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-modal-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

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

.feature-modal-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.feature-modal-body {
    padding: 1.5rem 2rem 2rem;
}

.fm-screen {
    display: none;
}

.fm-screen.active {
    display: block;
}

/* FM Window (mock app) */
.fm-window {
    background: #0f1419;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fm-toolbar {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
}

.fm-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fm-search {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* FM Table */
.fm-table {
    padding: 0 0.75rem 0.75rem;
}

.fm-table-head {
    display: grid;
    grid-template-columns: 60px 1fr 80px 100px;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fm-table-row {
    display: grid;
    grid-template-columns: 60px 1fr 80px 100px;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
    transition: background 0.2s;
}

.fm-table-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.fm-row-alert {
    background: rgba(212, 74, 89, 0.06);
    border-left: 2px solid #EF4444;
}

.fm-badge-green {
    color: #10B981;
    font-weight: 600;
    font-size: 0.7rem;
}

.fm-badge-red {
    color: #EF4444;
    font-weight: 600;
    font-size: 0.7rem;
}

.fm-badge-yellow {
    color: #F59E0B;
    font-weight: 600;
    font-size: 0.7rem;
}

.fm-badge-blue {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
}

/* FM Stats Bar */
.fm-stats-bar {
    display: flex;
    gap: 1rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.fm-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.fm-stat strong {
    color: rgba(255, 255, 255, 0.9);
}

.fm-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.fm-stat-dot.green { background: #10B981; }
.fm-stat-dot.red { background: #EF4444; }
.fm-stat-dot.yellow { background: #F59E0B; }

/* FM Portals Grid */
.fm-portals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem;
}

.fm-portal-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.fm-portal-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(81, 155, 233, 0.2);
}

.fm-portal-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1rem;
}

.fm-portal-card h4 {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.2rem;
}

.fm-portal-card p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

.fm-portal-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.55rem;
    background: rgba(81, 155, 233, 0.1);
    color: var(--primary);
    margin-top: 0.5rem;
    font-weight: 700;
}

/* FM Billing Grid */
.fm-billing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 0.75rem;
}

.fm-billing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
}

.fm-billing-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.4rem;
    font-size: 0.8rem;
}

.fm-billing-icon.green { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.fm-billing-icon.red { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.fm-billing-icon.blue { background: rgba(81, 155, 233, 0.15); color: var(--primary); }
.fm-billing-icon.yellow { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }

.fm-billing-num {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.fm-billing-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

/* FM Security Grid */
.fm-security-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
}

.fm-sec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.fm-sec-item i {
    font-size: 1rem;
    flex-shrink: 0;
}

.fm-sec-item div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fm-sec-item strong {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.fm-sec-item small {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
}

.fm-sec-item .fm-badge-green {
    font-size: 0.6rem;
    flex-shrink: 0;
}

/* FM Phone Demo */
.fm-phone-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.fm-phone-card {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fm-phone-card.highlight {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.15);
}

.fm-phone-card i {
    font-size: 0.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.fm-phone-card div {
    display: flex;
    flex-direction: column;
}

.fm-phone-card strong {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
}

.fm-phone-card small {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.fm-phone-nav {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 0.3rem;
}

.fm-phone-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

.fm-phone-nav-item small {
    font-size: 0.4rem;
}

.fm-phone-nav-item.active {
    color: var(--primary);
}

.fm-phone-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.fm-phone-feat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Calificaciones table 6 columns */
[data-screen="calificaciones"] .fm-table-head,
[data-screen="calificaciones"] .fm-table-row {
    grid-template-columns: 40px 1fr 50px 50px 50px 60px;
}

/* Cobranza table 4 columns */
[data-screen="cobranza"] .fm-table-head,
[data-screen="cobranza"] .fm-table-row {
    grid-template-columns: 1fr 1fr 80px 100px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .feature-modal {
        max-height: 90vh;
        border-radius: 16px;
    }

    .feature-modal-header {
        padding: 1.5rem 1.25rem 0.75rem;
    }

    .feature-modal-body {
        padding: 1rem 1.25rem 1.5rem;
    }

    .fm-portals-grid {
        grid-template-columns: 1fr;
    }

    .fm-billing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fm-phone-demo {
        flex-direction: column;
    }

    .fm-table-head, .fm-table-row {
        font-size: 0.6rem;
    }
}

/* ========================================
   PORTAL PHONE EXPLORER
   ======================================== */
.portal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all 0.2s;
}
.portal-back-btn:hover {
    background: rgba(0,0,0,0.04);
    color: var(--text-dark);
}

.portal-phone-layout {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
}

.portal-phone-device {
    width: 240px;
    min-height: 460px;
    background: #0f1419;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid #2a2a2e;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.portal-phone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.75rem;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

.portal-phone-role {
    font-size: 0.5rem;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: rgba(139,92,246,0.15);
    color: #A78BFA;
    font-weight: 700;
}

.portal-phone-screen {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 340px;
}

/* PP Components */
.pp-welcome {
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    color: white;
}
.pp-welcome strong { font-size: 0.85rem; display: block; }
.pp-welcome small { font-size: 0.55rem; opacity: 0.8; }

.pp-semaforo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.55rem;
    margin-top: 0.3rem;
    background: rgba(255,255,255,0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    width: fit-content;
}

.pp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pp-dot.green { background: #10B981; }
.pp-dot.red { background: #EF4444; }
.pp-dot.yellow { background: #F59E0B; }

.pp-stats {
    display: flex;
    gap: 0.3rem;
}
.pp-stat {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 0.4rem;
    text-align: center;
}
.pp-stat-num {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}
.pp-stat-num.green { color: #10B981; }
.pp-stat-num.red { color: #EF4444; }
.pp-stat-num.yellow { color: #F59E0B; }
.pp-stat small {
    font-size: 0.45rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
}

.pp-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.5rem 0.6rem;
}

.pp-card-title {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.pp-card-title i { font-size: 0.6rem; }

.pp-schedule-row, .pp-attendance-row, .pp-grade-row, .pp-pago-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.3rem;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pp-schedule-row span:first-child, .pp-attendance-row span:nth-child(2), .pp-pago-row span:first-child { flex: 1; }

.pp-hour {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.55rem;
    min-width: 28px;
}

.pp-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    border-radius: 10px;
    color: white;
    cursor: pointer;
}
.pp-cta i { font-size: 0.9rem; }
.pp-cta strong { font-size: 0.65rem; display: block; }
.pp-cta small { font-size: 0.5rem; opacity: 0.8; }

/* Vocational Tags */
.pp-voc-tag {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}
.pp-voc-tag span {
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.5rem;
    font-weight: 600;
}

.pp-uni-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.6rem;
    color: rgba(255,255,255,0.7);
}
.pp-uni-row strong { color: rgba(255,255,255,0.85); }
.pp-uni-row small { color: rgba(255,255,255,0.4); }

/* Progress bar */
.pp-progress {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    margin-bottom: 0.3rem;
    overflow: hidden;
}
.pp-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    border-radius: 4px;
    transition: width 0.5s;
}

/* QR Scanner Animation */
.pp-qr-scanner {
    width: 120px;
    height: 120px;
    margin: 0.5rem auto;
    position: relative;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
}
.pp-qr-frame {
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(139,92,246,0.3);
    border-radius: 4px;
}
.pp-qr-corner {
    position: absolute;
    width: 14px;
    height: 14px;
}
.pp-qr-corner.tl { top: -1px; left: -1px; border-top: 3px solid #8B5CF6; border-left: 3px solid #8B5CF6; }
.pp-qr-corner.tr { top: -1px; right: -1px; border-top: 3px solid #8B5CF6; border-right: 3px solid #8B5CF6; }
.pp-qr-corner.bl { bottom: -1px; left: -1px; border-bottom: 3px solid #8B5CF6; border-left: 3px solid #8B5CF6; }
.pp-qr-corner.br { bottom: -1px; right: -1px; border-bottom: 3px solid #8B5CF6; border-right: 3px solid #8B5CF6; }

.pp-qr-line {
    position: absolute;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8B5CF6, transparent);
    animation: qrScan 2s ease-in-out infinite;
}
@keyframes qrScan {
    0%, 100% { top: 5%; }
    50% { top: 90%; }
}

.pp-qr-result {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    justify-content: center;
    margin-top: 0.4rem;
    font-size: 0.55rem;
    color: #10B981;
    font-weight: 600;
}

/* Tech item */
.pp-tech-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.pp-tech-item i { font-size: 0.8rem; }
.pp-tech-item strong { font-size: 0.6rem; color: rgba(255,255,255,0.8); display: block; }
.pp-tech-item small { font-size: 0.5rem; color: rgba(255,255,255,0.4); }

/* Notifications */
.pp-notif {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}
.pp-notif i { font-size: 0.75rem; margin-top: 2px; flex-shrink: 0; }
.pp-notif div { flex: 1; }
.pp-notif strong { font-size: 0.6rem; color: rgba(255,255,255,0.8); display: block; }
.pp-notif small { font-size: 0.5rem; color: rgba(255,255,255,0.4); }

/* Portal Phone Nav */
.portal-phone-nav {
    display: flex;
    justify-content: space-around;
    padding: 0.4rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
.pp-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: all 0.2s;
}
.pp-nav-item small { font-size: 0.4rem; }
.pp-nav-item.active {
    color: var(--primary);
    background: rgba(81,155,233,0.08);
}
.pp-nav-item:hover { color: rgba(255,255,255,0.6); }

/* Phone Info Panel */
.portal-phone-info {
    max-width: 260px;
}
.portal-phone-info .pp-info-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}
.portal-phone-info .pp-info-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.portal-phone-info .pp-info-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-dark);
}
.portal-phone-info .pp-info-feature i {
    color: #10B981;
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .portal-phone-layout {
        flex-direction: column;
        align-items: center;
    }
    .portal-phone-device {
        width: 220px;
        min-height: 420px;
    }
    .portal-phone-info {
        max-width: 100%;
        text-align: center;
    }
}

/* ========================================
   CSS INTERACTIVE PANELS (replace AI images)
   ======================================== */

/* --- Panel 1: Dashboard Mockup --- */
.css-showcase-panel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}

.mock-dashboard {
    background: #0f1419;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(81, 155, 233, 0.15);
}

.mock-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: #1a1f25;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-topbar.small {
    padding: 0.4rem 0.8rem;
}

.mock-dots {
    display: flex;
    gap: 5px;
}

.mock-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mock-dots span:nth-child(1) { background: #EF4444; }
.mock-dots span:nth-child(2) { background: #F59E0B; }
.mock-dots span:nth-child(3) { background: #10B981; }

.mock-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.mock-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(81, 155, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: var(--primary);
}

.mock-body {
    display: flex;
    min-height: 220px;
}

.mock-sidebar-mini {
    width: 48px;
    background: #141920;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    gap: 0.3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.sb-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: default;
}

.sb-item.active {
    background: rgba(81, 155, 233, 0.15);
    color: var(--primary);
}

.sb-item:hover {
    color: rgba(255, 255, 255, 0.6);
}

.mock-content {
    flex: 1;
    padding: 1rem;
}

.mock-kpi-row {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.mock-kpi {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.kpi-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.kpi-green .kpi-num { color: #10B981; }
.kpi-coral .kpi-num { color: #D44A59; }

.kpi-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mock-chart {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
}

.chart-bars .bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(to top, rgba(81, 155, 233, 0.3), rgba(81, 155, 233, 0.6));
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
    animation: barGrow 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.chart-bars .bar.active {
    background: linear-gradient(to top, var(--primary), #7BB5F0);
    box-shadow: 0 0 10px rgba(81, 155, 233, 0.3);
}

.chart-bars .bar span {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

@keyframes barGrow {
    from { height: 0; }
    to { height: var(--h); }
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.float-qr {
    top: 15%;
    right: -30px;
    padding: 0.75rem;
    text-align: center;
    animation: floatY 4s ease-in-out infinite;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(9, 6px);
    gap: 1.5px;
    margin-bottom: 0.4rem;
}

.qr-grid div {
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.qr-grid div.f {
    background: #1a1a1a;
}

.qr-label {
    font-size: 0.55rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.float-student {
    bottom: 20%;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    animation: floatY 5s ease-in-out infinite 1s;
}

.student-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(81, 155, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.7rem;
}

.student-info {
    display: flex;
    flex-direction: column;
}

.sname {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark);
}

.sstatus {
    font-size: 0.55rem;
    color: #10B981;
    display: flex;
    align-items: center;
    gap: 3px;
}

.sstatus i {
    font-size: 0.4rem;
}

.float-notif {
    top: 5%;
    left: 20%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    font-size: 0.85rem;
    animation: floatY 3.5s ease-in-out infinite 0.5s;
    position: absolute;
}

.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: #D44A59;
    color: white;
    border-radius: 50%;
    font-size: 0.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* --- Panel 2: Laptop + Phone Mockup --- */
.css-platform-panel {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
    position: relative;
}

.mock-laptop {
    flex: 1;
    max-width: 600px;
}

.laptop-screen {
    background: #0f1419;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    border: 2px solid #2a2f35;
    border-bottom: none;
}

.laptop-content {
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.attendance-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.attendance-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.attendance-row.highlight {
    background: rgba(212, 74, 89, 0.08);
    border: 1px solid rgba(212, 74, 89, 0.15);
}

.att-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
    flex-shrink: 0;
}

.blue-bg { background: rgba(81, 155, 233, 0.7); }
.green-bg { background: rgba(16, 185, 129, 0.7); }
.coral-bg { background: rgba(212, 74, 89, 0.7); }
.purple-bg { background: rgba(139, 92, 246, 0.7); }

.att-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.att-info span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.att-info small {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.35);
}

.att-status {
    font-size: 0.85rem;
}

.att-status.present { color: #10B981; }
.att-status.absent { color: #EF4444; }

.laptop-base {
    height: 14px;
    background: linear-gradient(to bottom, #2a2f35, #1f242a);
    border-radius: 0 0 4px 4px;
    margin: 0 10%;
    position: relative;
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    right: 30%;
    height: 3px;
    background: #3a3f45;
    border-radius: 0 0 3px 3px;
}

/* Phone */
.mock-phone {
    width: 160px;
    background: #0f1419;
    border-radius: 20px;
    border: 2px solid #2a2f35;
    padding: 0.5rem;
    flex-shrink: 0;
    animation: floatY 5s ease-in-out infinite;
}

.phone-notch {
    width: 50%;
    height: 4px;
    background: #2a2f35;
    border-radius: 4px;
    margin: 0 auto 0.5rem;
}

.phone-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.phone-header {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    padding: 0.2rem 0.3rem;
}

.phone-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.4rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-notif-item.new {
    border-color: rgba(212, 74, 89, 0.2);
    background: rgba(212, 74, 89, 0.06);
}

.phone-notif-item i {
    font-size: 0.7rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.phone-notif-item div {
    display: flex;
    flex-direction: column;
}

.phone-notif-item strong {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.8);
}

.phone-notif-item small {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Panel 3: Architecture Diagram --- */
.css-arch-panel {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 400px;
    margin: 0 auto;
}

.arch-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.arch-lines line {
    animation: dashFlow 2s linear infinite;
}

@keyframes dashFlow {
    to { stroke-dashoffset: -20; }
}

.arch-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #3D7CC4 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    box-shadow: 0 0 30px rgba(81, 155, 233, 0.4);
}

.arch-center i {
    font-size: 1.4rem;
}

.arch-center span {
    font-size: 0.6rem;
    font-weight: 700;
    margin-top: 2px;
}

.arch-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(81, 155, 233, 0.3);
    animation: archSpin 20s linear infinite;
}

@keyframes archSpin {
    to { transform: rotate(360deg); }
}

.arch-node {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-node:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(81, 155, 233, 0.2);
    border-color: var(--primary);
}

.arch-node i {
    font-size: 1rem;
    margin-bottom: 2px;
}

.arch-node span {
    font-size: 0.45rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Position nodes in a hexagonal-ish layout */
.node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.node-1 i { color: #68A063; }
.node-2 { top: 15%; right: 2%; }
.node-2 i { color: var(--primary); }
.node-3 { bottom: 15%; right: 2%; }
.node-3 i { color: #D44A59; }
.node-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-4 i { color: #F59E0B; }
.node-5 { bottom: 15%; left: 2%; }
.node-5 i { color: #8B5CF6; }
.node-6 { top: 15%; left: 2%; }
.node-6 i { color: #EC4899; }

/* Responsive for CSS panels */
@media (max-width: 768px) {
    .css-showcase-panel {
        max-width: 100%;
        padding: 1rem 0;
    }

    .float-qr { right: -10px; }
    .float-student { left: -10px; }

    .css-platform-panel {
        flex-direction: column;
        align-items: center;
    }

    .mock-laptop { max-width: 100%; }
    .mock-phone { width: 140px; }

    .css-arch-panel { max-width: 300px; }
    .arch-node { width: 44px; height: 44px; }
    .arch-node i { font-size: 0.8rem; }
    .arch-node span { font-size: 0.4rem; }
    .arch-center { width: 60px; height: 60px; }
    .arch-center i { font-size: 1rem; }
}

@media (max-width: 480px) {
    .mock-kpi-row { flex-direction: column; gap: 0.4rem; }
    .float-card { display: none; }
    .mock-phone { width: 120px; }
    .css-arch-panel { max-width: 250px; }
    .arch-node { width: 38px; height: 38px; border-radius: 10px; }
    .arch-node span { display: none; }
    .arch-center { width: 50px; height: 50px; }
}

/* ========================================
   SALES FUNNEL (Embudo de Ventas)
   ======================================== */
.funnel-section {
    padding: 5rem 0;
}

/* ─── 2-column layout: trust + form ─── */
.funnel-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* ─── Trust Column ─── */
.funnel-trust {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 6rem;
}

.trust-badge-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(81,155,233,0.08), rgba(139,92,246,0.06));
    border: 1px solid rgba(81,155,233,0.15);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
}
.trust-badge-top i {
    color: var(--primary);
    font-size: 1rem;
}

.trust-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.trust-item > i {
    color: #10B981;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.trust-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.trust-item small {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.trust-social-proof {
    background: var(--light-surface);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}
.trust-avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.trust-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: contain;
    background: white;
    margin-left: -8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.trust-avatar:first-child { margin-left: 0; }
.trust-avatar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    color: white;
    font-size: 0.85rem;
}
.trust-avatar-icon:first-child { margin-left: 0; }
.trust-social-proof p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.trust-social-proof p strong {
    color: var(--text-dark);
}

.trust-contact-alt {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.trust-contact-alt p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.trust-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: #25D366;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.trust-wa-btn:hover {
    background: #1ea855;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.trust-wa-btn i { font-size: 1rem; }

/* ─── Form Wrapper ─── */
.funnel-wrapper {
    background: var(--light-bg);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(81, 155, 233, 0.12);
    position: relative;
    overflow: hidden;
}

.funnel-wrapper::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(81, 155, 233, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.funnel-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 74, 89, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* ─── Header (above both columns) ─── */
.funnel-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}


.funnel-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.funnel-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Progress Steps */
.funnel-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e8edf2;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #9ca3af;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-step.active .step-circle,
.progress-step.completed .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(81, 155, 233, 0.35);
}

.progress-step.completed .step-circle {
    background: #10B981;
    border-color: #10B981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--dark);
}

.progress-line {
    width: 80px;
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-line-fill {
    width: 0%;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form Steps */
.funnel-form {
    position: relative;
    z-index: 1;
}

.funnel-step {
    display: none;
    animation: funnelFadeIn 0.4s ease forwards;
}

.funnel-step.active {
    display: block;
}

@keyframes funnelFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.funnel-step h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.funnel-step h3 i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Form Fields */
.funnel-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.funnel-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.funnel-field.full {
    grid-column: 1 / -1;
}

.funnel-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.funnel-field label .req {
    color: var(--secondary);
}

.funnel-field input,
.funnel-field select,
.funnel-field textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fafbfc;
    outline: none;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.funnel-field input:focus,
.funnel-field select:focus,
.funnel-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(81, 155, 233, 0.12);
    background: white;
}

.funnel-field input:focus-visible,
.funnel-field select:focus-visible,
.funnel-field textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.funnel-field input.error,
.funnel-field select.error {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 74, 89, 0.1);
}

.funnel-field textarea {
    resize: vertical;
    min-height: 80px;
}

.field-error {
    font-size: 0.78rem;
    color: var(--secondary);
    min-height: 1rem;
    display: block;
}

/* Checkbox Grid */
.funnel-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.funnel-checkbox {
    cursor: pointer;
}

.funnel-checkbox input {
    display: none;
}

.checkbox-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.5rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fafbfc;
    transition: all 0.3s ease;
    text-align: center;
}

.checkbox-card i {
    font-size: 1.4rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.checkbox-card span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.checkbox-card:hover {
    border-color: var(--primary-light);
    background: rgba(81, 155, 233, 0.04);
}

.checkbox-card:hover i {
    color: var(--primary);
}

.funnel-checkbox input:checked + .checkbox-card {
    border-color: var(--primary);
    background: rgba(81, 155, 233, 0.08);
    box-shadow: 0 2px 12px rgba(81, 155, 233, 0.15);
}

.funnel-checkbox input:checked + .checkbox-card i {
    color: var(--primary);
    transform: scale(1.1);
}

.funnel-checkbox input:checked + .checkbox-card span {
    color: var(--primary-dark);
}

/* Actions */
.funnel-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.funnel-submit {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    background: var(--secondary);
    color: white;
    animation: funnelPulse 2.5s infinite;
}

.funnel-submit:hover {
    background: var(--secondary-dark);
    animation: none;
}

@keyframes funnelPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 74, 89, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(212, 74, 89, 0);
    }
}

/* Success Screen */
.funnel-success {
    text-align: center;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.success-icon {
    font-size: 4rem;
    color: #10B981;
    margin-bottom: 1rem;
    animation: successPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.funnel-success h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.funnel-success p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.success-details {
    background: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.success-details strong {
    color: var(--primary-dark);
}

/* Legacy CTA compatibility */
.cta-section {
    text-align: center;
}

.cta-container {
    background: var(--light-bg);
    padding: 4rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(81, 155, 233, 0.15);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(81, 155, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 74, 89, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    color: var(--text-muted) !important;
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
}

.cta-content .small-text {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.cta-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 1rem;
}

.cta-form input {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: none;
    width: 300px;
    outline: none;
}

.cta-form .btn {
    background: var(--secondary);
    color: white;
}

.cta-form .btn:hover {
    background: var(--secondary-dark);
}

/* Funnel Responsive */
@media (max-width: 768px) {
    .funnel-layout {
        grid-template-columns: 1fr;
    }

    .funnel-trust {
        position: static;
    }

    .funnel-wrapper {
        padding: 2rem 1.5rem;
    }

    .funnel-header h2 {
        font-size: 1.7rem;
    }

    .funnel-fields {
        grid-template-columns: 1fr;
    }

    .funnel-field.full {
        grid-column: 1;
    }

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

    .progress-line {
        width: 40px;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .funnel-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .funnel-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .funnel-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .funnel-header h2 {
        font-size: 1.4rem;
    }

    .funnel-checkbox-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .checkbox-card {
        padding: 0.75rem 0.4rem;
    }

    .checkbox-card i {
        font-size: 1.2rem;
    }

    .progress-line {
        width: 24px;
    }

    .step-label {
        display: none;
    }

    .progress-line {
        margin-bottom: 0;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .funnel-submit { animation: none; }
    .funnel-step { animation: none; }
    .trust-wa-btn { transition: none; }
}

/* Partners Ribbon — Socios y Colaboradores */
.partners-ribbon {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--light-surface);
}

.partners-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.partners-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-link img {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-link:hover {
    transform: translateY(-3px);
    background: #2a2a2a;
}

.partner-link:hover img {
    opacity: 1;
}

@media (max-width: 480px) {
    .partners-row {
        gap: 2rem;
    }

    .partner-link img {
        height: 28px;
    }
}

/* Footer */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
    background: var(--light-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    color: var(--dark);
    display: block;
    margin-bottom: 1rem;
}

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

.footer-col h4 {
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    position: static;
    margin-bottom: 0;
}

.social-links a::before {
    display: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {

    .hero-container,
    .highlight-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns,
    .cta-form,
    .stats-row {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-surface);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        gap: 1.5rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .nav-actions {
        display: none;
    }

    .hamburger {
        display: block;
        color: white;
        font-size: 1.5rem;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@media (max-width: 600px) {
    .cta-form {
        flex-direction: column;
    }

    .cta-form input {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ========================================
   MICRO-INTERACCIONES
   ======================================== */

/* Efecto hover suave en todos los enlaces */
a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subrayado animado en links del navbar */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Efecto de brillo en botones */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

/* Efecto de escala en botones */
.btn:active {
    transform: scale(0.97);
}

/* Hover en feature cards - elevación suave */
.feature-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Animación de iconos en hover */
.icon-box {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-box svg {
    transition: all 0.3s ease;
}

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

/* Efecto hover en footer links — solo links de texto */
.footer-col a:not(.footer-logo):not([style]) {
    position: relative;
    display: block;
}

.footer-col a:not(.footer-logo):not([style])::before {
    content: '\2192';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-col a:not(.footer-logo):not([style]):hover::before {
    left: -20px;
    opacity: 1;
}

.footer-col a:not(.footer-logo):not([style]):hover {
    padding-left: 5px;
}

/* Efecto hover en brand items */
.brand-item {
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-3px);
}

/* Animación del mockup card */
.mockup-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-card:hover {
    transform: rotateY(0) rotateX(0) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Efecto de focus en inputs */
.cta-form input {
    transition: all 0.3s ease;
}

.cta-form input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(81, 155, 233, 0.2);
}

/* Animación del abstract shape */
.abstract-shape {
    transition: all 0.5s ease;
}

.abstract-shape:hover {
    transform: scale(1.05);
}

.abstract-shape:hover .big-icon {
    transform: scale(1.1);
}

.big-icon {
    transition: all 0.4s ease;
}

/* Efecto de pulso en CTA button */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(81, 155, 233, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(81, 155, 233, 0);
    }
}

.cta-form .btn {
    animation: pulse 2s infinite;
}

.cta-form .btn:hover {
    animation: none;
}

/* Efecto de hover en stats */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--primary);
    transform: scale(1.1);
}

.stat-number {
    transition: all 0.3s ease;
    display: inline-block;
}

/* Animación del logo */
.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .dot {
    animation: bounce 0.5s ease;
}

@keyframes bounce {

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

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

/* Animación del navbar al hacer scroll */
.navbar {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efecto parallax sutil en hero */
.hero-bg-glow {
    transition: transform 0.5s ease-out;
}

/* Animación de entrada de elementos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Cursor personalizado para elementos interactivos */
.btn,
.nav-links a,
.footer-col a,
.feature-card,
.brand-item {
    cursor: pointer;
}

/* Efecto de sombra dinámica en cards */
.feature-card:hover {
    box-shadow:
        0 10px 40px rgba(81, 155, 233, 0.15),
        0 0 0 1px rgba(81, 155, 233, 0.1);
}

/* Smooth scroll indicator (opcional) */
@keyframes scrollIndicator {

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

    50% {
        transform: translateY(10px);
    }
}

/* Transición suave para todos los elementos interactivos */
button,
input,
a,
.feature-card,
.icon-box,
.btn {
    -webkit-tap-highlight-color: transparent;
}

/* Efecto de hover en check-icons */
.check-list li {
    transition: all 0.3s ease;
}

.check-list li:hover {
    transform: translateX(5px);
}

.check-list li:hover .check-icon {
    transform: scale(1.2);
}

.check-icon {
    transition: all 0.3s ease;
    display: inline-block;
}

/* Video Shapes */
.video-shape {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 10;
    background: transparent;
    pointer-events: auto;
}

.video-shape video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   RESPONSIVE - TABLET LANDSCAPE (<= 1024px)
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-container {
        padding: 3rem 2rem;
    }

    .highlight-grid {
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 1.5rem;
    }

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


    .mockup-card {
        transform: rotateY(-3deg) rotateX(3deg);
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* ========================================
   RESPONSIVE - TABLET PORTRAIT (<= 768px)
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    /* Navbar: Show hamburger, hide links */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 1001;
    }

    .hamburger .bar {
        width: 25px;
        height: 3px;
        background: var(--dark);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .nav-actions .institution-dropdown {
        display: none;
    }

    /* Hero - Stack to single column */
    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }

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

    .stats-row {
        justify-content: center;
    }

    /* Mockup Carousel */
    .mockup-container {
        perspective: none;
    }

    .mockup-card {
        transform: none !important;
    }

    .mockup-carousel {
        min-height: 320px;
    }

    .mockup-body {
        height: 250px;
    }

    .float-card {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .float-1 {
        top: 10%;
        right: -10px;
    }

    .float-2 {
        bottom: 15%;
        left: -10px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Highlight / Benefits Slider */
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .slider-wrapper {
        min-height: 500px;
    }

    .highlight-title {
        font-size: 1.5rem !important;
    }

    .abstract-shape {
        height: 220px;
    }

    .check-list li {
        font-size: 0.95rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    /* CTA */
    .cta-container {
        padding: 2.5rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-form {
        flex-direction: column;
        align-items: center;
    }

    .cta-form input {
        width: 100%;
        max-width: 350px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }


    /* Dropdown */
    .dropdown-menu {
        width: 280px;
    }
}

/* ========================================
   RESPONSIVE - PHONE (<= 480px)
   ======================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    /* Hero */
    .hero {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .stats-row {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    /* Mockup Carousel */
    .mockup-carousel {
        min-height: 280px;
    }

    .mockup-body {
        height: 200px;
    }

    .mockup-sidebar {
        width: 15%;
    }

    .sidebar-item {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }

    .mockup-title {
        font-size: 0.6rem;
    }

    .mockup-content {
        padding: 12px;
    }

    .skeleton-grid {
        gap: 6px;
        margin-top: 10px;
    }

    .skeleton-box {
        height: 45px;
    }

    .skeleton-graph {
        height: 65px;
        margin-top: 10px;
    }

    .float-card {
        font-size: 0.7rem;
        padding: 0.5rem 0.8rem;
        gap: 6px;
        border-radius: 8px;
    }

    .float-1 {
        top: 5%;
        right: -5px;
    }

    .float-2 {
        bottom: 10%;
        left: -5px;
    }

    /* Schedule grid on phone */
    .schedule-grid {
        gap: 4px;
    }

    .schedule-slot {
        min-height: 28px;
    }

    /* Amount boxes on phone */
    .amount-value {
        font-size: 0.75rem;
    }

    .amount-label {
        font-size: 0.45rem;
    }

    /* Table rows on phone */
    .table-row {
        height: 22px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    /* Highlight / Benefits Slider */
    .slider-wrapper {
        min-height: 550px;
    }

    .highlight-title {
        font-size: 1.3rem !important;
    }

    .highlight-content p {
        font-size: 0.95rem;
    }

    .abstract-shape {
        height: 180px;
    }

    .slider-nav {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }

    /* CTA */
    .cta-container {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.95rem !important;
    }

    .cta-form input {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .cta-form .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 0.75rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }


    /* Hide mobile on small */
    .hide-mobile {
        display: none !important;
    }
}

/* ========================================
   SHOWCASE SECTIONS (Light Theme)
   ======================================== */
.showcase-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.showcase-light {
    background: linear-gradient(180deg, var(--tech-bg) 0%, #ffffff 50%, var(--light-surface) 100%);
}

.showcase-light .section-header h2 {
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
}

.showcase-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Image wrapper with glassmorphism border */
.showcase-image-wrapper {
    position: relative;
    max-width: 550px;
    margin: 3rem auto 0;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(81, 155, 233, 0.5), rgba(212, 74, 89, 0.4));
    box-shadow: 0 20px 60px rgba(81, 155, 233, 0.12), 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(81, 155, 233, 0.7), rgba(212, 74, 89, 0.6));
    box-shadow: 0 30px 80px rgba(81, 155, 233, 0.18), 0 10px 30px rgba(0, 0, 0, 0.08);
}

.showcase-wide {
    max-width: 700px;
}

.showcase-image {
    width: 100%;
    display: block;
    border-radius: 22px;
    background: var(--light-bg);
}

/* Animated glow behind image */
.showcase-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(81, 155, 233, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.glow-wide {
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(81, 155, 233, 0.12) 0%, rgba(212, 74, 89, 0.06) 50%, transparent 70%);
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Stats row */
.showcase-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

.showcase-stat {
    text-align: center;
    position: relative;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 140px;
}

.showcase-stat:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

.showcase-stat-number {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #519BE9, #D44A59);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.showcase-stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Feature pills row */
.showcase-features-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.showcase-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-feature-pill i {
    color: var(--primary);
    font-size: 0.85rem;
}

.showcase-feature-pill:hover {
    background: var(--light-bg);
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

/* Tech section grid */
.showcase-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-tech-content h2 {
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    color: var(--text-muted);
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list li:hover {
    color: var(--dark);
    padding-left: 8px;
}

.tech-list li i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(81, 155, 233, 0.1);
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.tech-list li:hover i {
    background: rgba(81, 155, 233, 0.18);
    transform: scale(1.1);
}

.tech-list li strong {
    color: var(--dark);
}

/* ========================================
   TRAJECTORY CAROUSEL
   ======================================== */
.trajectory-section {
    padding: 6rem 0 2rem;
    position: relative;
    text-align: center;
}

.trajectory-carousel {
    position: relative;
    margin-top: 3rem;
}

.trajectory-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.trajectory-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s ease,
        border-color 0.6s ease;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.trajectory-card.visible {
    display: flex;
    animation: trajCardIn 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes trajCardIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.trajectory-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(81, 155, 233, 0.1);
    border-color: rgba(81, 155, 233, 0.3);
}

.trajectory-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.trajectory-card:hover::after {
    transform: scaleX(1);
}

/* Carousel dots */
.trajectory-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2.5rem;
}

.trajectory-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
}

.trajectory-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(81, 155, 233, 0.4);
}

.trajectory-dot:hover {
    background: var(--primary-light);
}

/* Hide nav arrows — rotation is automatic */
.trajectory-nav {
    display: none;
}

.trajectory-logo-container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
    padding: 0.5rem;
}

.trajectory-logo {
    max-height: 100%;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

.trajectory-card:hover .trajectory-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.trajectory-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
}

.trajectory-card .badge-year {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(81, 155, 233, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.trajectory-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.trajectory-icon {
    font-size: 3.5rem;
    color: #e0e0e0;
    transition: all 0.4s ease;
}

.trajectory-card:hover .trajectory-icon {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.1) rotate(5deg);
}

/* Responsive - Showcase + Trajectory */
@media (max-width: 1024px) {

    .showcase-light .section-header h2,
    .showcase-tech-content h2 {
        font-size: 2.2rem;
    }

    .showcase-tech-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 4rem 0;
    }

    .showcase-light .section-header h2,
    .showcase-tech-content h2 {
        font-size: 1.8rem;
    }

    .showcase-subtitle {
        font-size: 1rem;
    }

    .showcase-image-wrapper {
        max-width: 90%;
    }

    .showcase-stats {
        gap: 1rem;
    }

    .showcase-stat {
        min-width: 120px;
        padding: 1rem 1.2rem;
    }

    .showcase-stat-number {
        font-size: 1.8rem;
    }

    .showcase-tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .showcase-tech-content .showcase-subtitle {
        text-align: center !important;
    }

    .tech-list li {
        justify-content: center;
    }

    .trajectory-section {
        padding: 4rem 0 2rem;
    }

    .trajectory-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .trajectory-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .showcase-section {
        padding: 3rem 0;
    }

    .showcase-light .section-header h2,
    .showcase-tech-content h2 {
        font-size: 1.5rem;
    }

    .showcase-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .showcase-stat {
        width: 100%;
        max-width: 250px;
    }

    .showcase-features-row {
        gap: 0.6rem;
    }

    .showcase-feature-pill {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .tech-list li {
        font-size: 0.9rem;
    }

    .trajectory-track {
        grid-template-columns: 1fr;
    }
}
