/* Reset */
:root {
  --bg-primary: #07090f;
  --bg-secondary: #0d1220;
  --bg-card: rgba(17, 23, 37, 0.72);
  --bg-card-strong: #111725;
  --bg-card-hover: rgba(24, 31, 49, 0.9);
  --accent: #8a7dff;
  --accent-secondary: #3ab8ff;
  --accent-tertiary: #6df1d8;
  --text-primary: #f7faff;
  --text-secondary: #aab7cf;
  --text-muted: #67748d;
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.18);
  --success: #00d98b;
  --warning: #ffc247;
  --shadow-soft: 0 28px 80px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 24px 50px rgba(0, 0, 0, 0.24);
  --shadow-image: 0 10px 36px rgba(0, 0, 0, 0.28);
  --shadow-glow: 0 0 0 1px rgba(58, 184, 255, 0.2), 0 22px 48px rgba(58, 184, 255, 0.12);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1200px, calc(100vw - 40px));
  --body-size: 18px;
  --body-line: 1.8;
}

[data-theme="light"] {
  --bg-primary: #f8fbff;
  --bg-secondary: #edf3ff;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-strong: #ffffff;
  --bg-card-hover: rgba(255, 255, 255, 0.94);
  --accent: #5e52ff;
  --accent-secondary: #0077ff;
  --accent-tertiary: #12c2d6;
  --text-primary: #091120;
  --text-secondary: #425168;
  --text-muted: #6b7a90;
  --border: rgba(12, 20, 40, 0.08);
  --border-hover: rgba(12, 20, 40, 0.16);
  --shadow-soft: 0 24px 80px rgba(35, 88, 188, 0.12);
  --shadow-card: 0 18px 46px rgba(35, 88, 188, 0.1);
  --shadow-image: 0 10px 30px rgba(21, 64, 142, 0.16);
  --shadow-glow: 0 0 0 1px rgba(0, 119, 255, 0.15), 0 18px 42px rgba(0, 119, 255, 0.16);
}

html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition:
    background-color 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    opacity 0.5s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 15% 18%, rgba(58, 184, 255, 0.14), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(138, 125, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #07090f 0%, #0b1020 40%, #0d1220 100%);
  overflow-x: hidden;
}

body > * {
  position: relative;
}

.paper-shader-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  --shader-x: 50%;
  --shader-y: 30%;
  --shader-time: 0;
}

.paper-shader-bg__mesh,
.paper-shader-bg__orb,
.paper-shader-bg__grid {
  position: absolute;
  inset: 0;
}

.paper-shader-bg__mesh {
  background:
    radial-gradient(circle at var(--shader-x) var(--shader-y), rgba(58, 184, 255, 0.16), transparent 20%),
    radial-gradient(circle at calc(75% - (var(--shader-time) * 2%)) 18%, rgba(138, 125, 255, 0.18), transparent 24%),
    radial-gradient(circle at calc(28% + (var(--shader-time) * 1.4%)) 72%, rgba(109, 241, 216, 0.14), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03), transparent 36%);
  filter: blur(18px) saturate(118%);
  opacity: 0.95;
  transform: scale(1.08);
}

.paper-shader-bg__orb {
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.28;
  will-change: transform;
}

.paper-shader-bg__orb--blue {
  top: 12%;
  left: -8%;
  width: 38vw;
  height: 38vw;
  background: radial-gradient(circle, rgba(58, 184, 255, 0.4), transparent 66%);
}

.paper-shader-bg__orb--violet {
  top: 0;
  right: -10%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(138, 125, 255, 0.34), transparent 68%);
}

.paper-shader-bg__orb--aqua {
  right: 8%;
  bottom: 4%;
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(109, 241, 216, 0.26), transparent 68%);
}

.paper-shader-bg__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.82), transparent 92%);
  opacity: 0.45;
  transform: perspective(1200px) rotateX(70deg) scale(1.6) translateY(-10%);
  transform-origin: center top;
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at 15% 18%, rgba(0, 119, 255, 0.14), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(94, 82, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #f1f6ff 40%, #edf3ff 100%);
}

[data-theme="light"] .paper-shader-bg__mesh {
  background:
    radial-gradient(circle at var(--shader-x) var(--shader-y), rgba(0, 119, 255, 0.12), transparent 20%),
    radial-gradient(circle at calc(75% - (var(--shader-time) * 2%)) 18%, rgba(94, 82, 255, 0.14), transparent 24%),
    radial-gradient(circle at calc(28% + (var(--shader-time) * 1.4%)) 72%, rgba(18, 194, 214, 0.12), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 36%);
}

