:root {
  --ink: #061114;
  --night: #0a1519;
  --deep: #0d2027;
  --kelp: #18392f;
  --glass: rgba(9, 22, 28, 0.72);
  --glass-strong: rgba(11, 29, 36, 0.88);
  --line: rgba(205, 255, 249, 0.16);
  --line-strong: rgba(52, 242, 229, 0.38);
  --water: #1ed4c9;
  --water-strong: #34f2e5;
  --moss: #c8ea3d;
  --amber: #ffb347;
  --coral: #ff7564;
  --mist: #edfafa;
  --muted: #9fb8bb;
  --shadow: 0 28px 86px rgba(0, 0, 0, 0.48);
  --soft-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--mist);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(6, 17, 20, 0.42) 0%, rgba(6, 17, 20, 0.94) 72%),
    linear-gradient(124deg, #061114 0%, #0b1f27 42%, #16352c 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -3;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 76%);
}

body::after {
  z-index: -2;
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(52, 242, 229, 0.08) 38%, transparent 53%),
    linear-gradient(250deg, transparent 0 32%, rgba(255, 179, 71, 0.08) 47%, transparent 60%),
    repeating-linear-gradient(175deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 22px);
  filter: blur(0.2px);
  opacity: 0.8;
  animation: waterDrift 20s linear infinite;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.ambient-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-stage::before {
  content: "";
  position: absolute;
  top: -22vh;
  left: -18vw;
  width: 135vw;
  height: 56vh;
  background:
    linear-gradient(95deg, transparent 4%, rgba(30, 212, 201, 0.2) 32%, rgba(200, 234, 61, 0.1) 51%, transparent 80%);
  clip-path: polygon(0 34%, 22% 18%, 48% 33%, 72% 14%, 100% 30%, 100% 70%, 74% 54%, 48% 72%, 23% 55%, 0 70%);
  filter: blur(28px);
  opacity: 0.82;
  animation: auroraSlide 15s ease-in-out infinite alternate;
}

.ambient-stage::after {
  content: "";
  position: absolute;
  right: -6vw;
  bottom: -18vh;
  width: 84vw;
  height: 54vh;
  background:
    linear-gradient(18deg, transparent, rgba(30, 212, 201, 0.14), transparent 62%),
    repeating-linear-gradient(0deg, rgba(52, 242, 229, 0.1) 0 1px, transparent 1px 18px);
  transform: skewY(-8deg);
  opacity: 0.62;
  animation: tideLift 12s ease-in-out infinite alternate;
}

.current-line {
  position: absolute;
  left: -12vw;
  width: 124vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 242, 229, 0.55), transparent);
  opacity: 0.36;
  transform: rotate(-7deg);
  animation: currentSweep 8s ease-in-out infinite;
}

.line-one {
  top: 24%;
}

.line-two {
  top: 55%;
  animation-delay: -2.2s;
}

.line-three {
  top: 78%;
  animation-delay: -4.4s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1220px, calc(100% - 28px));
  margin: 12px auto 0;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(205, 255, 249, 0.14);
  border-radius: 8px;
  background: rgba(6, 17, 20, 0.58);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 850;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(52, 242, 229, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(52, 242, 229, 0.95), rgba(200, 234, 61, 0.92));
  box-shadow: 0 0 0 5px rgba(52, 242, 229, 0.07), 0 14px 34px rgba(30, 212, 201, 0.27);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(52, 242, 229, 0.14);
  border-radius: 8px;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: #061114;
}

