/* ============================================
   PREVISION SURF — Ocean Forecast Stylesheet
   ============================================ */

:root {
  /* Ocean */
  --abyss: #04101e;
  --deep: #081a2e;
  --bg: #0d2440;
  --bg-2: #133156;
  --surface: #1b3f6b;
  --surface-2: #245182;

  /* Ink */
  --ink: #f1f8fd;
  --ink-2: #b8d0e2;
  --ink-3: #82a0b8;
  --ink-4: #547290;

  /* Accents — Stohkt Mediterranean palette */
  --foam: #f4ead3;
  --cream: #f4ead3;
  --sand: #e6d8b6;
  --coral: #d96440;          /* terracotta */
  --coral-bright: #e8835e;
  --teal: #f5b842;           /* repurposed → sun yellow */
  --teal-bright: #ffce5f;
  --sun: #f5b842;
  --sun-bright: #ffce5f;
  --olive: #8a9166;
  --sage: #b5be91;

  /* Wave height heatmap (matching the original site's scale) */
  --w-flat: #4a6478;
  --w-03: #6b8aa6;
  --w-04: #4287d3;
  --w-05: #20a8e0;
  --w-06: #00c1c1;
  --w-08: #00d68a;
  --w-10: #6fdb3a;
  --w-15: #cfd435;
  --w-20: #ffb02a;
  --w-25: #ff6b35;
  --w-30: #e53935;
  --w-30plus: #8e1a1a;

  --line: rgba(241, 248, 253, 0.10);
  --line-mid: rgba(241, 248, 253, 0.18);
  --line-strong: rgba(241, 248, 253, 0.30);

  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", Consolas, monospace;

  --max-w: 1360px;
  --nav-h: 72px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 60px -20px rgba(4, 16, 30, 0.6);
  --shadow-lg: 0 30px 80px -16px rgba(4, 16, 30, 0.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--abyss);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 30% 0%, rgba(45, 212, 191, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(255, 107, 74, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-bright); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }
p { color: var(--ink-2); font-size: 1.02rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 500;
  display: inline-block;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 26, 46, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--sun-bright) 0%, var(--coral) 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px -4px rgba(245, 184, 66, 0.5);
}
.brand-mark svg { width: 24px; height: 24px; color: var(--abyss); position: relative; z-index: 2; }
.brand-text {
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1;
  text-transform: lowercase;
}
.brand-text small {
  display: block;
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .35em;
  color: var(--sun-bright);
  margin-top: 5px;
  font-weight: 500;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: .9rem;
  color: var(--ink-2);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--surface);
  color: var(--ink);
}
.nav-right { display: flex; gap: 10px; align-items: center; }

.lang-pill {
  display: inline-flex;
  gap: 2px;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
}
.lang-pill a {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--ink-3);
  letter-spacing: .05em;
}
.lang-pill a.active { background: var(--teal); color: var(--abyss); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.btn:hover {
  background: var(--surface);
  border-color: var(--ink-3);
  color: var(--ink);
}
.btn.primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.btn.primary:hover {
  background: var(--coral-bright);
  border-color: var(--coral-bright);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px rgba(255, 107, 74, 0.5);
}
.btn.teal {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--abyss);
}
.btn.teal:hover {
  background: var(--teal-bright);
  border-color: var(--teal-bright);
  color: var(--abyss);
}
.btn.sm { padding: 8px 14px; font-size: .78rem; }
.btn.lg { padding: 16px 30px; font-size: 1rem; }
.btn .arrow { font-size: 1.1em; line-height: 1; }

.mobile-toggle {
  display: none;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-mid);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}
.mobile-toggle svg { width: 20px; height: 20px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(45, 212, 191, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 107, 74, 0.10) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.hero-content { animation: fadeUp 1s var(--ease) both; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal-bright);
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  margin-bottom: 28px;
  border: 1px solid rgba(45, 212, 191, 0.25);
}
.hero-tag .pulse {
  width: 8px; height: 8px;
  background: var(--teal-bright);
  border-radius: 50%;
  position: relative;
}
.hero-tag .pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--teal-bright);
  opacity: .4;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--coral-bright) 70%, var(--sun-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat .k {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-stat .v {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.hero-stat .v.teal { color: var(--teal-bright); }
.hero-stat .v.coral { color: var(--coral-bright); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== HERO PREVIEW CARD ========== */
.hero-preview {
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-preview::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--coral) 100%);
}
.hero-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.hero-preview-head h3 { font-size: 1.4rem; }
.hero-preview-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--teal-bright);
  text-transform: uppercase;
  letter-spacing: .15em;
}
.hero-preview-head .live::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--teal-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal-bright);
}

