﻿/* ==============================================
   HRC SYSTEM  Landing Page · Festival Edition
   Inspirado en: Tomorrowland · Bilbao BBK Live
   Paleta: negro profundo + electrico azul/cian
   Tipografia: Syne (display) + Inter (cuerpo)
   ============================================== */

/*  RESET  */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #060610;
  --bg-2:       #0b0b1f;
  --bg-3:       #10102a;
  --surface:    rgba(255,255,255,.04);
  --surface-2:  rgba(255,255,255,.07);
  --border:     rgba(255,255,255,.08);
  --border-2:   rgba(255,255,255,.14);

  --electric:   #00d4ff;
  --electric-2: #0099e6;
  --glow:       rgba(0,212,255,.2);
  --glow-lg:    rgba(0,212,255,.35);
  --purple:     #7b2ff7;
  --purple-dim: rgba(123,47,247,.25);
  --gold:       #f5c842;
  --green:      #00ff88;

  --white:      #ffffff;
  --grey-1:     rgba(255,255,255,.85);
  --grey-2:     rgba(255,255,255,.55);
  --grey-3:     rgba(255,255,255,.30);

  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --transition: .22s cubic-bezier(.4,0,.2,1);

  --font-display:  'Syne', sans-serif;
  --font-body:     'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--grey-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

/*  BUTTONS  */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 17px 36px; font-size: 16px; }

.btn-glow {
  background: var(--electric);
  color: var(--bg);
  border-color: var(--electric);
}
.btn-glow:hover {
  background: #33dfff;
  box-shadow: 0 0 32px var(--glow-lg), 0 0 64px var(--glow);
  transform: translateY(-2px);
}

.btn-ghost-glow {
  background: transparent;
  color: var(--white);
  border-color: var(--border-2);
}
.btn-ghost-glow:hover {
  border-color: var(--electric);
  color: var(--electric);
  box-shadow: 0 0 20px var(--glow);
}

/*  NAVBAR  */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  transition: background var(--transition), border var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(6,6,16,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--electric);
  letter-spacing: .05em;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-2);
  letter-spacing: .15em;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-2);
  border-radius: 7px;
  letter-spacing: .02em;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--white); background: var(--surface); }

/* ── Lang switcher ───────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font: 600 11px/1 var(--font-body, 'Inter', sans-serif);
  letter-spacing: .06em;
  padding: 5px 8px;
  cursor: pointer;
  transition: all .2s;
}
.lang-btn:hover {
  border-color: var(--electric);
  color: var(--electric);
}
.lang-btn--active {
  border-color: var(--electric);
  color: var(--electric);
  background: rgba(0, 212, 255, .08);
}

/* lang-switcher--nav-mobile: oculto en desktop (clase legacy, ya no se usa) */
.lang-switcher--nav-mobile { display: none; }

.nav-cta {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-nav-login {
  padding: 9px 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: .03em;
}
.btn-nav-login:hover { color: var(--white); border-color: var(--grey-3); }

.btn-nav-demo {
  padding: 9px 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  background: var(--electric);
  color: var(--bg);
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: .03em;
}
.btn-nav-demo:hover {
  background: #33dfff;
  box-shadow: 0 0 20px var(--glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 28px 24px;
  border-top: 1px solid var(--border);
  background: rgba(6,6,16,.97);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 0;
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--grey-2);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
  letter-spacing: .03em;
}
.mobile-menu a:hover { color: var(--electric); }
.mobile-login {
  margin-top: 16px;
  padding: 13px 0 !important;
  color: var(--electric) !important;
  border-bottom: none !important;
}

/*  HERO  */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 28px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, #0b0b2e 0%, var(--bg) 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-orb--1 {
  width: 700px; height: 700px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,212,255,.12) 0%, transparent 70%);
}
.hero-orb--2 {
  width: 500px; height: 500px;
  bottom: 0; right: -150px;
  background: radial-gradient(circle, rgba(123,47,247,.15) 0%, transparent 70%);
}
.hero-orb--3 {
  width: 400px; height: 400px;
  top: 30%; left: -100px;
  background: radial-gradient(circle, rgba(0,153,230,.08) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--electric);
  margin-bottom: 36px;
  letter-spacing: .04em;
}
.tag-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,136,.5); }
  50% { opacity: .6; box-shadow: 0 0 0 5px transparent; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-em {
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--electric) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--grey-2);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  margin-top: 70px;
  padding: 28px 48px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  border-bottom: none;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 700px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 32px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--electric);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--grey-3);
  font-weight: 500;
  margin-top: 5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  height: 44px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-3);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--grey-3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/*  SECTIONS BASE  */
