﻿:root {
  --bg-0: #05070d;
  --bg-1: #0a1020;
  --bg-2: #0e1730;
  --surface: #101b2f;
  --surface-2: #12223d;
  --surface-3: #182c4a;
  --text: #e9edf8;
  --muted: #a3b0c8;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --primary: #3b82f6;
  --primary-2: #38bdf8;
  --accent: #00e5c2;
  --danger: #ff5a7b;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.28);
  --container: 1180px;
  --header-h: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.22), transparent 32%),
    radial-gradient(circle at 86% 16%, rgba(0, 229, 194, 0.16), transparent 28%),
    linear-gradient(150deg, var(--bg-0), var(--bg-1) 46%, var(--bg-2));
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.3;
  z-index: -1;
}

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

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

.container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: linear-gradient(
    180deg,
    rgba(6, 10, 20, 0.9),
    rgba(6, 10, 20, 0.72)
  );
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.nav-wrap {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  padding: 0.2rem;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(8, 20, 44, 0.55);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 10px rgba(59, 130, 246, 0.42));
}

.brand-text {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.site-header .brand-mark {
  width: 2.18rem;
  height: 2.18rem;
  padding: 0.12rem;
  border-radius: 10px;
}

.site-header .brand-logo {
  border-radius: 8px;
  filter: drop-shadow(0 3px 8px rgba(59, 130, 246, 0.38));
}

.menu {
  justify-self: center;
  display: inline-flex;
  gap: 1.6rem;
  align-items: center;
}

.menu a {
  color: #d4ddf1;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
  transition: color 180ms ease, opacity 180ms ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: #fff;
  opacity: 1;
}

.btn {
  --btn-bg: transparent;
  --btn-color: var(--text);
  --btn-border: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  --btn-color: #041022;
  --btn-border: rgba(98, 203, 255, 0.62);
  background: linear-gradient(120deg, var(--primary), var(--primary-2), var(--accent));
  background-size: 170% 170%;
  animation: hueShift 8s ease infinite;
  box-shadow:
    0 10px 24px rgba(18, 105, 244, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow:
    0 14px 34px rgba(18, 105, 244, 0.52),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.btn-ghost {
  --btn-border: var(--line-strong);
  --btn-bg: rgba(255, 255, 255, 0.03);
  --btn-color: #e7eeff;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  --btn-bg: rgba(255, 255, 255, 0.08);
}

.desktop-cta {
  white-space: nowrap;
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(6, 14, 26, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.lang-btn {
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  opacity: 0.75;
}

.lang-btn img {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(128, 204, 255, 0.7);
}

.lang-btn.is-active {
  opacity: 1;
  border-color: rgba(145, 212, 255, 0.9);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.26);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #e4ecff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(4rem, 6vw, 6.2rem) 0 4.3rem;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-a {
  width: min(460px, 46vw);
  aspect-ratio: 1;
  top: -6%;
  left: -9%;
  background: rgba(59, 130, 246, 0.35);
}

.hero-glow-b {
  width: min(500px, 52vw);
  aspect-ratio: 1;
  right: -12%;
  top: 20%;
  background: rgba(0, 229, 194, 0.21);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(0.9rem, 2.6vw, 2rem);
  align-items: center;
}

.eyebrow {
  margin: 0;
  color: #99c8ff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 1rem 0 1.05rem;
  font-size: clamp(2.15rem, 6vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 14.5ch;
}

.hero-lead {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.14rem);
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-metrics {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-metrics li {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-metrics strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-metrics span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.phone-shot {
  position: absolute;
  width: clamp(250px, 31vw, 400px);
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(157, 201, 255, 0.38);
  background:
    radial-gradient(circle at 20% 15%, rgba(83, 160, 255, 0.2), rgba(9, 19, 35, 0.95)),
    rgba(6, 13, 24, 0.95);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  filter: saturate(1.06) contrast(1.03) drop-shadow(0 16px 26px rgba(0, 0, 0, 0.45));
}

.phone-shot-a {
  transform: rotate(-6deg) translate(-10%, -3%);
  z-index: 2;
}

.phone-shot-b {
  width: clamp(190px, 24vw, 300px);
  transform: rotate(8deg) translate(40%, 18%);
  opacity: 0.88;
  z-index: 1;
}

.chip {
  position: absolute;
  z-index: 3;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7e8ff;
  backdrop-filter: blur(10px);
  background: rgba(7, 16, 30, 0.68);
  box-shadow: var(--shadow-soft);
}

.chip-top {
  top: 7%;
  right: 10%;
}

.chip-bottom {
  left: 8%;
  bottom: 8%;
}

.section {
  padding: clamp(4rem, 8vw, 6.2rem) 0;
}

.section-accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  margin-bottom: clamp(1.8rem, 5vw, 2.8rem);
  max-width: 760px;
}

.section-head h2 {
  margin: 0.72rem 0 0.7rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.07;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card,
.portfolio-card,
.mock-card,
.cta-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(17, 30, 54, 0.88), rgba(8, 16, 30, 0.92));
  box-shadow: var(--shadow-soft);
}

.feature-card,
.portfolio-card {
  padding: 1.35rem 1.2rem 1.2rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 190, 255, 0.44);
  box-shadow: 0 18px 34px rgba(5, 16, 36, 0.7);
}

.feature-card h3,
.portfolio-card h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.feature-card p,
.portfolio-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: #cbdbf4;
  font-size: 0.88rem;
  display: grid;
  gap: 0.4rem;
}

.portfolio-card a {
  display: inline-block;
  margin-top: 0.9rem;
  color: #89cbff;
  font-size: 0.9rem;
  font-weight: 700;
}

.portfolio-card a:hover,
.portfolio-card a:focus-visible {
  color: #d5ecff;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(1.2rem, 4vw, 2.3rem);
  align-items: stretch;
}

.app-grid > div > p {
  color: var(--muted);
}

.bullet-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.3rem;
}

.bullet-list article {
  border-left: 2px solid rgba(100, 176, 255, 0.62);
  padding-left: 0.85rem;
}

.bullet-list h3 {
  margin: 0;
  font-size: 1.02rem;
}

.bullet-list p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.store-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.store-btn {
  min-width: 170px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 14, 28, 0.78);
  padding: 0.66rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.store-btn:hover,
.store-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(112, 196, 255, 0.75);
  background: rgba(8, 20, 38, 0.95);
}

.store-btn-soon {
  opacity: 0.8;
  border-style: dashed;
  border-color: rgba(177, 196, 222, 0.5);
  background: rgba(8, 14, 26, 0.6);
  cursor: default;
}

.store-small {
  color: #9bb2d2;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-big {
  font-size: 1rem;
  font-weight: 700;
}

.mock-card {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.app-shots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 0;
  max-width: 520px;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
}

.app-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(155, 201, 255, 0.32);
  background:
    radial-gradient(circle at 20% 15%, rgba(85, 161, 255, 0.22), rgba(5, 11, 22, 0.95)),
    rgba(4, 10, 22, 0.9);
  box-shadow: 0 16px 30px rgba(2, 10, 24, 0.46);
}

