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

:root {
  --bg: #060912;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(77, 142, 255, 0.07);
  --text: #e8eaf6;
  --text-dim: #6b7494;
  --accent: #4d8eff;
  --accent-2: #7eb4ff;
  --teal: #00e5a0;
  --accent-dim: rgba(77, 142, 255, 0.1);
  --border: rgba(77, 142, 255, 0.1);
  --border-hover: rgba(77, 142, 255, 0.35);
  --radius: 14px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE ─────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── DOT GRID ──────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(77,142,255,0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 80%);
}

nav, section, footer, .stat-bar { position: relative; z-index: 1; }

/* ── AMBIENT GLOWS ─────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}

/* ── WORDMARK ──────────────────────────── */
.ops  { color: #ffffff; font-weight: 800; }
.buoy { color: var(--accent); font-weight: 800; }

/* ── NAV ───────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 9, 18, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(77,142,255,0.08);
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.nav-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--accent); }

.nav-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(77,142,255,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.3px;
}

.nav-cta:hover {
  background: rgba(77,142,255,0.1);
  border-color: var(--accent);
}

/* ── SHARED ────────────────────────────── */
.section-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 1px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #6ba3ff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 32px rgba(77, 142, 255, 0.35), 0 1px 0 rgba(255,255,255,0.12) inset;
  white-space: nowrap;
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 44px rgba(77, 142, 255, 0.5);
}

/* ── HERO ──────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 28px 120px;
  overflow: hidden;
}

.hero .glow-orb-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(77,142,255,0.22) 0%, rgba(0,229,160,0.06) 50%, transparent 70%);
  top: -280px; left: 50%;
  transform: translateX(-50%);
}

.hero .glow-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,229,160,0.15) 0%, transparent 70%);
  bottom: 80px; right: -100px;
}

.hero .glow-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(126,180,255,0.12) 0%, transparent 70%);
  bottom: 100px; left: -80px;
}

/* Brand wordmark */
.brand-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(56px, 12vw, 104px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 28px;
  animation: fadeInUp 0.9s ease-out 0.05s both;
}

.brand-o {
  height: 0.88em;
  width: auto;
  border-radius: 50%;
  margin-right: 0.02em;
  filter: drop-shadow(0 0 28px rgba(77, 142, 255, 0.55));
  vertical-align: middle;
}

.brand-ps   { color: #ffffff; }
.brand-buoy { color: var(--accent); }

.hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s ease-out 0.0s both;
  opacity: 0.85;
}

.hero-tagline {
  font-size: clamp(18px, 2.8vw, 24px);
  color: rgba(232,234,246,0.75);
  max-width: 540px;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.6;
  animation: fadeInUp 0.9s ease-out 0.15s both;
}

.hero .divider {
  margin: 0 auto 28px;
  animation: fadeInUp 0.9s ease-out 0.25s both;
}

.hero-problem {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 2;
  max-width: 460px;
  margin-bottom: 48px;
  animation: fadeInUp 0.9s ease-out 0.35s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.9s ease-out 0.45s both;
}

.hero-ghost {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-ghost:hover { color: var(--text); }

/* ── STAT BAR ──────────────────────────── */
.stat-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 28px;
  background: rgba(77,142,255,0.02);
}

.stat-bar-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item {}

.stat-num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ── PRODUCTS ──────────────────────────── */
.products {
  padding: 120px 0;
  overflow: hidden;
}

.products .glow-orb-4 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,229,160,0.1) 0%, transparent 70%);
  top: 50%; right: -200px;
  transform: translateY(-50%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-image: linear-gradient(145deg, rgba(77,142,255,0.05) 0%, transparent 50%);
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(77,142,255,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.product-card:hover {
  border-color: rgba(77,142,255,0.28);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 40px rgba(77,142,255,0.12);
}

.product-card:hover::before { opacity: 1; }

.product-card-live {
  background-image: linear-gradient(145deg, rgba(0,229,160,0.04) 0%, rgba(77,142,255,0.04) 50%, transparent 100%);
}

.product-card-live:hover {
  border-color: rgba(0,229,160,0.25);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 40px rgba(0,229,160,0.1);
}

.product-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(0,229,160,0.1);
  color: var(--teal);
  border: 1px solid rgba(0,229,160,0.25);
}

.product-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-product {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(77,142,255,0.3);
  border-radius: 20px;
  padding: 7px 18px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  letter-spacing: 0.2px;
}

.btn-product:hover {
  background: rgba(77,142,255,0.1);
  border-color: var(--accent);
  transform: translateX(2px);
}

/* ── HORIZON ───────────────────────────── */
.horizon {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.horizon .glow-orb-5 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(77,142,255,0.1) 0%, transparent 70%);
  top: 50%; left: -200px;
  transform: translateY(-50%);
}

