/* ===== Octobrowser — deep ocean theme ===== */

:root {
  --bg-0: #02060f;
  --bg-1: #051224;
  --bg-2: #0a2140;
  --card: rgba(13, 34, 60, 0.5);
  --card-border: rgba(110, 205, 255, 0.13);
  --text: #eaf5ff;
  --text-dim: #93aec8;
  --accent: #38e1ff;
  --accent-2: #7c6bff;
  --accent-3: #2af5c0;
  --danger: #ff6b81;
  --radius: 20px;
  --font-display: 'Sora', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(56, 225, 255, 0.09), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 30%, var(--bg-0) 75%, #010409 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); }

::selection { background: rgba(56, 225, 255, 0.3); }

/* film grain for depth */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== Aquarium background ===== */
.ocean { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ocean::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 125% 95% at 50% 38%, transparent 52%, rgba(1, 3, 8, 0.6) 100%);
}

.rays {
  position: absolute; top: -10%; left: 10%; right: 10%; height: 70%;
  background:
    linear-gradient(105deg, transparent 20%, rgba(120, 220, 255, 0.05) 32%, transparent 44%),
    linear-gradient(78deg, transparent 45%, rgba(120, 220, 255, 0.04) 55%, transparent 66%),
    linear-gradient(95deg, transparent 62%, rgba(120, 220, 255, 0.06) 72%, transparent 84%);
  animation: raysSway 14s ease-in-out infinite alternate;
  transform-origin: top center;
}
@keyframes raysSway {
  from { transform: rotate(-2deg); opacity: 0.7; }
  to   { transform: rotate(2deg); opacity: 1; }
}

/* --- fish: fish faces LEFT.
       default lanes swim right→left; .rev lanes swim left→right with flipped svg --- */
.fish-svg { width: 100%; height: auto; display: block; }

.lane { position: absolute; left: 0; width: 100%; }
.swim { position: absolute; animation: swimLeft linear infinite; will-change: transform; }
.rev .swim { animation-name: swimRight; }
.lane .fish-svg, .tank-fish .fish-svg { animation: bob 3.2s ease-in-out infinite alternate; }
.rev .fish-svg { animation-name: bobFlip; }

.lane-1 { top: 20%; }
.lane-1 .swim { width: 46px; color: #ff9d5c; animation-duration: 36s; opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(255, 157, 92, 0.45)); }
.lane-2 { top: 34%; }
.lane-2 .swim { width: 30px; color: #6ea8ff; animation-duration: 48s; animation-delay: -18s; opacity: 0.55;
  filter: blur(0.6px) drop-shadow(0 0 8px rgba(110, 168, 255, 0.35)); }
.lane-2 .fish-svg { animation-duration: 2.6s; }
.lane-3 { top: 58%; }
.lane-3 .swim { width: 56px; color: #2af5c0; animation-duration: 42s; animation-delay: -9s; opacity: 0.85;
  filter: drop-shadow(0 0 12px rgba(42, 245, 192, 0.45)); }
.lane-3 .fish-svg { animation-duration: 3.8s; }
.lane-4 { top: 74%; }
.lane-4 .swim { width: 26px; color: #b18cff; animation-duration: 54s; animation-delay: -30s; opacity: 0.5;
  filter: blur(0.8px) drop-shadow(0 0 8px rgba(177, 140, 255, 0.35)); }
.lane-4 .fish-svg { animation-duration: 2.3s; }
.lane-5 { top: 44%; }
.lane-5 .swim { width: 38px; color: #ffd166; animation-duration: 46s; animation-delay: -24s; opacity: 0.7;
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.4)); }
.lane-5 .fish-svg { animation-duration: 2.9s; }

/* --- school of small fish --- */
.lane-school { top: 66%; }
.lane-school .swim { animation-duration: 40s; animation-delay: -16s; }
.school { width: 120px; height: 64px; }
.school .fish-svg {
  position: absolute;
  color: #6ea8ff;
  opacity: 0.6;
  filter: blur(0.4px) drop-shadow(0 0 6px rgba(110, 168, 255, 0.3));
}
.school .tail { animation-duration: 0.38s; }
.sh1 { width: 17px; left: 0;  top: 26px; }
.sh2 { width: 14px; left: 24px; top: 8px;  animation-duration: 2.2s !important; }
.sh3 { width: 15px; left: 30px; top: 44px; animation-duration: 2.7s !important; }
.sh4 { width: 13px; left: 52px; top: 22px; animation-duration: 2.4s !important; }
.sh5 { width: 12px; left: 74px; top: 38px; animation-duration: 2.9s !important; }

