/* =========================================
   1. DESIGN SYSTEM (Base Variables)
========================================= */
:root {
	--color-title: #060b51;
	--color-text: #2c2c2c;
	--color-interactive: #18aaf4;
	--color-deep-blue: #06008F;
	--color-accent: #1974e1;
	--color-cta-main: #ADFF2F;
	--color-cta-turquoise: #00ffd5;
	--gradient-qanty: linear-gradient(135deg, #665fee, #27c2de, #05f2db);
	--gradient-btn: linear-gradient(90deg, #18aaf4 0%, #1974e1 100%);
	--gradient-hero: linear-gradient(160deg, #050a4d 0%, #06008F 35%, #18aaf4 100%);
	--radius-lg: 28px;
	--font-display: 'Plus Jakarta Sans', sans-serif;
	--font-body: 'Inter', sans-serif;
	--transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	--base-deep-bg: #020414;
	--header-height: 68px;
	--bg-card: rgba(255, 255, 255, 0.08);
	--bg-card-hover: rgba(255, 255, 255, 0.12);
	--border-color: rgba(255, 255, 255, 0.15);
	--text-main: #ffffff;
	--text-muted: #e2e8f0;
	--shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
	--grid-size: 40px;
	--bg-solid-bar: #060b51;
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
	background-color: var(--base-deep-bg);
	font-family: var(--font-body);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

html { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img, picture, video, canvas, svg { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* =========================================
   2. HEADER & NAVEGACIÓN
========================================= */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    box-sizing: border-box;
    background-color: rgba(4, 8, 58, 0.35); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 15px rgba(255, 255, 255, 0.5); 
    transition: all 0.4s ease;
	user-select: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    z-index: 1002;
}

.logo-group:hover { transform: scale(1.02); }

.brand-logo {
    height: 36px; 
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.brand-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.nav-link:hover {
    color: var(--color-cta-turquoise);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-qanty);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.login-btn {
    background: var(--gradient-btn);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 170, 244, 0.25);
    border: 1px solid var(--border-color);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 170, 244, 0.4);
    filter: brightness(1.1);
}

.nav-item { position: relative; }

.dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 15px;
    width: 260px;
    background-color: rgba(4, 8, 58, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    z-index: 1050;
    text-align: left;
    list-style: none;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    color: var(--color-cta-turquoise);
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 24px;
}

.dropdown-divider {
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
    padding-top: 8px;
}

.nav-toggle { 
    display: none; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    padding: 5px; 
}
.hamburger-box { 
    width: 24px; 
    height: 18px; 
    display: inline-block; 
    position: relative; 
}
.hamburger-inner { 
    display: block; 
    top: 50%; 
    margin-top: -1px; 
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px; 
    height: 2px; 
    background-color: var(--text-main); 
    border-radius: 2px;
    position: absolute; 
    transition: all 0.3s ease;
}
.hamburger-inner::before, .hamburger-inner::after { 
    content: ''; 
    display: block; 
}
.hamburger-inner::before { top: -7px; }
.hamburger-inner::after { bottom: -7px; }

.nav-toggle.active .hamburger-inner { background-color: transparent; }
.nav-toggle.active .hamburger-inner::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .hamburger-inner::after { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   3. BOTÓN WHATSAPP (GPU Optimizado)
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2000; 
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                background-color 0.3s ease;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1; 
    animation: whatsapp-pulse-gpu 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    background-color: #128c7e;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover::after {
    animation: none;
    opacity: 0;
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    pointer-events: none; 
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

.whatsapp-float i {
    font-size: 34px;
    color: #fff;
    display: none;
}

@keyframes whatsapp-pulse-gpu {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* =========================================
   4. HERO SECTION
========================================= */
.hero-main-section {
    background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-interactive) 45%, var(--color-interactive) 100%);
    color: white; padding: 100px 0 0; position: relative; overflow: hidden; font-family: var(--font-body); display: flex; align-items: center; width: 100%;
}

.tech-threads-background { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.tech-threads-background svg { width: 100%; height: 100%; opacity: 0.7; }

.thread-line-path {
    fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 0.9;
    stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000;
    animation: flowThreadsAnimation 15s linear infinite;
}
.thread-glow-effect { stroke: rgba(255, 255, 255, 0.1); stroke-width: 4; filter: blur(12px); }
@keyframes flowThreadsAnimation { from { stroke-dashoffset: 2000; } to { stroke-dashoffset: 0; } }
.data-pulse-effect { fill: rgba(255, 255, 255, 0.6); filter: blur(2px) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }

.hero-layout-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 60px;
    max-width: 1200px; margin: 0 auto; padding: 1rem 20px 8rem;
    position: relative; z-index: 10; width: 100%; box-sizing: border-box;
}

.hero-content-left { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; }
.hero-content-right { grid-column: span 2; display: flex; justify-content: center; position: relative; width: 100%; }

.hero-tag-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2); padding: 8px 22px; border-radius: 100px;
    font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em; color: white;
    margin-bottom: 30px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-tag-badge i { font-size: 14px; color: #05f2db; filter: drop-shadow(0 0 5px #05f2db); }

.hero-main-section h1 {
    font-family: var(--font-display); 
    font-size: clamp(28px, 5vw, 50px); 
    font-weight: 800; line-height: 1.15; margin-bottom: 30px;
    color: white; letter-spacing: -0.04em; text-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.hero-main-section p {
    font-size: clamp(15px, 2vw, 1.05rem); color: white; opacity: 0.75; margin-bottom: 45px;
    max-width: 520px; line-height: 1.6; font-weight: 300;
}

.hero-actions { margin-top: 0px; }

.hero-actions .btn-primary-action {
    background: rgba(173, 255, 47, 0.7); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); color: var(--base-deep-bg); 
    padding: 15px 52px; border-radius: 100px; font-weight: 800; font-size: 0.95rem; 
    border: 2px solid var(--color-cta-main); 
    box-shadow: 0 3px 0px rgba(173, 255, 47, 0.4), 0 6px 12px rgba(0, 0, 0, 0.3);      
    text-decoration: none; display: inline-block; transition: all 0.15s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    text-transform: uppercase; letter-spacing: 0.05em; text-shadow: none; position: relative;
}

.hero-actions .btn-primary-action:hover { transform: translateY(-1.5px); background: rgba(173, 255, 47, 0.85); box-shadow: 0 4px 0px rgba(173, 255, 47, 0.5), 0 8px 15px rgba(0, 0, 0, 0.35); }
.hero-actions .btn-primary-action:active { transform: translateY(2px); box-shadow: 0 1px 0px rgba(173, 255, 47, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2); }

.mockup-composition-wrapper { 
    position: relative; 
    width: 500px; 
    height: 380px; 
    min-width: 500px;
    flex-shrink: 0;   
    display: flex; align-items: flex-start; margin: 0 auto;
}
        
.mockup-composition-wrapper::before {
    content: ''; position: absolute; top: 45%; left: 40%; transform: translate(-50%, -50%);
    width: 140%; height: 140%; background: radial-gradient(circle, rgba(24, 170, 244, 0.2) 0%, rgba(24, 170, 244, 0.05) 40%, transparent 70%);
    filter: blur(40px); z-index: 1; pointer-events: none;
}

.kiosk-device-mockup { 
    width: 100%; height: 105.2%; flex-shrink: 0; z-index: 30; filter: drop-shadow(25px 35px 50px rgba(0,0,0,0.65)); position: absolute; left: -7%; top: 0; 
}
.kiosk-device-mockup img { width: 100%; height: 100%; object-fit: contain; }
.hero-kiosk-img { height: auto; }

.mockup-background-wall {
    background: #121212;
    border: clamp(3px, 1.5vw, 8px) solid #1a1a1a;
    border-bottom: clamp(5px, 2vw, 12px) solid #1a1a1a;
    border-radius: 12px;
    padding: 0;
    width: 65%;
    height: 50%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: -50px;
    left: 18.72%;
    transform: perspective(1200px) rotateY(-15deg);
    overflow: hidden;
    z-index: 30;
}

.device-led-indicator {
    position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%);
    width: 5px; height: 5px; background: rgba(5, 242, 219, 0.8); border-radius: 50%;
    box-shadow: 0 0 8px rgba(5, 242, 219, 1); z-index: 26;
}

.floating-notification-badge {
    position: absolute; top: 60.5%; left: 30%;
    backdrop-filter: blur(25px) saturate(200%); -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2); 
    padding: 14px 22px; 
    border-radius: 16px;
    display: flex; align-items: center; gap: 16px; z-index: 40;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    transform: perspective(1200px) rotateY(-5deg); opacity: 0; pointer-events: none;
}

.floating-notification-badge.type-creation {
    background: linear-gradient(135deg, rgba(6, 11, 81, 0.85), rgba(24, 170, 244, 0.6));
    border-left: 5px solid #00ffd5;
}

.floating-notification-badge.type-rating {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.85), rgba(255, 193, 7, 0.4));
    border-left: 5px solid #ffca28;
}

