/* ==========================================================================
   DISEÑO DE EXPERIENCIA E INTERFACES DIGITALES (UI/UX) — Peak Site Studio
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }

/* ===== VARIABLES ===== */
:root {
  --primary: #0a0f2c;
  --accent: #00d4ff;
  --accent2: #0099ff;
  --bg-light: #f8fafd;
  --bg-dark: #0a0f2c;
  --text-light: #1e2937;
  --text-dark: #f1f5f9;
  --text-soft-light: #64748b;
  --text-soft-dark: #94a3b8;
  --card-bg-light: #ffffff;
  --card-bg-dark: rgba(255,255,255,0.06);
  --border-light: #e2e8f0;
  --border-dark: rgba(255,255,255,0.12);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  font-weight: 400;
}
body.dark { background: var(--bg-dark); color: var(--text-dark); }

.container { width: 90%; max-width: 1100px; margin: auto; }
section { padding: 80px 0; }

/* ===== HEADER / NAV ===== */
.header {
  position: sticky; top: 0; z-index: 9999;
  background: rgba(255,255,255,0.95);
  padding: 15px 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
body.dark .header {
  background: rgba(10,15,44,0.95);
  border-bottom: 1px solid var(--border-dark);
}
.nav { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 15px; }
nav { display: flex; align-items: center; gap: 15px; flex: 1; justify-content: flex-end; }
nav a { text-decoration: none; color: var(--primary); font-weight: 600; }
body.dark nav a { color: #fff; }

.logo { height: 28px; width: auto; flex-shrink: 0; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.05); }
.brand { display: flex; align-items: center; gap: 5px; text-decoration: none; color: inherit; }
.brand-name {
  font-weight: 700; font-size: 16px; letter-spacing: 0; line-height: 1; color: inherit;
}
body.dark .brand-name {
  background: linear-gradient(90deg,#ffffff,#a0b8ff);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== THEME BUTTON ===== */
.theme-toggle {
  height: 32px; width: 32px;
  border: 1px solid var(--border-light);
  border-radius: 6px; background: none; cursor: pointer;
  transition: 0.3s; color: var(--primary);
}
body.dark .theme-toggle { border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.theme-toggle:hover { background: rgba(0,212,255,0.08); }

/* ===== LANG SWITCH ===== */
.lang-switch { position: relative; display: inline-block; margin-left: 12px; z-index: 100; }
.lang-current {
  display: flex !important; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 10px;
  background: #0f1629; color: #fff;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  border: 2px solid transparent !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
  transition: all 0.2s ease !important; outline: none !important;
}
.lang-current:hover {
  background: #1a2338 !important;
  border: 2px solid #00d4ff !important;
  box-shadow: 0 0 0 4px rgba(0,212,255,0.25), 0 6px 20px rgba(0,212,255,0.45) !important;
}
.lang-switch:hover .lang-current { border: 2px solid transparent !important; box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important; }
.lang-menu {
  position: absolute; top: 100%; right: 0; margin-top: 0;
  background: #1f252f; border: 1px solid #444; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: none; min-width: 180px; padding: 8px 0; z-index: 9999;
}
.lang-switch:hover .lang-menu { display: block; }
.flag-wrapper { display: inline-flex; padding: 2px; background: transparent; border: none; }
.lang-current img, .lang-option img { width: 26px; height: 17px; object-fit: cover; border-radius: 3px; }
.arrow { font-size: 19px; line-height: 1; color: #fff; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; color: #eee; text-decoration: none; font-size: 15px;
}
.lang-option:hover { background: #2a323f; }

/* ===== MEGA MENU ===== */
.desktop-nav { flex: 1; display: flex; gap: 10px; justify-content: flex-end; }
.nav-right { display: flex; align-items: center; gap: 15px; }
.nav-item { position: relative; display: inline-block; }
.nav-link {
  text-decoration: none; color: inherit; font-weight: 600;
  padding: 12px 14px !important; border-radius: 8px;
  transition: background 0.25s ease;
  display: inline-flex; align-items: center; gap: 4px;
  height: 46px; line-height: 1;
}
.nav-link:hover { background: rgba(0,212,255,0.08); }
.chevron { font-size: 0.68em; transition: transform 0.3s ease; position: relative; top: -1px; }
.desktop-nav a {
  display: inline-flex !important; align-items: center !important;
  height: 46px !important; padding: 12px 14px !important;
}
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 15px; opacity: 0; visibility: hidden;
  transition: all 0.3s ease; z-index: 10000; pointer-events: none; width: 100vw;
}
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.mega-menu-content {
  background: white; border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.22);
  border: 1px solid #e2e8f0;
  margin: 0 auto; max-width: 1180px; width: 95%; padding: 50px 48px;
}
body.dark .mega-menu-content { background: #0f1629; border-color: rgba(255,255,255,0.09); }
.mega-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 52px; }
.mega-column { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.mega-column h4 {
  font-size: 14.8px; font-weight: 700; color: #00d4ff;
  margin-bottom: 28px; letter-spacing: 0.5px;
  text-transform: uppercase; line-height: 1.25; flex-shrink: 0;
}
.mega-column a {
  display: block; padding: 2px 6px;
  color: var(--text-light); text-decoration: none;
  font-size: 15.4px; line-height: 1.4; flex-shrink: 0;
}
body.dark .mega-column a { color: var(--text-dark); }
.mega-column a:hover { color: #00d4ff; padding-left: 12px; }
@media (max-width: 991px) { .mega-menu { display: none !important; } }

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none; background: none; border: none;
  font-size: 34px; color: var(--primary); cursor: pointer; padding: 5px 10px;
}
body.dark .mobile-menu-btn { color: #fff; }
.mobile-menu {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(4px);
  z-index: 9999999; display: none; justify-content: flex-end;
}
.mobile-menu.active { display: flex; }
.mobile-menu-links {
  position: fixed !important; top: 0 !important; right: 0 !important;
  width: 82vw !important; max-width: 300px !important; height: 100vh !important;
  padding: 80px 25px 40px 30px !important;
  background: #0a0f2c !important; z-index: 9999999999 !important;
}
.close-menu-btn {
  position: fixed; top: 18px; right: 18px; font-size: 32px; color: #fff;
  background: rgba(0,0,0,0.4); border: none; border-radius: 8px;
  padding: 6px 10px; cursor: pointer; z-index: 9999999999 !important;
}
.mobile-link {
  display: block; color: #fff; font-size: 1.1rem; padding: 16px 0;
  text-align: left; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:active { background: rgba(0,212,255,0.12); }

@media (max-width: 991px) {
  .desktop-nav, .nav-right, .header .lang-switch { display: none !important; }
  .mobile-menu-btn { display: block; }
  .header { position: relative; z-index: 100; }
  .mobile-menu { z-index: 999999 !important; }
  .mobile-menu-links { z-index: 1000000 !important; box-shadow: -15px 0 40px rgba(0,0,0,0.5); }
  .close-menu-btn { z-index: 1000001 !important; }
  body.menu-open { overflow: hidden; }
  .mobile-theme-btn {
    display: block !important; height: 38px; width: 38px;
    font-size: 1.2rem; margin-left: 8px;
    position: relative !important; z-index: 999999 !important; pointer-events: auto !important;
  }
  .desktop-only.nav-right { display: none !important; }
  .theme-toggle.mobile-theme-btn {
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1); color: #fff;
  }
  body.light .theme-toggle.mobile-theme-btn {
    border-color: var(--border-light); background: rgba(0,0,0,0.08); color: var(--primary);
  }
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-btn, .mobile-theme-btn { display: none !important; }
}

/* Mobile lang */
@media (max-width: 991px) {
  .mobile-lang-container { margin-top: 35px; padding-top: 25px; border-top: 1px solid rgba(128,128,128,0.15); display: flex; justify-content: center; }
  .mobile-lang-switch { position: relative; width: 100%; max-width: 200px; }
  .mobile-lang-switch .lang-current {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; padding: 12px 20px;
    background: rgba(128,128,128,0.08); border-radius: 10px;
    font-weight: 600; font-size: 1rem; cursor: pointer; transition: background 0.3s ease;
  }
  body.dark .mobile-lang-switch .lang-current { background: rgba(255,255,255,0.06); }
  .mobile-lang-switch .arrow { font-size: 0.8rem; transition: transform 0.3s ease; }
  .mobile-lang-switch.active .arrow { transform: rotate(180deg); }
  .mobile-lang-switch .lang-menu {
    display: none; background: rgba(128,128,128,0.05); border-radius: 10px;
    margin-top: 8px; overflow: hidden; border: 1px solid rgba(128,128,128,0.1);
  }
  body.dark .mobile-lang-switch .lang-menu { background: rgba(255,255,255,0.03); }
  .mobile-lang-switch.active .lang-menu { display: block; }
  .mobile-lang-switch .lang-option {
    display: flex; align-items: center; gap: 12px; padding: 14px 20px;
    color: inherit; text-decoration: none; font-size: 0.95rem; font-weight: 500;
    transition: background 0.2s ease;
  }
  .mobile-lang-switch .lang-option:not(:last-child) { border-bottom: 1px solid rgba(128,128,128,0.08); }
  .mobile-lang-switch .lang-option:hover { background: rgba(128,128,128,0.12); }
  .mobile-lang-switch .flag-wrapper { display: inline-flex; align-items: center; width: 20px; }
  .mobile-lang-switch .flag-wrapper img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
}

/* Lang light mode */
body:not(.dark) .header .lang-current {
  background: #fff !important; color: #0a0f2c !important;
  border: 2px solid transparent !important;
  box-shadow: 0 8px 25px rgba(10,15,44,0.08) !important;
  transition: all 0.3s ease !important;
}
body:not(.dark) .header .lang-current .arrow { color: #0a0f2c !important; }
body:not(.dark) .lang-current:hover,
body:not(.dark) .lang-switch:hover .lang-current {
  background: #fff !important; border: 2px solid #00d4ff !important;
  box-shadow: 0 0 0 4px rgba(0,212,255,0.2), 0 10px 30px rgba(0,212,255,0.35) !important;
}
body:not(.dark) .lang-menu {
  background: #fff !important; border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 15px 40px rgba(10,15,44,0.1) !important; padding: 6px 0 !important;
}
body:not(.dark) .lang-menu .lang-option { color: #1e2937 !important; font-weight: 500 !important; }
body:not(.dark) .lang-menu .lang-option:hover { background: #f1f5f9 !important; color: #0099ff !important; }

/* ===== FOOTER ===== */
.footer-pro {
  background: #080b14; color: #aaa;
  padding: 80px 0 40px; margin: 0;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 40px; margin-bottom: 50px;
}
.footer-pro h4 { color: white; margin-bottom: 15px; font-size: 14px; }
.footer-pro a {
  display: block; text-decoration: none; color: #888;
  font-size: 14px; margin-bottom: 10px; transition: 0.3s;
}
.footer-pro a:hover { color: #00d4ff; }
.footer-bottom {
  border-top: 1px solid #222; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
body:not(.dark) .footer-pro { background: #f8fafd !important; color: #475569 !important; }
body:not(.dark) .footer-pro h4 { color: #1e2937 !important; }
body:not(.dark) .footer-pro a { color: #64748b !important; }
body:not(.dark) .footer-pro a:hover { color: #0f172a !important; }
body:not(.dark) .footer-bottom { border-top-color: #e2e8f0 !important; color: #64748b !important; }

/* ===== SCROLL REVEAL ===== */
.fade-up, .fade-left, .fade-right {
  opacity: 0; transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25,0.1,0.25,1);
}
.fade-up.visible, .fade-left.visible, .fade-right.visible {
  opacity: 1; transform: translateY(0);
}
.fade-left { transform: translateX(-60px); }
.fade-right { transform: translateX(60px); }
.fade-up.delay { transition-delay: 0.1s; }
.fade-up.delay2 { transition-delay: 0.2s; }
.fade-up.delay3 { transition-delay: 0.3s; }

/* ==========================================================================
   ESTILOS EXCLUSIVOS UI/UX
   ========================================================================== */

.uix-gradient-text {
  background: linear-gradient(90deg,#00d4ff,#0099ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===== HERO ===== */
.uix-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg,#050820 0%,#0a0f2c 50%,#0d1a3d 100%);
  color: #fff; padding: 140px 20px 100px; text-align: center;
}
.uix-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.uix-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: uixFloat 16s ease-in-out infinite;
}
.uix-orb-1 { width: 460px; height: 460px; background: #00d4ff; top: -180px; left: -120px; }
.uix-orb-2 { width: 520px; height: 520px; background: #0099ff; bottom: -220px; right: -160px; animation-delay: -8s; }
.uix-orb-3 { width: 380px; height: 380px; background: #b96bff; top: 30%; left: 55%; opacity: 0.28; animation-delay: -4s; }
@keyframes uixFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px,-40px) scale(1.08); }
}
.uix-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.uix-hero-content { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; }
.uix-badge {
  display: inline-block;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(0,212,255,0.1); color: #00d4ff;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.5px;
  border: 1px solid rgba(0,212,255,0.3);
  margin-bottom: 28px; backdrop-filter: blur(10px);
}
.uix-hero h1 {
  font-family: "Space Grotesk","Inter",sans-serif;
  font-size: 4rem; line-height: 1.05; font-weight: 700;
  color: #fff; margin: 0 0 24px;
}
.uix-hero-sub {
  font-size: 1.2rem; line-height: 1.6;
  color: #cbd5e1 !important; max-width: 720px; margin: 0 auto 40px;
}
.uix-hero-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary {
  background: linear-gradient(90deg,#00f5ff,#0099ff);
  color: #0a0f2c; padding: 18px 44px; border-radius: 60px;
  font-size: 1.05rem; font-weight: 700; text-decoration: none;
  display: inline-block; transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,212,255,0.35);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,245,255,0.45); }
.uix-ghost-btn {
  padding: 17px 32px; border-radius: 60px;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff; text-decoration: none; font-weight: 600;
  transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.uix-ghost-btn:hover { border-color: #00d4ff; color: #00d4ff; transform: translateY(-3px); }

/* Mock Browser */
.uix-mock-window {
  max-width: 780px; margin: 30px auto 0;
  background: #0f1629;
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,212,255,0.35),
              0 0 0 1px rgba(255,255,255,0.05) inset;
  text-align: left;
}
.uix-mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.uix-dot { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.uix-dot:nth-child(2) { background: #febc2e; }
.uix-dot:nth-child(3) { background: #28c840; }
.uix-url {
  margin-left: 14px; color: #94a3b8; font-size: 0.82rem;
  font-family: "Space Grotesk", monospace;
  background: rgba(255,255,255,0.05); padding: 4px 14px; border-radius: 20px;
}
.uix-mock-body {
  display: grid; grid-template-columns: 70px 1fr;
  gap: 14px; padding: 18px; min-height: 260px; position: relative;
}
.uix-mock-sidebar { display: flex; flex-direction: column; gap: 10px; }
.uix-mock-item {
  height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
}
.uix-mock-item.active { background: linear-gradient(90deg,rgba(0,212,255,0.3),rgba(0,153,255,0.15)); }
.uix-mock-main { display: flex; flex-direction: column; gap: 12px; }
.uix-mock-hero {
  height: 90px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,212,255,0.25), rgba(185,107,255,0.18));
  animation: uixShimmer 3s ease-in-out infinite;
}
.uix-mock-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.uix-mock-card {
  height: 60px; border-radius: 8px;
  background: rgba(255,255,255,0.06);
}
.uix-mock-card:nth-child(2) { background: rgba(0,212,255,0.12); }
.uix-mock-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); }
.uix-mock-line.med { width: 70%; }
.uix-mock-line.short { width: 40%; }
@keyframes uixShimmer {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.7; }
}
.uix-cursor {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: #00d4ff; box-shadow: 0 0 20px #00d4ff;
  animation: uixCursor 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes uixCursor {
  0%   { top: 30%; left: 20%; }
  30%  { top: 60%; left: 55%; }
  60%  { top: 45%; left: 80%; }
  100% { top: 30%; left: 20%; }
}

/* ===== INTRO ===== */
.uix-intro { padding: 100px 0 40px; }
.uix-intro-wrap { max-width: 880px; margin: 0 auto; text-align: center; }
.uix-intro h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem; line-height: 1.2; margin-bottom: 24px; font-weight: 700;
}
.uix-intro p { font-size: 1.15rem; line-height: 1.75; }

/* ===== SECTIONS ===== */
.uix-section { padding: 90px 0; }
.uix-alt { background: rgba(0,212,255,0.03); }
body.dark .uix-alt { background: rgba(0,212,255,0.04); }

.uix-section-head { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.uix-eyebrow {
  display: inline-block; font-size: 0.85rem;
  font-weight: 700; color: #00d4ff;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.uix-section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem; line-height: 1.2; font-weight: 700; margin-bottom: 18px;
}
.uix-lead { font-size: 1.1rem; line-height: 1.7; }

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.split h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.3rem; line-height: 1.2; margin-bottom: 20px; font-weight: 700;
}
.split p { margin-bottom: 16px; font-size: 1.05rem; }

/* ===== PERSONA CARD ===== */
.uix-persona-card {
  background: linear-gradient(145deg,#0f1629 0%,#0a0f2c 100%);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 20px; padding: 30px;
  box-shadow: 0 30px 70px -20px rgba(0,212,255,0.25);
  position: relative; overflow: hidden;
}
.uix-persona-card::before {
  content: ""; position: absolute; top: -50%; right: -50%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(185,107,255,0.15), transparent 60%);
}
.uix-persona-header {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.uix-persona-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(0,212,255,0.1);
  overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(0,212,255,0.3);
}
.uix-persona-avatar svg { width: 100%; height: 100%; display: block; }
.uix-persona-header h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem; margin: 0 0 4px; color: #fff; font-weight: 700;
}
.uix-persona-header p { margin: 0; color: #94a3b8; font-size: 0.88rem; }
.uix-persona-block {
  padding: 14px 0; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.uix-persona-block:last-child { border-bottom: none; }
.uix-persona-label {
  display: inline-block; font-size: 0.7rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: #00d4ff; font-weight: 700; margin-bottom: 6px;
}
.uix-persona-block p { margin: 0; color: #cbd5e1; font-size: 0.95rem; }

/* ===== FEATURES ===== */
.uix-features {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 26px;
}
.uix-feature {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  border-radius: 18px; padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.25,0.1,0.25,1);
  position: relative; overflow: hidden;
}
body.dark .uix-feature { background: var(--card-bg-dark); border-color: var(--border-dark); }
.uix-feature::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 18px; padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(0,212,255,0.4), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s ease;
}
.uix-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -15px rgba(0,212,255,0.25);
  border-color: rgba(0,212,255,0.4);
}
.uix-feature:hover::after { opacity: 1; }
.uix-feature-icon {
  font-size: 1.8rem; margin-bottom: 18px;
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(0,153,255,0.08));
  border: 1px solid rgba(0,212,255,0.2);
}
.uix-feature h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem; margin-bottom: 10px; font-weight: 700;
}
.uix-feature p { font-size: 0.98rem; line-height: 1.6; margin: 0; }

/* ===== SEO GRID ===== */
.uix-seo-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 22px; margin-bottom: 40px;
}
.uix-seo-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px 26px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  transition: all 0.35s ease;
}
body.dark .uix-seo-item { background: var(--card-bg-dark); border-color: var(--border-dark); }
.uix-seo-item:hover { transform: translateX(6px); border-color: rgba(0,212,255,0.4); }
.uix-seo-check {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg,#00d4ff,#0099ff);
  color: #0a0f2c; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,212,255,0.35);
}
.uix-seo-item h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem; margin: 0 0 6px; font-weight: 700;
}
.uix-seo-item p { font-size: 0.95rem; line-height: 1.55; margin: 0; }

.uix-banner {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,153,255,0.05));
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 16px; padding: 26px 34px; text-align: center;
}
.uix-banner p { margin: 0; font-size: 1.08rem; color: var(--text-light); }
body.dark .uix-banner p { color: var(--text-dark); }
.uix-banner strong { color: #00d4ff; }

/* ===== SECURITY LIST ===== */
.uix-sec-list { display: flex; flex-direction: column; gap: 14px; }
.uix-sec-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 22px; border-radius: 14px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  transition: all 0.35s ease;
}
body.dark .uix-sec-row { background: var(--card-bg-dark); border-color: var(--border-dark); }
.uix-sec-row:hover {
  transform: translateX(8px);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 10px 25px -12px rgba(0,212,255,0.3);
}
.uix-sec-icon {
  font-size: 1.4rem; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,153,255,0.08));
  border: 1px solid rgba(0,212,255,0.2);
}
.uix-sec-row p { margin: 0; font-size: 0.98rem; line-height: 1.55; }

/* ===== VALIDATION ===== */
.uix-validation {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 22px;
}
.uix-val-card {
  padding: 30px 26px; border-radius: 18px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
body.dark .uix-val-card { background: var(--card-bg-dark); border-color: var(--border-dark); }
.uix-val-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg,#00d4ff,#0099ff);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.uix-val-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px -15px rgba(0,212,255,0.25); }
.uix-val-card:hover::before { transform: scaleX(1); }
.uix-val-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem; font-weight: 700; color: #00d4ff;
  letter-spacing: 1px; margin-bottom: 12px; display: inline-block;
}
.uix-val-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem; margin-bottom: 10px; font-weight: 700;
}
.uix-val-card p { font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* ===== BENEFITS ===== */
.uix-benefits {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
}
.uix-benefit {
  padding: 28px 26px; border-radius: 16px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  transition: all 0.35s ease;
}
body.dark .uix-benefit { background: var(--card-bg-dark); border-color: var(--border-dark); }
.uix-benefit:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.4); }
.uix-benefit strong {
  display: block; font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem; font-weight: 700; margin-bottom: 8px;
  background: linear-gradient(90deg,#00d4ff,#0099ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.uix-benefit p { font-size: 0.98rem; line-height: 1.55; margin: 0; }

/* ===== FINAL CTA ===== */
.final-cta {
  background: #ffffff; padding: 120px 20px;
  text-align: center; margin: 60px 0 0;
}
body.dark .final-cta {
  background: linear-gradient(135deg,#0d153a,#0a0f2c);
  border-top: 1px solid var(--border-dark);
}
.final-cta-content { max-width: 780px; margin: 0 auto; }
.final-cta h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem; line-height: 1.2; margin-bottom: 24px;
  color: #0a0f2c; font-weight: 700;
}
body.dark .final-cta h2 { color: #fff; }
.final-cta p {
  font-size: 1.2rem; line-height: 1.6;
  color: #475569; max-width: 680px; margin: 0 auto 40px;
}
body.dark .final-cta p { color: #94a3b8; }
.btn-big {
  display: inline-block;
  padding: 18px 44px; font-size: 1.1rem; font-weight: 700;
  border-radius: 50px;
  background: linear-gradient(135deg,#00d4ff,#0099ff);
  color: #0a0f2c; text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,212,255,0.3);
}
.btn-big:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,212,255,0.45); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .uix-features, .uix-benefits { grid-template-columns: repeat(2,1fr); }
  .uix-validation { grid-template-columns: repeat(2,1fr); }
  .uix-seo-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 45px; }
}
@media (max-width: 768px) {
  .uix-hero { padding: 100px 20px 70px; }
  .uix-hero h1 { font-size: 2.3rem; }
  .uix-hero-sub { font-size: 1.02rem; }
  .uix-intro { padding: 60px 0 20px; }
  .uix-intro h2, .uix-section-head h2, .split h2, .final-cta h2 { font-size: 1.75rem !important; }
  .uix-section { padding: 60px 0; }
  .uix-features, .uix-benefits, .uix-validation { grid-template-columns: 1fr; }
  .uix-hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .uix-ghost-btn, .btn-big {
    width: 100%; max-width: 340px; margin: 8px auto; text-align: center; box-sizing: border-box;
  }
  .uix-mock-body { min-height: 200px; grid-template-columns: 50px 1fr; padding: 12px; }
  .uix-mock-hero { height: 60px; }
  .final-cta { padding: 70px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 35px !important; }
  .footer-pro { padding: 60px 20px 40px !important; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ===== HERO - AJUSTE MODO CLARO ===== */
body:not(.dark) .uix-hero {
  background: #ffffff;
  color: var(--text-light);
}

body:not(.dark) .uix-hero h1 {
  color: var(--text-light);
}

body:not(.dark) .uix-hero-sub {
  color: var(--text-soft-light) !important;
}

body:not(.dark) .uix-ghost-btn {
  border: 1.5px solid var(--border-light);
  color: var(--text-light);
}

body:not(.dark) .uix-ghost-btn:hover {
  border-color: #00d4ff;
  color: #0099ff;
}

/* Mockup en modo claro */
body:not(.dark) .uix-mock-window {
  background: #f8fafd;
  border: 1px solid var(--border-light);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.1);
}

body:not(.dark) .uix-mock-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

body:not(.dark) .uix-mock-item {
  background: rgba(0,0,0,0.05);
}

body:not(.dark) .uix-mock-card {
  background: rgba(0,0,0,0.05);
}

body:not(.dark) .uix-mock-line {
  background: rgba(0,0,0,0.05);
}

/* ===== FINAL CTA - AJUSTE MODO CLARO ===== */
body:not(.dark) .final-cta {
  background: #ffffff;
}

body:not(.dark) .final-cta h2 {
  color: var(--text-light);
}

body:not(.dark) .final-cta p {
  color: var(--text-soft-light);
}