.tab-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(205, 255, 249, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.tab-button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: rgba(237, 250, 250, 0.72);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tab-button:hover,
.tab-button:focus-visible {
  color: #fff;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.tab-button.active {
  color: #061114;
  background:
    linear-gradient(135deg, var(--water-strong), var(--water) 54%, var(--moss));
  box-shadow: 0 10px 30px rgba(30, 212, 201, 0.28);
}

main {
  position: relative;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.tab-panel {
  display: none;
  padding: clamp(34px, 6vw, 72px) 0 48px;
}

.tab-panel.active {
  display: block;
  animation: panelReveal 560ms cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 7vw, 86px);
  min-height: calc(100vh - 104px);
  padding-bottom: 38px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 9px 12px;
  border: 1px solid rgba(52, 242, 229, 0.2);
  border-radius: 8px;
  color: rgba(237, 250, 250, 0.84);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
  animation: liftIn 640ms 70ms both;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 6px rgba(200, 234, 61, 0.11), 0 0 18px rgba(200, 234, 61, 0.74);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--water-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(3.25rem, 7vw, 6.55rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: 780px;
  background: linear-gradient(180deg, #fff 0%, #d9fffb 45%, rgba(167, 225, 219, 0.86) 100%);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 16px 42px rgba(30, 212, 201, 0.14));
  animation: liftIn 700ms 110ms both;
}

h2 {
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.2;
  text-wrap: balance;
}

p {
  color: rgba(237, 250, 250, 0.76);
  line-height: 1.72;
}

.hero-lead {
  max-width: 680px;
  color: rgba(237, 250, 250, 0.88);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  animation: liftIn 720ms 180ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
  animation: liftIn 760ms 250ms both;
}

.primary-action,
.secondary-action {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.primary-action {
  border: 0;
  color: #061114;
  background:
    linear-gradient(135deg, var(--water-strong), var(--water) 50%, var(--moss));
  box-shadow: 0 18px 42px rgba(30, 212, 201, 0.26);
  cursor: pointer;
}

.primary-action::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 32%, rgba(255, 255, 255, 0.46) 46%, transparent 62%);
  transform: translateX(-140%);
  animation: actionSweep 4.5s ease-in-out infinite;
}

.secondary-action {
  border: 1px solid rgba(205, 255, 249, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

.primary-action:hover,
.secondary-action:hover,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: rgba(52, 242, 229, 0.46);
  box-shadow: 0 12px 34px rgba(30, 212, 201, 0.11);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 630px;
  margin: 0;
  animation: liftIn 820ms 320ms both;
}

.quick-stats div {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(205, 255, 249, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.042));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.quick-stats div::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(52, 242, 229, 0.9), transparent);
  opacity: 0.62;
}

.quick-stats dt {
  color: var(--water-strong);
  font-size: 1.65rem;
  font-weight: 850;
}

.quick-stats dd {
  margin: 4px 0 0;
  color: rgba(237, 250, 250, 0.72);
}

.hero-visual {
  position: relative;
  min-height: 740px;
  perspective: 1100px;
  animation: liftIn 860ms 120ms both;
}

.phone-aura {
  position: absolute;
  inset: 11% 2% 12%;
  border: 1px solid rgba(52, 242, 229, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(52, 242, 229, 0.16), transparent 42%),
    linear-gradient(20deg, transparent, rgba(255, 179, 71, 0.11), transparent 72%);
  filter: blur(0.2px);
  transform: rotate(-4deg);
  animation: auraPulse 6s ease-in-out infinite;
}

.phone {
  position: absolute;
  width: min(306px, 52vw);
  border: 1px solid rgba(205, 255, 249, 0.18);
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
  transform-style: preserve-3d;
  will-change: transform;
}

.phone-main {
  z-index: 3;
  top: 18px;
  left: 50%;
  animation: phoneFloatMain 6s ease-in-out infinite;
}

.phone-back {
  z-index: 1;
  width: min(246px, 42vw);
  opacity: 0.72;
  filter: saturate(0.94) brightness(0.76);
}

.phone-back.one {
  top: 150px;
  left: 0;
  animation: phoneFloatLeft 7.5s ease-in-out infinite;
}

.phone-back.two {
  right: 0;
  top: 214px;
  animation: phoneFloatRight 8s ease-in-out infinite;
}

.signal-card {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 2px;
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(52, 242, 229, 0.26);
  border-radius: 8px;
  background: rgba(7, 20, 24, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.signal-card span {
  color: rgba(237, 250, 250, 0.64);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-card strong {
  color: var(--water-strong);
  font-size: 1.1rem;
}

.signal-card.bite {
  left: 0;
  bottom: 24%;
  animation: liftIn 900ms 560ms both, microFloat 5s ease-in-out 1s infinite;
}

.signal-card.weather {
  right: 2%;
  top: 16%;
  animation: liftIn 900ms 640ms both, microFloat 5.4s ease-in-out 1.2s infinite;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(205, 255, 249, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.036)),
    rgba(7, 20, 24, 0.36);
  box-shadow: var(--soft-shadow);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::before,
.screenshot-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(52, 242, 229, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.feature-card:hover,
.screenshot-card:hover,
.contact-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 242, 229, 0.34);
}

.feature-card:hover::before,
.screenshot-card:hover::before,
.contact-panel:hover::before {
  opacity: 1;
}

.feature-card p {
  margin-bottom: 0;
}

.feature-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #061114;
  background: var(--water);
  box-shadow: 0 0 0 6px rgba(30, 212, 201, 0.08), 0 16px 32px rgba(30, 212, 201, 0.2);
}

.feature-icon.amber {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 179, 71, 0.08), 0 16px 32px rgba(255, 179, 71, 0.14);
}

.feature-icon.coral {
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(255, 117, 100, 0.08), 0 16px 32px rgba(255, 117, 100, 0.14);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

.section-heading h1 {
  font-size: clamp(2.45rem, 5vw, 5rem);
}

.section-heading.compact {
  margin-bottom: 0;
}

.gallery-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.gallery-strip span {
  padding: 8px 11px;
  border: 1px solid rgba(205, 255, 249, 0.13);
  border-radius: 8px;
  color: rgba(237, 250, 250, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.86rem;
  font-weight: 750;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(205, 255, 249, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.04)),
    rgba(7, 20, 24, 0.36);
  box-shadow: var(--soft-shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.screenshot-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1440 / 2823;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  cursor: zoom-in;
  transform: translateZ(0);
  transition: transform 280ms ease, filter 280ms ease;
}

.screenshot-card img:focus-visible {
  outline: 3px solid var(--water-strong);
  outline-offset: 4px;
}

.screenshot-card:hover {
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.42);
}

.screenshot-card:hover img {
  transform: scale(1.018);
  filter: saturate(1.08) brightness(1.04);
}

.screenshot-card h2,
.screenshot-card p,
.screenshot-card div {
  position: relative;
  z-index: 1;
}

.screenshot-card h2 {
  margin-bottom: 0;
  font-size: 1rem;
}

.screenshot-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.featured-shot {
  grid-column: span 2;
  grid-row: span 2;
  grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1fr);
  align-items: end;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(52, 242, 229, 0.18), rgba(255, 179, 71, 0.1)),
    rgba(7, 20, 24, 0.46);
}