[data-theme="light"] .paper-shader-bg__grid {
  background-image:
    linear-gradient(rgba(9, 17, 32, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 17, 32, 0.05) 1px, transparent 1px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 3px;
}

/* Layout */
.container {
  width: var(--container);
  margin: 0 auto;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 110;
}

.reading-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-tertiary), var(--accent));
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(82, 236, 170, 0.28);
  background: linear-gradient(145deg, rgba(14, 32, 29, 0.94), rgba(8, 22, 18, 0.92));
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(82, 236, 170, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #ecfff6;
  z-index: 95;
  overflow: hidden;
  animation: whatsapp-float-bob 3.2s ease-in-out infinite;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(82, 236, 170, 0.14),
    0 0 28px rgba(54, 214, 141, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.whatsapp-float__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 18% 50%, rgba(82, 236, 170, 0.14), transparent 26%);
  animation: whatsapp-float-pulse 2.8s ease-out infinite;
}

.whatsapp-float__icon,
.whatsapp-float__label {
  position: relative;
  z-index: 1;
}

.whatsapp-float__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(145deg, #2fe07d, #1fbe66);
  color: #062313;
  box-shadow:
    0 10px 24px rgba(37, 193, 111, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.whatsapp-float__icon svg {
  width: 18px;
  height: 18px;
}

.whatsapp-float__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 80;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 0 24px;
  border-radius: 24px;
  border: 1px solid transparent;
  background: rgba(9, 12, 21, 0.32);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

[data-theme="light"] .site-nav {
  background: rgba(255, 255, 255, 0.58);
}

.site-header.is-scrolled .site-nav {
  border-color: var(--border);
  background: color-mix(in srgb, var(--bg-primary) 82%, transparent);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.section-shell {
  padding: 112px 0;
}

.section-divider {
  height: 1px;
  width: 100%;
  margin-bottom: 56px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  transform-origin: left center;
  transform: scaleX(0);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head h2,
.cta-panel h2 {
  margin: 18px 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-head p,
.case-panel p,
.project-card__body p,
.tech-panel p,
.difference-card p,
.cta-panel p,
.footer-card p {
  margin: 0;
  color: var(--text-secondary);
}

/* Components */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand__mark {
  color: var(--accent-secondary);
  font-size: 1.25rem;
}

.brand__text {
  font-size: 1.2rem;
}

.site-nav__links,
.site-nav__actions,
.hero__actions,
.hero__proof,
.tag-row,
.cta-panel__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav__links {
  gap: 24px;
  color: var(--text-secondary);
}

.site-nav__links a {
  transition: color 0.22s ease;
}

.site-nav__links a:hover {
  color: var(--text-primary);
}

.nav-header {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 6px;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card-strong) 76%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  list-style: none;
  isolation: isolate;
}

.nav-header__item {
  position: relative;
  z-index: 1;
}

.nav-header__item a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  mix-blend-mode: normal;
}

.nav-header__cursor {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 0;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent));
  box-shadow: 0 14px 30px rgba(58, 184, 255, 0.22);
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

[data-theme="light"] .nav-header {
  background: color-mix(in srgb, #ffffff 84%, transparent);
}

[data-theme="light"] .nav-header__item a {
  color: var(--text-primary);
}

.performance-toggle,
.theme-toggle,
.menu-toggle,
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card-strong) 86%, transparent);
  color: var(--text-primary);
  cursor: pointer;
}

.performance-toggle {
  width: auto;
  min-width: 136px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.performance-toggle__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.performance-toggle.is-fast {
  border-color: color-mix(in srgb, var(--accent-secondary) 34%, white 8%);
  box-shadow:
    0 14px 30px -16px rgba(58, 184, 255, 0.46),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.performance-toggle--menu {
  width: 100%;
  min-height: 52px;
}

.theme-toggle__icon,
.theme-toggle__icon svg,
.menu-toggle svg,
.menu-close svg {
  width: 22px;
  height: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 10px 28px -14px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover,
.performance-toggle:hover,
.theme-toggle:hover,
.menu-toggle:hover,
.menu-close:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--text-primary);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.btn--secondary {
  color: var(--text-primary);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: color-mix(in srgb, var(--text-primary) 8%, transparent);
}

.btn--block {
  width: 100%;
}

.eyebrow,
.section-label,
.tag,
.feature-card__index,
.project-card__eyebrow,
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow,
.section-label,
.trust-pill {
  color: var(--text-secondary);
}

.eyebrow::before,
.section-label::before,
.project-card__eyebrow::before {
  content: "";
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-secondary), var(--accent));
}

