:root {
  --bg-core: #020202;
  --text-solid: #f5f5f7;
  --text-muted: #86868b;
  --glass-bg: rgba(12, 12, 14, 0.15);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-blur: blur(16px);
  --led-color: #ffffff;
  --led-glow: rgba(255, 255, 255, 0.85);
  --led-red: #ff002b;
  --max-width: 1100px;
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  background-color: var(--bg-core);
  color: var(--text-solid);
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.no-js .boot-screen {
  display: none;
}

.boot-timeout .boot-screen {
  display: none !important;
}

.no-js .ui-reveal,
.no-js .ui-card,
.no-js .hero-visual,
.boot-timeout .ui-reveal,
.boot-timeout .ui-card,
.boot-timeout .hero-visual {
  opacity: 1 !important;
  transform: none !important;
}

.no-js .glass-nav,
.boot-timeout .glass-nav {
  opacity: 1 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--led-red);
  outline-offset: 4px;
}

section[id],
article[id] {
  scroll-margin-top: 140px;
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: none;
}

.boot-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--bg-core);
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
  will-change: transform;
}

.boot-panel-top {
  top: 0;
  transform-origin: top;
}

.boot-panel-bottom {
  bottom: 0;
  transform-origin: bottom;
}

.boot-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--led-red);
  box-shadow: 0 0 15px var(--led-red);
  transform: translate(-50%, -50%) scaleX(0);
  transform-origin: center;
  will-change: transform;
  z-index: 10000;
  animation: bootLineProgress 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bootLineProgress {
  0% {
    transform: translate(-50%, -50%) scaleX(0);
  }
  100% {
    transform: translate(-50%, -50%) scaleX(0.5);
  }
}

.is-loaded .boot-panel-top {
  transform: translateY(-100%);
}

.is-loaded .boot-panel-bottom {
  transform: translateY(100%);
}

.is-loaded .boot-line {
  transform: translate(-50%, -50%) scaleX(1) scaleY(0);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.cookie-consent {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(92vw, 620px);
  padding: 18px;
  color: var(--text-solid);
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-button {
  min-height: 42px;
  padding: 0 16px;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  background: var(--led-red);
  border: 1px solid rgba(255, 0, 43, 0.5);
  border-radius: 999px;
}

.cookie-button.ghost {
  color: var(--text-solid);
  background: transparent;
  border-color: var(--glass-border);
}

.glyph-chassis {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.glyph-svg {
  width: 100vw;
  height: 100vh;
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.led-segment {
  fill: none;
  stroke: var(--led-color);
  stroke-width: 18;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.05;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
  transform: translate3d(0, 0, 0);
  will-change: opacity;
}

.led-pulse {
  animation: ledPulse 3.2s ease-in-out infinite;
}

.led-sync {
  animation: ledSync 2.8s ease-in-out infinite;
}

.led-strobe {
  animation: ledStrobe 4s steps(1, end) infinite;
}

.led-fast {
  animation: ledFast 2.2s ease-in-out infinite;
}

.led-redline {
  stroke: var(--led-red);
  stroke-width: 18;
  stroke-linecap: round;
  opacity: 0.15;
  filter: drop-shadow(0 0 25px rgba(255, 0, 43, 0.5));
  transform: translate3d(0, 0, 0);
  will-change: opacity;
  animation: redlineBeat 2.4s ease-in-out infinite;
}

.led-strobe-red {
  stroke: var(--led-red) !important;
  filter: drop-shadow(0 0 15px rgba(255, 0, 43, 0.6)) !important;
  transform: translate3d(0, 0, 0);
  animation: redlineBlink 1.8s steps(1, end) infinite;
}

/* bootLine keyframes replaced by bootLineProgress */

@keyframes ledPulse {
  0%,
  100% {
    opacity: 0.08;
  }

  18% {
    opacity: 0.95;
  }

  34% {
    opacity: 0.12;
  }
}

@keyframes ledSync {
  0%,
  100% {
    opacity: 0.05;
  }

  36% {
    opacity: 0.8;
  }

  45% {
    opacity: 0.08;
  }
}

@keyframes ledStrobe {
  0%,
  8%,
  12% {
    opacity: 0.95;
  }

  4%,
  10%,
  100% {
    opacity: 0.08;
  }
}

@keyframes ledFast {
  0%,
  100% {
    opacity: 0.05;
  }

  42% {
    opacity: 0.6;
  }
}

@keyframes redlineBeat {
  0%,
  100% {
    opacity: 0.15;
  }

  8%,
  16% {
    opacity: 1;
  }

  12%,
  24% {
    opacity: 0.12;
  }
}

@keyframes redlineBlink {
  0%,
  8% {
    opacity: 1;
  }

  9%,
  100% {
    opacity: 0.15;
  }
}

.glass-nav {
  position: fixed;
  top: 32px;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(90%, var(--max-width));
  height: 90px;
  padding: 0 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateX(-50%) translateZ(0);
  backdrop-filter: var(--glass-blur) saturate(200%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(200%);
  transition: opacity 0.8s var(--ease-apple);
}

.glass-nav.is-visible {
  opacity: 1;
}

.brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 72px;
}

.nav-logo {
  position: relative;
  z-index: 1001;
  width: 72px;
  height: 72px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s var(--ease-apple);
}

.nav-logo:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  flex: 0 0 auto;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Language Dropdown Container */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

/* Trigger Pill Capsule Button */
.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.lang-dropdown-trigger:hover,
.lang-dropdown.is-active .lang-dropdown-trigger {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-solid);
}

.globe-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.3s;
}

.lang-dropdown-trigger:hover .globe-icon,
.lang-dropdown.is-active .globe-icon {
  color: var(--text-solid);
}

.chevron-icon {
  width: 10px;
  height: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s;
}

.lang-dropdown-trigger:hover .chevron-icon,
.lang-dropdown.is-active .chevron-icon {
  color: var(--text-solid);
  transform: rotate(180deg);
}

/* Dropdown Menu */
.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(13, 13, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px;
  min-width: 130px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.9) rotate(-3deg);
  transform-origin: top right;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1100;
}

.lang-dropdown.is-active .lang-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1) rotate(0deg);
}