.featured-shot img {
  max-height: 700px;
}

.featured-shot h2 {
  font-size: 1.6rem;
}

.screenshots-experience {
  display: grid;
  gap: 18px;
}

.screenshot-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(205, 255, 249, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(130deg, rgba(52, 242, 229, 0.13), rgba(255, 255, 255, 0.045) 46%, rgba(255, 179, 71, 0.08)),
    rgba(7, 20, 24, 0.58);
  box-shadow: var(--shadow);
}

.screenshot-showcase::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(110deg, transparent, rgba(52, 242, 229, 0.12), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 34px);
  opacity: 0.44;
  transform: rotate(-8deg);
  pointer-events: none;
}

.showcase-copy,
.showcase-stage {
  position: relative;
  z-index: 1;
}

.showcase-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(52, 242, 229, 0.22);
  border-radius: 8px;
  color: var(--water-strong);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.showcase-copy h2 {
  max-width: 590px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.1rem);
}

.showcase-copy p {
  max-width: 650px;
}

.showcase-controls {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.shot-control {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-height: 54px;
  overflow: hidden;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(205, 255, 249, 0.14);
  border-radius: 8px;
  color: rgba(237, 250, 250, 0.74);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.shot-control::after {
  content: "";
  position: absolute;
  inset: auto 12px 0 58px;
  height: 2px;
  background: linear-gradient(90deg, var(--active-accent, var(--water-strong)), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.shot-control span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #061114;
  background: rgba(237, 250, 250, 0.88);
  font-weight: 850;
}

.shot-control:hover,
.shot-control:focus-visible {
  outline: none;
  color: #fff;
  border-color: rgba(52, 242, 229, 0.34);
  transform: translateX(4px);
}

.shot-control.active {
  color: #fff;
  border-color: rgba(52, 242, 229, 0.44);
  background: linear-gradient(90deg, rgba(52, 242, 229, 0.16), rgba(255, 255, 255, 0.05));
}

.shot-control.active::after {
  opacity: 1;
}

.shot-control.active span {
  background: var(--active-accent, var(--water-strong));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--active-accent, var(--water-strong)) 18%, transparent);
}

.showcase-stage {
  --active-accent: var(--water-strong);
  min-height: 620px;
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 1000px;
}

.showcase-stage[data-accent="amber"] {
  --active-accent: var(--amber);
}

.showcase-stage[data-accent="lime"] {
  --active-accent: var(--moss);
}

.showcase-stage[data-accent="violet"] {
  --active-accent: #9f8cff;
}

.showcase-stage[data-accent="coral"] {
  --active-accent: var(--coral);
}

.showcase-stage::before {
  content: "";
  position: absolute;
  inset: 6% 0;
  z-index: -3;
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, rgba(6, 17, 20, 0.12), rgba(6, 17, 20, 0.86)),
    var(--stage-image);
  background-position: center;
  background-size: cover;
  filter: blur(26px) saturate(1.3);
  opacity: 0.72;
  transform: scale(1.08);
  transition: background-image 260ms ease, opacity 260ms ease;
}