.trust-pill,
.tag {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card-strong) 82%, transparent);
}

.cursor-shell {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
}

.cursor-shell__outer,
.cursor-shell__inner {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 999px;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
}

.cursor-shell__outer {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(58, 184, 255, 0.75);
  background: transparent;
  box-shadow: 0 0 24px rgba(58, 184, 255, 0.2);
}

.cursor-shell__inner {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
  box-shadow: 0 0 24px rgba(58, 184, 255, 0.45);
}

.tag {
  font-family: "JetBrains Mono", monospace;
  color: var(--text-primary);
  justify-content: center;
  text-align: center;
}

.loading-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #06080d;
  z-index: 120;
}

.loading-screen__inner {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.loading-screen__brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #dbe9ff;
}

.loading-screen__line {
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 164px 0 112px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__aurora,
.hero__gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__aurora {
  background:
    radial-gradient(circle at 20% 20%, rgba(58, 184, 255, 0.16), transparent 22%),
    radial-gradient(circle at 78% 16%, rgba(138, 125, 255, 0.16), transparent 22%),
    radial-gradient(circle at 60% 82%, rgba(109, 241, 216, 0.1), transparent 20%);
  filter: blur(12px);
  animation: aurora-float 14s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__gridlines {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
  opacity: 0.28;
  will-change: transform;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.hero__eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__title {
  margin: 26px 0 22px;
  font-size: clamp(50px, 7vw, 98px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 8.4ch;
}

.hero__subtitle {
  max-width: 640px;
  margin: 0;
  color: var(--text-secondary);
}

.hero__proof {
  flex-wrap: wrap;
  margin-top: 26px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero__proof span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.stats-grid,
.feature-grid,
.project-showcase,
.tech-grid,
.difference-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.hero__visual {
  position: relative;
  min-height: 640px;
  perspective: 1400px;
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.55;
  will-change: transform;
}

.hero-orbit--one {
  inset: 40px 30px 50px 40px;
  transform: rotateX(72deg) rotateZ(8deg);
}

.hero-orbit--two {
  inset: 90px 110px 120px 100px;
  transform: rotateX(74deg) rotateZ(-10deg);
}

.hero-dash,
.stat-card,
.feature-card,
.case-panel,
.project-card,
.tech-panel,
.difference-card,
.cta-panel,
.footer-card {
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  position: relative;
}

.spotlight-card {
  --base: 220;
  --spread: 200;
  --radius: 24;
  --border: 2;
  --backdrop: color-mix(in srgb, var(--bg-card) 88%, transparent);
  --backup-border: rgba(255, 255, 255, 0.12);
  --size: 220;
  --outer: 1;
  --border-size: calc(var(--border, 2) * 1px);
  --spotlight-size: calc(var(--size, 150) * 1px);
  --hue: calc(var(--base) + (var(--xp, 0.5) * var(--spread, 0)));
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  background-color: var(--backdrop, transparent);
  background-size:
    calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size))),
    auto;
  background-position: 50% 50%;
  background-attachment: fixed;
  border: var(--border-size) solid var(--backup-border);
  isolation: isolate;
  overflow: hidden;
  touch-action: none;
}

.spotlight-card__border,
.spotlight-card__glow {
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border-radius: inherit;
  background-attachment: fixed;
  background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-repeat: no-repeat;
  background-position: 50% 50%;
  pointer-events: none;
  z-index: 0;
}

.spotlight-card__border {
  border: var(--border-size) solid transparent;
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsl(var(--hue, 210) 100% 55% / 1),
    transparent 100%
  );
  filter: brightness(1.6);
  mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
  mask-clip: padding-box, border-box;
  mask-composite: intersect;
  opacity: 0;
}

.spotlight-card__glow {
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsl(0 0% 100% / 0.18),
    transparent 100%
  );
  filter: blur(18px);
  opacity: 0;
}

.hero-dash::before,
.feature-card::before,
.case-panel::before,
.project-card::before,
.tech-panel::before,
.difference-card::before,
.cta-panel::before,
.footer-card::before,
.stat-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.16), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.hero-dash::after,
.feature-card::after,
.project-card::after,
.difference-card::after,
.btn::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -20%;
  width: 55%;
  height: 260%;
  transform: rotate(18deg);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.spotlight-card > :not(.spotlight-card__border):not(.spotlight-card__glow) {
  position: relative;
  z-index: 1;
}

.hero-dash.spotlight-card,
.stat-card.spotlight-card {
  --radius: 18;
}

