:root {
  --navy-950: #031a38;
  --navy-900: #062a59;
  --navy-850: #083469;
  --navy-800: #0a3c76;
  --blue-600: #118bdc;
  --blue-500: #1ca8ef;
  --cyan-400: #45d4ff;
  --sky-100: #dff6ff;
  --sky-050: #eefaff;
  --white: #ffffff;
  --ink: #082541;
  --muted: #5a7185;
  --red: #ef5b62;
  --line: rgba(137, 210, 244, .28);
  --shadow: 0 24px 70px rgba(2, 22, 49, .24);
  --shadow-soft: 0 14px 38px rgba(3, 31, 65, .12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8fcff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.skip-link {
  position: absolute; left: -10000px; top: 10px; z-index: 9999;
  background: white; color: var(--navy-900); padding: .8rem 1rem; border-radius: 8px;
}
.skip-link:focus { left: 10px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { color: white; background: var(--navy-950); }
.eyebrow {
  margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue-600);
}
.section-dark .eyebrow { color: var(--cyan-400); }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(3.3rem, 7vw, 6.8rem); max-width: 850px; }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 2vw, 1.36rem); line-height: 1.62; color: var(--muted); }
.section-dark .lead { color: #c8e1ef; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.announcement {
  background: linear-gradient(90deg, #0b4f91, #118bdc 58%, #0b5fa6);
  color: white; text-align: center; padding: 9px 20px; font-size: .84rem; font-weight: 750;
  letter-spacing: .035em;
}
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(3, 26, 56, .94);
  backdrop-filter: blur(18px); border-bottom: 1px solid rgba(125, 211, 252, .16);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-width: 210px; }
.brand img { width: 245px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #d8edf8; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: .92rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: white; }
.nav-toggle { display: none; border: 0; background: transparent; color: white; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 5px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); color: var(--navy-950); box-shadow: 0 12px 30px rgba(31, 177, 240, .28); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(31, 177, 240, .38); }
.btn-secondary { color: white; border-color: rgba(255,255,255,.48); background: rgba(3,26,56,.28); }
.btn-secondary:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy-900); color: white; }
.btn-compact { min-height: 42px; padding-inline: 17px; font-size: .88rem; }
.btn[aria-disabled="true"] { opacity: .66; }

.hero {
  position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden;
  color: white;
  background: radial-gradient(circle at 70% 30%, rgba(25,143,220,.2), transparent 34%), var(--navy-950);
}
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 37%;
  background: linear-gradient(90deg, rgba(3,26,56,.95) 0%, rgba(3,26,56,.12) 25%, rgba(3,26,56,.03) 100%),
              linear-gradient(0deg, rgba(2,19,42,.68) 0%, transparent 38%),
              url("assets/boat.webp") center/cover no-repeat;
  transform: scale(1.01);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px;
  background: linear-gradient(to top, #f8fcff, transparent);
}
.hero-content { position: relative; z-index: 2; padding: 102px 0 160px; }
.hero h1 span { color: var(--cyan-400); }
.hero-copy { max-width: 680px; margin-top: 24px; font-size: clamp(1.13rem, 2vw, 1.4rem); color: #d7edf8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.proof-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(170,224,248,.27);
  border-radius: 999px; background: rgba(4,38,76,.52); color: #e3f5fc; font-size: .88rem; font-weight: 700;
}
.proof-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(239,91,98,.14); }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.copy-stack > * + * { margin-top: 22px; }
.wave-rule { width: 78px; height: 4px; border-radius: 9px; background: linear-gradient(90deg, var(--red), var(--blue-500)); }
.product-shot {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-900);
}
.product-shot img { aspect-ratio: 4 / 3; object-fit: cover; }
.product-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); border-radius: inherit; pointer-events: none; }
.product-tag {
  position: absolute; left: 22px; bottom: 22px; max-width: 300px; padding: 13px 16px; border-radius: 14px;
  background: rgba(3,26,56,.88); color: white; backdrop-filter: blur(12px); font-weight: 750; font-size: .9rem;
}