.section { padding: 110px 0; }

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

.section-chip {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--electric);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-chip--dark {
  background: rgba(255,255,255,.06);
  border-color: var(--border-2);
  color: var(--grey-2);
}
.section-chip--light {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.section-chip--gold {
  background: rgba(245,200,66,.1);
  border-color: rgba(245,200,66,.35);
  color: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.section-title--light { color: var(--white); }

.section-title-left {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.section-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--grey-2);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.section-sub--light { color: rgba(255,255,255,.65); }

.text-glow {
  color: var(--electric);
  text-shadow: 0 0 40px rgba(0,212,255,.5);
}
.text-glow-gold {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(245,200,66,.4);
}

/*  PROBLEMAS  */
.problems-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.problem-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.problem-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.problem-card:hover::before { opacity: 1; }
.problem-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  color: rgba(0,212,255,.07);
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -0.04em;
}
.problem-icon-box { font-size: 36px; margin-bottom: 16px; }
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.problem-card p { font-size: 15px; color: var(--grey-2); line-height: 1.7; margin-bottom: 24px; }
.problem-solution {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(0,255,136,.06);
  border: 1px solid rgba(0,255,136,.15);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}
.sol-icon { font-weight: 800; font-size: 15px; }

/*  MODULOS  */
.modules-section { background: var(--bg); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.mod-card:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  transform: translateY(-3px);
}
.mod-icon { font-size: 28px; margin-bottom: 14px; }
.mod-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.mod-card p { font-size: 14px; color: var(--grey-2); line-height: 1.65; }

.mod-card--hero {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(0,212,255,.12) 0%, rgba(123,47,247,.12) 100%);
  border-color: rgba(0,212,255,.25);
  overflow: hidden;
  position: relative;
}
.mod-card-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,212,255,.1) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(123,47,247,.1) 0%, transparent 50%);
  pointer-events: none;
}
.mod-card-content { position: relative; z-index: 1; }
.mod-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--electric);
  color: var(--bg);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.mod-icon-lg { font-size: 40px; margin-bottom: 16px; }
.mod-card--hero h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.mod-card--hero p { font-size: 15px; color: var(--grey-2); line-height: 1.7; margin-bottom: 20px; }
.mod-features { display: flex; flex-direction: column; gap: 8px; }
.mod-features li {
  font-size: 14px;
  color: var(--grey-1);
  padding-left: 20px;
  position: relative;
}
.mod-features li::before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--electric);
  font-weight: 700;
}

@media (max-width: 900px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .mod-card--hero { grid-column: span 2; }
}
@media (max-width: 580px) {
  .modules-grid { grid-template-columns: 1fr; }
  .mod-card--hero { grid-column: span 1; }
}

/*  APK  */
.apk-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.apk-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  align-items: center;
}
.apk-sub {
  font-size: 17px;
  color: var(--grey-2);
  line-height: 1.7;
  margin-bottom: 36px;
}
.apk-features { display: flex; flex-direction: column; gap: 20px; }
.apk-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.apk-feat-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.apk-feat div { display: flex; flex-direction: column; gap: 4px; }
.apk-feat strong { font-size: 15px; font-weight: 600; color: var(--white); }
.apk-feat span { font-size: 14px; color: var(--grey-2); line-height: 1.55; }