.feature-card.spotlight-card,
.case-panel.spotlight-card,
.tech-panel.spotlight-card,
.difference-card.spotlight-card,
.cta-panel.spotlight-card,
.footer-card.spotlight-card {
  --radius: 24;
}

.project-card.spotlight-card {
  --radius: 26;
}

[data-theme="light"] .spotlight-card {
  --backup-border: rgba(12, 20, 40, 0.14);
}

[data-theme="light"] .site-footer__aurora {
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 119, 255, 0.12), transparent 28%),
    radial-gradient(circle at 38% 44%, rgba(94, 82, 255, 0.12), transparent 34%),
    radial-gradient(circle at 62% 58%, rgba(18, 194, 214, 0.1), transparent 30%);
}

[data-theme="light"] .site-footer__grid {
  background-image:
    linear-gradient(to right, rgba(9, 17, 32, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 17, 32, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .footer-card--cinematic {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.58)),
    color-mix(in srgb, var(--bg-card-strong) 78%, transparent);
  box-shadow:
    0 26px 60px rgba(21, 64, 142, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-links span {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
}

.hero-dash:hover::after,
.feature-card:hover::after,
.project-card:hover::after,
.difference-card:hover::after,
.btn:hover::after,
.tech-pill:hover::after {
  opacity: 1;
  transform: translateX(180%) rotate(18deg);
}

.hero-dash {
  position: absolute;
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-dash--main {
  left: 0;
  top: 34px;
  width: min(660px, 100%);
  border-radius: 28px;
  transform: rotateY(-10deg) rotateX(6deg);
  animation: dash-idle-main 8s ease-in-out infinite alternate;
}

.hero-dash--main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  cursor: zoom-in;
}

.hero-dash__topbar {
  display: flex;
  gap: 8px;
  padding: 16px 18px 0;
}

.hero-dash__topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-dash--side {
  right: 0;
  top: 126px;
  width: 260px;
  padding: 22px;
  border-radius: 22px;
  border-color: rgba(88, 196, 255, 0.28);
  background:
    radial-gradient(circle at top left, rgba(88, 196, 255, 0.18), transparent 48%),
    radial-gradient(circle at bottom right, rgba(109, 241, 216, 0.16), transparent 44%),
    linear-gradient(155deg, rgba(13, 25, 49, 0.92), rgba(10, 18, 34, 0.88));
  box-shadow:
    0 22px 50px rgba(4, 10, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateZ(40px);
  animation: dash-idle-side 7s ease-in-out infinite alternate;
}

.hero-dash--floating {
  left: 70px;
  right: 60px;
  bottom: 36px;
  padding: 20px 22px;
  border-radius: 18px;
  border-color: rgba(88, 196, 255, 0.24);
  background:
    radial-gradient(circle at 18% 20%, rgba(58, 184, 255, 0.18), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(138, 125, 255, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(247, 251, 255, 0.96), rgba(226, 237, 255, 0.9));
  box-shadow:
    0 20px 48px rgba(10, 18, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
  color: #10203d;
  animation: dash-idle-float 6s ease-in-out infinite alternate;
}

.hero-dash--floating strong {
  display: block;
  margin-top: 8px;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  color: #10203d;
}

.hero-metric-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hero-metric-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(88, 196, 255, 0.08));
  border: 1px solid rgba(134, 210, 255, 0.14);
  color: rgba(232, 242, 255, 0.82);
  font-size: 14px;
}

.hero-dash--side .section-label,
.hero-dash--side .hero-metric-list strong {
  color: #eaf4ff;
}

.hero-dash--floating .section-label {
  color: rgba(16, 32, 61, 0.7);
}

.hero-metric-list strong,
.feature-card__index,
.difference-card__number {
  font-family: "JetBrains Mono", monospace;
}

.stat-card {
  padding: 22px 20px;
  border-radius: var(--radius-md);
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Sections */
.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.project-card,
.difference-card,
.tech-pill {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover,
.project-card:hover,
.difference-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.tech-pill:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.feature-card {
  min-height: 248px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-secondary);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3,
.case-panel h3,
.project-card__body h3,
.tech-panel h3,
.difference-card h3,
.footer-card h3 {
  margin: 12px 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}

.case-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}

.case-panel,
.tech-panel,
.cta-panel,
.footer-card {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.case-panel__kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-tertiary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-bullets {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.case-bullets__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
}

.case-bullets__item span {
  color: var(--accent-secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.case-media {
  display: grid;
  gap: 16px;
  align-content: start;
}

.case-img-main,
.case-img-grid img,
.project-card__media img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-image);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.case-img-main:hover,
.case-img-grid img:hover,
.project-card__media img:hover {
  transform: scale(1.02);
}

.case-img-main {
  height: clamp(300px, 34vw, 430px);
}

.case-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-img-grid img {
  height: clamp(180px, 16vw, 220px);
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 52px;
  align-items: stretch;
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 26px;
  transform-style: preserve-3d;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    var(--bg-card);
}

.project-card__media img {
  height: clamp(220px, 18vw, 280px);
}

.project-card__body {
  padding: 26px 24px 28px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 14px;
  align-content: start;
}

.project-card__eyebrow {
  color: var(--text-secondary);
}

.project-card__body h3 {
  margin: 0;
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.project-card__body p {
  margin: 0;
  max-width: 34ch;
}

.project-card .tag-row {
  margin-top: 10px;
}

.tech-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.tech-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-marquee {
  display: flex;
  width: 100vw;
  overflow: hidden;
  gap: 18px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 12px 24px;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.tech-marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 18px;
  min-width: max-content;
  animation: tech-marquee-scroll 26s linear infinite;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 16px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: default;
  flex-shrink: 0;
}

.tech-panel {
  width: min(100%, 540px);
  margin-inline: auto;
  margin-top: 6px;
}

.difference-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.difference-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 24px;
}

.difference-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-tertiary);
}

.cta-panel {
  background:
    radial-gradient(circle at top right, rgba(58, 184, 255, 0.16), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(138, 125, 255, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    var(--bg-card);
}

.site-footer {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.site-footer > .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.site-footer__aurora,
.site-footer__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-footer__aurora {
  top: 50%;
  left: 50%;
  width: min(1100px, 88vw);
  height: min(620px, 72vh);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(58, 184, 255, 0.16), transparent 28%),
    radial-gradient(circle at 38% 44%, rgba(138, 125, 255, 0.16), transparent 34%),
    radial-gradient(circle at 62% 58%, rgba(109, 241, 216, 0.14), transparent 30%);
  filter: blur(84px);
  opacity: 0.95;
  animation: footer-breathe 8s ease-in-out infinite alternate;
}

.site-footer__grid {
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, transparent, black 24%, black 78%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 24%, black 78%, transparent);
}

.footer-grid {
  grid-template-columns: 1.15fr 0.75fr 0.75fr;
  align-items: start;
  gap: 24px;
}

.footer-card--cinematic {
  width: 100%;
  padding: 44px 34px 26px;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    color-mix(in srgb, var(--bg-primary) 58%, transparent);
  border-color: color-mix(in srgb, var(--text-primary) 10%, transparent);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.footer-block {
  position: relative;
  z-index: 1;
}

.footer-block:first-child h3 {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--text-primary) 0%, color-mix(in srgb, var(--text-primary) 42%, transparent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(247, 250, 255, 0.12));
}

.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.footer-links {
  display: grid;
  gap: 12px;
  color: var(--text-secondary);
}

.footer-links a,
.footer-links span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 10px 28px -14px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--accent-secondary) 34%, white 8%);
  box-shadow:
    0 18px 32px -14px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(58, 184, 255, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.16);
}

.footer-card__bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 90;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__panel {
  width: min(420px, 100%);
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card-strong) 90%, transparent);
  box-shadow: var(--shadow-soft);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-menu__links {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.mobile-menu__links a {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mobile-menu__links a,
.site-nav__links a,
.footer-links a,
.case-img-main,
.case-img-grid img,
.project-card img,
.feature-card,
.project-card,
.difference-card,
.btn,
.theme-toggle,
.menu-toggle,
.menu-close,
.tech-pill {
  will-change: transform;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

#lb-prev,
#lb-next,
#lb-close {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#lb-prev,
#lb-next {
  top: 50%;
  transform: translateY(-50%);
}

#lb-prev {
  left: 24px;
}

#lb-next {
  right: 24px;
}

#lb-close {
  top: 24px;
  right: 24px;
}

#lb-prev:hover,
#lb-prev:focus-visible,
#lb-next:hover,
#lb-next:focus-visible,
#lb-close:hover,
#lb-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%) scale(1.04);
}