.stage-ring {
  position: absolute;
  width: min(430px, 88%);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--active-accent) 38%, transparent);
  border-radius: 50%;
  box-shadow:
    inset 0 0 70px color-mix(in srgb, var(--active-accent) 9%, transparent),
    0 0 70px rgba(0, 0, 0, 0.18);
  animation: sonarPulse 5.5s ease-in-out infinite;
}

.stage-ring::before,
.stage-ring::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid color-mix(in srgb, var(--active-accent) 24%, transparent);
  border-radius: 50%;
}

.stage-ring::after {
  inset: 31%;
  opacity: 0.6;
}

.showcase-phone-img {
  width: min(318px, 72vw);
  max-height: 590px;
  border: 1px solid rgba(205, 255, 249, 0.18);
  border-radius: 30px;
  box-shadow: var(--shadow);
  object-fit: cover;
  transition: opacity 220ms ease, transform 260ms ease, filter 260ms ease;
  transform: rotateX(2deg) rotateY(-5deg);
}

.showcase-phone-img.is-swapping {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px) rotateX(0deg) rotateY(0deg) scale(0.97);
}

.showcase-ghost {
  position: absolute;
  width: min(190px, 34vw);
  border: 1px solid rgba(205, 255, 249, 0.12);
  border-radius: 24px;
  opacity: 0.34;
  filter: saturate(0.88) brightness(0.76);
  box-shadow: var(--soft-shadow);
  object-fit: cover;
}

.ghost-left {
  left: 3%;
  bottom: 11%;
  transform: rotate(-9deg);
}

.ghost-right {
  right: 1%;
  top: 10%;
  transform: rotate(8deg);
}

.orbit-label {
  position: absolute;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--active-accent) 36%, transparent);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 20, 24, 0.7);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 850;
}

.orbit-label.top {
  top: 18%;
  left: 6%;
}

.orbit-label.bottom {
  right: 6%;
  bottom: 18%;
}

.sonar-lens {
  position: absolute;
  z-index: 4;
  left: var(--lens-x, 50%);
  top: var(--lens-y, 50%);
  display: none;
  width: 130px;
  height: 130px;
  border: 1px solid color-mix(in srgb, var(--active-accent) 72%, white 8%);
  border-radius: 50%;
  background-image: var(--stage-image);
  background-position: center;
  background-size: 340px auto;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 34px color-mix(in srgb, var(--active-accent) 28%, transparent);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 140ms ease;
}

.sonar-lens::before,
.sonar-lens::after {
  content: "";
  position: absolute;
  background: color-mix(in srgb, var(--active-accent) 68%, transparent);
}

.sonar-lens::before {
  left: 50%;
  top: 10px;
  width: 1px;
  height: calc(100% - 20px);
}

.sonar-lens::after {
  top: 50%;
  left: 10px;
  width: calc(100% - 20px);
  height: 1px;
}