.app-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  padding: 0;
  filter: saturate(1.05) contrast(1.02);
}

.app-shot-main {
  aspect-ratio: 10 / 15;
}

.app-shot-side {
  aspect-ratio: 1 / 1;
}

.mock-head {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.mock-body {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  background: rgba(4, 10, 22, 0.55);
}

.mock-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.mock-body p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.mock-chart {
  margin-top: 1rem;
  display: grid;
  gap: 0.58rem;
}

.mock-chart span {
  display: block;
  width: var(--w);
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 229, 194, 0.72), rgba(59, 130, 246, 0.88));
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.shot-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  border: 1px solid rgba(163, 204, 255, 0.26);
  background: rgba(5, 12, 24, 0.92);
  box-shadow: var(--shadow-soft);
  display: block;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.shot-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.45rem;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.46));
  transition: transform 420ms ease;
}

.shot-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 28, 0.03), rgba(7, 14, 28, 0.56)),
    radial-gradient(circle at 20% 15%, rgba(89, 180, 255, 0.18), transparent 42%);
}

.shot-label {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 14, 28, 0.78);
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8ecff;
}

.shot-card:hover,
.shot-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(120, 201, 255, 0.75);
  box-shadow: 0 18px 36px rgba(5, 13, 26, 0.72);
}