/* --- tail wag --- */
.tail {
  transform-box: fill-box;
  transform-origin: left center;
  animation: wag 0.5s ease-in-out infinite alternate;
}
@keyframes wag {
  from { transform: rotate(-13deg); }
  to   { transform: rotate(13deg); }
}

@keyframes swimLeft {
  0%   { transform: translate(106vw, 0); }
  45%  { transform: translate(50vw, -2.5vh); }
  100% { transform: translate(-12vw, 0); }
}
@keyframes swimRight {
  0%   { transform: translate(-12vw, 0); }
  45%  { transform: translate(50vw, 2.5vh); }
  100% { transform: translate(106vw, 0); }
}
@keyframes bob {
  from { transform: rotate(-3deg) translateY(-2px); }
  to   { transform: rotate(3deg) translateY(2px); }
}
@keyframes bobFlip {
  from { transform: scaleX(-1) rotate(-3deg) translateY(-2px); }
  to   { transform: scaleX(-1) rotate(3deg) translateY(2px); }
}

/* --- corals --- */
.corals { position: absolute; bottom: -8px; left: 0; right: 0; height: 220px; }
.coral { position: absolute; bottom: 0; transform-origin: bottom center; animation: sway 9s ease-in-out infinite alternate; }
.c1 { left: 12%; width: 150px; height: 150px; color: #07232e; }
.c2 { right: 16%; width: 190px; height: 190px; color: #062730; animation-delay: -3s; animation-duration: 11s; }
.c3 { right: 34%; width: 100px; height: 100px; color: #082530; animation-delay: -6s; }

/* --- bubbles --- */
.bubble {
  position: absolute; bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.55), rgba(56,225,255,0.06) 60%);
  animation: rise linear infinite;
  opacity: 0;
}
.b1 { left: 7%;  width: 13px; height: 13px; animation-duration: 12s; }
.b2 { left: 19%; width: 7px;  height: 7px;  animation-duration: 15s; animation-delay: 4s; }
.b3 { left: 52%; width: 17px; height: 17px; animation-duration: 17s; animation-delay: 1.5s; }
.b4 { left: 68%; width: 9px;  height: 9px;  animation-duration: 13s; animation-delay: 6s; }
.b5 { left: 84%; width: 12px; height: 12px; animation-duration: 16s; animation-delay: 2.5s; }
.b6 { left: 38%; width: 6px;  height: 6px;  animation-duration: 11s; animation-delay: 7s; }
.b7 { left: 93%; width: 8px;  height: 8px;  animation-duration: 14s; animation-delay: 9s; }
.b8 { left: 30%; width: 10px; height: 10px; animation-duration: 18s; animation-delay: 11s; }

@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  12%  { opacity: 0.5; }
  88%  { opacity: 0.35; }
  100% { transform: translateY(-112vh) translateX(34px); opacity: 0; }
}