.floating-notification-badge.is-active { animation: notifyPopAnimation 5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes notifyPopAnimation {
    0% { transform: perspective(1200px) rotateY(-5deg) translateY(20px) scale(0.95); opacity: 0; }
    10% { transform: perspective(1200px) rotateY(-5deg) translateY(0) scale(1); opacity: 1; }
    90% { transform: perspective(1200px) rotateY(-5deg) translateY(0) scale(1); opacity: 1; }
    100% { transform: perspective(1200px) rotateY(-5deg) translateY(-10px) scale(0.95); opacity: 0; }
}

.notification-content-wrapper { display: flex; flex-direction: column; gap: 4px; }
.notification-icon-svg { font-size: 24px; transition: all 0.3s; }
.type-creation .notification-icon-svg { color: #00ffd5; filter: drop-shadow(0 0 8px rgba(0, 255, 213, 0.6)); }
.type-rating .notification-icon-svg { color: #ffca28; filter: drop-shadow(0 0 8px rgba(255, 202, 40, 0.6)); }

.notification-icon-svg, .notification-content-wrapper { position: relative; z-index: 1; }

.notification-subtitle { font-size: 10px; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); font-weight: 700; letter-spacing: 0.1em; line-height: 1; }
.notification-main-value { font-size: 18px; font-weight: 800; color: #ffffff; line-height: 1; white-space: nowrap; font-family: var(--font-display); }

.mockup-ui-screen { width: 100%; height: 100%; background: #000; overflow: hidden; }
#queue-system-canvas { width: 100%; height: 100%; display: block; }

/* =========================================
   5. SISTEMA DE PORTALES
========================================= */
.features-hero-section {
    background: linear-gradient(to bottom, var(--color-interactive) 0%, var(--base-deep-bg) 100%);
    position: relative; z-index: 1; margin-top: -150px; overflow: visible;
    padding-top: 150px;
}

.transition-base {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120%; height: 100%;
    background: linear-gradient(to bottom, rgba(6, 11, 81, 0.85), rgba(4, 8, 58, 0.95), var(--base-deep-bg));
    backdrop-filter: blur(40px); border-top: 2px solid rgba(255, 255, 255, 0.7);
    border-top-left-radius: 60% 80px; border-top-right-radius: 60% 80px;
    box-shadow: 0 -40px 80px rgba(6, 11, 81, 0.5); pointer-events: none; z-index: 2;
}

.portals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 20px; 
    position: relative;
    z-index: 10;
}

.glass-panel {
    grid-column: span 2;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    border-left: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: var(--radius-lg);
    padding: 2rem; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    text-decoration: none; 
    transition: var(--transition);
    box-shadow: 0 8px 30px -5px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 260px; 
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.watermark-icon {
    position: absolute;
    right: -5%;
    bottom: -10%; 
    font-size: 180px; 
    opacity: 0.03;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    pointer-events: none;
    transform-origin: center;
}
.panel-turno .watermark-icon { color: var(--color-cta-turquoise); transform: rotate(-15deg); }
.panel-cita .watermark-icon { color: var(--color-interactive); transform: rotate(0deg); }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 8px; 
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.6rem; 
    font-weight: 600;
    letter-spacing: 0.15em; 
    text-transform: uppercase;
    margin-bottom: 1.5rem; 
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
}
.status-dot { width: 5px; height: 5px; border-radius: 50%; }

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 213, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(0, 255, 213, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 213, 0); }
}

.panel-turno .status-badge { border-color: rgba(0, 255, 213, 0.15); background: rgba(0, 255, 213, 0.05); color: var(--color-cta-turquoise); }
.panel-turno .status-dot { background-color: var(--color-cta-turquoise); animation: pulse-dot 2s infinite; }
.panel-cita .status-badge { border-color: rgba(24, 170, 244, 0.15); background: rgba(24, 170, 244, 0.05); color: var(--color-interactive); }
.panel-cita .status-dot { background-color: var(--color-interactive); opacity: 0.8; }

.card-inner-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: var(--transition);
}
.panel-turno .card-inner-glow { background: radial-gradient(circle at 0% 100%, rgba(0,255,213,0.08) 0%, transparent 70%); }
.panel-cita .card-inner-glow { background: radial-gradient(circle at 100% 100%, rgba(24,170,244,0.08) 0%, transparent 70%); }

.panel-title {
    font-family: var(--font-display);
    margin: 0 0 auto 0; 
    line-height: 1; 
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px; 
    transition: var(--transition);
}
.title-prefix {
    font-size: 0.7rem; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em; 
    color: rgba(255, 255, 255, 0.6);
    padding-left: 2px;
}
.text-gradient-turno, .text-gradient-cita {
    font-size: 2.6rem; 
    font-weight: 700; 
    letter-spacing: -0.03em; 
}
.text-gradient-turno {
    background: linear-gradient(135deg, #ffffff 0%, #00ffd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-cita {
    background: linear-gradient(135deg, #ffffff 0%, #18aaf4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 240px; 
    margin-top: auto; 
    padding: 10px 14px 10px 20px; 
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem; 
    transition: var(--transition);
    position: relative;
    z-index: 2;
    background: var(--gradient-btn); 
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 16px rgba(24, 170, 244, 0.25); 
}
.btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; 
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    transform: translateY(-6px) scale(1.015); 
    background: rgba(255, 255, 255, 0.06); 
    border-color: rgba(255, 255, 255, 0.15);
}
.glass-panel.panel-turno:hover {
    border-top-color: rgba(0, 255, 213, 0.5);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 -2px 24px rgba(0, 255, 213, 0.2);
}
.glass-panel.panel-cita:hover {
    border-top-color: rgba(24, 170, 244, 0.5);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 -2px 24px rgba(24, 170, 244, 0.2);
}
.glass-panel:active {
    transform: translateY(0px) scale(0.985); 
    transition: all 0.1s ease; 
}
.glass-panel:hover .card-inner-glow { opacity: 1; }
.glass-panel:hover .watermark-icon { transform: scale(1.1) rotate(0deg); opacity: 0.08; }
.glass-panel:hover .action-btn {
    box-shadow: 0 10px 24px rgba(24, 170, 244, 0.4); 
    background: linear-gradient(90deg, #1974e1 0%, #18aaf4 100%);
}
.glass-panel:hover .btn-icon-wrapper {
    transform: translateX(4px); 
    background: rgba(255, 255, 255, 0.3);
}

/* =========================================
   6. PLATFORM OVERVIEW (Ultra-Premium)
========================================= */
.platform-overview-section { 
    position: relative; 
    z-index: 10; 
    color: #ffffff; 
    padding-top: 40px; 
    padding-bottom: 60px; 
    background: transparent; 
    overflow: visible; 
}

.background-glow-primary {
    position: absolute; top: -10%; left: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(176, 136, 249, 0.15) 0%, transparent 70%); filter: blur(80px); z-index: 1; pointer-events: none;
}
.background-glow-secondary {
    position: absolute; bottom: -20%; right: -10%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.12) 0%, transparent 70%); filter: blur(80px); z-index: 1; pointer-events: none;
}