/* Dropdown Items */
.lang-dropdown-item {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  text-align: left;
  transition: all 0.2s;
}

.lang-dropdown-item:hover,
.lang-dropdown-item:focus {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-solid);
}

.lang-dropdown-item.active {
  color: var(--text-solid);
  background: rgba(255, 0, 43, 0.08);
  border-left: 2px solid #ff002b;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-left: 10px;
}

.lang-separator-dot {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.6rem;
  user-select: none;
}

.m-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 100px;
  margin-top: 32px;
}

.m-lang-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 2px 6px;
  transition: color 0.2s;
}

.m-lang-link:hover,
.m-lang-link.active {
  color: var(--text-solid);
}

.menu-toggle {
  z-index: 1001;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-solid);
  transform-origin: right center;
  transition: 0.3s var(--ease-apple);
}

.menu-toggle span:nth-child(2) {
  width: 16px;
  align-self: flex-end;
}

.menu-toggle.active span:nth-child(1) {
  width: 24px;
  transform: rotate(-45deg) scaleX(1.1);
}

.menu-toggle.active span:nth-child(2) {
  width: 24px;
  transform: rotate(45deg) scaleX(1.1);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12%;
  visibility: hidden;
  background: rgba(2, 2, 2, 0.88);
  opacity: 0;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: opacity 0.35s var(--ease-apple), visibility 0.35s var(--ease-apple);
}

.mobile-menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-links-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
}

.m-link {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(25px);
  transition: color 0.2s var(--ease-apple), opacity 0.3s var(--ease-apple), transform 0.3s var(--ease-apple);
  will-change: transform, opacity;
}

.mobile-menu-overlay.is-open .m-link {
  opacity: 1;
  transform: translateY(0);
}

.m-link span {
  color: var(--led-red);
  font-size: 0.9rem;
  font-weight: 500;
}

.m-link:hover,
.m-link.active {
  color: var(--text-solid);
}

.layout-wrapper {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 6%;
}

.viewport-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
  padding: clamp(84px, 12vh, 140px) 0;
}

.viewport-section.is-compact-hero {
  min-height: 70dvh;
  padding-top: 20vh;
  padding-bottom: 10vh;
}

.viewport-section.is-tight-top {
  padding-top: 24px;
}

.viewport-section.is-auto-height {
  min-height: auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  min-height: 100dvh;
  padding: clamp(80px, 12vh, 140px) 0;
}

.hero-copy {
  max-width: 850px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  opacity: 1;
}

.hero-visual::before {
  position: absolute;
  width: min(30vw, 360px);
  aspect-ratio: 1;
  content: '';
  background: radial-gradient(circle, rgba(255, 0, 43, 0.32), rgba(255, 0, 43, 0.07) 44%, transparent 72%);
  filter: blur(20px);
  opacity: 0.88;
}

.hero-mockup-wrap {
  position: relative;
  width: min(33vw, 450px);
  min-width: 320px;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(145deg, #2a2a2c, #080809 62%, #1b1b1d);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  box-shadow:
    0 34px 92px rgba(0, 0, 0, 0.72),
    0 18px 70px rgba(255, 0, 43, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -18px 34px rgba(255, 255, 255, 0.04);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}

.hero-mockup-wrap::after {
  position: absolute;
  inset: 8px;
  content: '';
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 23px;
}

.ipad-camera {
  position: absolute;
  top: 50%;
  left: 7px;
  z-index: 2;
  width: 5px;
  height: 44px;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transform: translateY(-50%);
}

.bw-body {
  position: relative;
  overflow: hidden;
  height: 286px;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 0, 43, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 0, 43, 0.14), transparent 38%),
    #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.72);
}