#lb-close:hover,
#lb-close:focus-visible {
  transform: scale(1.04);
}

#lb-prev svg,
#lb-next svg,
#lb-close svg {
  width: 20px;
  height: 20px;
}

#lb-img {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

#lb-prev[hidden],
#lb-next[hidden] {
  display: none;
}

@media (max-width: 720px) {
  #lightbox {
    padding: 16px;
  }

  #lb-prev,
  #lb-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  #lb-prev {
    left: 16px;
  }

  #lb-next {
    right: 16px;
  }

  #lb-prev:hover,
  #lb-prev:focus-visible,
  #lb-next:hover,
  #lb-next:focus-visible {
    transform: scale(1.04);
  }

  #lb-img {
    max-width: 100%;
    max-height: 80vh;
  }
}

/* Utilities */
.word-mask {
  display: inline-flex;
  overflow: hidden;
  margin-right: 0.18em;
  padding-bottom: 0.08em;
}

.word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0.25;
}

.reveal,
[data-stagger-group] > *,
.reveal-media-right,
.reveal-media-left,
.reveal-divider {
  opacity: 0;
}

.reveal {
  transform: translateY(24px);
}

.reveal-media-right {
  transform: translateX(24px);
}

.reveal-media-left {
  transform: translateX(-24px);
}