/* --- seaweed --- */
.weeds { position: absolute; bottom: -6px; left: 0; right: 0; height: 130px; }
.weed {
  position: absolute; bottom: 0;
  height: 120px; width: 42px;
  color: #0b3b33;
  transform-origin: bottom center;
  animation: sway 7s ease-in-out infinite alternate;
  opacity: 0.9;
}
.w1 { left: 3%; }
.w2 { left: 9%; height: 86px; animation-delay: -2s; animation-duration: 8.5s; color: #0d443a; }
.w3 { right: 5%; height: 105px; animation-delay: -4s; }
.w4 { right: 12%; height: 70px; animation-delay: -1s; animation-duration: 9s; color: #0d443a; }
@keyframes sway {
  from { transform: rotate(-4deg); }
  to   { transform: rotate(4deg); }
}

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(3, 9, 20, 0.55);
  border-bottom: 1px solid rgba(110, 205, 255, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em;
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #04121f;
  font-size: 19px; font-weight: 800;
  box-shadow: 0 4px 18px rgba(56, 225, 255, 0.35);
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--text-dim); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121f !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 18px rgba(56, 225, 255, 0.28);
  transition: transform 0.15s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 7px 24px rgba(56, 225, 255, 0.4); }

/* ===== Hero ===== */
.hero { position: relative; z-index: 1; padding: 84px 0 70px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(42, 245, 192, 0.25);
  background: rgba(42, 245, 192, 0.07);
  color: var(--accent-3);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 30px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 rgba(42, 245, 192, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(42, 245, 192, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(42, 245, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 245, 192, 0); }
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 66px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.grad {
  background: linear-gradient(115deg, var(--accent) 5%, var(--accent-3) 52%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 520px;
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 17.5px; line-height: 1.7;
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 26px;
  color: var(--text-dim); font-size: 13.5px; letter-spacing: 0.02em;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.hero-note i { opacity: 0.4; font-style: normal; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 15.5px; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.25s, border-color 0.2s, filter 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121f;
  box-shadow: 0 10px 34px rgba(56, 225, 255, 0.25), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(56, 225, 255, 0.4); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost {
  border: 1px solid var(--card-border);
  color: var(--text);
  background: rgba(13, 34, 60, 0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(56, 225, 255, 0.5); }
.btn-wide { width: 100%; text-align: center; }

/* ===== App mockup ===== */
.hero-visual { position: relative; }
.visual-glow {
  position: absolute; inset: -8%;
  background: radial-gradient(ellipse at 50% 45%, rgba(56, 225, 255, 0.16), transparent 65%);
  filter: blur(10px);
}
.app-window {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(110, 205, 255, 0.2);
  background: rgba(7, 20, 38, 0.85);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 70px rgba(56, 225, 255, 0.08);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.hero-visual:hover .app-window { transform: perspective(1400px) rotateY(-2deg) rotateX(0.5deg); }
.app-titlebar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(110, 205, 255, 0.1);
}
.tdot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.tdot:nth-child(1) { background: rgba(255, 107, 129, 0.75); }
.tdot:nth-child(2) { background: rgba(255, 209, 102, 0.75); }
.tdot:nth-child(3) { background: rgba(42, 245, 192, 0.75); }
.app-title { margin-left: 10px; font-size: 12px; color: var(--text-dim); letter-spacing: 0.03em; }

.app-body { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 300px; }

.app-tank {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 70, 120, 0.5) 0%, rgba(8, 30, 58, 0.85) 60%, rgba(5, 18, 36, 0.95) 100%);
  border-right: 1px solid rgba(110, 205, 255, 0.1);
}
.tank-rays {
  position: absolute; inset: -20% 10% 30% 10%;
  background: linear-gradient(100deg, transparent 30%, rgba(140, 225, 255, 0.08) 45%, transparent 60%);
  animation: raysSway 10s ease-in-out infinite alternate;
  transform-origin: top center;
}
.tank-fish { position: absolute; left: 0; width: 100%; }
.tf1 { top: 32%; }
.tf1 .swim { animation-name: tankSwimLeft; width: 42px; color: #ff9d5c; animation-duration: 16s;
  filter: drop-shadow(0 0 8px rgba(255, 157, 92, 0.5)); }
.tf2 { top: 58%; }
.tf2 .swim { animation-name: tankPatrol; animation-timing-function: ease-in-out;
  width: 28px; color: #2af5c0; animation-duration: 24s;
  filter: drop-shadow(0 0 8px rgba(42, 245, 192, 0.5)); }
.tf2 .fish-svg { animation-duration: 2.4s; }
.tf2 .tail { animation-duration: 0.42s; }
@keyframes tankSwimLeft { from { left: 104%; } to { left: -22%; } }
/* patrol: swims right, turns around at the glass, swims back */
@keyframes tankPatrol {
  0%   { left: 4%;  transform: scaleX(-1); }
  46%  { left: 72%; transform: scaleX(-1); }
  50%  { left: 74%; transform: scaleX(1); }
  96%  { left: 4%;  transform: scaleX(1); }
  100% { left: 4%;  transform: scaleX(-1); }
}
.tank-bubble {
  position: absolute; bottom: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.6), rgba(56,225,255,0.08) 60%);
  animation: rise linear infinite;
}
.tb1 { left: 20%; width: 6px; height: 6px; animation-duration: 6s; }
.tb2 { left: 26%; width: 4px; height: 4px; animation-duration: 8s; animation-delay: 2s; }
.tb3 { left: 74%; width: 5px; height: 5px; animation-duration: 7s; animation-delay: 4s; }
.tank-weed { position: absolute; bottom: 10px; width: 26px; color: #0e5a4a; transform-origin: bottom center; animation: sway 6s ease-in-out infinite alternate; }
.tank-weed svg { width: 100%; height: auto; display: block; }
.tw1 { left: 10%; height: 60px; }
.tw2 { right: 12%; height: 44px; animation-delay: -3s; color: #0c4c3f; }
.tank-sand {
  position: absolute; bottom: 0; left: 0; right: 0; height: 16px;
  background: linear-gradient(180deg, rgba(222, 196, 140, 0.35), rgba(160, 132, 84, 0.18));
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.tank-hud {
  position: absolute; top: 14px; left: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(3, 10, 22, 0.55);
  border: 1px solid rgba(110, 205, 255, 0.15);
  backdrop-filter: blur(6px);
}
.hud-label { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-3); font-weight: 600; }
.hud-timer { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }

.app-side { padding: 20px 18px; display: flex; flex-direction: column; gap: 16px; }
.side-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); font-weight: 600; }
.side-total { font-family: var(--font-display); font-size: 30px; font-weight: 800; margin-top: 4px; letter-spacing: -0.02em; }
.side-delta { font-size: 11.5px; color: var(--accent-3); margin-top: 3px; font-weight: 600; }
.bar-row {
  display: grid; grid-template-columns: 52px 1fr 38px;
  align-items: center; gap: 8px;
  font-size: 10.5px; color: var(--text-dim);
  margin-top: 9px;
}
.bar-row em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 5px; border-radius: 99px; background: rgba(255,255,255,0.07); overflow: hidden; }
.bar i {
  display: block; height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: barGrow 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.bar-row:nth-child(2) .bar i { animation-delay: 0.15s; }
.bar-row:nth-child(3) .bar i { animation-delay: 0.3s; }
.bar-row:nth-child(4) .bar i { animation-delay: 0.45s; }
@keyframes barGrow { from { width: 0; } }
.side-fish {
  margin-top: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(42, 245, 192, 0.06);
  border: 1px solid rgba(42, 245, 192, 0.18);
}
.fish-svg.mini { width: 34px; color: #ff9d5c; filter: drop-shadow(0 0 8px rgba(255, 157, 92, 0.45)); }
.sf-name { font-size: 12.5px; font-weight: 700; }
.sf-note { font-size: 10.5px; color: var(--text-dim); margin-top: 2px; }

/* ===== Stats ===== */
.stats { position: relative; z-index: 1; padding: 26px 0 80px; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.2s, border-color 0.2s;
}
.stat:hover { transform: translateY(-3px); border-color: rgba(56, 225, 255, 0.35); }
.stat-num {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { margin-top: 7px; color: var(--text-dim); font-size: 13.5px; }

/* ===== Sections ===== */
.section { position: relative; z-index: 1; padding: 96px 0; }
.section-alt { background: rgba(7, 20, 38, 0.45); border-top: 1px solid rgba(110,205,255,0.06); border-bottom: 1px solid rgba(110,205,255,0.06); }
.kicker {
  text-align: center;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  margin: 18px auto 60px;
  max-width: 540px;
  font-size: 16.5px; line-height: 1.65;
}

/* ===== Feature cards ===== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 225, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 225, 255, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(56, 225, 255, 0.06);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(56, 225, 255, 0.12), rgba(124, 107, 255, 0.12));
  border: 1px solid rgba(110, 205, 255, 0.18);
  color: var(--accent);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18.5px; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.7; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 14px; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 44px 28px 30px;
  backdrop-filter: blur(10px);
}
.step-num {
  position: absolute; top: -21px; left: 28px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121f;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  box-shadow: 0 8px 22px rgba(56, 225, 255, 0.3);
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 14.5px; line-height: 1.7; }

/* ===== Pricing ===== */
.price-card {
  position: relative;
  max-width: 470px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(17, 44, 76, 0.65), rgba(9, 24, 45, 0.75));
  border: 1px solid rgba(56, 225, 255, 0.3);
  border-radius: 26px;
  padding: 48px 44px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 80px rgba(56, 225, 255, 0.08);
}
.price-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 27px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(56, 225, 255, 0.5), transparent 30%, transparent 70%, rgba(124, 107, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-tag {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(42, 245, 192, 0.1);
  border: 1px solid rgba(42, 245, 192, 0.25);
  color: var(--accent-3);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.price-value {
  font-family: var(--font-display);
  font-size: 84px; font-weight: 800;
  margin-top: 20px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-cur { font-size: 42px; vertical-align: super; color: var(--accent); }
.price-once { color: var(--text-dim); font-size: 14.5px; margin-top: 6px; }
.price-list {
  list-style: none;
  text-align: left;
  margin: 34px 0;
  display: grid; gap: 13px;
  font-size: 14.5px;
}
.price-list li { padding-left: 30px; position: relative; }
.price-list li::before {
  content: '';
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(42, 245, 192, 0.12);
  border: 1px solid rgba(42, 245, 192, 0.35);
}
.price-list li::after {
  content: '';
  position: absolute; left: 5.5px; top: 6px;
  width: 6px; height: 3.5px;
  border-left: 1.8px solid var(--accent-3);
  border-bottom: 1.8px solid var(--accent-3);
  transform: rotate(-45deg);
}
.price-note { margin-top: 20px; color: var(--text-dim); font-size: 12.5px; line-height: 1.55; }

/* ===== Lead form ===== */
.lead-form {
  max-width: 530px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(17, 44, 76, 0.55), rgba(9, 24, 45, 0.65));
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 42px 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.form-field input {
  width: 100%;
  padding: 15px 17px;
  border-radius: 13px;
  border: 1px solid var(--card-border);
  background: rgba(3, 10, 22, 0.55);
  color: var(--text);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder { color: rgba(147, 174, 200, 0.45); }
.form-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(56, 225, 255, 0.12);
}
.form-field input.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 107, 129, 0.1); }
.field-hint { display: block; margin-top: 8px; color: var(--text-dim); font-size: 12.5px; }
.form-status { margin-top: 16px; font-size: 14.5px; text-align: center; min-height: 20px; }
.form-status.ok { color: var(--accent-3); }
.form-status.err { color: var(--danger); }
.form-privacy { margin-top: 18px; color: var(--text-dim); font-size: 12.5px; line-height: 1.55; text-align: center; }
.form-privacy a { color: var(--accent); }

/* ===== FAQ ===== */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px 26px;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s;
}
.faq details:hover { border-color: rgba(56, 225, 255, 0.3); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq summary::before { content: '› '; color: var(--accent); font-weight: 800; }
.faq details[open] summary { color: var(--accent); }
.faq p { margin-top: 12px; color: var(--text-dim); font-size: 14.5px; line-height: 1.7; }

/* ===== Footer ===== */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(110, 205, 255, 0.08);
  padding: 54px 0;
  background: rgba(1, 4, 9, 0.7);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.logo-img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.footer-brand .logo-img { width: 30px; height: 30px; }
.footer-brand {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  display: flex; align-items: center; gap: 10px;
}
.footer-brand .logo-mark { width: 30px; height: 30px; font-size: 16px; border-radius: 9px; }
.footer-tag { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 13px; color: var(--text-dim); margin-top: 8px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-dim); font-size: 13px; width: 100%; text-align: center; margin-top: 12px; }

/* ===== Legal pages ===== */
.legal { position: relative; z-index: 1; padding: 76px 0 96px; max-width: 760px; }
.legal h1 { font-size: 36px; margin-bottom: 26px; letter-spacing: -0.02em; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; color: var(--accent); }
.legal p, .legal li { color: var(--text-dim); font-size: 15px; line-height: 1.8; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--text); }

/* ===== Interactive surprises ===== */

/* cursor spotlight */
#spotlight {
  position: fixed; left: 0; top: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 220, 255, 0.08), transparent 62%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

/* click bubble bursts */
.pop-bubble {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.75), rgba(56,225,255,0.12) 60%);
  pointer-events: none;
  z-index: 5;
  animation: popUp 1.4s ease-out forwards;
}
@keyframes popUp {
  0%   { transform: translate(0, 0) scale(0.5); opacity: 0; }
  15%  { opacity: 0.85; }
  100% { transform: translate(var(--dx, 0), -170px) scale(1.15); opacity: 0; }
}