/* --- APK Roles block --- */
.apk-roles-block {
  margin-top: 32px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.apk-roles-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.apk-roles-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.apk-roles-header strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.apk-roles-header span {
  font-size: 13px;
  color: var(--grey-2);
  line-height: 1.5;
}
.apk-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.apk-role-card {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.apk-role-card--special {
  border-color: rgba(123,47,247,.35);
  background: rgba(123,47,247,.06);
}
.apk-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--electric);
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.apk-role-badge--green {
  color: var(--green);
  background: rgba(0,255,136,.08);
  border-color: rgba(0,255,136,.2);
}
.apk-role-badge--purple {
  color: #c084fc;
  background: rgba(123,47,247,.12);
  border-color: rgba(123,47,247,.3);
}
.apk-role-custom {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: none;
  color: #c084fc;
  opacity: .9;
}
.apk-role-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.apk-role-card ul li {
  font-size: 12px;
  font-weight: 500;
}
.apk-role-card ul li.active {
  color: var(--white);
}
.apk-role-card ul li.inactive {
  color: var(--grey-3);
  opacity: .5;
}
.apk-roles-note {
  font-size: 12px;
  color: var(--grey-3);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.apk-visual { position: relative; display: flex; justify-content: center; }

.phone-frame {
  width: 210px;
  background: #0d0d1a;
  border: 1.5px solid rgba(0,212,255,.2);
  border-radius: 40px;
  padding: 14px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0,212,255,.05);
}
.phone-notch {
  width: 60px;
  height: 8px;
  background: #1a1a2e;
  border-radius: 100px;
  margin: 0 auto 14px;
}
.phone-screen {
  background: #0b0b20;
  border-radius: 24px;
  overflow: hidden;
}
.screen-header {
  background: var(--bg);
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--grey-3);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.screen-body { padding: 24px 16px; text-align: center; }

.nfc-area {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nfc-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--electric);
  animation: nfc-expand 2.4s ease-out infinite;
}
.nfc-ring--1 { width: 100%; height: 100%; animation-delay: 0s; }
.nfc-ring--2 { width: 68%; height: 68%; animation-delay: .7s; }
.nfc-ring--3 { width: 38%; height: 38%; animation-delay: 1.4s; }
@keyframes nfc-expand {
  0% { opacity: .9; transform: scale(.9); }
  100% { opacity: 0; transform: scale(1.2); }
}
.nfc-core {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--electric);
  letter-spacing: .1em;
  position: relative;
  z-index: 1;
}

.screen-status {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  letter-spacing: .05em;
}
.screen-status--ok {
  background: rgba(0,255,136,.1);
  color: var(--green);
  border: 1px solid rgba(0,255,136,.2);
}
.screen-name { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.screen-meta { font-size: 11px; color: var(--grey-3); }

.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0,212,255,.25) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .apk-layout { grid-template-columns: 1fr; }
  .apk-visual { margin-top: 40px; }
}

/*  DISPOSITIVOS  */
.devices-section { background: var(--bg-2); border-top: 1px solid var(--border); }

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

.device-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .25s, transform .25s;
}
.device-card:hover {
  border-color: rgba(0,212,255,.35);
  transform: translateY(-4px);
}
.device-icon {
  font-size: 2rem;
  line-height: 1;
}
.device-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.device-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.device-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.device-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: rgba(0,212,255,.07);
  border: 1px solid rgba(0,212,255,.18);
  color: var(--electric);
  border-radius: 6px;
  padding: 3px 9px;
  width: fit-content;
}

