:root {
  --bg-0: #030a13;
  --bg-1: #071425;
  --bg-2: #0a1b32;
  --text: #f3f8ff;
  --text-soft: rgba(243, 248, 255, 0.78);
  --line: rgba(132, 190, 255, 0.2);
  --line-strong: rgba(132, 190, 255, 0.34);
  --blue-500: #23a6ff;
  --blue-600: #1389e8;
  --blue-700: #0d5fc5;
  --cyan: #6fd5ff;
  --radius: 18px;
  --radius-lg: 26px;
  --header-h: 84px;
  --container: min(1220px, calc(100% - 2.8rem));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 18%, rgba(35, 166, 255, 0.16), transparent 34%),
    radial-gradient(circle at 90% 74%, rgba(31, 120, 250, 0.18), transparent 36%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 24%, #020811 100%);
  line-height: 1.45;
  overflow-x: clip;
}

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

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

.page-glow {
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(78px);
  z-index: -2;
  pointer-events: none;
}

.glow-a {
  left: -12vw;
  top: -14vw;
  background: rgba(35, 166, 255, 0.2);
}

.glow-b {
  right: -13vw;
  bottom: -16vw;
  background: rgba(19, 124, 232, 0.2);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(132, 190, 255, 0.16);
  background: rgba(2, 10, 20, 0.74);
  backdrop-filter: blur(12px) saturate(140%);
}

.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.1vw, 1.1rem);
  text-transform: uppercase;
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding: 0.3rem 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #ffffff;
  border-color: var(--blue-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.3rem;
  text-transform: uppercase;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(122deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 10px 25px rgba(13, 95, 197, 0.42);
}

.btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(8, 19, 36, 0.64);
}

.btn-secondary {
  margin-top: 1.4rem;
  color: #bfe8ff;
  border-color: rgba(117, 202, 255, 0.42);
  background: rgba(10, 26, 47, 0.5);
}

.page-main {
  padding-bottom: 2rem;
}

.hero {
  min-height: calc(90svh - var(--header-h));
  display: grid;
  align-items: center;
  position: relative;
  background-image: url("assets/img/hero-yacht.jpg");
  background-size: cover;
  background-position: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 4rem 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(2, 13, 27, 0.9) 14%, rgba(3, 16, 34, 0.78) 44%, rgba(2, 11, 22, 0.35) 82%),
    radial-gradient(circle at 86% 20%, rgba(35, 166, 255, 0.3), transparent 40%);
}

.hero-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.5rem, 3.8vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, rgba(12, 32, 58, 0.8), rgba(7, 18, 35, 0.78)),
    radial-gradient(circle at 80% 12%, rgba(87, 200, 255, 0.2), transparent 38%);
  box-shadow:
    inset 0 1px 0 rgba(193, 235, 255, 0.12),
    0 26px 48px rgba(0, 0, 0, 0.36);
}

.hero-showcase {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  min-height: clamp(270px, 34vw, 430px);
}

.hero-shot {
  position: absolute;
  margin: 0;
}

.hero-shot-back {
  top: 0;
  right: 0;
  width: 83%;
  z-index: 1;
  transform: translate3d(60px, -80px, 0);
  opacity: 0.92;
}

.hero-shot-front {
  left: 0;
  bottom: 0;
  width: 88%;
  z-index: 2;
}