.shot-rail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.shot-story {
  grid-column: span 3;
  padding: 12px;
}

.shot-story.large,
.shot-story.wide {
  grid-column: span 6;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1fr);
  align-items: end;
}

.shot-story.compact {
  grid-column: span 4;
}

.shot-story h2 {
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
}

.story-number {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--water-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr) minmax(230px, 0.45fr);
  align-items: center;
  gap: 22px;
  min-height: calc(100vh - 168px);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(205, 255, 249, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(52, 242, 229, 0.16), rgba(255, 255, 255, 0.05)),
    var(--glass-strong);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.contact-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-panel h2 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.email-link {
  display: inline-flex;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--water-strong);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  font-weight: 850;
}

.contact-note {
  margin: 28px 0 0;
}

.support-preview {
  justify-self: end;
  perspective: 1000px;
}

.support-preview img {
  width: min(250px, 100%);
  border: 1px solid rgba(205, 255, 249, 0.16);
  border-radius: 26px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  animation: supportFloat 6.2s ease-in-out infinite;
}

.support-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--water-strong);
  font-weight: 850;
}

.subpage-header {
  position: relative;
}

.compact-action {
  min-height: 42px;
  padding: 0 14px;
}

.subpage-panel {
  min-height: calc(100vh - 170px);
}

.delete-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.single-guide {
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.62fr);
}

.delete-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(205, 255, 249, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(52, 242, 229, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(7, 20, 24, 0.54);
  box-shadow: var(--soft-shadow);
}

.delete-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(52, 242, 229, 0.18), transparent 34%);
  opacity: 0.85;
  pointer-events: none;
}

.delete-card-header,
.step-list {
  position: relative;
  z-index: 1;
}

.delete-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.delete-card-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.delete-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #061114;
  background: linear-gradient(135deg, var(--water-strong), var(--water));
  box-shadow: 0 0 0 7px rgba(52, 242, 229, 0.08), 0 18px 36px rgba(30, 212, 201, 0.18);
}

.delete-icon.phone-icon {
  background: linear-gradient(135deg, var(--amber), var(--coral));
  box-shadow: 0 0 0 7px rgba(255, 179, 71, 0.08), 0 18px 36px rgba(255, 117, 100, 0.14);
}

.delete-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.step-list li {
  color: rgba(237, 250, 250, 0.8);
  line-height: 1.62;
}

.step-list li::marker {
  color: var(--water-strong);
  font-weight: 850;
}

.deletion-note {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(52, 242, 229, 0.2);
  border-radius: 8px;
  color: rgba(237, 250, 250, 0.86);
  background: rgba(52, 242, 229, 0.08);
}

.contact-delete-card p,
.contact-delete-card a {
  position: relative;
  z-index: 1;
}

.privacy-heading {
  margin-bottom: 24px;
}

.policy-document {
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 248, 0.96));
  color: #122024;
  box-shadow: var(--shadow);
}

.policy-document h2,
.policy-document h3 {
  color: #071013;
}

.policy-document h2 {
  margin: 30px 0 12px;
  font-size: 1.45rem;
}

.policy-document h2:first-child {
  margin-top: 0;
}

.policy-document h3 {
  margin: 22px 0 10px;
  font-size: 1.08rem;
}

.policy-document p,
.policy-document li {
  color: #344447;
  line-height: 1.75;
}

.policy-document ul {
  padding-left: 22px;
}

.policy-bullet {
  position: relative;
  padding-left: 22px;
}

.policy-bullet::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--water);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  border-top: 1px solid rgba(205, 255, 249, 0.12);
  color: rgba(237, 250, 250, 0.68);
  background: rgba(7, 16, 19, 0.72);
}

.site-footer a {
  color: var(--water-strong);
}