/* Animations */
@keyframes aurora-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, -18px, 0) scale(1.08); }
}

@keyframes footer-breathe {
  from { transform: translate(-50%, -50%) scale(1); opacity: 0.58; }
  to { transform: translate(-50%, -50%) scale(1.08); opacity: 0.98; }
}

@keyframes tech-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes dash-idle-main {
  from { transform: rotateY(-10deg) rotateX(6deg) translateY(0px); }
  to { transform: rotateY(-7deg) rotateX(4deg) translateY(-10px); }
}

@keyframes dash-idle-side {
  from { transform: translateZ(40px) translateY(0px); }
  to { transform: translateZ(52px) translateY(-8px); }
}

@keyframes dash-idle-float {
  from { transform: translateY(0px); }
  to { transform: translateY(-7px); }
}

@keyframes whatsapp-float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes whatsapp-float-pulse {
  0% { opacity: 0.35; transform: scale(0.96); }
  70% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}

/* Responsive */
@media (max-width: 1120px) {
  .hero__grid,
  .case-layout,
  .tech-stage,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    display: grid;
    gap: 16px;
    min-height: auto;
    perspective: none;
  }

  .hero-orbit {
    display: none;
  }

  .hero-dash,
  .hero-dash--main,
  .hero-dash--side,
  .hero-dash--floating {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none !important;
    animation: none;
  }

  .hero-dash--main img {
    height: clamp(260px, 42vw, 420px);
  }

  .tech-panel {
    width: min(100%, 640px);
    margin-inline: auto;
    margin-top: 0;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100vw - 28px, 100%);
  }

  .site-header {
    top: 12px;
  }

  .site-nav {
    min-height: 76px;
    padding: 0 18px;
  }

  .site-nav__actions {
    gap: 10px;
  }

  .site-nav__links,
  .site-nav__actions .btn--primary {
    display: none;
  }

  .section-shell {
    padding: 88px 0;
  }

  .hero {
    min-height: auto;
    padding: 136px 0 88px;
  }

  .hero__title {
    max-width: 100%;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__actions,
  .cta-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .cta-panel__actions .btn {
    width: 100%;
  }

  .whatsapp-float {
    min-height: 54px;
    padding: 0 16px 0 12px;
  }

  .whatsapp-float__label {
    font-size: 13px;
  }

  .hero__proof {
    gap: 10px;
  }

  .mobile-menu {
    padding: 18px;
  }

  .mobile-menu__panel {
    max-height: min(80vh, 680px);
    overflow: auto;
  }

  .tech-marquee {
    padding-inline: 18px;
  }

  .tech-pill {
    min-height: 56px;
    padding: 14px 16px;
    font-size: 12px;
  }

  .stats-grid,
  .feature-grid,
  .project-showcase,
  .tech-grid,
  .difference-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) {
  .menu-toggle,
  .menu-close {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-nav {
    min-height: 72px;
    padding: 0 14px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand__mark {
    font-size: 1.1rem;
  }

  .brand__text {
    font-size: 1rem;
  }

  .theme-toggle,
  .menu-toggle,
  .menu-close {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding: 124px 0 76px;
  }

  .hero__title {
    font-size: clamp(38px, 12vw, 56px);
    max-width: 100%;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 1.7;
  }

  .section-head h2,
  .cta-panel h2 {
    font-size: clamp(28px, 10vw, 40px);
  }

  .trust-pill,
  .tag {
    padding: 8px 12px;
  }

  .stats-grid {
    gap: 14px;
  }

  .stat-card {
    padding: 18px;
  }

  .hero-dash--main img {
    height: 240px;
  }

  .case-img-grid {
    grid-template-columns: 1fr;
  }

  .case-img-main {
    height: 240px;
  }

  .case-img-grid img,
  .project-card__media img {
    height: 180px;
  }

  .tech-marquee {
    padding-inline: 12px;
  }

  .tech-pill {
    min-height: 50px;
    padding: 12px 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .feature-card,
  .case-panel,
  .project-card__body,
  .tech-panel,
  .difference-card,
  .cta-panel,
  .footer-card {
    padding: 22px;
  }

  .footer-card--cinematic {
    padding: 30px 22px 22px;
  }

  .footer-card__bottom {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .footer-links a,
  .footer-links span {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  [data-stagger-group] > *,
  .reveal-media-right,
  .reveal-media-left,
  .word {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-dash--main,
  .hero-dash--side,
  .hero-dash--floating,
  .hero__aurora {
    animation: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-shell {
    display: none;
  }

  .spotlight-card,
  .hero-dash,
  .feature-card,
  .project-card,
  .difference-card,
  .case-panel,
  .tech-panel,
  .cta-panel,
  .footer-card,
  .stat-card,
  .hero__visual,
  .case-layout,
  .project-showcase,
  .feature-grid,
  .difference-grid,
  .tech-stage,
  .footer-grid,
  .tech-marquee,
  .tech-marquee__track,
  .spotlight-card * {
    touch-action: pan-y;
  }

  a,
  button,
  .btn,
  .tech-pill,
  .theme-toggle,
  .menu-toggle,
  .menu-close {
    touch-action: manipulation;
  }
}

:is(html.mobile-optimized, html.low-performance) {
  scroll-behavior: auto;
}

:is(html.mobile-optimized, html.low-performance) .paper-shader-bg__orb {
  filter: blur(52px);
  opacity: 0.18;
  animation: none !important;
}

:is(html.mobile-optimized, html.low-performance) .paper-shader-bg__mesh {
  filter: blur(12px) saturate(108%);
  transform: scale(1.03);
}

:is(html.mobile-optimized, html.low-performance) .paper-shader-bg__grid {
  opacity: 0.22;
}

:is(html.mobile-optimized, html.low-performance) .spotlight-card {
  background-attachment: scroll;
  touch-action: pan-y;
}

:is(html.mobile-optimized, html.low-performance) .spotlight-card__border,
:is(html.mobile-optimized, html.low-performance) .spotlight-card__glow {
  background-attachment: scroll;
}

:is(html.mobile-optimized, html.low-performance) .spotlight-card__glow {
  filter: blur(10px);
  opacity: 0.42;
}

:is(html.mobile-optimized, html.low-performance) .hero-dash,
:is(html.mobile-optimized, html.low-performance) .stat-card,
:is(html.mobile-optimized, html.low-performance) .feature-card,
:is(html.mobile-optimized, html.low-performance) .case-panel,
:is(html.mobile-optimized, html.low-performance) .project-card,
:is(html.mobile-optimized, html.low-performance) .tech-panel,
:is(html.mobile-optimized, html.low-performance) .difference-card,
:is(html.mobile-optimized, html.low-performance) .cta-panel,
:is(html.mobile-optimized, html.low-performance) .footer-card,
:is(html.mobile-optimized, html.low-performance) .footer-links a,
:is(html.mobile-optimized, html.low-performance) .footer-links span,
:is(html.mobile-optimized, html.low-performance) .tech-pill,
:is(html.mobile-optimized, html.low-performance) .mobile-menu__panel {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

:is(html.mobile-optimized, html.low-performance) .hero-dash::after,
:is(html.mobile-optimized, html.low-performance) .feature-card::after,
:is(html.mobile-optimized, html.low-performance) .project-card::after,
:is(html.mobile-optimized, html.low-performance) .difference-card::after,
:is(html.mobile-optimized, html.low-performance) .btn::after,
:is(html.mobile-optimized, html.low-performance) .tech-pill::after {
  display: none;
}

:is(html.mobile-optimized, html.low-performance) .hero__aurora,
:is(html.mobile-optimized, html.low-performance) .hero__gridlines,
:is(html.mobile-optimized, html.low-performance) .site-footer__aurora {
  animation: none !important;
}

:is(html.mobile-optimized, html.low-performance) .loading-screen {
  display: none;
}

:is(html.mobile-optimized, html.low-performance) body,
:is(html.mobile-optimized, html.low-performance) main,
:is(html.mobile-optimized, html.low-performance) section,
:is(html.mobile-optimized, html.low-performance) .section-shell,
:is(html.mobile-optimized, html.low-performance) .hero,
:is(html.mobile-optimized, html.low-performance) .hero__content,
:is(html.mobile-optimized, html.low-performance) .hero__visual,
:is(html.mobile-optimized, html.low-performance) .case-layout,
:is(html.mobile-optimized, html.low-performance) .project-showcase,
:is(html.mobile-optimized, html.low-performance) .feature-grid,
:is(html.mobile-optimized, html.low-performance) .difference-grid,
:is(html.mobile-optimized, html.low-performance) .tech-stage,
:is(html.mobile-optimized, html.low-performance) .footer-grid {
  touch-action: pan-y;
}

:is(html.mobile-optimized, html.low-performance) .hero-dash,
:is(html.mobile-optimized, html.low-performance) .feature-card,
:is(html.mobile-optimized, html.low-performance) .project-card,
:is(html.mobile-optimized, html.low-performance) .difference-card,
:is(html.mobile-optimized, html.low-performance) .case-panel,
:is(html.mobile-optimized, html.low-performance) .tech-panel,
:is(html.mobile-optimized, html.low-performance) .cta-panel,
:is(html.mobile-optimized, html.low-performance) .footer-card,
:is(html.mobile-optimized, html.low-performance) .stat-card {
  transform: none !important;
}

:is(html.mobile-optimized, html.low-performance) .hero__visual [data-parallax-layer] {
  transform: none !important;
}

:is(html.mobile-optimized, html.low-performance) .tech-pill,
:is(html.mobile-optimized, html.low-performance) .footer-links a,
:is(html.mobile-optimized, html.low-performance) .footer-links span,
:is(html.mobile-optimized, html.low-performance) .btn,
:is(html.mobile-optimized, html.low-performance) .theme-toggle,
:is(html.mobile-optimized, html.low-performance) .menu-toggle,
:is(html.mobile-optimized, html.low-performance) .menu-close {
  touch-action: manipulation;
}

@media (max-width: 860px) {
  html.mobile-optimized .section-shell {
    padding: 72px 0;
  }

  html.mobile-optimized .hero {
    padding: 116px 0 68px;
  }

  html.mobile-optimized .hero__grid {
    gap: 28px;
  }

  html.mobile-optimized .hero__content,
  html.mobile-optimized .case-copy,
  html.mobile-optimized .tech-stage {
    gap: 18px;
  }

  html.mobile-optimized .hero__proof {
    gap: 8px;
  }

  html.mobile-optimized .hero__proof span,
  html.mobile-optimized .tag,
  html.mobile-optimized .trust-pill {
    font-size: 11px;
  }

  html.mobile-optimized .project-showcase,
  html.mobile-optimized .feature-grid,
  html.mobile-optimized .difference-grid,
  html.mobile-optimized .stats-grid {
    gap: 14px;
  }

  html.mobile-optimized .tech-marquee {
    padding-block: 8px;
  }

  html.mobile-optimized .tech-panel {
    width: 100%;
  }
}

@media (max-width: 560px) {
  html.mobile-optimized :root {
    --container: min(100vw - 20px, 100%);
  }

  html.mobile-optimized .hero__title {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.98;
  }

  html.mobile-optimized .hero__subtitle,
  html.mobile-optimized .section-head p,
  html.mobile-optimized .case-panel p,
  html.mobile-optimized .project-card__body p,
  html.mobile-optimized .tech-panel p,
  html.mobile-optimized .difference-card p,
  html.mobile-optimized .cta-panel p,
  html.mobile-optimized .footer-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  html.mobile-optimized .section-head {
    margin-bottom: 34px;
  }

  html.mobile-optimized .section-divider {
    margin-bottom: 34px;
  }

  html.mobile-optimized .hero-dash,
  html.mobile-optimized .feature-card,
  html.mobile-optimized .case-panel,
  html.mobile-optimized .project-card,
  html.mobile-optimized .tech-panel,
  html.mobile-optimized .difference-card,
  html.mobile-optimized .cta-panel,
  html.mobile-optimized .footer-card,
  html.mobile-optimized .stat-card {
    border-radius: 20px;
  }

  html.mobile-optimized .hero-dash--main img,
  html.mobile-optimized .case-img-main {
    height: 220px;
  }

  html.mobile-optimized .case-img-grid img,
  html.mobile-optimized .project-card__media img {
    height: 170px;
  }

  html.mobile-optimized .mobile-menu__links a {
    font-size: 1.1rem;
    padding: 16px 18px;
  }

  html.mobile-optimized .footer-grid {
    gap: 16px;
  }
}