.mac-frame {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.52rem;
  background: linear-gradient(160deg, #1f2430 4%, #474f61 40%, #1c2230 98%);
  box-shadow:
    0 15px 34px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.mac-topbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  padding: 0 0.12rem;
}

.mac-topbar span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.mac-topbar span:nth-child(1) {
  background: #ff5f57;
}

.mac-topbar span:nth-child(2) {
  background: #febc2e;
}

.mac-topbar span:nth-child(3) {
  background: #28c840;
}

.mac-screen {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1912 / 948;
  background: #060c14;
}

.hero-shot-front .mac-screen {
  aspect-ratio: 1026 / 765;
}

.mac-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.device-frame {
  --frame-radius: 14px;
  --bezel: 12px;
  position: relative;
  background: linear-gradient(160deg, #0a0f16 4%, #2f3a49 42%, #090d14 98%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--frame-radius);
  padding: var(--bezel);
  box-shadow:
    0 15px 34px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.device-frame::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
}

.device-frame::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 50px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.device-frame.mac {
  --frame-radius: 13px;
  --bezel: 10px;
  background: linear-gradient(160deg, #1f2430 4%, #474f61 40%, #1c2230 98%);
}

.device-frame.mac::before {
  top: 6px;
  left: 18px;
  transform: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 14px 0 0 #febc2e, 28px 0 0 #28c840;
}

.device-frame.mac::after {
  display: none;
}

.device-frame.mac .device-screen {
  aspect-ratio: 1912 / 948;
  margin-top: 12px;
}

.device-screen {
  position: relative;
  border-radius: calc(var(--frame-radius) - 8px);
  overflow: hidden;
  aspect-ratio: 1113 / 777;
  background: #060c14;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.eyebrow {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8fd8ff;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.04;
}

h1 {
  margin-top: 0.45rem;
  font-size: clamp(3.1rem, 8vw, 6rem);
}

.hero-wordmark-wrap {
  margin-top: 1.4rem;
  margin-bottom: 1.3rem;
}

.hero-wordmark {
  width: clamp(150px, 22vw, 270px);
  height: auto;
}

.hero-tagline {
  margin: 0.7rem 0 0;
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  font-weight: 600;
}

.hero-copy {
  margin: 1rem 0 0;
  max-width: 34ch;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-soft);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  margin-top: 1.2rem;
}

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.8vw, 2.3rem);
  background:
    linear-gradient(165deg, rgba(14, 33, 58, 0.68), rgba(8, 20, 38, 0.74)),
    radial-gradient(circle at 84% 8%, rgba(96, 203, 255, 0.14), transparent 38%);
  box-shadow:
    inset 0 1px 0 rgba(195, 233, 255, 0.08),
    0 20px 44px rgba(0, 0, 0, 0.3);
}

.panel + .panel {
  margin-top: 1rem;
}

.panel h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  text-transform: uppercase;
}

.panel h2 span {
  color: #8eddff;
}

.lead {
  margin: 0.95rem 0 0;
  max-width: 70ch;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-soft);
}

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

.card-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.95rem;
}

.gallery-rail {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background:
    linear-gradient(160deg, rgba(10, 24, 45, 0.5), rgba(8, 16, 32, 0.6)),
    radial-gradient(circle at 85% 10%, rgba(77, 191, 248, 0.08), transparent 40%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(88, 183, 239, 0.6) rgba(8, 16, 26, 0.4);
}

.gallery-rail::-webkit-scrollbar {
  height: 10px;
}

.gallery-rail::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(8, 16, 26, 0.5);
}

.gallery-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(88, 183, 239, 0.62);
}