.image-dialog {
  width: min(980px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid rgba(205, 255, 249, 0.18);
  border-radius: 8px;
  background: #0d1d23;
  box-shadow: var(--shadow);
}

.image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.image-dialog img {
  display: block;
  width: min(430px, 100%);
  max-height: 82vh;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dialog-title {
  margin: 0;
  color: #fff;
  font-weight: 850;
}

.dialog-close,
.dialog-nav {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(205, 255, 249, 0.18);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.dialog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
}

.dialog-nav.previous {
  left: 16px;
}

.dialog-nav.next {
  right: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes waterDrift {
  from {
    transform: translate3d(-1.5%, -1%, 0);
  }
  to {
    transform: translate3d(1.5%, 1%, 0);
  }
}

@keyframes auroraSlide {
  from {
    transform: translate3d(-2%, 0, 0) skewY(-2deg);
  }
  to {
    transform: translate3d(4%, 5%, 0) skewY(2deg);
  }
}

@keyframes tideLift {
  from {
    transform: translateY(0) skewY(-8deg);
  }
  to {
    transform: translateY(-18px) skewY(-8deg);
  }
}

@keyframes currentSweep {
  0%,
  100% {
    opacity: 0.15;
    transform: translateX(-5%) rotate(-7deg);
  }
  50% {
    opacity: 0.48;
    transform: translateX(5%) rotate(-7deg);
  }
}

@keyframes phoneFloatMain {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateX(-50%) translateY(-12px) rotateX(1.5deg) rotateY(-2deg);
  }
}

@keyframes phoneFloatLeft {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(12px) rotate(-5deg);
  }
}

@keyframes phoneFloatRight {
  0%,
  100% {
    transform: translateY(0) rotate(7deg);
  }
  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}

@keyframes auraPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: rotate(-4deg) scale(0.98);
  }
  50% {
    opacity: 0.9;
    transform: rotate(-2deg) scale(1.02);
  }
}

@keyframes actionSweep {
  0%,
  55% {
    transform: translateX(-140%);
  }
  72%,
  100% {
    transform: translateX(140%);
  }
}

@keyframes sonarPulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.52;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.88;
  }
}

@keyframes microFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes supportFloat {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(1deg) translateY(-10px);
  }
}

@media (max-width: 960px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .tab-nav {
    overflow-x: auto;
  }

  .tab-button {
    flex: 1 0 auto;
  }

  .hero-shell,
  .support-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .feature-band {
    grid-template-columns: 1fr;
  }

  .screenshot-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-stage {
    min-height: 590px;
    order: -1;
  }

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

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

  .shot-story,
  .shot-story.large,
  .shot-story.wide,
  .shot-story.compact {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .delete-guide {
    grid-template-columns: 1fr;
  }

  .single-guide {
    grid-template-columns: 1fr;
  }

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

  .support-preview {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 1220px);
  }

  .site-header {
    margin-top: 8px;
    padding: 12px;
  }

  .brand {
    justify-content: center;
  }

  .tab-nav {
    overflow-x: auto;
  }

  .tab-button {
    flex: 0 0 auto;
    padding: 0 10px;
  }

  .hero-shell {
    gap: 18px;
  }

  .hero-badge {
    align-items: flex-start;
    font-size: 0.82rem;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
    overflow: hidden;
  }

  .phone {
    width: min(235px, 72vw);
  }

  .phone-back {
    width: min(182px, 56vw);
  }

  .phone-back.one {
    left: -24px;
  }

  .phone-back.two {
    right: -24px;
  }

  .signal-card {
    min-width: 116px;
    padding: 10px 12px;
  }

  .signal-card.weather {
    right: 0;
    top: 9%;
  }

  .signal-card.bite {
    bottom: 18%;
  }

  .gallery-grid,
  .featured-shot {
    grid-template-columns: 1fr;
  }

  .screenshot-showcase {
    padding: 16px;
  }

  .showcase-stage {
    min-height: 500px;
    overflow: hidden;
  }

  .showcase-controls {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .shot-control {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: start;
  }

  .showcase-ghost,
  .orbit-label,
  .sonar-lens {
    display: none;
  }

  .shot-rail {
    display: flex;
    gap: 14px;
    margin-inline: -12px;
    padding: 0 12px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .shot-story,
  .shot-story.large,
  .shot-story.wide,
  .shot-story.compact {
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: center;
  }

  .featured-shot {
    grid-column: auto;
    grid-row: auto;
  }

  .support-preview img {
    width: min(320px, 100%);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .sonar-lens {
    display: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .sonar-lens {
    display: block;
  }

  .showcase-stage:hover .sonar-lens {
    opacity: 0.94;
  }
}