.background-grid-overlay {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 24px);
    z-index: 1; pointer-events: none;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%); -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.queue-hologram-globe {
    position: absolute; top: 60%; left: 32%; transform: translate(-50%, -50%);
    width: clamp(400px, 60vw, 520px); height: clamp(400px, 60vw, 520px); border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 213, 0.35), transparent 30%), radial-gradient(circle at 70% 70%, rgba(24, 170, 244, 0.35), transparent 5%);
    box-shadow: inset 0 0 80px rgba(24, 170, 244, 0.4), 0 0 120px rgba(24, 170, 244, 0.2); z-index: 0;
    animation: breatheGlobe 10s ease-in-out infinite alternate; pointer-events: none;
}

.queue-hologram-globe::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.05);
    background-image: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255, 255, 255, 0.06) 20px), repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255, 255, 255, 0.06) 20px);
    mask-image: radial-gradient(circle, black 50%, transparent 80%); -webkit-mask-image: radial-gradient(circle, black 50%, transparent 80%);
    animation: spinGrid 45s linear infinite reverse; 
}

.platform-overview-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: flex-end; position: relative; z-index: 2; }

.mockup-wrapper {
    grid-column: span 2; position: relative; border-radius: 24px; z-index: 2;
    transform: translateY(0); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: floatMockup 6s ease-in-out infinite alternate;
}

@keyframes floatMockup { 0% { transform: translateY(0px); } 100% { transform: translateY(-15px); } }

.mockup-wrapper:hover { animation-play-state: paused; transform: scale(1.03) translateY(-5px); }
.mockup-wrapper::before { display: none; }
.mockup-wrapper:hover::before { display: none; }
.mockup-wrapper img { width: 100%; height: auto; display: block; background: transparent; }

.mockup-wrapper.multi-device-mockup { display: flex; justify-content: center; align-items: center; background: transparent; box-shadow: none; }
.mockup-bg-circle { display: none; }
.mockup-wrapper.multi-device-mockup .device-laptop { position: relative; width: 80%; z-index: 1; transform: none; background: transparent; }
.mockup-wrapper.multi-device-mockup .device-phone {
    position: absolute; width: 40%; z-index: 2; right: 0%; bottom: -15%;
    transform: perspective(1000px) rotate(0deg); border-radius: clamp(10px, 3vw, 30px); 
    box-shadow: -20px 30px 60px rgba(0,0,0,0.9), inset 0 2px 4px rgba(255,255,255,0.4);
    border: clamp(2px, 0.5vw, 4px) solid #1a1a1a; background: #000;
}

.product-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 100px;
    font-size: 0.8rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: #e2e8f0; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); backdrop-filter: blur(10px);
}

.product-badge-dot { width: 8px; height: 8px; background: #00ffd5; border-radius: 50%; box-shadow: 0 0 10px #00ffd5; animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }

.platform-features-content { grid-column: span 2; }
.platform-features-content h2 { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.2rem); font-weight: 800; margin-bottom: 40px; letter-spacing: -0.03em; line-height: 1.1; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.features-cards-grid { display: flex; flex-direction: column; gap: 16px; position: relative; }

.feature-card {
    background: rgba(255, 255, 255, 0.02); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06); 
    border-radius: 12px; 
    padding: 20px 24px; 
    transition: all 0.3s ease; 
    position: relative; 
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.feature-card:hover { 
    background: rgba(255, 255, 255, 0.05); 
    border-color: rgba(0, 255, 213, 0.3); 
    transform: translateX(4px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.2); 
}

.feature-icon-box {
    width: auto; 
    height: auto; 
    border-radius: 0; 
    border: none; 
    background: transparent; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0;
}

.feature-icon-box i { font-size: 61px; color: #18aaf4; }

.feature-text-content { position: relative; z-index: 1; width: 100%; }
.feature-text-content h4 { color: #ffffff; font-family: var(--font-body); font-size: 1.05rem; margin: 0 0 6px 0; font-weight: 600; letter-spacing: 0; text-shadow: none; }
.feature-text-content p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin: 0; line-height: 1.4; font-weight: 300; transition: color 0.3s; }
.feature-card:hover .feature-text-content p { color: rgba(255, 255, 255, 0.85); }

.tech-light-beams { position: absolute; top: 50%; left: 50%; width: 150%; height: 150%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; }
.tech-light-beams::before, .tech-light-beams::after {
    content: ''; position: absolute; top: 50%; left: -25%; width: 150%; height: 80px;
    background: linear-gradient(90deg, transparent 0%, rgba(24, 170, 244, 0.5) 50%, transparent 100%); filter: blur(35px); transform-origin: center; animation: pulseBeam 4s infinite alternate;
}
.tech-light-beams::after { background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 213, 0.4) 50%, transparent 100%); transform: rotate(60deg); animation-delay: -2s; }
.tech-light-beams::before { transform: rotate(-30deg); }

@keyframes pulseBeam { 0% { opacity: 0.6; width: 130%; left: -15%; } 100% { opacity: 1; width: 170%; left: -35%; } }

.product-badge.badge-floating {
    position: absolute; top: -50px; left: 0; transform: none; z-index: 10;
    background: rgba(13, 20, 40, 0.9); border-color: rgba(0, 255, 213, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 213, 0.15); margin-bottom: 0;
}

/* =========================================
   7. STATISTICS & CLIENTS
========================================= */
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.25; pointer-events: none; }
.glow-1 { width: 600px; height: 600px; background: var(--color-interactive); top: -200px; left: -200px; z-index: 3; }
.glow-2 { width: 500px; height: 500px; background: #2e68fd; bottom: -10%; right: -200px; z-index: 3; }

.stats-inner-container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 10; padding: 0 20px; }

.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-bottom: 0; letter-spacing: -0.03em; line-height: 1.1; color: #ffffff; }

.stats-grid-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }

.stats-content-left .section-header { text-align: left; margin-bottom: 20px; }
.stats-content-left .actions-wrapper { text-align: left; margin-top: 0; }

.gradient-text {
    background: linear-gradient(to right, #00ffd5, #18aaf4, #2e68fd); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 15px rgba(0, 255, 213, 0.4));
}

.glow-divider { display: none; }

.stats-glass-wrapper { position: relative; width: 100%; max-width: 1200px; margin: 0 auto 40px auto; padding: 0 20px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: stretch; }

.stats-glass-bar {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 35px 40px; 
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 24px; 
    position: relative; z-index: 10; width: 100%; box-sizing: border-box; overflow: hidden;
}

.stats-glass-bar::before { display: none; }

.stat-item { display: flex; flex-direction: row; align-items: center; text-align: left; flex: 1; position: relative; transition: var(--transition); }
.stat-item:hover { transform: translateY(-3px) scale(1.03); }
.stat-item:not(:last-child):after {
    content: ''; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
    height: 4px; width: 4px; border-radius: 50%; background: rgba(255,255,255,0.15); box-shadow: 0 15px 0 rgba(255,255,255,0.15), 0 -15px 0 rgba(255,255,255,0.15);
}

.stat-item-inner { display: flex; align-items: center; gap: 18px; position: relative; z-index: 2; margin: 0 auto; }
.stat-text-col { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }

.stat-icon-box, .stats-glass-bar .stat-icon-box { background: transparent; border: none; box-shadow: none; padding: 0; }
.stat-img-element { width: auto; height: 64px; object-fit: contain; display: block; filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); transition: all 0.3s ease; }