/* Bloque personalización */
.devices-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 72px;
  background: linear-gradient(135deg, rgba(245,200,66,.06) 0%, rgba(123,47,247,.06) 100%);
  border: 1px solid rgba(245,200,66,.18);
  border-radius: 20px;
  padding: 52px 48px;
}
.devices-custom-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
}
.devices-custom-text > p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 24px;
}
.devices-custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.devices-custom-list li {
  font-size: .9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.devices-check {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 1px;
}

/* Visual zonas de acceso */
.devices-custom-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.devices-zones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.devices-zone {
  background: rgba(255,255,255,.04);
  border-left: 4px solid var(--zone-color, #00d4ff);
  border-radius: 0 10px 10px 0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background .2s;
}
.devices-zone::before {
  content: '';
  width: 32px;
  height: 18px;
  background: var(--zone-color, #00d4ff);
  border-radius: 4px;
  opacity: .85;
  flex-shrink: 0;
}
.devices-zone-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .03em;
}
.devices-zones-caption {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  opacity: .7;
}

@media (max-width: 1100px) {
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
  .devices-custom { grid-template-columns: 1fr; gap: 36px; padding: 36px 28px; }
}
@media (max-width: 600px) {
  .devices-grid { grid-template-columns: 1fr; }
}

/*  API  */
.api-section {
  background: linear-gradient(180deg, #06060f 0%, #0a0a1e 100%);
  position: relative;
  overflow: hidden;
}
.api-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 15% 50%, rgba(123,47,247,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 85% 50%, rgba(0,212,255,.06) 0%, transparent 60%);
  pointer-events: none;
}

.api-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.api-card {
  padding: 36px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.api-card:hover { border-color: var(--border-2); }
.api-card--accent {
  background: rgba(0,212,255,.06);
  border-color: rgba(0,212,255,.2);
}
.api-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(0,212,255,.15);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.api-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.api-card p { font-size: 14px; color: var(--grey-2); line-height: 1.7; margin-bottom: 24px; }

.code-block {
  background: rgba(0,0,0,.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.code-block code {
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  color: var(--electric);
  line-height: 1.7;
  white-space: pre-wrap;
}

.api-endpoints { display: flex; flex-direction: column; gap: 8px; }
.endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--grey-1);
}
.method {
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: .04em;
}
.method.get { background: rgba(0,255,136,.15); color: var(--green); }
.method.post { background: rgba(0,212,255,.15); color: var(--electric); }

@media (max-width: 900px) {
  .api-options { grid-template-columns: 1fr; }
}

/*  SECTORES  */
.sectors-section { background: var(--bg-2); border-top: 1px solid var(--border); }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sector-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.sector-card:hover {
  background: var(--surface-2);
  border-color: rgba(0,212,255,.2);
  transform: translateY(-3px);
}
.sector-emoji { font-size: 32px; display: block; margin-bottom: 14px; }
.sector-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sector-card p { font-size: 14px; color: var(--grey-2); line-height: 1.6; }

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

/*  IMPLEMENTACION  */
.impl-section { background: var(--bg); }
.impl-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.impl-step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  padding: 0 20px;
}
.impl-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--electric);
  letter-spacing: .12em;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(0,212,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.impl-step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.impl-step p { font-size: 14px; color: var(--grey-2); line-height: 1.6; }
.impl-arrow {
  font-size: 20px;
  color: var(--border-2);
  padding-top: 12px;
  flex-shrink: 0;
  align-self: flex-start;
}
@media (max-width: 768px) {
  .impl-arrow { display: none; }
  .impl-steps { gap: 28px; }
}

/*  PARTNERS / COLABORADORES  */
.partners-section { background: var(--bg); border-top: 1px solid var(--border); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.partner-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s, transform .25s;
}
.partner-card:hover {
  border-color: rgba(0,212,255,.35);
  transform: translateY(-4px);
}
.partner-card--accent {
  background: linear-gradient(145deg, rgba(245,200,66,.07) 0%, rgba(123,47,247,.08) 100%);
  border-color: rgba(245,200,66,.3);
}
.partner-card--accent:hover { border-color: rgba(245,200,66,.6); }

.partner-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.partner-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.partner-card p {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.partner-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.partner-list li {
  font-size: .88rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.partner-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--electric);
  font-weight: 700;
}
.partner-card--accent .partner-list li::before { color: var(--gold); }

.partners-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 52px;
  text-align: center;
}
.partners-cta-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

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

/*  CTA  */
.cta-section { background: var(--bg-2); border-top: 1px solid var(--border); }
.cta-block {
  position: relative;
  background: linear-gradient(135deg, rgba(0,212,255,.08) 0%, rgba(123,47,247,.08) 100%);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  overflow: hidden;
}
.cta-glow-1 {
  position: absolute;
  width: 400px; height: 400px;
  top: -100px; right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,47,247,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 17px;
  color: var(--grey-2);
  margin-bottom: 44px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-contacts {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.contact-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.contact-pill:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(0,212,255,.3);
}
.cp-icon { font-size: 22px; }
.contact-pill div {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}
.contact-pill strong {
  font-size: 11px;
  color: var(--grey-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-pill span {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cta-block { padding: 48px 28px; }
  .cta-contacts { flex-direction: column; align-items: stretch; }
}

/*  FOOTER  */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  align-items: flex-start;
}
.footer-brand {
  flex: 1;
  min-width: 200px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--grey-3);
  line-height: 1.6;
  max-width: 220px;
}
.footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--grey-3);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--electric); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--grey-3);
}

