:root {
  --bg: #061f2f;
  --bg-2: #082f46;
  --surface: rgba(255, 255, 255, 0.09);
  --surface-strong: rgba(255, 255, 255, 0.15);
  --card: rgba(255, 255, 255, 0.92);
  --ink: #082333;
  --muted: #5e7480;
  --line: rgba(255, 255, 255, 0.16);
  --sand: #f5dfb3;
  --aqua: #45e0dd;
  --aqua-2: #00a7b8;
  --coral: #ff8c65;
  --green: #8ee6a5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: white;
  background:
    radial-gradient(circle at 15% 10%, rgba(69, 224, 221, .24), transparent 28rem),
    radial-gradient(circle at 82% 14%, rgba(255, 140, 101, .18), transparent 25rem),
    linear-gradient(135deg, var(--bg), var(--bg-2) 62%, #053849);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

#water-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: .48;
  z-index: 0;
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }

.island-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 1060px);
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 16px;
  z-index: 20;
  background: rgba(4, 26, 39, 0.72);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.03em; }
.brand img { border-radius: 12px; background: white; object-fit: contain; }
.island-nav nav { display: flex; justify-content: center; gap: 6px; }
.island-nav nav a { color: rgba(255,255,255,.72); padding: 10px 12px; border-radius: 999px; transition: .2s ease; }
.island-nav nav a:hover { color: white; background: rgba(255,255,255,.09); }
.nav-cta, .primary-btn, .secondary-btn, .toggle-btn, .dock-preview button, .bottom-dock button {
  min-height: 44px;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.nav-cta, .primary-btn {
  padding: 0 20px;
  background: linear-gradient(135deg, var(--aqua), #9af7e7);
  color: #03202c;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(69,224,221,.24);
}
.nav-cta:hover, .primary-btn:hover, .secondary-btn:hover, .dock-preview button:hover, .bottom-dock button:hover { transform: translateY(-2px); }
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: white;
  font-weight: 750;
}
.secondary-btn.small { min-height: 42px; font-size: 14px; }

.section-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 58px;
  padding: 132px 0 70px;
}
.eyebrow, .card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before, .card-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 18px var(--aqua); }
h1, h2, h3, p { margin: 0; }
h1 {
  margin-top: 18px;
  max-width: 780px;
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: .92;
  letter-spacing: -.075em;
}
h2 { font-size: clamp(32px, 4.5vw, 56px); line-height: .95; letter-spacing: -.055em; }
.lead { margin-top: 24px; max-width: 640px; color: rgba(255,255,255,.76); font-size: clamp(18px, 2.2vw, 23px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.primary-btn { min-height: 52px; font-size: 16px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-strip span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.78);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 20%), rgba(69,224,221,.24), transparent 42%);
  opacity: .95;
  pointer-events: none;
}
.hero-card {
  min-height: 600px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04)),
    radial-gradient(circle at 50% 40%, rgba(69,224,221,.35), transparent 20rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.route-orbit { position: absolute; inset: 58px 40px 138px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.route-orbit::before, .route-orbit::after { content: ""; position: absolute; inset: 12%; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; animation: spin 32s linear infinite; }
.route-orbit::after { inset: 28%; animation-duration: 20s; animation-direction: reverse; }
.orbit-core { position: absolute; inset: 50%; width: 142px; height: 142px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: white; color: #073145; font-weight: 950; font-size: 38px; box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.orbit-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 28px var(--sand); }
.dot-a { left: 18%; top: 22%; } .dot-b { right: 18%; top: 36%; background: var(--aqua); } .dot-c { left: 46%; bottom: 12%; background: var(--coral); }
.hero-card-footer { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 24px; background: rgba(2, 20, 32, .62); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); }
.hero-card-footer p { color: rgba(255,255,255,.68); margin-top: 4px; line-height: 1.45; }
.status-dot { width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 20px var(--green); flex: 0 0 auto; }

.bento { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 14px; margin-top: -34px; padding-bottom: 88px; }
.bento-card, .service-card, .location-card, .quiz-panel, .dock-preview, .faq-item {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,.14);
}
.bento-card { padding: 24px; min-height: 190px; }
.bento-card.wide { background: rgba(255,255,255,.13); }
.bento-card h2 { margin-top: 14px; font-size: clamp(28px, 3.2vw, 42px); }
.bento-card p { margin-top: 16px; color: rgba(255,255,255,.7); line-height: 1.55; }
.bento-card.mini span { display: inline-flex; color: var(--aqua); font-weight: 950; margin-bottom: 34px; }
.bento-card.mini strong { display: block; font-size: 18px; }
.bento-card.mini p { margin-top: 8px; font-size: 14px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head.compact { align-items: start; margin-bottom: 22px; }
.formats-section, .split-section, .quiz-section, .faq-section { padding: 84px 0; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); }
.toggle-btn { padding: 0 16px; color: white; background: transparent; }
.toggle-btn.active { background: white; color: var(--ink); font-weight: 850; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.service-card { position: relative; min-height: 300px; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: rgba(255,255,255,.92); color: var(--ink); }
.service-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--aqua), var(--sand), var(--coral)); opacity: .8; }
.service-card h3 { margin-top: 16px; font-size: 26px; letter-spacing: -.04em; line-height: 1; }
.service-card p { color: var(--muted); line-height: 1.48; }
.price { margin-top: auto; font-size: 34px; font-weight: 950; letter-spacing: -.06em; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-row span { padding: 7px 10px; border-radius: 999px; background: #eef9f9; color: #0c6570; font-size: 13px; font-weight: 750; }
.card-btn { min-height: 44px; border-radius: 16px; background: #082333; color: white; font-weight: 850; }
.skeleton { height: 300px; border-radius: var(--radius-lg); background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.17), rgba(255,255,255,.08)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }

.split-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.section-copy p { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.6; }
.location-stack { display: grid; gap: 14px; }
.location-card { padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.location-badge { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--aqua), #c9fff3); color: #063140; font-weight: 950; }
.location-card h3 { font-size: 24px; }
.location-card p { margin-top: 8px; color: rgba(255,255,255,.7); line-height: 1.5; }
.location-card small { display: block; margin-top: 12px; color: var(--sand); }

.quiz-section { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.quiz-panel { padding: 28px; background: rgba(255,255,255,.12); min-height: 420px; }
.step-indicator { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.74); }
.quiz-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.quiz-option { text-align: left; min-height: 150px; padding: 18px; border-radius: 22px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.09); color: white; }
.quiz-option strong { display: block; margin-bottom: 10px; font-size: 18px; }
.quiz-option span { color: rgba(255,255,255,.68); line-height: 1.4; }
.result-card { display: grid; gap: 14px; padding: 22px; border-radius: 24px; background: rgba(255,255,255,.92); color: var(--ink); }
.result-card p { color: var(--muted); line-height: 1.5; }
.dock-preview { padding: 18px; display: grid; gap: 10px; background: rgba(255,255,255,.12); }
.dock-preview button { background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.14); font-weight: 800; }

.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.faq-item { padding: 20px; }
.faq-item button { width: 100%; text-align: left; background: transparent; color: white; font-weight: 850; display: flex; justify-content: space-between; gap: 10px; }
.faq-item p { max-height: 0; overflow: hidden; transition: max-height .24s ease, margin .24s ease; color: rgba(255,255,255,.72); line-height: 1.55; }
.faq-item.open p { max-height: 220px; margin-top: 12px; }

.bottom-dock { position: fixed; z-index: 22; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(4,26,39,.78); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(18px); }
.bottom-dock button { padding: 0 15px; background: rgba(255,255,255,.1); color: white; }

.modal, .command-palette { position: fixed; inset: 0; z-index: 60; display: none; }
.modal.open, .command-palette.open { display: block; }
.modal-backdrop, .command-palette::before { position: absolute; inset: 0; content: ""; background: rgba(0, 10, 18, .72); backdrop-filter: blur(10px); }
.modal-panel { position: absolute; inset: 34px; max-width: 980px; margin: 0 auto; display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; background: #f6fbfb; color: var(--ink); box-shadow: var(--shadow); }
.modal-panel header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid #dbe8e8; }
.modal-panel .eyebrow { color: var(--aqua-2); }
.modal-panel iframe { width: 100%; height: 100%; border: 0; background: white; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; background: #e9f4f4; color: var(--ink); font-size: 28px; line-height: 1; }
.command-box { position: absolute; z-index: 2; top: 92px; left: 50%; transform: translateX(-50%); width: min(640px, calc(100% - 28px)); padding: 10px; border-radius: 24px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: var(--shadow); }
.command-box input { width: 100%; height: 54px; border: 0; outline: 0; border-radius: 18px; background: #edf6f6; padding: 0 16px; font-size: 17px; }
.command-list { display: grid; gap: 6px; margin-top: 10px; }
.command-list button { height: 46px; text-align: left; padding: 0 14px; border-radius: 14px; background: transparent; color: var(--ink); font-weight: 750; }
.command-list button:hover { background: #edf6f6; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }

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

@media (max-width: 980px) {
  .island-nav { grid-template-columns: auto auto; justify-content: space-between; }
  .island-nav nav { display: none; }
  .hero, .split-section, .quiz-section { grid-template-columns: 1fr; }
  .hero-card { min-height: 460px; }
  .bento { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .bento-card.wide { grid-column: 1 / -1; }
  .services-grid, .faq-list { grid-template-columns: 1fr 1fr; }
  .dock-preview { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .section-shell { width: min(calc(100% - 22px), var(--max)); }
  .island-nav { top: 10px; border-radius: 24px; }
  .brand span { display: none; }
  .nav-cta { padding: 0 14px; }
  .hero { padding-top: 112px; gap: 30px; }
  .hero-card { min-height: 360px; border-radius: 26px; }
  .route-orbit { inset: 34px 22px 98px; }
  .orbit-core { width: 104px; height: 104px; font-size: 28px; }
  .bento, .services-grid, .faq-list, .quiz-options, .dock-preview { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .formats-section, .split-section, .quiz-section, .faq-section { padding: 58px 0; }
  .modal-panel { inset: 10px; border-radius: 22px; }
  .bottom-dock { display: flex; }
}