.highlighted-stat { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: #ffffff; letter-spacing: -0.04em; text-shadow: 0 0 30px rgba(0, 255, 213, 0.25); line-height: 1; transition: font-size 0.3s ease; }
.metric-label { display: block; font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.65); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0; }

.clients-bar {
    position: relative; padding-top: 60px; padding-bottom: 60px; margin-top: 40px; 
    background: rgba(10, 15, 40, 0.4); 
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.05); 
    z-index: 10; width: 100%;
}

.clients-bar::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(24, 170, 244, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(24, 170, 244, 0.6); z-index: 2;
}

.clients-bar::after {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 70%; height: 100%;
    background: radial-gradient(ellipse at top, rgba(0, 255, 213, 0.12) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}

.stats-title-small { text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 50px; font-weight: 700; position: relative; z-index: 2; }

.clients-marquee { overflow: hidden; white-space: nowrap; position: relative; z-index: 2; width: 100%; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }

.clients-track { 
    display: flex; 
    width: max-content; 
    gap: 60px; 
    animation: scroll-marquee 35s linear infinite; 
    align-items: center; 
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-logo-item { display: flex; align-items: center; justify-content: center; }

.client-logo-item img { height: 36px; width: auto; filter: brightness(0) invert(1) drop-shadow(0 0 0px transparent); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.client-logo-item img:hover { transform: scale(1.1); filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255, 255, 255, 0.7)); }

@keyframes scroll-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.marquee-secondary { margin-top: 30px; }
.track-reverse { animation-direction: reverse; animation-duration: 45s; }

/* =========================================
   8. ECOSISTEMA BENTO GRID SECTION
========================================= */
.unified-experience-section { 
    background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-interactive) 45%, var(--color-interactive) 100%);
    position: relative; z-index: 10; overflow: hidden; padding: 160px 0 180px;
}

.unified-experience-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 24px 24px; 
    background-attachment: fixed;
    z-index: 1; pointer-events: none;
}

.top-wave-transition {
    position: absolute; top: 0; left: 0; width: 100%; overflow: visible; line-height: 0; z-index: 11;
}
.top-wave-transition svg {
    position: relative; display: block; width: calc(100% + 1.3px); height: 60px; 
    filter: drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.35)); 
}
.top-wave-transition .shape-fill { fill: url(#wave-gradient); }

.bento-ambient-glow-1, .bento-ambient-glow-2 { display: none; }

.preview-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    position: relative; 
    z-index: 2; 
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
.preview-header { text-align: center; margin-bottom: 60px; color: #ffffff; } 
.preview-header h2 { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.preview-header p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.7); max-width: 650px; margin: 0 auto; font-weight: 300; }

.bento-grid-custom { 
    display: grid; 
    grid-template-columns: repeat(4, minmax(0, 1fr)); 
    grid-auto-rows: auto; 
    gap: 32px; 
    grid-auto-flow: dense; 
}

.bento-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 16px; 
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.06); 
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    text-decoration: none; color: #ffffff; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.25); 
    min-width: 0;
    width: 100%;
}

.bento-card.main::after, .bento-card.wide::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(24, 170, 244, 0.15) 0%, transparent 60%);
    z-index: 2; pointer-events: none; transition: opacity 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-6px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 25px rgba(24, 170, 244, 0.15); 
}
.bento-card.main:hover::after, .bento-card.wide:hover::after { opacity: 0.8; }

.bento-bg-img { 
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; 
    z-index: 0; transition: transform 0.6s ease, filter 0.6s ease; 
    filter: saturate(1) brightness(1); 
}
.bento-card:hover .bento-bg-img { 
    transform: scale(1.05); 
    filter: saturate(1.05) brightness(1); 
}

.bento-overlay { 
    position: absolute; inset: 0; 
    background: linear-gradient(to top, rgba(2, 3, 15, 0.98) 0%, rgba(4, 7, 28, 0.85) 15%, transparent 65%); 
    z-index: 1; transition: background 0.4s ease; 
}

.bento-card .glossary-content {
    position: relative; z-index: 4; margin: 0; padding: 32px 28px 28px 28px; 
    background: transparent; border: none; backdrop-filter: none; box-shadow: none;
    display: flex; flex-direction: column; justify-content: flex-end;
    height: 100%; pointer-events: none;
}

.bento-card .glossary-icon {
    position: absolute; top: 24px; left: 24px; width: 44px; height: 44px;
    border-radius: 12px; border: 1px solid rgba(24, 170, 244, 0.25);
    background: rgba(6, 11, 81, 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 5; transition: all 0.4s ease;
}

.bento-card:hover .glossary-icon {
    background: rgba(24, 170, 244, 0.2); border-color: rgba(24, 170, 244, 0.6); transform: scale(1.05);
}

.bento-card h3 { 
    font-family: var(--font-display); margin: 0 0 8px 0; line-height: 1.15; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.6); color: #ffffff; 
}
.bento-card p { 
    font-size: 0.95rem; color: rgba(255, 255, 255, 0.65); 
    margin: 0; line-height: 1.5; transition: color 0.3s ease; 
}
.bento-card:hover p { color: rgba(255, 255, 255, 0.95); }

.bento-card.main h3 { font-size: 2.2rem; font-weight: 800; }
.bento-card.tall h3, .bento-card.wide h3 { font-size: 1.5rem; font-weight: 700; }
.bento-card.square h3 { font-size: 1.2rem; font-weight: 600; }

.bento-card.main { grid-column: span 3; aspect-ratio: 16 / 9; }
.bento-card.square { grid-column: span 1; aspect-ratio: 1 / 1.25; }
.bento-card.tall { grid-column: span 1; aspect-ratio: 9 / 16; }
.bento-card.wide { grid-column: span 2; aspect-ratio: 16 / 9; }

/* =========================================
   9. GALERÍA DE IMPLEMENTACIONES
========================================= */
.implementation-gallery-section {
    background-color: rgba(4, 8, 58, 0.95);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 40px 0; position: relative; z-index: 20;
    margin-top: -100px; margin-bottom: -100px;
    display: flex; flex-direction: column; align-items: center;
    overflow: hidden;
    border-top: 1px solid rgba(24, 170, 244, 0.15);
    border-bottom: 1px solid rgba(24, 170, 244, 0.15);
    box-shadow: 0 -40px 60px rgba(0,0,0,0.6), 0 40px 60px rgba(0,0,0,0.6);
}

@keyframes galleryBgMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.gallery-line-top {
    position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(24, 170, 244, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(24, 170, 244, 0.6); z-index: 2;
}

.gallery-line-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 213, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.6); z-index: 2;
}

.implementation-gallery-section::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top, rgba(24, 170, 244, 0.1) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}

.implementation-gallery-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 24px);
    z-index: 1; pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.gallery-ambient-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80vw; height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.05) 0%, transparent 60%);
    filter: blur(50px); z-index: 0; pointer-events: none;
}

.gallery-focus-glow {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 400px; height: 200px;
    background: radial-gradient(circle, rgba(24, 170, 244, 0.15) 0%, transparent 70%);
    filter: blur(40px); z-index: 0; pointer-events: none;
}

.gallery-container { 
    max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; 
    text-align: center; margin-bottom: 15px; padding: 0 20px; 
}
.gallery-container h2 { 
    font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); 
    font-weight: 800; color: #ffffff; margin: 0; letter-spacing: -0.02em; 
    text-shadow: 0 -20px 30px rgba(0,0,0,0.8), 0 20px 30px rgba(0,0,0,0.8); 
}