/* ===========================
   SCREENS / CAPTURAS
   =========================== */

.screens-section .section-sub { max-width: 580px; margin: 0 auto; }

.screens-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 48px;
  flex-wrap: wrap;
}
.screens-tab {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--grey-2);
  cursor: pointer;
  transition: all var(--transition);
}
.screens-tab:hover {
  border-color: rgba(0,212,255,.4);
  color: var(--white);
}
.screens-tab.sc-active {
  background: rgba(0,212,255,.08);
  border-color: var(--electric);
  color: var(--electric);
}

.screens-panel { display: none; }
.screens-panel.sc-active { display: block; }

/* --- Dashboard cliente panel --- */
.sc-client-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(0,212,255,.05);
  border: 1px solid rgba(0,212,255,.14);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 40px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.sc-client-intro-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.sc-client-intro strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.sc-client-intro span {
  font-size: 14px;
  color: var(--grey-2);
  line-height: 1.65;
}

.sc-client-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.sc-cap-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.sc-cap-card:hover {
  border-color: rgba(0,212,255,.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,.35), 0 0 20px rgba(0,212,255,.06);
}
.sc-cap-card--accent {
  border-color: rgba(123,47,247,.3);
  background: rgba(123,47,247,.05);
}
.sc-cap-card--accent:hover {
  border-color: rgba(123,47,247,.5);
  box-shadow: 0 16px 44px rgba(0,0,0,.35), 0 0 24px rgba(123,47,247,.1);
}
.sc-cap-icon {
  font-size: 26px;
  margin-bottom: 14px;
}
.sc-cap-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.sc-cap-card p {
  font-size: 13px;
  color: var(--grey-2);
  line-height: 1.65;
}

/* --- Phones row (portal asistente) --- */
.phones-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 8px 36px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,212,255,.2) transparent;
}
.sc-phone {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(.91) translateY(14px);
  transition: transform .4s ease;
}
.sc-phone:hover,
.sc-phone--featured { transform: scale(1) translateY(0); }

.sc-phone-frame {
  width: 180px;
  background: #0d0d1a;
  border: 1.5px solid rgba(0,212,255,.18);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(0,212,255,.04);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.sc-phone:hover .sc-phone-frame,
.sc-phone--featured .sc-phone-frame {
  border-color: rgba(0,212,255,.45);
  box-shadow: 0 32px 80px rgba(0,0,0,.65), 0 0 40px rgba(0,212,255,.1);
}
.sc-phone-notch {
  width: 48px;
  height: 6px;
  background: #1a1a2e;
  border-radius: 100px;
  margin: 0 auto 10px;
}
.sc-phone-frame img {
  width: 100%;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}
.sc-caption {
  font-size: 13px;
  color: var(--grey-2);
  text-align: center;
  font-weight: 500;
}

/* --- Modules grid --- */
.modules-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 8px 0;
}
.sc-module-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.sc-module-card:hover {
  border-color: rgba(0,212,255,.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0,0,0,.4), 0 0 28px rgba(0,212,255,.07);
}
.sc-module-img {
  height: 220px;
  overflow: hidden;
  background: #08081a;
}
.sc-module-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
.sc-module-card:hover .sc-module-img img { transform: scale(1.05); }
.sc-module-info { padding: 20px 22px; }
.sc-module-info h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sc-module-info p {
  font-size: 13px;
  color: var(--grey-2);
  line-height: 1.6;
}