.shot-card:hover img,
.shot-card:focus-visible img {
  transform: scale(1.045);
}

.cta {
  padding-top: clamp(4.2rem, 7vw, 5.8rem);
}

.cta-wrap {
  padding: clamp(1.35rem, 4vw, 2.1rem);
  position: relative;
  overflow: clip;
}

.cta-wrap::after {
  content: '';
  position: absolute;
  width: min(420px, 60vw);
  aspect-ratio: 1;
  right: -24%;
  top: -38%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.36), transparent 66%);
  filter: blur(22px);
}

.cta-wrap h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
}

.cta-wrap > p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.contact-form {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  position: relative;
  z-index: 2;
}

.contact-form label {
  display: grid;
  gap: 0.42rem;
}

.contact-form label > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b6caea;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(3, 11, 22, 0.72);
  color: #edf4ff;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.76rem 0.82rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #91a3c0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(93, 194, 255, 0.84);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 12, 24, 0.8), rgba(4, 8, 16, 0.94));
  padding: clamp(2.6rem, 6vw, 4.2rem) 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.3rem;
}

.footer-grid p,
.footer-grid li,
.footer-grid span {
  color: var(--muted);
}

.footer-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.footer-grid ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
  font-size: 0.92rem;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #eaf3ff;
}

.footer-brand {
  margin-bottom: 0.7rem;
}

.footer-brand .brand-mark {
  width: 2.18rem;
  height: 2.18rem;
  padding: 0.12rem;
  border-radius: 10px;
}

.footer-brand .brand-logo {
  border-radius: 8px;
  filter: drop-shadow(0 3px 8px rgba(59, 130, 246, 0.32));
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-bottom small {
  color: #94a3bb;
  letter-spacing: 0.02em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(0.9rem, 3vw, 2rem);
  background: rgba(4, 8, 16, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(4, 10, 22, 0.75);
  color: #e4ecff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-figure {
  margin: 0;
  width: min(1080px, 100%);
  max-height: 92vh;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(3, 10, 20, 0.95);
  box-shadow: var(--shadow);
}

.lightbox-figure img {
  width: 100%;
  max-height: calc(92vh - 60px);
  object-fit: contain;
  background: #060c18;
}

.lightbox-figure figcaption {
  padding: 0.65rem 0.9rem 0.75rem;
  color: #bdd4f5;
  font-size: 0.86rem;
}

.lightbox-figure figcaption:empty {
  display: none;
}

/* Reveal effects */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 460ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
    margin-top: 0.7rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  :root {
    --header-h: 72px;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .lang-switch {
    padding: 0.18rem;
  }

  .lang-btn {
    width: 30px;
    height: 30px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .desktop-cta {
    display: none;
  }

  .menu {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header-h) + 0.6rem);
    background: rgba(6, 12, 24, 0.96);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 0.9rem;
    display: grid;
    gap: 0.18rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu a {
    display: block;
    padding: 0.75rem 0.6rem;
    border-radius: 10px;
  }

  .menu a:hover,
  .menu a:focus-visible {
    background: rgba(255, 255, 255, 0.07);
  }

  body.menu-open .menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 2.7rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .phone-shot-a {
    transform: rotate(-5deg) translate(-4%, -1%);
  }

  .phone-shot-b {
    transform: rotate(6deg) translate(18%, 14%);
  }

  .app-shots {
    grid-template-columns: 1fr;
  }

  .app-shot-main,
  .app-shot-side {
    aspect-ratio: 9 / 12;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 1.35rem));
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .card-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .shot-card {
    aspect-ratio: 1 / 1;
  }

  .hero-visual {
    min-height: 340px;
  }

  .phone-shot {
    width: min(250px, 82vw);
  }

  .chip {
    font-size: 0.65rem;
  }
}

@media (max-width: 420px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes hueShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