.gallery-marquee {
    overflow: hidden; white-space: nowrap; position: relative; width: 100%; 
    padding: 10px 0 10px 0; z-index: 2;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.gallery-track {
    display: flex; width: max-content; gap: 32px;
    animation: scroll-marquee 60s linear infinite; align-items: center;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    width: clamp(280px, 25vw, 420px); flex-shrink: 0; white-space: normal;
    aspect-ratio: 16 / 9; height: auto; border-radius: 16px; overflow: hidden; position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.3); background: rgba(255, 255, 255, 0.03);
    cursor: pointer; transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1); opacity: 1;
}

.gallery-item.is-active {
    transform: scale(1); opacity: 1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 50px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    z-index: 5;
}

.gallery-item:hover { 
    transform: scale(1.03) translateY(-8px) !important; 
    opacity: 1 !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 25px rgba(0, 255, 213, 0.3);
    border-color: rgba(0, 255, 213, 0.5); z-index: 10;
}

.gallery-item::after {
    content: ''; position: absolute; inset: 0; 
    background: rgba(6, 11, 81, 0.2); 
    transition: opacity 0.4s ease; z-index: 1; pointer-events: none;
    opacity: 0;
}

.gallery-item::before {
    content: ''; position: absolute; inset: 0; 
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%); 
    opacity: 1; transition: opacity 0.4s ease; z-index: 2; pointer-events: none;
}

.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; 
    transform: scale(1.05);
}

.gallery-item:hover img { transform: scale(1.12); }
.gallery-item:hover::after { opacity: 0; } 
.gallery-item:hover::before { opacity: 1; }

.gallery-env-tag {
    position: absolute; bottom: 20px; left: 20px;
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
    padding: 6px 14px; border-radius: 100px; font-family: var(--font-display);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    z-index: 3; opacity: 1; transform: translateY(0); transition: all 0.4s ease;
    display: flex; align-items: center; gap: 6px;
}
.gallery-env-tag i { color: #18aaf4; font-size: 1.1rem; }
.gallery-item:hover .gallery-env-tag { 
    transform: translateY(-3px); 
    background: rgba(0, 255, 213, 0.15); 
    border-color: rgba(0, 255, 213, 0.4); 
}

/* =========================================
   10. QANTY CONTACT SECTION
========================================= */
.qanty-contact-section { 
    background: linear-gradient(135deg, var(--color-interactive) 0%, var(--color-deep-blue) 55%, var(--color-deep-blue) 100%);
    padding: 180px 0 140px; 
    position: relative; 
    z-index: 10; 
    overflow: visible; 
}

.qanty-contact-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    position: relative; 
    z-index: 2; 
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.qanty-contact-orb { 
    position: absolute; 
    border-radius: 50%; 
    filter: blur(100px); 
    opacity: 0.4; 
    z-index: 0; 
    pointer-events: none; 
    animation: qantyFloatingOrbAnim 15s ease-in-out infinite alternate; 
}

.qanty-contact-orb--cyan { 
    width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; 
    background: rgba(0, 255, 213, 0.15); 
    top: -20%; left: -20%; 
}

.qanty-contact-orb--blue { 
    width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; 
    background: rgba(24, 170, 244, 0.15); 
    bottom: -30%; right: -20%; 
    animation-delay: -5s; 
}

@keyframes qantyFloatingOrbAnim {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.05); }
}
.contact-decor-line { top: 15%; left: 5%; }

.qanty-contact-split-card {
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px; 
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06); 
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px);
}

.qanty-contact-bg-globe {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; 
    opacity: 0.35; z-index: 0; pointer-events: none; mix-blend-mode: overlay;
}

.qanty-contact-info-side {
    position: relative; padding: 60px 50px; display: flex; flex-direction: column; justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05); overflow: hidden;
}

.qanty-contact-info-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; 
    opacity: 0.15; z-index: 0; pointer-events: none; mix-blend-mode: overlay;
}

.qanty-contact-info-side::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(24, 170, 244, 0.2), transparent 60%), radial-gradient(circle at 100% 100%, rgba(0, 255, 213, 0.1), transparent 60%);
    z-index: 1; pointer-events: none;
}

.qanty-contact-info-content { position: relative; z-index: 2; }

.qanty-contact-info-content .qanty-contact-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(24, 170, 244, 0.15); border: 1px solid rgba(24, 170, 244, 0.3); border-radius: 100px;
    font-size: 0.75rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.1em; color: #00ffd5; margin-bottom: 24px;
}

.qanty-contact-info-content h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 3vw, 2.8rem); font-weight: 800; color: #ffffff; margin: 0 0 16px 0; line-height: 1.15; letter-spacing: -0.02em; }

.qanty-contact-info-content h2 { 
    font-family: var(--font-display); font-size: clamp(2.2rem, 3vw, 2.8rem); font-weight: 800; 
    color: #ffffff; margin: 0 0 16px 0; line-height: 1.15; letter-spacing: -0.02em; 
}

.qanty-contact-info-content p { color: rgba(255, 255, 255, 0.7); font-size: 1.05rem; line-height: 1.6; margin-bottom: 30px; font-weight: 400; }

.qanty-contact-form-side { 
    padding: 60px 50px; position: relative; z-index: 2; background: rgba(0,0,0,0.15); 
}

.qanty-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qanty-contact-form-group { display: flex; flex-direction: column; gap: 8px; position: relative; }
.qanty-contact-form-group--full-width { grid-column: span 2; }

.qanty-contact-form label { 
    color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; font-weight: 600; 
    font-family: var(--font-body); display: flex; align-items: center; gap: 8px;
}

.qanty-contact-form input, 
.qanty-contact-form textarea {
    background: rgba(255, 255, 255, 0.04); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 10px; padding: 14px 18px; color: #ffffff; font-family: var(--font-body);
    font-size: 1rem; transition: all 0.3s ease; outline: none; 
    width: 100%; box-sizing: border-box; resize: none;
}

.qanty-contact-form input::placeholder, 
.qanty-contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.3); }

.qanty-contact-form input:focus, 
.qanty-contact-form textarea:focus { 
    border-color: var(--color-interactive); 
    background: rgba(24, 170, 244, 0.05); 
    box-shadow: 0 0 0 3px rgba(24, 170, 244, 0.15);
}

.qanty-contact-submit-btn {
    background: rgba(173, 255, 47, 0.9); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); color: var(--color-deep-blue); 
    font-family: var(--font-display); font-weight: 800; font-size: 1rem;
    padding: 16px; border: 2px solid var(--color-cta-main); border-radius: 10px; cursor: pointer; 
    transition: all 0.3s ease; width: 100%; margin-top: 10px;
    text-transform: uppercase; letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(173, 255, 47, 0.2);
}

.qanty-contact-submit-btn:hover { 
    transform: translateY(-2px); 
    background: var(--color-cta-main);
    box-shadow: 0 8px 25px rgba(173, 255, 47, 0.4); 
}

.qanty-contact-submit-btn:active { transform: translateY(1px); }