/* Mini matrix */
.mini-matrix {
  display: grid;
  grid-template-columns: 90px repeat(7, 1fr);
  gap: 4px;
}
.mini-matrix .label, .mini-matrix .day-h {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--ink-3);
  letter-spacing: .1em;
  padding: 8px 4px;
  text-align: center;
}
.mini-matrix .label { text-align: left; color: var(--ink); font-weight: 600; }
.mini-matrix .cell {
  aspect-ratio: 1.4;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 600;
  color: rgba(0,0,0,0.65);
}
.mini-matrix .cell[data-w="flat"] { background: var(--w-flat); color: var(--ink-3); }
.mini-matrix .cell[data-w="0.3"] { background: var(--w-03); }
.mini-matrix .cell[data-w="0.4"] { background: var(--w-04); }
.mini-matrix .cell[data-w="0.5"] { background: var(--w-05); }
.mini-matrix .cell[data-w="0.6"] { background: var(--w-06); }
.mini-matrix .cell[data-w="0.8"] { background: var(--w-08); }
.mini-matrix .cell[data-w="1"] { background: var(--w-10); }
.mini-matrix .cell[data-w="1.5"] { background: var(--w-15); }
.mini-matrix .cell[data-w="2"] { background: var(--w-20); color: #fff; }
.mini-matrix .cell[data-w="2.5"] { background: var(--w-25); color: #fff; }
.mini-matrix .cell[data-w="3"] { background: var(--w-30); color: #fff; }
.mini-matrix .cell[data-w="3+"] { background: var(--w-30plus); color: #fff; }

/* ========== SECTION ========== */
section { padding: 100px 0; position: relative; }
.section-head { max-width: 800px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 1.1rem; color: var(--ink-2); }
.section-head.left { text-align: left; margin: 0 0 50px; }

/* ========== CARDS ========== */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s var(--ease);
}
.card:hover {
  border-color: var(--line-mid);
  background: var(--surface);
  transform: translateY(-2px);
}

.spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.spot-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.spot-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.spot-card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.spot-card .head h3 { font-size: 1.2rem; }
.spot-card .head .country {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-3);
  letter-spacing: .15em;
  margin-top: 4px;
}
.spot-card .head .flag {
  font-size: 1.6rem;
  line-height: 1;
}
.spot-card .reading {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.spot-card .reading .h {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.spot-card .reading .u {
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--ink-3);
}
.spot-card .meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.spot-card .meta div {
  font-family: var(--mono);
  font-size: .72rem;
}
.spot-card .meta .k {
  color: var(--ink-4);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.spot-card .meta .v { color: var(--ink); font-weight: 600; font-size: .92rem; }

.cond-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cond-pill.fire { background: rgba(255, 107, 74, 0.15); color: var(--coral-bright); border: 1px solid rgba(255, 107, 74, 0.4); }
.cond-pill.good { background: rgba(45, 212, 191, 0.15); color: var(--teal-bright); border: 1px solid rgba(45, 212, 191, 0.4); }
.cond-pill.ok { background: rgba(251, 191, 36, 0.15); color: var(--sun-bright); border: 1px solid rgba(251, 191, 36, 0.4); }
.cond-pill.flat { background: rgba(241, 248, 253, 0.05); color: var(--ink-3); border: 1px solid var(--line-mid); }
.cond-pill.heavy { background: rgba(229, 57, 53, 0.15); color: #f87171; border: 1px solid rgba(229, 57, 53, 0.4); }

/* ========== WAVE MATRIX (main forecast) ========== */
.matrix-shell {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
}
.matrix-shell .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.matrix-shell .head h3 {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.matrix-shell .head .flag { font-size: 1.6rem; }
.matrix-shell .head .links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.matrix-shell .head .link {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--ink-3);
  padding: 4px 8px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.matrix-shell .head .link:hover { color: var(--teal-bright); border-color: var(--teal); }

.matrix-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.matrix-row:hover { background: rgba(45, 212, 191, 0.04); }
.matrix-row:last-child { border-bottom: none; }
.matrix-row .name {
  padding: 18px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.matrix-row .name a {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.matrix-row .name a:hover { color: var(--teal-bright); }
.matrix-row .name .sub {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-4);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 3px;
}

.matrix-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
}
.matrix-day {
  background: var(--bg-2);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.matrix-day .day-cells {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
}
.matrix-day .h-cell {
  aspect-ratio: 1;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}
.matrix-day .h-cell[data-w="flat"] { background: var(--w-flat); opacity: .35; }
.matrix-day .h-cell[data-w="0.3"] { background: var(--w-03); }
.matrix-day .h-cell[data-w="0.4"] { background: var(--w-04); }
.matrix-day .h-cell[data-w="0.5"] { background: var(--w-05); }
.matrix-day .h-cell[data-w="0.6"] { background: var(--w-06); }
.matrix-day .h-cell[data-w="0.8"] { background: var(--w-08); }
.matrix-day .h-cell[data-w="1"] { background: var(--w-10); }
.matrix-day .h-cell[data-w="1.5"] { background: var(--w-15); }
.matrix-day .h-cell[data-w="2"] { background: var(--w-20); }
.matrix-day .h-cell[data-w="2.5"] { background: var(--w-25); }
.matrix-day .h-cell[data-w="3"] { background: var(--w-30); }
.matrix-day .h-cell[data-w="3+"] { background: var(--w-30plus); }
.matrix-day .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.matrix-day .meta .arrow {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.matrix-day .meta .arrow svg { width: 10px; height: 10px; color: var(--teal-bright); }
.matrix-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line-mid);
  background: var(--bg);
}
.matrix-head .name {
  padding: 14px 24px;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ink-3);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.matrix-head .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.matrix-head .days div {
  padding: 14px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .15em;
  border-right: 1px solid var(--line);
}
.matrix-head .days div:last-child { border-right: none; }
.matrix-head .days div .num {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-top: 4px;
}
.matrix-head .days div.today { color: var(--coral-bright); }
.matrix-head .days div.today .num { color: var(--coral-bright); }

/* ========== LEGEND / SCALE ========== */
.legend {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  flex-wrap: wrap;
}
.legend .scale {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.legend .scale .stop {
  width: 26px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .62rem;
  color: rgba(0,0,0,.7);
  font-weight: 600;
}
.legend .scale .stop[data-w="0.3"] { background: var(--w-03); }
.legend .scale .stop[data-w="0.4"] { background: var(--w-04); }
.legend .scale .stop[data-w="0.5"] { background: var(--w-05); }
.legend .scale .stop[data-w="0.6"] { background: var(--w-06); }
.legend .scale .stop[data-w="0.8"] { background: var(--w-08); }
.legend .scale .stop[data-w="1"] { background: var(--w-10); }
.legend .scale .stop[data-w="1.5"] { background: var(--w-15); }
.legend .scale .stop[data-w="2"] { background: var(--w-20); color: #fff; }
.legend .scale .stop[data-w="2.5"] { background: var(--w-25); color: #fff; }
.legend .scale .stop[data-w="3"] { background: var(--w-30); color: #fff; }
.legend .label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 60px 0 50px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(45, 212, 191, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-header > .container { position: relative; }
.breadcrumb {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--ink-3);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--teal-bright); }
.breadcrumb .sep { padding: 0 8px; color: var(--ink-4); }
.page-header h1 { margin-bottom: 18px; }
.page-header p { font-size: 1.15rem; color: var(--ink-2); max-width: 720px; }

/* ========== SPOT DETAIL ========== */
.spot-hero {
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.spot-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.spot-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
  position: relative;
}
.spot-hero-main h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.spot-hero-main h2 .flag { font-size: 2rem; }
.spot-hero-main .region {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--ink-3);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.spot-hero-big {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}
.spot-hero-big .h {
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .9;
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--sun-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.spot-hero-big .u { font-family: var(--mono); color: var(--ink-3); font-size: 1.2rem; }

.spot-hero-readings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.reading-box {
  background: rgba(0,0,0,.18);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.reading-box .k {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .15em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.reading-box .v {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.reading-box .v small {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ink-3);
  font-weight: 400;
  margin-left: 4px;
}

.compass {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 220px;
  margin: 0 auto;
}
.compass-ring {
  width: 100%; height: 100%;
  border: 2px solid var(--line-mid);
  border-radius: 50%;
  position: relative;
}
.compass-ring::before, .compass-ring::after {
  content: "";
  position: absolute;
  border: 1px dashed var(--line-mid);
  border-radius: 50%;
  inset: 14px;
}
.compass-ring::after { inset: 38px; }
.compass-arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compass-arrow svg {
  width: 60%;
  height: 60%;
  color: var(--coral);
  filter: drop-shadow(0 0 14px rgba(255, 107, 74, 0.4));
}
.compass-labels {
  position: absolute; inset: 0;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-2);
}
.compass-labels span {
  position: absolute;
}
.compass-labels span:nth-child(1) { top: 6px; left: 50%; transform: translateX(-50%); color: var(--ink); }
.compass-labels span:nth-child(2) { top: 50%; right: 6px; transform: translateY(-50%); }
.compass-labels span:nth-child(3) { bottom: 6px; left: 50%; transform: translateX(-50%); }
.compass-labels span:nth-child(4) { top: 50%; left: 6px; transform: translateY(-50%); }

/* ========== HOURLY CHART ========== */
.chart-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
}
.chart-card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
}
.chart-card .head h3 { font-size: 1.3rem; margin-bottom: 4px; }
.chart-card .head .sub { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; }

.chart-area {
  height: 200px;
  position: relative;
  background:
    linear-gradient(0deg, transparent 0%, transparent 25%, var(--line) 25%, transparent 25.5%),
    linear-gradient(0deg, transparent 0%, transparent 50%, var(--line) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 0%, transparent 75%, var(--line) 75%, transparent 75.5%);
  border-bottom: 1px solid var(--line-mid);
  margin-bottom: 14px;
}
.chart-bars {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 2px;
  height: 100%;
  align-items: end;
}
.chart-bar {
  border-radius: 3px 3px 0 0;
  transition: opacity .2s;
}
.chart-bar:hover { opacity: .8; }
.chart-x {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  font-family: var(--mono);
  font-size: .58rem;
  color: var(--ink-4);
  text-align: center;
  letter-spacing: .05em;
}
.chart-x span:nth-child(odd) { visibility: hidden; }

/* ========== REGION INDEX ========== */
.country-block { margin-bottom: 50px; }
.country-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.country-head h2 { font-size: 1.8rem; }
.country-head .flag { font-size: 2.4rem; line-height: 1; }
.country-head .count {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--teal-bright);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-left: auto;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.region-tile {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all .2s var(--ease);
}
.region-tile:hover {
  border-color: var(--teal);
  background: var(--surface);
  transform: translateY(-2px);
}
.region-tile .name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.region-tile .h-bar {
  display: flex;
  gap: 2px;
  margin-bottom: 6px;
}
.region-tile .h-bar .b {
  flex: 1;
  height: 6px;
  border-radius: 2px;
}
.region-tile .meta {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-3);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ========== FEATURES GRID ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .25s var(--ease);
}
.feature-card:hover {
  border-color: var(--line-mid);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.feature-icon.coral { background: rgba(255, 107, 74, 0.12); color: var(--coral-bright); }
.feature-icon.sun { background: rgba(251, 191, 36, 0.12); color: var(--sun-bright); }
.feature-card h3 { margin-bottom: 10px; font-size: 1.4rem; }
.feature-card p { color: var(--ink-2); font-size: .98rem; line-height: 1.6; }

/* ========== PRO PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all .25s var(--ease);
}
.price-card.featured {
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  border-color: var(--teal);
  transform: scale(1.03);
  box-shadow: 0 30px 80px -20px rgba(45, 212, 191, 0.2);
}
.price-card .name {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.price-card .featured-pill {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--abyss);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.price-card .price .v {
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
}
.price-card .price .u { font-family: var(--mono); color: var(--ink-3); font-size: .9rem; }
.price-card .per { color: var(--ink-3); font-size: .9rem; margin-bottom: 28px; }
.price-card ul { list-style: none; margin-bottom: 28px; }
.price-card li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--ink-2);
  font-size: .94rem;
  border-bottom: 1px solid var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 18px; height: 18px;
  background: var(--teal);
  color: var(--abyss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 800;
  top: 9px;
}
.price-card li.off::before { background: var(--ink-4); content: "—"; color: var(--bg-2); }
.price-card li.off { color: var(--ink-4); }

/* ========== FORM ========== */
.form-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-card h3 { margin-bottom: 6px; font-size: 1.6rem; }
.form-card .sub { color: var(--ink-3); margin-bottom: 28px; font-size: .95rem; }
.form-label {
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .15em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-mid);
  color: var(--ink);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: .95rem;
  border-radius: var(--radius);
  transition: all .2s var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--abyss);
}
.form-textarea { min-height: 130px; resize: vertical; font-family: var(--sans); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 18px; }
.form-row.full { grid-template-columns: 1fr; }

/* ========== ALERT RULES ========== */
.rule-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.rule-card .name { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.rule-card .cond {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--ink-3);
  letter-spacing: .05em;
}
.rule-card .cond strong { color: var(--teal-bright); font-weight: 700; }
.rule-card .actions { display: flex; gap: 8px; }

.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s;
}
.toggle::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--ink-2);
  border-radius: 50%;
  transition: all .2s var(--ease);
}
.toggle.on { background: var(--teal); }
.toggle.on::before { left: 25px; background: var(--abyss); }

/* ========== FAQ ========== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  padding: 20px 24px;
}
.faq-q .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-bright);
  font-size: 1.2rem;
  transition: all .25s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--teal); color: var(--abyss); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .25s var(--ease);
  padding: 0 24px;
  color: var(--ink-2);
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 24px; }

/* ========== CTA ========== */
.cta-band {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.15) 0%, transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { font-size: 1.15rem; color: var(--ink-2); max-width: 580px; margin: 0 auto 30px; }

/* ========== FOOTER ========== */
footer {
  background: var(--abyss);
  padding: 80px 0 30px;
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer-grid h5 {
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--teal-bright);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--ink-2); font-size: .92rem; }
.footer-grid a:hover { color: var(--teal-bright); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-tag {
  color: var(--ink-3);
  font-size: .9rem;
  max-width: 320px;
  margin-bottom: 26px;
  line-height: 1.6;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: all .2s var(--ease);
}
.socials a:hover { border-color: var(--teal); color: var(--teal-bright); }
.socials svg { width: 16px; height: 16px; }

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--ink-4);
  flex-wrap: wrap;
  gap: 14px;
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 30px; right: 30px;
  background: var(--surface);
  border: 1px solid var(--teal);
  color: var(--ink);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateX(150%);
  transition: transform .35s var(--ease);
  z-index: 200;
  max-width: 360px;
}
.toast.show { transform: translateX(0); }
.toast .title { color: var(--teal-bright); font-size: .78rem; font-weight: 700; margin-bottom: 4px; letter-spacing: .05em; }
.toast .msg { font-size: .88rem; color: var(--ink-2); }

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
  .spot-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .matrix-row { grid-template-columns: 1fr; }
  .matrix-row .name { border-right: none; border-bottom: 1px solid var(--line); padding: 14px 20px; }
  .matrix-head { display: none; }
}
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--deep);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .mobile-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }
  .lang-pill { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .form-card { padding: 28px; }
  .rule-card { grid-template-columns: 1fr; gap: 14px; }
  .matrix-cells { grid-template-columns: repeat(7, minmax(60px, 1fr)); overflow-x: auto; }
  .mini-matrix { grid-template-columns: 70px repeat(7, 1fr); }
  section { padding: 70px 0; }
  .cta-band { padding: 50px 24px; }
  .spot-hero { padding: 24px; }
  .spot-hero-big .h { font-size: 3.6rem; }
}