.bw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bw-logo {
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.bw-logo span,
.bw-nav-links span:last-child {
  color: var(--led-red);
}

.bw-nav-links {
  display: flex;
  gap: 9px;
}

.bw-nav-links span {
  color: #666666;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bw-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 8px 14px;
  padding: 16px 16px 14px;
}

.bw-tag {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 0;
  color: var(--led-red);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bw-tag-dot,
.bw-live-dot {
  width: 7px;
  height: 7px;
  background: var(--led-red);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 0, 43, 0.7);
}

.bw-h1 {
  margin-bottom: 0;
  color: #f5f5f5;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.bw-h1 em {
  color: var(--led-red);
  font-style: normal;
}

.bw-sub {
  max-width: 245px;
  margin-bottom: 0;
  color: #a5a5aa;
  font-size: 0.56rem;
  line-height: 1.45;
}

.bw-cta {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  width: max-content;
  padding: 7px 12px;
  margin-bottom: 0;
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 800;
  background: var(--led-red);
  border-radius: 999px;
}

.bw-metrics {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 4;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-bottom: 0;
}

.bw-mcard,
.bw-chart {
  position: relative;
  overflow: hidden;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.bw-mcard {
  padding: 8px;
}

.bw-mcard::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: '';
  background: var(--led-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-apple);
}

.bw-mcard.bw-loaded::before {
  transform: scaleX(1);
}

.bw-mlabel,
.bw-chart-title {
  margin-bottom: 5px;
  color: #a0a0a5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bw-mvalue {
  color: #f0f0f0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.bw-unit {
  color: #888888;
  font-family: 'Inter', sans-serif;
  font-size: 0.5rem;
  font-weight: 500;
}

.bw-mdelta {
  margin-top: 4px;
  color: #22c55e;
  font-size: 0.46rem;
  font-weight: 800;
}

.bw-charts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 0;
}

.bw-chart {
  padding: 10px;
}

.bw-bars {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 36px;
}

.bw-bar-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.bw-bar {
  width: 100%;
  height: 0;
  background: rgba(255, 0, 43, 0.24);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  will-change: transform;
}

.bw-bar.bw-active {
  background: var(--led-red);
}

.bw-bar-wrap small,
.bw-fi span,
.bw-fi b {
  color: #666666;
  font-size: 0.42rem;
}

.bw-chart:nth-child(2),
.bw-live {
  display: none;
}

.bw-funnel {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bw-fi {
  display: grid;
  grid-template-columns: 42px 1fr 26px;
  gap: 7px;
  align-items: center;
}

.bw-fi div {
  height: 16px;
  overflow: hidden;
  background: #1f1f1f;
  border-radius: 3px;
}

.bw-fi i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--led-red);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s var(--ease-apple);
  will-change: transform;
}

.bw-live {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 12px;
  margin-top: 14px;
  color: #666666;
  font-size: 0.62rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bw-live strong {
  color: #22c55e;
}

.bw-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  display: none;
  width: 6px;
  height: 6px;
  pointer-events: none;
  background: var(--led-red);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 0, 43, 0.22);
  will-change: transform;
}

.services-copy {
  max-width: 900px;
}

.apple-headline {
  margin-bottom: 24px;
  color: var(--text-solid);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-apple), transform 0.9s var(--ease-apple);
}

.apple-headline span {
  color: var(--led-red);
}

.section-title {
  margin-bottom: 60px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.contact-title {
  margin-bottom: 24px;
  font-size: clamp(2rem, 5vw, 4rem);
  opacity: 1;
  transform: none;
}

.apple-paragraph {
  max-width: 650px;
  margin-bottom: 48px;
  color: var(--text-muted);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-apple), transform 0.9s var(--ease-apple);
}

.ui-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.services-page .apple-paragraph {
  max-width: 600px;
}

/* Optimización de tamaño en secciones Hero para evitar desbordes y garantizar visibilidad del CTA */
.hero-section .apple-headline,
.services-copy .apple-headline {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-section .apple-paragraph,
.services-copy .apple-paragraph {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin-bottom: 28px;
  max-width: 600px;
}

.bento-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.span-3 {
  grid-column: span 3;
}

.span-2 {
  grid-column: span 2;
}

.glass-panel,
.glass-panel-large {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(40px);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
}

.ui-card.is-visible {
  opacity: 1;
  transform: none;
}

.glass-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.5vw, 40px);
}

.glass-panel-large {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
  padding: 60px;
}