.stories-wave-bottom { position: absolute; bottom: 0; left: 0; width: 100%; overflow: visible; line-height: 0; z-index: 11; transform: rotate(180deg); }
.stories-wave-bottom svg { position: relative; display: block; width: calc(100% + 1.3px); height: 50px; overflow: visible; }
.stories-wave-bottom .shape-fill { fill: #060b51; }

/* =========================================
   11. FAQ SECTION
========================================= */
.faq-wave-top { position: absolute; top: 0; left: 0; width: 100%; overflow: visible; line-height: 0; z-index: 11; }
.faq-wave-top svg { position: relative; display: block; width: calc(100% + 1.3px); height: 50px; overflow: visible; }
.faq-wave-top .shape-fill { fill: #060b51; }

.faq-section { 
    background-color: rgba(6, 11, 81, 0.45); 
    background-image: 
        radial-gradient(circle at 10% 30%, rgba(0, 255, 213, 0.35) 0%, transparent 450px),
        radial-gradient(circle at 90% 70%, rgba(24, 170, 244, 0.3) 0%, transparent 500px);
    background-attachment: fixed;
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -80px 80px -20px rgba(0,0,0,0.6), 0 80px 80px -20px rgba(0,0,0,0.6);
    padding: 120px 0; 
    position: relative; 
    z-index: 15; 
    overflow: hidden; 
    width: 100%; 
    box-sizing: border-box; 
}

.faq-ambient-glow-right {
    position: absolute; top: 50%; right: -10%; transform: translateY(-50%);
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 170, 244, 0.25) 0%, transparent 60%);
    filter: blur(80px); z-index: 0; pointer-events: none;
}

.faq-container { 
    max-width: 1200px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; z-index: 2; align-items: start; box-sizing: border-box; 
    padding: 0 20px;
}
.faq-visual-column { grid-column: span 1; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.faq-tag {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 100px;
    font-size: 0.8rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: #e2e8f0; margin-bottom: 0px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); backdrop-filter: blur(10px); width: fit-content; max-width: 100%;
}

.faq-visual-column h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: #ffffff; margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-shadow: 0 10px 30px rgba(0,0,0,0.5); word-wrap: break-word; }

.faq-visual-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 40px 30px; 
    position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; flex-direction: column; gap: 16px; transition: all 0.3s ease;
}