.gallery-item {
  flex: 0 0 320px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.gallery-item:hover {
  transform: scale(1.03);
  opacity: 0.85;
}

.gallery-item:focus {
  outline: 1px solid rgba(132, 190, 255, 0.5);
  outline-offset: 4px;
  border-radius: 8px;
}

.gallery-item .device-frame {
  --frame-radius: 10px;
  --bezel: 7px;
}

.screenshot-placeholder {
  margin-top: 1.3rem;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(100, 190, 255, 0.38);
  background:
    linear-gradient(160deg, rgba(8, 22, 42, 0.65), rgba(5, 14, 28, 0.7)),
    radial-gradient(circle at 70% 30%, rgba(60, 170, 255, 0.1), transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 1.5rem;
}

.sp-wide {
  min-height: 320px;
}

.sp-tall {
  min-height: 360px;
  margin-top: 0;
}

.sp-cinematic {
  min-height: 420px;
  margin-bottom: 1.2rem;
}

.sp-label {
  text-align: center;
  color: rgba(180, 220, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 56ch;
}

.sp-tag {
  display: block;
  background: rgba(35, 166, 255, 0.22);
  border: 1px solid rgba(100, 200, 255, 0.36);
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  font-size: 0.7rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fd8ff;
  margin-bottom: 0.55rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1rem 1rem;
  background:
    linear-gradient(160deg, rgba(10, 24, 45, 0.82), rgba(5, 14, 28, 0.74)),
    radial-gradient(circle at 85% 0, rgba(77, 191, 248, 0.11), transparent 40%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(143, 216, 255, 0.34);
  display: grid;
  place-items: center;
  color: #8fd8ff;
  margin-bottom: 0.7rem;
}

.card h3 {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
}

.card p {
  margin: 0.6rem 0 0;
  color: var(--text-soft);
}

.compact .card {
  padding: 0.95rem 0.95rem 0.9rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 1.2rem;
}

.split-copy p {
  margin: 0.95rem 0 0;
  color: var(--text-soft);
}

.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  margin-bottom: 0.72rem;
  padding-left: 1.7rem;
  color: var(--text-soft);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.02rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, var(--cyan), var(--blue-600));
  color: #06203b;
  font-size: 0.7rem;
  font-weight: 700;
}

.card-frame {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  padding: 0.6rem;
  background: rgba(4, 10, 20, 0.52);
}

.card-frame img {
  border-radius: 12px;
}

.panel-blue {
  background:
    linear-gradient(160deg, rgba(10, 34, 66, 0.8), rgba(6, 18, 38, 0.82)),
    radial-gradient(circle at 100% 0, rgba(121, 213, 255, 0.18), transparent 48%);
}

.panel-dark {
  background:
    linear-gradient(165deg, rgba(7, 17, 32, 0.86), rgba(4, 12, 22, 0.92)),
    radial-gradient(circle at 12% 10%, rgba(75, 166, 230, 0.16), transparent 36%);
}

.panel-gradient {
  background:
    linear-gradient(145deg, rgba(8, 22, 42, 0.88), rgba(12, 33, 62, 0.84) 52%, rgba(6, 18, 35, 0.9) 100%),
    radial-gradient(circle at 74% 8%, rgba(116, 206, 255, 0.2), transparent 42%);
}

.panel-contact {
  background:
    linear-gradient(145deg, rgba(11, 31, 57, 0.86), rgba(8, 20, 37, 0.9)),
    radial-gradient(circle at 98% 4%, rgba(121, 215, 255, 0.2), transparent 45%);
}

.site-footer {
  margin-top: 1rem;
  border-top: 1px solid rgba(132, 190, 255, 0.2);
}

.footer-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(232, 244, 255, 0.72);
}

.footer-nav {
  display: flex;
  gap: 1rem;
  text-transform: uppercase;
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.footer-nav a:hover {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(132, 190, 255, 0.28);
  background: rgba(6, 16, 30, 0.68);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 3px;
  background: #d7ecff;
}

/* Footer styling */
.footer-shell {
  width: 100%;
  padding: 1.3rem 0 2.9rem;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 2rem;
}

.footer-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  grid-column: 1;
  grid-row: 2;
}

.footer-brand {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-block {
  margin-bottom: 0;
}

.footer-block h3 {
  margin: 0;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  color: var(--text);
}

.footer-block h4 {
  margin: 0;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  letter-spacing: 0.08em;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  color: var(--text);
}

.footer-block p {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.5;
}

.footer-block a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-block a:hover {
  color: var(--cyan);
}

.social-row {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(132, 190, 255, 0.3);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.6rem;
  background: rgba(35, 100, 200, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(111, 213, 255, 0.2);
}

.footer-end {
  text-align: center;
  margin: 0;
  grid-column: 1;
  grid-row: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-end a {
  color: #ff9d3d;
  text-decoration: none;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 0.04em;
  font-family: "Starduster", "Sora", sans-serif;
  font-weight: 700;
}

.footer-end a:hover {
  color: #ffb366;
}

@media (max-width: 1080px) {
  :root {
    --header-h: 76px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 3rem 0 2rem;
  }

  .hero-showcase {
    max-width: 700px;
    min-height: clamp(250px, 52vw, 420px);
    margin-bottom: 0.45rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 1rem;
    min-width: 230px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(4, 14, 27, 0.95);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav a {
    border-bottom: 0;
    border-radius: 9px;
    padding: 0.72rem 0.7rem;
    font-size: 0.74rem;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(35, 166, 255, 0.14);
  }

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

  .header-cta {
    display: none;
  }

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

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

  .gallery-rail {
    gap: 0.75rem;
  }

  .gallery-item {
    flex: 0 0 290px;
  }

  .hero-card {
    margin: 3.2rem 0;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(1220px, calc(100% - 1.35rem));
  }

  .hero {
    min-height: 78svh;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .hero-showcase {
    min-height: 0;
    display: grid;
    gap: 1rem;
    max-width: 100%;
  }

  .hero-shot {
    position: static;
    width: 100%;
    transform: none;
  }

  .hero-shot-back,
  .hero-shot-front {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
  }

  .gallery-rail {
    gap: 0.7rem;
    padding: 0.85rem;
  }

  .gallery-item {
    flex: 0 0 260px;
  }

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

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    text-align: center;
    padding: 0.6rem 0;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .social-row {
    justify-content: center;
  }
}

/* ============================================================
   Lightbox
   ============================================================ */

.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 6, 14, 0.88);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(90vw, 1100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-device {
  --frame-radius: 16px;
  --bezel: 14px;
  position: relative;
  width: 100%;
  background: linear-gradient(160deg, #0a0f16 4%, #2f3a49 42%, #090d14 98%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--frame-radius);
  padding: var(--bezel);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.25s ease;
}

.lightbox-device.lightbox-mac-frame {
  --frame-radius: 13px;
  --bezel: 10px;
  background: linear-gradient(160deg, #1f2430 4%, #474f61 40%, #1c2230 98%);
  border-color: rgba(255, 255, 255, 0.14);
}

@media (min-width: 1200px) {
  .lightbox-stage.hero-front-large {
    width: min(94vw, 1260px);
  }
}

.lightbox-device::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
}

.lightbox-device::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-device.lightbox-mac-frame::before {
  top: 6px;
  left: 18px;
  transform: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 14px 0 0 #febc2e, 28px 0 0 #28c840;
}

.lightbox-device.lightbox-mac-frame::after {
  display: none;
}

.lightbox-screen {
  border-radius: calc(var(--frame-radius) - 8px);
  overflow: hidden;
  background: #060c14;
  line-height: 0;
}

.lightbox-device.lightbox-mac-frame .lightbox-screen {
  aspect-ratio: 1912 / 948;
}

.lightbox-device.lightbox-mac-frame .lightbox-screen {
  margin-top: 12px;
}

.lightbox-img {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox-caption {
  margin: 0;
  color: rgba(180, 220, 255, 0.7);
  font-size: 0.85rem;
  text-align: center;
  font-family: "Sora", sans-serif;
  letter-spacing: 0.02em;
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  z-index: 2;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #c8e8ff;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:focus,
.lightbox-close:focus-visible {
  outline: none;
  box-shadow: none;
  border: 0;
}

.lightbox-close:hover {
  color: #ffffff;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(132, 190, 255, 0.3);
  background: rgba(6, 16, 30, 0.82);
  color: #c8e8ff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.lightbox-prev {
  left: 1.2rem;
}

.lightbox-next {
  right: 1.2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(35, 100, 200, 0.5);
  border-color: rgba(132, 190, 255, 0.6);
}

.lightbox-prev[hidden],
.lightbox-next[hidden] {
  display: none;
}