.glass-panel-large.is-centered {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.panel-tag {
  display: block;
  margin-bottom: 32px;
  color: var(--led-red);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.services-page .panel-tag {
  margin-bottom: 24px;
}

.glass-panel h3 {
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Custom Bento Card SVG Visual Styles */
.card-visual {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  opacity: 0.75;
  transition: transform 0.4s var(--ease-apple), opacity 0.4s var(--ease-apple);
}

.service-svg {
  width: 90px;
  height: 90px;
  transition: filter 0.4s var(--ease-apple);
}

.glass-panel:hover .card-visual {
  transform: scale(1.06) translateY(-4px);
  opacity: 1;
}

.glass-panel:hover .service-svg {
  filter: drop-shadow(0 0 10px rgba(255, 0, 43, 0.35));
}

.glass-panel p {
  flex-grow: 1;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.5;
}

.glass-panel-large h2 {
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.service-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-details p,
.contact-panel-copy {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-panel-copy {
  max-width: 500px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
}

.contact-panel {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  scroll-margin-top: 170px;
}

.contact-intro {
  max-width: 620px;
  margin: -6px 0 32px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.service-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  margin-bottom: 16px;
  color: var(--text-solid);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-list li::before {
  color: var(--led-red);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  content: '>';
}

.learn-more-link {
  display: inline-block;
  align-self: flex-start;
  padding-bottom: 4px;
  color: var(--text-solid);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.learn-more-link:hover {
  color: var(--led-red);
  border-bottom-color: var(--led-red);
}

.action-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: var(--led-red);
  border: none;
  border-radius: 100px;
  transition: transform 0.2s var(--ease-apple), filter 0.2s;
}

.services-page .action-trigger {
  font-size: 1rem;
}

.action-trigger:hover {
  filter: drop-shadow(0 0 20px rgba(255, 0, 43, 0.34));
  transform: scale(1.02);
}

.action-trigger:active {
  transform: scale(0.96);
}

.form-control {
  width: 100%;
  padding: 20px 0;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 1.1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.form-note.is-success {
  color: #f5f5f7;
}

.form-note.is-error {
  color: var(--led-red);
}

.action-trigger[disabled] {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.full-width {
  width: 100%;
}

.site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding: 60px 6% 40px;
  margin-top: 10vh;
  background: linear-gradient(to top, rgba(2, 2, 2, 1) 0%, rgba(2, 2, 2, 0) 100%);
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
}

.footer-logo {
  height: 48px;
  object-fit: contain;
}

.footer-contact {
  color: var(--text-solid);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact:hover {
  color: var(--led-red);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  padding-top: 24px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .footer-contact {
  justify-self: start;
}

.footer-bottom p:not(.powered-by) {
  justify-self: center;
  text-align: center;
}

.footer-bottom .powered-by {
  justify-self: end;
  text-align: right;
}

.powered-by {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.powered-by span {
  color: var(--led-red);
  font-weight: 800;
}

.footer-social {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s var(--ease-apple), transform 0.3s var(--ease-apple);
}

.footer-social a:hover {
  color: var(--text-solid);
  transform: scale(1.15);
}

@media (max-width: 820px) {
  .glass-nav {
    top: 20px;
    height: 75px;
    padding: 0 20px;
    border-radius: 20px;
  }

  .nav-logo {
    width: 45px;
    height: 45px;
  }

  .brand-mark {
    width: 54px;
    height: 45px;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-direction: column-reverse;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .bento-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .span-3,
  .span-2 {
    grid-column: span 1 !important;
  }

  .glass-panel {
    padding: 40px 24px;
  }

  .glass-panel-large {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 40px 24px;
  }

  .services-page .apple-headline {
    font-size: clamp(2.4rem, 13vw, 4.2rem);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    gap: 16px;
    margin-top: 20px;
  }
}

@media (max-width: 1180px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
    margin-top: 10px;
  }

  .hero-mockup-wrap {
    width: min(72vw, 390px);
    min-width: 0;
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  }
}

@media (max-width: 820px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: clamp(100px, 12vh, 140px);
    padding-bottom: 40px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    display: flex;
    margin-top: 32px;
    min-height: auto;
    width: 100%;
    justify-content: center;
    transform: translateZ(0); /* GPU acceleration */
  }

  .hero-mockup-wrap {
    width: min(88vw, 340px);
    min-width: 0;
    transform: perspective(800px) rotateX(8deg) rotateY(-6deg) rotateZ(2deg) scale(0.85);
    transform-origin: center top;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .boot-screen {
    display: none !important;
  }

  .glass-nav {
    opacity: 1 !important;
  }

  .ui-reveal,
  .ui-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--led-red);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  z-index: 10000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.3s var(--ease-apple);
  box-shadow: 0 4px 20px rgba(255, 0, 43, 0.4);
}

.skip-link:focus {
  top: 20px;
  outline: none;
}

.rgpd-container a:hover,
.footer-contact:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