.horizon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.horizon-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.horizon-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,142,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.horizon-card:hover {
  background: rgba(77,142,255,0.04);
  border-color: rgba(77,142,255,0.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.horizon-card:hover::after { opacity: 1; }

.horizon-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(77,142,255,0.1);
  border: 1px solid rgba(77,142,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.horizon-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
}

.horizon-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
  flex: 1;
}

.horizon-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.badge-soon {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,180,50,0.08);
  color: #ffb432;
  border: 1px solid rgba(255,180,50,0.2);
}

.badge-dev {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(77,142,255,0.08);
  color: var(--accent-2);
  border: 1px solid rgba(77,142,255,0.2);
}

.horizon-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}

/* ── WAITLIST ──────────────────────────── */
.waitlist {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.waitlist .glow-orb-6 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,229,160,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.waitlist-inner {
  max-width: 560px;
  text-align: center;
}

.waitlist-sub {
  font-size: 15px;
  color: var(--text-dim);
  margin-top: -28px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.form-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.email-input {
  flex: 1;
  background: rgba(77, 142, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.email-input::placeholder { color: var(--text-dim); }

.email-input:focus {
  border-color: rgba(77,142,255,0.5);
  box-shadow: 0 0 0 3px rgba(77, 142, 255, 0.12);
}

.form-feedback {
  font-size: 13px;
  margin-top: 16px;
  min-height: 18px;
  color: var(--text-dim);
}

.form-feedback.success { color: var(--teal); }
.form-feedback.error   { color: #ff6b8a; }

/* ── FOUNDER ───────────────────────────── */
.founder {
  padding: 100px 0 120px;
  border-top: 1px solid var(--border);
}

.founder-inner {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}

.founder-quote {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  color: rgba(232,234,246,0.85);
  line-height: 1.7;
  letter-spacing: -0.2px;
  font-style: italic;
}

.founder-attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.founder-role {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

/* ── FOOTER ────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 28px;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.footer-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ── PRODUCT PREVIEW ───────────────────── */
.product-preview {
  position: relative;
  height: 160px;
  margin-bottom: 28px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(77, 142, 255, 0.1);
  background: rgba(0,0,0,0.2);
}

.product-preview svg {
  display: block;
  width: 100%;
  height: 160px;
}

.preview-legend {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  gap: 12px;
}

.leg-item {
  font-size: 9px;
  font-family: monospace;
  color: var(--c);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ── G-CODE TOOLPATH ANIMATION ─────────── */
.tp {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes draw-r1 {
  0%    { stroke-dashoffset: 1; opacity: 0; }
  1%    { stroke-dashoffset: 1; opacity: 0.4; }
  7.25% { stroke-dashoffset: 0; opacity: 0.4; }
  65%   { stroke-dashoffset: 0; opacity: 0.4; }
  72.5% { stroke-dashoffset: 0; opacity: 0; }
  100%  { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes draw-s1 {
  0%, 4%  { stroke-dashoffset: 1; opacity: 0; }
  5%      { stroke-dashoffset: 1; opacity: 1; }
  28.5%   { stroke-dashoffset: 0; opacity: 1; }
  65%     { stroke-dashoffset: 0; opacity: 1; }
  72.5%   { stroke-dashoffset: 0; opacity: 0; }
  100%    { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes draw-r2 {
  0%, 25.25% { stroke-dashoffset: 1; opacity: 0; }
  26.25%     { stroke-dashoffset: 1; opacity: 0.4; }
  33.5%      { stroke-dashoffset: 0; opacity: 0.4; }
  65%        { stroke-dashoffset: 0; opacity: 0.4; }
  72.5%      { stroke-dashoffset: 0; opacity: 0; }
  100%       { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes draw-d1 {
  0%, 30.25% { stroke-dashoffset: 1; opacity: 0; }
  31.25%     { stroke-dashoffset: 1; opacity: 1; }
  38.5%      { stroke-dashoffset: 0; opacity: 1; }
  65%        { stroke-dashoffset: 0; opacity: 1; }
  72.5%      { stroke-dashoffset: 0; opacity: 0; }
  100%       { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes draw-d2 {
  0%, 35.25% { stroke-dashoffset: 1; opacity: 0; }
  36.25%     { stroke-dashoffset: 1; opacity: 1; }
  43.5%      { stroke-dashoffset: 0; opacity: 1; }
  65%        { stroke-dashoffset: 0; opacity: 1; }
  72.5%      { stroke-dashoffset: 0; opacity: 0; }
  100%       { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes draw-d3 {
  0%, 40.25% { stroke-dashoffset: 1; opacity: 0; }
  41.25%     { stroke-dashoffset: 1; opacity: 1; }
  48.5%      { stroke-dashoffset: 0; opacity: 1; }
  65%        { stroke-dashoffset: 0; opacity: 1; }
  72.5%      { stroke-dashoffset: 0; opacity: 0; }
  100%       { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes draw-d4 {
  0%, 45.25% { stroke-dashoffset: 1; opacity: 0; }
  46.25%     { stroke-dashoffset: 1; opacity: 1; }
  53.5%      { stroke-dashoffset: 0; opacity: 1; }
  65%        { stroke-dashoffset: 0; opacity: 1; }
  72.5%      { stroke-dashoffset: 0; opacity: 0; }
  100%       { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes draw-d5 {
  0%, 50.25% { stroke-dashoffset: 1; opacity: 0; }
  51.25%     { stroke-dashoffset: 1; opacity: 1; }
  58.5%      { stroke-dashoffset: 0; opacity: 1; }
  65%        { stroke-dashoffset: 0; opacity: 1; }
  72.5%      { stroke-dashoffset: 0; opacity: 0; }
  100%       { stroke-dashoffset: 1; opacity: 0; }
}

.tp-r1 { animation: draw-r1 8s linear infinite; }
.tp-s1 { animation: draw-s1 8s linear infinite; }
.tp-r2 { animation: draw-r2 8s linear infinite; }
.tp-d1 { animation: draw-d1 8s linear infinite; }
.tp-d2 { animation: draw-d2 8s linear infinite; }
.tp-d3 { animation: draw-d3 8s linear infinite; }
.tp-d4 { animation: draw-d4 8s linear infinite; }
.tp-d5 { animation: draw-d5 8s linear infinite; }

@keyframes tool-pos {
  0%, 1%   { transform: translate(139.8px, 74px);    opacity: 0; }
  1.5%     { transform: translate(139.8px, 74px);    opacity: 1; }
  7.25%    { transform: translate(32.4px,  58.5px);  opacity: 1; }
  12%      { transform: translate(166.7px, 136px);   opacity: 1; }
  17%      { transform: translate(247.2px, 89.5px);  opacity: 1; }
  23%      { transform: translate(113px,   12px);    opacity: 1; }
  28.5%    { transform: translate(32.4px,  58.5px);  opacity: 1; }
  33.5%    { transform: translate(113.1px, 47.9px);  opacity: 1; }
  38.5%    { transform: translate(205.2px, 101.1px); opacity: 1; }
  43.5%    { transform: translate(103px,   53.7px);  opacity: 1; }
  48.5%    { transform: translate(185.1px, 112.7px); opacity: 1; }
  53.5%    { transform: translate(82.9px,  65.3px);  opacity: 1; }
  58.5%    { transform: translate(164.9px, 124.3px); opacity: 1; }
  65%      { transform: translate(164.9px, 124.3px); opacity: 1; }
  72.5%    { transform: translate(164.9px, 124.3px); opacity: 0; }
  73%, 100%{ transform: translate(139.8px, 74px);    opacity: 0; }
}
.tool-marker { animation: tool-pos 8s linear infinite; }

/* ── REEF GUIDE ANIMATION ──────────────── */
@keyframes rm1 {
  0%      { opacity: 0; }
  12.5%   { opacity: 1; }
  81.25%  { opacity: 1; }
  93.75%, 100% { opacity: 0; }
}
@keyframes rm2 {
  0%, 12.5% { opacity: 0; }
  25%        { opacity: 1; }
  81.25%     { opacity: 1; }
  93.75%, 100% { opacity: 0; }
}
@keyframes rm3 {
  0%, 25%   { opacity: 0; }
  37.5%     { opacity: 1; }
  81.25%    { opacity: 1; }
  93.75%, 100% { opacity: 0; }
}
@keyframes rm4 {
  0%, 37.5% { opacity: 0; }
  50%        { opacity: 1; }
  81.25%     { opacity: 1; }
  93.75%, 100% { opacity: 0; }
}

.reef-m1 { animation: rm1 8s ease-in-out infinite; }
.reef-m2 { animation: rm2 8s ease-in-out infinite; }
.reef-m3 { animation: rm3 8s ease-in-out infinite; }
.reef-m4 { animation: rm4 8s ease-in-out infinite; }

@keyframes reef-pulse {
  0%   { transform: scale(1); opacity: 0.75; }
  80%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

.pulse-r1, .pulse-r2, .pulse-r3, .pulse-r4 {
  transform-box: fill-box;
  transform-origin: center center;
  animation: reef-pulse 2s ease-out infinite;
}
.pulse-r2 { animation-delay: 0.5s; }
.pulse-r3 { animation-delay: 1s; }
.pulse-r4 { animation-delay: 1.5s; }

/* ── ANIMATIONS ────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ── SCROLL REVEAL ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 600px) {
  .form-row { flex-direction: column; }
  .btn-primary { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-inner { justify-content: center; text-align: center; }
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