.faq-visual-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 255, 213, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.faq-core-icon { 
    width: 45px; height: 45px; border-radius: 12px; 
    border: 1px solid rgba(24, 170, 244, 0.4); 
    background: rgba(24, 170, 244, 0.1); 
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: 10px; z-index: 1; 
}
.faq-core-icon i { font-size: 24px; color: #18aaf4; }

.faq-visual-card h3 { color: #ffffff; font-family: var(--font-display); font-size: 1.25rem; margin: 0; font-weight: 700; position: relative; z-index: 1; letter-spacing: -0.01em; }
.faq-visual-card p { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; line-height: 1.5; position: relative; z-index: 1; margin: 0 0 10px 0; transition: color 0.3s ease; }
.faq-visual-card:hover p { color: rgba(255, 255, 255, 0.85); }

.faq-contact-btn {
    display: inline-flex; align-items: center; gap: 10px; color: var(--color-deep-blue); font-weight: 800; text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; position: relative; z-index: 1; transition: all 0.4s ease;
    background: rgba(173, 255, 47, 0.9); border: 2px solid var(--color-cta-main); padding: 14px 16px; border-radius: 12px; width: 100%; justify-content: center; text-align: center; white-space: normal;
    box-shadow: 0 4px 15px rgba(173, 255, 47, 0.2);
}
.faq-contact-btn:hover { background: var(--color-cta-main); border-color: var(--color-cta-main); color: var(--color-deep-blue); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(173, 255, 47, 0.4); }
.faq-contact-btn i { font-size: 1.1rem; color: inherit; transition: transform 0.3s ease; }
.faq-contact-btn:hover i { transform: translateX(5px); }

.faq-list { grid-column: span 3; display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.faq-item {
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.06); 
    border-radius: 12px; overflow: hidden; 
    transition: all 0.3s ease; position: relative; 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

.faq-item:hover, .faq-item.active { 
    background: rgba(255, 255, 255, 0.04); 
    border-color: rgba(0, 255, 213, 0.3); 
    transform: translateX(4px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.2); 
}

.faq-question { width: 100%; text-align: left; background: transparent; border: none; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: #ffffff; font-family: var(--font-display); font-size: 1.05rem; transition: color 0.3s ease; position: relative; z-index: 2; outline: none; box-sizing: border-box; gap: 15px; }
.faq-question-main { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 0; }

.faq-num { 
    font-family: var(--font-body); font-weight: 800; font-size: 1rem; color: #18aaf4; 
    background: rgba(24, 170, 244, 0.1); border: 1px solid rgba(24, 170, 244, 0.4); 
    width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; 
    border-radius: 12px; flex-shrink: 0; transition: all 0.3s ease; margin: 0; 
}

.faq-item:hover .faq-num, .faq-item.active .faq-num { 
    background: rgba(0, 255, 213, 0.1); border-color: #00ffd5; color: #00ffd5;
}

.faq-text { color: #ffffff; font-family: var(--font-body); font-size: 1.05rem; margin: 0; font-weight: 600; transition: color 0.3s ease; letter-spacing: 0; text-shadow: none; flex: 1; word-wrap: break-word; line-height: 1.4; }

.faq-icon-wrapper { 
    width: 32px; height: 32px; border-radius: 8px; background: rgba(24, 170, 244, 0.05); 
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; 
    transition: all 0.4s ease; border: 1px solid rgba(24, 170, 244, 0.2); margin-left: 15px; 
}

.faq-item.active .faq-icon-wrapper { 
    background: rgba(0, 255, 213, 0.1); border-color: rgba(0, 255, 213, 0.4); transform: rotate(45deg); 
}

.faq-item.active .faq-icon-wrapper i { color: #00ffd5; }
.faq-icon-wrapper i { color: #18aaf4; font-size: 1rem; transition: color 0.3s ease; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1); position: relative; z-index: 2; }
.faq-answer-content { padding: 0 24px 20px 89px; color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; line-height: 1.5; position: relative; font-weight: 300; transition: color 0.3s ease; }
.faq-item:hover .faq-answer-content, .faq-item.active .faq-answer-content { color: rgba(255, 255, 255, 0.85); }
.faq-answer-content p { margin: 0; }

/* =========================================
   12. BLOG SECTION
========================================= */
.blog-section { 
    background-color: #0b1366; 
    background-image: 
        linear-gradient(30deg, rgba(24, 170, 244, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(24, 170, 244, 0.06) 87.5%, rgba(24, 170, 244, 0.06)), 
        linear-gradient(150deg, rgba(24, 170, 244, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(24, 170, 244, 0.06) 87.5%, rgba(24, 170, 244, 0.06)), 
        linear-gradient(30deg, rgba(24, 170, 244, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(24, 170, 244, 0.06) 87.5%, rgba(24, 170, 244, 0.06)), 
        linear-gradient(150deg, rgba(24, 170, 244, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(24, 170, 244, 0.06) 87.5%, rgba(24, 170, 244, 0.06)), 
        linear-gradient(60deg, rgba(24, 170, 244, 0.03) 25%, transparent 25.5%, transparent 75%, rgba(24, 170, 244, 0.03) 75%, rgba(24, 170, 244, 0.03)), 
        linear-gradient(60deg, rgba(24, 170, 244, 0.03) 25%, transparent 25.5%, transparent 75%, rgba(24, 170, 244, 0.03) 75%, rgba(24, 170, 244, 0.03)); 
    background-size: 60px 105px; 
    background-position: 0 0, 0 0, 30px 52.5px, 30px 52.5px, 0 0, 30px 52.5px;
    background-attachment: fixed;
    box-shadow: inset 0 80px 80px -20px rgba(0,0,0,0.6), inset 0 -80px 80px -20px rgba(0,0,0,0.6);
    padding: 100px 0; 
    position: relative; 
    z-index: 10; 
    overflow: hidden; 
}

.blog-section::before {
    content: ''; position: absolute; top: -10%; left: -5%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.15) 0%, transparent 60%);
    filter: blur(60px); z-index: 0; pointer-events: none; border-radius: 50%;
}

.blog-section::after {
    content: ''; position: absolute; bottom: -10%; right: -5%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(24, 170, 244, 0.12) 0%, transparent 60%);
    filter: blur(60px); z-index: 0; pointer-events: none; border-radius: 50%;
}
.blog-decor-grid { top: 10%; right: 5%; }
.blog-decor-line { top: 40%; left: 5%; }

.blog-container { 
    max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; 
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.blog-header { text-align: center; margin-bottom: 50px; }
.blog-tag {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(173, 255, 47, 0.1); border: 1px solid rgba(173, 255, 47, 0.2); border-radius: 100px;
    font-size: 0.75rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--color-cta-main); margin-bottom: 20px; box-shadow: 0 4px 15px rgba(173, 255, 47, 0.05);
}
.blog-header h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: #ffffff; margin: 0 0 16px 0; letter-spacing: -0.02em; }
.blog-header h2::before {
    content: ''; display: inline-block; width: 10px; height: 10px; background: var(--color-cta-turquoise); 
    border-radius: 50%; margin-right: 14px; transform: translateY(-4px); opacity: 0.85; box-shadow: 0 0 10px rgba(0, 255, 213, 0.4);
}
.blog-header p { font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); max-width: 600px; margin: 0 auto; font-weight: 300; }

.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.blog-card {
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

.blog-card:hover {
    transform: translateY(-6px); border-color: rgba(0, 255, 213, 0.25); border-top-color: rgba(0, 255, 213, 0.45);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 0 15px rgba(0, 255, 213, 0.1);
}

.blog-card-img-wrapper { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.05); }

.blog-category {
    position: absolute; top: 12px; left: 12px; background: rgba(6, 11, 81, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(24, 170, 244, 0.3); color: #ffffff; padding: 4px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; z-index: 2;
}

.blog-card-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-content h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin: 0 0 12px 0; line-height: 1.3; }
.blog-card-content h3 a { color: #ffffff; text-decoration: none; transition: color 0.3s ease; }
.blog-card:hover .blog-card-content h3 a { color: var(--color-cta-turquoise); }

.blog-card-content p { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; line-height: 1.5; margin: 0 0 20px 0; flex-grow: 1; font-weight: 300; }

.blog-read-more { 
    display: inline-flex; align-items: center; gap: 6px; color: var(--color-interactive);
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; transition: all 0.3s ease; margin-top: auto;
}
.blog-read-more i { transition: transform 0.3s ease; }
.blog-read-more:hover { color: var(--color-cta-turquoise); }
.blog-read-more:hover i { transform: translateX(4px); }

/* =========================================
   13. MICRO-DECORACIONES
========================================= */
.faq-visual-column h2::before {
    content: ''; display: inline-block; width: 6px; height: 0.8em; 
    background: var(--color-cta-main); margin-right: 12px; border-radius: 4px; 
    transform: translateY(4px); opacity: 0.85; box-shadow: 0 0 10px rgba(173, 255, 47, 0.3);
}

.gradient-text { position: relative; }
.gradient-text::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px;
    background: var(--color-cta-main); opacity: 0.5; box-shadow: 0 0 8px rgba(173, 255, 47, 0.4); border-radius: 2px;
}

.highlighted-stat { text-shadow: 0 0 20px rgba(0, 255, 213, 0.15), 0 0 10px rgba(173, 255, 47, 0.1); }
.bento-card .glossary-icon i { filter: drop-shadow(0 0 8px rgba(0, 255, 213, 0.25)); }

.faq-num { box-shadow: inset 0 0 10px rgba(0, 255, 213, 0.08); }
.faq-item:hover .faq-num, .faq-item.active .faq-num { box-shadow: 0 0 15px rgba(0, 255, 213, 0.15), inset 0 0 10px rgba(0, 255, 213, 0.15); }
.stat-img-element { filter: drop-shadow(0 0 12px rgba(0, 255, 213, 0.15)); }

.bento-card, .faq-visual-card { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.bento-card:hover { border-color: rgba(173, 255, 47, 0.25); border-top-color: rgba(173, 255, 47, 0.45); }
.faq-item:hover, .faq-item.active { border-color: rgba(0, 255, 213, 0.2); border-left: 2px solid var(--color-cta-turquoise); }

.micro-decor-grid-bg {
    position: absolute; width: 140px; height: 140px;
    background-image: radial-gradient(var(--color-cta-turquoise) 1.5px, transparent 1.5px);
    background-size: 20px 20px; opacity: 0.07; z-index: 1; pointer-events: none;
}
.micro-decor-line {
    position: absolute; width: 1px; height: 120px;
    background: linear-gradient(to bottom, transparent, var(--color-cta-main), transparent);
    opacity: 0.15; z-index: 1; pointer-events: none;
}

/* =========================================
   14. SITE FOOTER (PREMIUM)
========================================= */
.site-footer { 
    background: linear-gradient(135deg, rgba(50, 55, 70, 0.3) 0%, rgba(15, 20, 30, 0.5) 100%); 
    backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
    padding: 40px 0 20px; position: relative; z-index: 10; 
    border-top: 1px solid rgba(24, 170, 244, 0.15); color: rgba(255, 255, 255, 0.65); 
    font-family: var(--font-body); overflow: hidden; box-shadow: 0 -20px 40px rgba(0,0,0,0.4);
}

.site-footer::after {
    content: ''; position: absolute; inset: 0;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.008) 0px, rgba(255,255,255,0.008) 1px, transparent 1px, transparent 10px);
    background-size: 24px 24px, 100% 100%;
    z-index: 1; pointer-events: none; opacity: 0.9;
}

.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; 
    background: linear-gradient(90deg, transparent 0%, rgba(24, 170, 244, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(24, 170, 244, 0.6); opacity: 0.9; z-index: 2;
}

.footer-glow {
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 300px; background: radial-gradient(circle, rgba(24, 170, 244, 0.08) 0%, transparent 60%);
    filter: blur(50px); z-index: 0; pointer-events: none;
}

.footer-container { 
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 30px; margin-bottom: 24px; position: relative; z-index: 3; 
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-col h3 { 
    color: #ffffff; font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; 
    margin: 0 0 16px 0; letter-spacing: 0.1em; text-transform: uppercase; 
    position: relative; display: inline-block;
}

.footer-col h3::after {
    content: ''; position: absolute; bottom: -8px; left: 0;
    width: 24px; height: 2px; background: var(--color-interactive); border-radius: 2px;
    box-shadow: 0 0 8px rgba(24, 170, 244, 0.4);
}

.footer-col p { font-size: 0.85rem; line-height: 1.7; margin: 0 0 12px 0; max-width: 320px; color: rgba(255, 255, 255, 0.7); }

.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

.footer-list a { 
    color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 0.85rem; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: inline-flex; align-items: center; gap: 10px; 
}

.footer-list a:hover { color: #ffffff; transform: translateX(6px); }

.footer-socials { display: flex; gap: 16px; margin-top: 12px; }
.footer-socials a { 
    display: inline-flex; align-items: center; justify-content: center; color: #ffffff; font-size: 1.6rem; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); text-decoration: none; opacity: 0.9;
}
.footer-socials a:hover { 
    color: var(--color-interactive); transform: translateY(-3px) scale(1.1); opacity: 1;
    filter: drop-shadow(0 0 10px rgba(24, 170, 244, 0.6));
}

.footer-bottom { 
    max-width: 1200px; margin: 0 auto; 
    border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; 
    justify-content: center; align-items: center; font-size: 0.85rem; 
    position: relative; z-index: 3;
    padding: 16px 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-copyright { color: rgba(255, 255, 255, 0.5); letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.7rem; font-weight: 600;}

/* =========================================
   15. GLOBAL RESPONSIVE MEDIA QUERIES
========================================= */

@media (min-width: 1440px) {
    .bento-card.main h3 { font-size: 2.8rem; }
}

@media (min-width: 1025px) {
    .nav-container, .hero-layout-grid, .portals-grid, .platform-overview-container,
    .stats-inner-container, .stats-glass-wrapper, .preview-container, .gallery-container,
    .qanty-contact-container, .faq-container, .blog-container, .footer-container, .footer-bottom {
        width: 100%;
        max-width: 1200px;
    }
}

@media (min-width: 601px) {
    .bento-card.main, .bento-card.wide { flex-direction: column; justify-content: flex-end; align-items: stretch; }
    .bento-card.main .bento-overlay, .bento-card.wide .bento-overlay {
        background: linear-gradient(to top, rgba(2, 3, 15, 0.98) 0%, rgba(4, 7, 28, 0.85) 15%, transparent 65%);
    }
    .bento-card.main .glossary-content, .bento-card.wide .glossary-content {
        width: 100%; min-width: 100%; max-width: 100%; justify-content: flex-end; padding: 40px; 
    }
}

@media (max-width: 1440px) { 
    .blog-container { max-width: 1400px; } 
}

@media (max-width: 1024px) {
    .top-wave-transition svg { height: 120px; } 
    .bento-grid-custom { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
        grid-auto-rows: auto; 
        align-items: stretch;
    }
    .bento-card { height: 100%; } 
    .bento-card.main, .bento-card.tall, .bento-card.wide { 
        grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; min-height: 260px; 
    }
    .bento-card.square { grid-column: span 1; grid-row: auto; min-height: 260px; }
    .footer-container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero-layout-grid { display: flex; flex-direction: column; padding-top: 40px; gap: 40px; }
    .hero-content-left { align-items: center; text-align: center; margin-bottom: 2rem; }
    .hero-tag-badge { margin: 0 auto 20px auto; }
    .hero-main-section p { margin: 0 auto 30px auto; }
    
    .platform-overview-container { grid-template-columns: 1fr; gap: 50px; }
    .mockup-wrapper, .platform-features-content { grid-column: span 1; }
    .mockup-wrapper.multi-device-mockup { margin-top: 60px; }
    .queue-hologram-globe { top: 25%; left: 50%; width: clamp(300px, 60vw, 400px); height: clamp(300px, 60vw, 400px); }
    
    .portals-grid { grid-template-columns: repeat(2, 1fr); max-width: 800px; gap: 24px; }
    .glass-panel { grid-column: span 2; }
    
    .stats-glass-bar { grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 30px; }
    .stat-item:nth-child(2):after, .stat-item:nth-child(4):after { display: none; }
    
    .bento-grid-custom { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .bento-card.main { grid-column: span 2; }
    .bento-card.tall { grid-column: span 2; aspect-ratio: 16 / 9; }
    .bento-card.wide { grid-column: span 2; }
    .bento-card.square { grid-column: span 1; }
    
    .qanty-contact-split-card { grid-template-columns: 1fr; }
    .qanty-contact-info-side { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding: 50px 40px; }
    .qanty-contact-form-side { padding: 50px 40px; }

    .faq-container { grid-template-columns: 1fr; }
    .faq-visual-column { grid-column: span 1; position: relative; top: 0; }
    .faq-list { grid-column: span 1; }
}

@media (max-width: 900px) {
    .stats-grid-layout { grid-template-columns: 1fr; }
    .stats-content-left .section-header, .stats-content-left .actions-wrapper { text-align: center; }
}

@media (max-width: 768px) {
    .hero-main-section { padding: 80px 0 0; }
    .mockup-composition-wrapper { transform: scale(0.7); margin-bottom: -110px; left: 15px; }
    
    .whatsapp-float { width: 55px; height: 55px; bottom: 20px; right: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
    .whatsapp-float img { width: 30px; height: 30px; }

    .nav-toggle { display: block; position: relative; z-index: 3001; }

    .portals-grid { grid-template-columns: 1fr; max-width: 500px; gap: 1.5rem; }
    .glass-panel { grid-column: span 1; min-height: 220px; padding: 1.75rem; }
    .text-gradient-turno, .text-gradient-cita { font-size: 2.25rem; }
    .watermark-icon { font-size: 140px; }

    .stats-glass-bar { grid-template-columns: 1fr !important; gap: 25px; padding: 30px; }
    .stat-item:after { display: none !important; } 
    .stat-item-inner { justify-content: flex-start; width: 100%; }

    .implementation-gallery-section { margin-top: -30px; margin-bottom: -30px; }
    .gallery-item { width: 75vw; }
    .gallery-track { gap: 16px; }

    .queue-hologram-globe { width: clamp(240px, 55vw, 300px); height: clamp(240px, 55vw, 300px); }

    .qanty-contact-section { padding: 130px 0 80px; }
    .qanty-contact-info-side, .qanty-contact-form-side { padding: 40px 20px; }
    .qanty-contact-form { grid-template-columns: 1fr; }
    .qanty-contact-form-group--full-width { grid-column: span 1; }
    .qanty-contact-info-content h2 { font-size: 2rem; }
    .qanty-contact-orb { display: none; }

    .faq-container { gap: 40px; }
    .faq-item:hover, .faq-item.active { transform: translateY(-4px); }
    .faq-question { padding: 20px; font-size: 1.05rem; flex-direction: column; align-items: flex-start; gap: 15px; }
    .faq-question-main { width: 100%; gap: 12px; }
    .faq-icon-wrapper { align-self: flex-end; margin-left: 0; }
    .faq-answer-content { padding: 0 20px 20px 20px; }

    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(4, 8, 58, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; justify-content: flex-start; align-items: flex-start;
        padding: 100px 24px 40px; transition: right 0.4s ease; z-index: 3000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-menu.active { right: 0; }
    .nav-menu.active .nav-item > a.nav-link:not(.login-btn) { display: flex; font-size: 18px; margin-bottom: 0; }
}

@media (max-width: 600px) {
    .features-hero-section { padding-top: 100px; margin-top: -100px; }
    
    .stat-item { min-width: 100%; }
    .clients-bar { padding-top: 40px; padding-bottom: 40px; }
    .clients-track { gap: 40px; }
    .client-logo-item img { height: 30px; }
    .highlighted-stat { font-size: 2.2rem; }
    .stats-glass-bar { padding: 20px; gap: 20px; }

    .unified-experience-section { padding-top: 100px; padding-bottom: 100px; }
    .bento-grid-custom { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 16px; }
    .bento-card.main, .bento-card.square, .bento-card.tall, .bento-card.wide { 
        grid-column: span 1 !important; grid-row: auto !important; min-height: 240px; aspect-ratio: auto;
    }
    .bento-card .glossary-content { padding: 24px; width: 100% !important; }
    .bento-card.main h3 { font-size: 1.8rem; }

    .blog-grid { grid-template-columns: 1fr; }

    .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: left; }
    .footer-col h3::after { left: 0; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-main-section h1 { font-size: 28px; line-height: 1.2; }
    .hero-main-section p { font-size: 15px; line-height: 1.5; padding: 0; }
    .hero-actions .btn-primary-action { padding: 15px 35px; font-size: 14px; }
    .mockup-composition-wrapper { transform: scale(0.62); margin-bottom: -140px; left: 12px; }
    
    .portals-grid { gap: 16px; }
    .glass-panel { padding: 20px; min-height: 190px; }
    .text-gradient-turno, .text-gradient-cita { font-size: 1.8rem; }
    .action-btn { max-width: 100%; font-size: 0.9rem; }
    
    .bento-card { padding: 10px; min-height: 220px; }
    .bento-card .glossary-content { padding: 14px; margin: 0; }
    .bento-card h4 { font-size: 1.3rem; }
    
    .faq-question { padding: 15px; font-size: 1rem; }
    .faq-num { width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 360px) {
    .mockup-composition-wrapper { transform: scale(0.55); margin-bottom: -160px; left: 10px; }
}