/* live demo button */
.demo-row { margin-top: 34px; }
.btn-demo {
  background: transparent;
  border: 1px dashed rgba(42, 245, 192, 0.5);
  color: var(--accent-3);
  font-size: 14.5px;
  padding: 13px 26px;
}
.btn-demo:hover:not(:disabled) { background: rgba(42, 245, 192, 0.08); border-style: solid; }
.btn-demo:disabled { opacity: 0.65; cursor: default; border-style: solid; }
.demo-hint { margin-top: 12px; font-size: 12.5px; color: var(--text-dim); }

/* user's own fish in the tank */
.user-fish {
  position: absolute; top: 34%; left: 4%;
  width: 64px;
  color: #ffd166;
  filter: drop-shadow(0 0 14px rgba(255, 209, 102, 0.65));
  animation: tankPatrol 30s ease-in-out infinite;
  visibility: hidden;
  z-index: 2;
}
.user-fish.planted { visibility: visible; }
.user-fish .grow { transform-origin: center; transform: scale(0.65); transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.user-fish.planted .grow { animation: born 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes born {
  from { transform: scale(0.05) rotate(-25deg); }
  to   { transform: scale(0.65) rotate(0); }
}
.user-fish .fish-svg { animation: bob 3s ease-in-out infinite alternate; }
.user-fish .tail { animation-duration: 0.45s; }
.user-fish.paused .fish-svg { filter: grayscale(0.9) brightness(0.7); animation-play-state: paused; }
.user-fish.paused .tail { animation-play-state: paused; }

.tank-status {
  position: absolute; bottom: 24px; left: 14px; right: 14px;
  text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent-3);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tank-status.on { opacity: 1; }

/* ===== Otto the octopus (easter egg) ===== */
.octo-pass {
  position: fixed; top: 28%; right: -180px;
  width: 150px;
  z-index: 70;
  pointer-events: none;
  color: #b18cff;
  filter: drop-shadow(0 0 20px rgba(177, 140, 255, 0.6));
  animation: octoPass 16s linear forwards;
}
@keyframes octoPass {
  0%   { transform: translate(0, 0) rotate(-4deg); }
  25%  { transform: translate(-30vw, -8vh) rotate(3deg); }
  50%  { transform: translate(-56vw, 4vh) rotate(-3deg); }
  75%  { transform: translate(-82vw, -6vh) rotate(3deg); }
  100% { transform: translate(-118vw, 0) rotate(-2deg); }
}
.octo-pass .tent {
  transform-box: fill-box;
  transform-origin: top center;
  animation: tentWiggle 1.1s ease-in-out infinite alternate;
}
.octo-pass .t2 { animation-delay: -0.3s; }
.octo-pass .t3 { animation-delay: -0.6s; }
.octo-pass .t4 { animation-delay: -0.85s; }
@keyframes tentWiggle {
  from { transform: rotate(-7deg); }
  to   { transform: rotate(7deg); }
}
.octo-toast {
  position: fixed; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(9, 24, 45, 0.9);
  border: 1px solid rgba(177, 140, 255, 0.4);
  color: var(--text);
  font-size: 14px; font-weight: 600;
  z-index: 71;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), toastOut 0.5s ease 3.5s forwards;
}
@keyframes toastIn { from { transform: translate(-50%, 20px); opacity: 0; } }
@keyframes toastOut { to { transform: translate(-50%, 20px); opacity: 0; } }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .app-window { transform: none; max-width: 560px; margin: 0 auto; }
  .hero-visual:hover .app-window { transform: none; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid, .steps, .stats-inner, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 56px; }
  .nav a:not(.nav-cta) { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .app-tank { min-height: 220px; border-right: none; border-bottom: 1px solid rgba(110, 205, 255, 0.1); }
  .price-card, .lead-form { padding: 34px 24px; }
  .section { padding: 72px 0; }
}