/* --- APK layout --- */
.sc-apk-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 840px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.sc-apk-phone { display: flex; justify-content: center; }
.sc-phone-frame--lg {
  width: 230px;
  border-radius: 44px;
  padding: 16px;
  border-color: rgba(123,47,247,.35);
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 60px rgba(123,47,247,.1);
}
.sc-phone-frame--lg img { border-radius: 28px; }
.sc-apk-desc h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.sc-apk-desc > p {
  color: var(--grey-2);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.sc-apk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sc-apk-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--grey-1);
  line-height: 1.55;
}
.sc-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.sc-apk-modules-head {
  text-align: center;
  margin: 56px 0 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.sc-apk-modules-head h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sc-apk-modules-head p {
  font-size: 14px;
  color: var(--grey-2);
}

/*  RESPONSIVE  */
@media (max-width: 768px) {
  .nav-inner {
    gap: 8px;
    padding: 0 16px;
  }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .lang-switcher {
    display: flex !important;
    gap: 3px;
    margin-left: auto;
  }
  .lang-switcher .lang-btn {
    padding: 4px 6px;
    font-size: 10px;
  }
  .lang-switcher--mobile { display: none; }
  .lang-switcher--nav-mobile { display: none; }
  .hamburger { display: flex; }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-stats {
    flex-direction: column;
    padding: 20px 24px;
    gap: 8px;
  }
  .stat { padding: 10px 0; }
  .stat-sep { width: 60px; height: 1px; }

  .problems-grid { grid-template-columns: 1fr; }
  .apk-roles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 72px 0; }
  /* hero-title usa clamp(1.6rem, 8vw, ...) — el vw ya gestiona el tamaño en móvil */
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { width: 100%; }
  .modules-screens-grid { grid-template-columns: 1fr; }
  .sc-phone-frame { width: 148px; border-radius: 28px; }
  .sc-phone-notch { width: 36px; }
  .sc-phone-frame img { border-radius: 16px; }
  .phones-row { gap: 10px; }
}

@media (max-width: 900px) {
  .modules-screens-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-apk-layout { grid-template-columns: 1fr; gap: 36px; }
  .sc-apk-phone { justify-content: center; }
  .sc-client-caps { grid-template-columns: 1fr; }
}

/* ========================
   MODAL DEMO
======================== */
.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 6, 16, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.demo-overlay.demo-open {
  opacity: 1;
  pointer-events: all;
}
.demo-modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid rgba(0, 212, 255, .18);
  border-radius: 24px;
  padding: 48px 48px 40px;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 80px rgba(0,212,255,.08);
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  scrollbar-width: thin;
  scrollbar-color: rgba(0,212,255,.2) transparent;
}
.demo-overlay.demo-open .demo-modal {
  transform: translateY(0) scale(1);
}
.demo-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: none;
  border: none;
  color: var(--grey-2);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.demo-close:hover { color: var(--white); background: rgba(255,255,255,.07); }

/* Head */
.demo-modal-head { margin-bottom: 36px; }
.demo-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--electric);
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.demo-modal-head h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.demo-modal-head p {
  color: var(--grey-2);
  font-size: 15px;
  line-height: 1.6;
}

/* Form */
.demo-form { display: flex; flex-direction: column; gap: 20px; }
.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.demo-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.demo-field--full { grid-column: 1 / -1; }
.demo-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-1);
  letter-spacing: .03em;
}
.demo-field input,
.demo-field select,
.demo-field textarea {
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  box-sizing: border-box;
}
.demo-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300d4ff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.demo-field select option { background: var(--bg-3); color: var(--white); }
.demo-field textarea { resize: vertical; min-height: 100px; }
.demo-field input::placeholder,
.demo-field textarea::placeholder { color: rgba(255,255,255,.25); }
.demo-field input:focus,
.demo-field select:focus,
.demo-field textarea:focus {
  border-color: rgba(0,212,255,.5);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}
.demo-field input.demo-error,
.demo-field select.demo-error,
.demo-field textarea.demo-error {
  border-color: rgba(255,80,80,.55);
  box-shadow: 0 0 0 3px rgba(255,80,80,.1);
}
.demo-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}
.demo-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.demo-submit-icon { font-size: 13px; transition: transform .2s; }
.demo-submit:hover .demo-submit-icon { transform: translateX(4px); }
.demo-legal {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  line-height: 1.55;
  margin: 0;
}

/* Success state */
.demo-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 10px;
  gap: 14px;
}
.demo-success.demo-show { display: flex; }
.demo-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,255,136,.12);
  border: 2px solid rgba(0,255,136,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--green);
}
.demo-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.demo-success p {
  color: var(--grey-2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 380px;
}

/* Responsive modal */
@media (max-width: 600px) {
  .demo-modal { padding: 36px 24px 32px; border-radius: 18px; }
  .demo-row { grid-template-columns: 1fr; }
  .demo-modal-head h2 { font-size: 1.6rem; }
  .demo-actions { align-items: stretch; }
  .demo-submit { justify-content: center; width: 100%; }
}