.context-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.context-card { min-height: 510px; position: relative; overflow: hidden; border-radius: var(--radius-xl); color: white; box-shadow: var(--shadow-soft); }
.context-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .55s ease; }
.context-card:hover img { transform: scale(1.035); }
.context-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,20,44,.94), rgba(2,20,44,.08) 65%); }
.context-copy { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; }
.context-copy p { color: #cce8f5; margin-top: 8px; }
.context-card:first-child { grid-column: span 1; }

.connection-section {
  background: radial-gradient(circle at 80% 15%, rgba(55,198,247,.22), transparent 32%), var(--navy-950);
  overflow: hidden;
}
.connection-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.location-preview {
  border-radius: var(--radius-xl); padding: 22px; background: linear-gradient(145deg, #0c5597, #07346a);
  box-shadow: var(--shadow); border: 1px solid rgba(125,211,252,.2);
}
.location-screen { background: var(--sky-100); border-radius: 22px; padding: 22px; color: var(--ink); }
.location-screen-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.location-screen-head strong { color: var(--navy-900); font-size: 1.2rem; }
.location-stat { font-size: .82rem; font-weight: 800; color: var(--blue-600); }
.fake-map { position: relative; height: 250px; border-radius: 16px; overflow: hidden; background: #c7eaf7; }
.fake-map::before {
  content: ""; position: absolute; inset: 0; opacity: .52;
  background-image: linear-gradient(25deg, transparent 50%, rgba(255,255,255,.9) 51%, transparent 53%),
                    linear-gradient(115deg, transparent 44%, rgba(255,255,255,.7) 45%, transparent 47%),
                    radial-gradient(circle at 25% 35%, #8ccaae 0 14%, transparent 15%),
                    radial-gradient(circle at 63% 52%, #8ccaae 0 20%, transparent 21%),
                    radial-gradient(circle at 85% 25%, #8ccaae 0 10%, transparent 11%);
}
.map-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(239,91,98,.19); }
.map-dot:nth-child(1) { left: 18%; top: 40%; }.map-dot:nth-child(2) { left: 30%; top: 29%; }.map-dot:nth-child(3) { left: 47%; top: 58%; }
.map-dot:nth-child(4) { left: 66%; top: 39%; }.map-dot:nth-child(5) { left: 79%; top: 63%; }.map-dot:nth-child(6) { left: 88%; top: 30%; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.feature-card { padding: 28px; border: 1px solid #d6edf7; border-radius: var(--radius-lg); background: white; box-shadow: 0 10px 28px rgba(3,31,65,.06); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--sky-100); color: var(--blue-600); margin-bottom: 18px; font-size: 1.35rem; }
.feature-card p { color: var(--muted); margin-top: 10px; }

.no-subscription {
  border-radius: var(--radius-xl); padding: 54px; background: linear-gradient(135deg, #e6f8ff, #cceeff);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; box-shadow: var(--shadow-soft);
}
.price-kicker { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.price-kicker strong { color: var(--navy-900); font-size: clamp(3.2rem, 7vw, 5.4rem); line-height: 1; }
.price-kicker span { color: var(--muted); font-weight: 800; }

.purchase-section { background: linear-gradient(180deg, #05264f 0%, #031a38 100%); color: white; }
.purchase-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 24px; margin-top: 44px; }
.purchase-card, .custom-card {
  border-radius: var(--radius-xl); border: 1px solid rgba(132,214,250,.22); overflow: hidden;
  background: rgba(7,55,107,.66); box-shadow: var(--shadow);
}
.purchase-card { padding: 36px; }
.purchase-price { display: flex; align-items: flex-end; gap: 12px; margin: 18px 0 24px; }
.purchase-price strong { font-size: clamp(4rem, 8vw, 6.4rem); line-height: .9; }
.purchase-price span { color: #b5d9e9; font-weight: 700; padding-bottom: 8px; }
.check-list { display: grid; gap: 13px; padding: 0; list-style: none; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 12px; color: #d8edf7; }
.check-list li::before { content: "✓"; color: var(--cyan-400); font-weight: 900; }
.purchase-location { display: none; margin: 18px 0; padding: 14px 16px; border-radius: 14px; background: rgba(56,198,245,.12); border: 1px solid rgba(81,205,247,.22); }
.purchase-location.is-visible { display: block; }
.custom-card { display: grid; grid-template-rows: 220px auto; background: white; color: var(--ink); }
.custom-card img { width: 100%; height: 220px; object-fit: cover; }
.custom-copy { padding: 30px; }
.custom-copy p { color: var(--muted); margin-top: 12px; }
.custom-note { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--sky-050); border: 1px solid #cceaf8; }
.custom-phone { display: inline-block; margin-top: 18px; color: var(--blue-600); font-weight: 850; text-decoration: none; }
.payment-note { color: #9fc5d8; font-size: .86rem; margin-top: 14px; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
details { border: 1px solid #d6ebf5; border-radius: 16px; background: white; padding: 0 20px; }
summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 850; color: var(--navy-900); }
summary::-webkit-details-marker { display: none; }
details p { color: var(--muted); padding: 0 0 20px; }

.site-footer { background: #02142d; color: #bcd9e8; padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; }
.footer-brand img { width: 270px; }
.footer-brand p { max-width: 430px; margin-top: 16px; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { color: white; margin-bottom: 5px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(140,203,231,.15); display: flex; justify-content: space-between; gap: 20px; font-size: .82rem; }

.modal { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; padding: 20px; background: rgba(2,17,38,.78); }
.modal.is-open { display: grid; }
.modal-panel { width: min(560px, 100%); border-radius: 24px; padding: 28px; background: white; box-shadow: var(--shadow); }
.modal-panel h2 { font-size: 2rem; }
.modal-panel p { margin-top: 14px; color: var(--muted); }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }

/* Locations page */
.locations-hero { color: white; padding: 82px 0 58px; background: radial-gradient(circle at 80% 20%, rgba(67,211,255,.2), transparent 28%), var(--navy-950); }
.locations-hero h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.locations-hero .lead { max-width: 760px; margin-top: 20px; }
.location-toolbar {
  display: grid; grid-template-columns: minmax(240px, 1fr) 190px 190px auto; gap: 12px;
  padding: 18px; margin-top: -28px; position: relative; z-index: 2; border-radius: 20px; background: white; box-shadow: var(--shadow-soft);
}
.field { display: grid; gap: 7px; }
.field label { font-size: .75rem; font-weight: 850; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
.field input, .field select {
  width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid #cfe6f2; background: #f8fcff; color: var(--ink); padding: 0 14px;
}
.field input:focus, .field select:focus { outline: 3px solid rgba(28,168,239,.2); border-color: var(--blue-500); }
.toolbar-button { align-self: end; min-height: 48px; }
.data-status { margin: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--sky-100); color: var(--navy-900); font-size: .82rem; font-weight: 800; }
.status-light { width: 8px; height: 8px; border-radius: 50%; background: #f4b740; }
.status-light.live { background: #28ad74; }
.status-light.error { background: var(--red); }
.map-shell { border-radius: var(--radius-xl); padding: 12px; background: var(--navy-900); box-shadow: var(--shadow); }
#station-map { height: 560px; border-radius: 21px; background: #cceeff; }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.map-popup strong { display: block; font-size: 1rem; color: var(--navy-900); }
.map-popup span { display: block; margin-top: 4px; color: var(--muted); }
.map-popup button { margin-top: 10px; border: 0; border-radius: 999px; background: var(--navy-900); color: white; padding: 8px 12px; font-weight: 800; }
.data-note { margin-top: 26px; padding: 22px; border-radius: 18px; background: var(--sky-050); border: 1px solid #cce7f3; }
.data-note h3 { font-size: 1.2rem; }
.data-note p { color: var(--muted); margin-top: 9px; }
.az-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 34px 0 18px; }
.az-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #cce4ef; background: white; color: var(--navy-900); font-weight: 800; }
.az-nav button:hover, .az-nav button.active { background: var(--navy-900); color: white; }
.table-shell { overflow: hidden; border: 1px solid #d2e8f2; border-radius: 20px; background: white; box-shadow: var(--shadow-soft); }
.station-table { width: 100%; border-collapse: collapse; }
.station-table th { padding: 14px 16px; text-align: left; background: #eaf8fe; color: var(--navy-900); font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; }
.station-table td { padding: 15px 16px; border-top: 1px solid #e4f0f5; vertical-align: middle; }
.station-table tr:hover td { background: #f7fcff; }
.station-name { font-weight: 850; color: var(--navy-900); }
.type-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--sky-100); color: var(--navy-900); font-size: .76rem; font-weight: 800; }
.select-station { border: 1px solid #bcddea; border-radius: 999px; background: white; color: var(--navy-900); padding: 7px 11px; font-size: .8rem; font-weight: 850; }
.select-station:hover { background: var(--navy-900); color: white; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.pagination-controls { display: flex; gap: 8px; }
.pagination button { border: 1px solid #c9e0eb; border-radius: 10px; background: white; color: var(--navy-900); padding: 9px 14px; font-weight: 800; }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.loading-row td { text-align: center; padding: 38px; color: var(--muted); }

@media (max-width: 980px) {
  .nav-links { position: absolute; display: none; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 22px 24px 28px; background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.1); }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: block; }
  .nav-links .btn { width: 100%; }
  .intro-grid, .connection-grid, .purchase-layout { grid-template-columns: 1fr; }
  .context-grid { grid-template-columns: 1fr 1fr; }
  .context-card { min-height: 440px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .no-subscription { grid-template-columns: 1fr; }
  .location-toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar-button { width: 100%; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .site-header .brand img { width: 205px; }
  .hero { min-height: 730px; }
  .hero::before { left: 0; background-position: 54% center; background-image: linear-gradient(90deg, rgba(2,19,42,.95), rgba(2,19,42,.48)), linear-gradient(0deg, rgba(2,19,42,.75), transparent 45%), url("assets/boat.webp"); }
  .hero-content { padding: 82px 0 140px; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .context-grid, .feature-grid, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
  .context-card { min-height: 410px; }
  .no-subscription { padding: 34px 24px; }
  .purchase-card { padding: 26px 22px; }
  .footer-bottom { flex-direction: column; }
  .location-toolbar { grid-template-columns: 1fr; }
  #station-map { height: 460px; }
  .station-table th:nth-child(3), .station-table td:nth-child(3),
  .station-table th:nth-child(4), .station-table td:nth-child(4) { display: none; }
  .station-table th, .station-table td { padding: 12px 10px; }
  .data-status, .pagination { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
