/* Fishing Spot — landing site styles
   Palette mirrors IOS/FishingSpot AppTheme.Colors */
:root {
  --primary: #145CDC;
  --primary-deep: #0F47B0;
  --primary-highlight: #2E78EE;
  --accent: #FFC542;
  --navy: #031D59;
  --ink: #12141C;
  --muted: #5B6478;
  --muted-soft: #8890A6;
  --bg: #F6FAFF;
  --bg-alt: #EAF1FB;
  --surface: #FFFFFF;
  --divider: rgba(20, 20, 30, 0.08);
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 60px -28px rgba(3, 29, 89, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(3, 29, 89, 0.22);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(246, 250, 255, 0.82);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 10px 22px -10px rgba(20, 92, 220, 0.7);
}
.nav-cta:hover { background: var(--primary-deep); }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 34px -14px rgba(20, 92, 220, 0.8);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--divider);
}
.btn-ghost:hover { transform: translateY(-2px); color: var(--ink); }

.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}
.appstore:hover { color: #fff; transform: translateY(-2px); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .small { font-size: 11px; opacity: 0.8; line-height: 1; }
.appstore .big { font-size: 19px; font-weight: 700; line-height: 1.2; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(46, 120, 238, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 60%);
  padding: 72px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(20, 92, 220, 0.1);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 900;
}
.hero h1 .hl { color: var(--primary); }
.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 30em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stars { color: var(--accent); letter-spacing: 2px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { justify-content: center; }
  .phone-wrap { order: -1; }
}

/* ---------- Phone mockup ---------- */
.phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1600px;
}
.phone {
  position: relative;
  width: 300px;
  height: 620px;
  border-radius: 46px;
  background: #0b0e14;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  border: 2px solid #23283a;
}
.phone .notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #0b0e14;
  border-radius: 999px;
  z-index: 3;
}
.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary-highlight), var(--primary-deep));
}
/* Map surface inside the phone */
.screen-map {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120px 120px at 30% 30%, rgba(126, 230, 255, 0.25), transparent 70%),
    linear-gradient(180deg, #cfe0fb 0%, #eaf1fb 100%);
}
.map-roads {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.pin {
  position: absolute;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -100%);
}
.pin b {
  display: block;
  width: 34px;
  height: 34px;
  background: var(--primary);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 2px;
  transform: rotate(45deg);
  box-shadow: 0 8px 16px -6px rgba(3, 29, 89, 0.6);
}
.pin.gold b { background: var(--accent); }
.screen-topbar {
  position: absolute;
  top: 58px;
  left: 16px;
  right: 16px;
  z-index: 4;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.screen-sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  background: #fff;
  border-radius: 22px 22px 36px 36px;
  padding: 18px 18px 24px;
  box-shadow: 0 -18px 40px -22px rgba(3, 29, 89, 0.3);
}
.grabber {
  width: 40px; height: 5px; border-radius: 999px;
  background: #D9DCE6; margin: 0 auto 14px;
}
.sheet-title { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.sheet-sub { color: var(--muted-soft); font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.stat-row { display: flex; gap: 8px; }
.stat {
  flex: 1;
  background: rgba(20, 92, 220, 0.06);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.stat .v { font-weight: 800; font-size: 16px; }
.stat .l { font-size: 10px; color: var(--muted-soft); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.chip-row { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
  background: rgba(20, 92, 220, 0.1); color: var(--primary-deep);
}
.chip.gold { background: rgba(255, 197, 66, 0.22); color: #8a6300; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(30px, 4.5vw, 42px);
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  font-weight: 900;
}
.section-head p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
  background: rgba(20, 92, 220, 0.1);
}
.feature-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* ---------- Alternating showcase ---------- */
.showcase { padding: 60px 0; }
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.showcase-row + .showcase-row { margin-top: 40px; }
.showcase-row.rev .showcase-media { order: 2; }
.showcase-copy .tag {
  font-weight: 800; color: var(--primary); font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.showcase-copy h3 { font-size: clamp(26px, 3.5vw, 34px); letter-spacing: -0.02em; margin: 0 0 14px; }
.showcase-copy p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.showcase-copy ul { margin: 0; padding: 0; list-style: none; }
.showcase-copy li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 7px 0; font-weight: 600; color: var(--ink);
}
.showcase-copy li::before {
  content: "✓"; color: var(--primary); font-weight: 900; flex: none;
}
.showcase-media {
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px solid var(--divider);
}
.media-blue { background: linear-gradient(160deg, #EAF1FB, #dbe8fc); }
.media-navy { background: linear-gradient(160deg, var(--navy), #0a2f7a); }
.media-sky { background: linear-gradient(160deg, var(--primary-highlight), var(--primary-deep)); }
@media (max-width: 900px) {
  .showcase-row, .showcase-row.rev { grid-template-columns: 1fr; }
  .showcase-row.rev .showcase-media { order: 0; }
}

/* Camera card mock */
.cam-card {
  width: 100%; max-width: 300px;
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.cam-photo {
  height: 160px;
  background: linear-gradient(160deg, #1FB6CE, #0F47B0);
  position: relative;
}
.cam-photo .frame {
  position: absolute; inset: 24px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 12px;
}
.cam-body { padding: 18px; }
.cam-badge {
  display: inline-block; font-size: 11px; font-weight: 800;
  color: var(--primary); background: rgba(20,92,220,0.1);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.cam-body h4 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.02em; }
.cam-body .conf { color: var(--muted-soft); font-size: 13px; font-weight: 600; }

/* Bite-time mock */
.bite-card {
  width: 100%; max-width: 320px;
  color: #fff;
}
.bite-temp { font-size: 56px; font-weight: 200; line-height: 1; }
.bite-cond { font-weight: 600; opacity: 0.9; margin-bottom: 20px; }
.bite-windows { display: grid; gap: 10px; }
.bite-win {
  background: rgba(255,255,255,0.12);
  border-radius: 12px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.bite-win .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.dot-major { background: var(--accent); }
.dot-minor { background: #1FB6CE; }
.bite-win .when { font-weight: 700; }
.bite-win .kind { font-size: 12px; opacity: 0.85; }

/* Feed mock */
.feed-card { width: 100%; max-width: 300px; display: grid; gap: 12px; }
.feed-item {
  background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: var(--shadow-card); display: flex; gap: 12px; align-items: center;
}
.feed-avatar {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(160deg, var(--primary-highlight), var(--primary-deep));
}
.feed-item .who { font-weight: 800; font-size: 14px; }
.feed-item .meta { font-size: 12px; color: var(--muted-soft); font-weight: 600; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  display: inline-block; margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(255,197,66,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,197,66,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255,197,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,197,66,0); }
}

/* ---------- Premium ---------- */
.premium {
  background: linear-gradient(160deg, var(--navy), #05286f);
  color: #fff;
}
.premium .section-head h2 { color: #fff; }
.premium .section-head p { color: rgba(255,255,255,0.7); }
.premium .eyebrow { background: rgba(255,197,66,0.18); color: var(--accent); }
.premium-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; max-width: 720px; margin: 0 auto 40px;
}
.premium-feat {
  display: flex; gap: 12px; align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 16px 18px;
  font-weight: 600;
}
.premium-feat .ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: rgba(255,197,66,0.18); color: var(--accent); font-size: 18px;
}
.premium-cta { text-align: center; }
.btn-gold {
  background: var(--accent); color: #4a3500;
  box-shadow: 0 16px 34px -14px rgba(255,197,66,0.7);
}
.btn-gold:hover { transform: translateY(-2px); color: #4a3500; }
@media (max-width: 720px) { .premium-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-inner {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(46,120,238,0.35), transparent 60%),
    linear-gradient(160deg, var(--primary), var(--primary-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 32px;
}
.cta-inner h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; letter-spacing: -0.02em; }
.cta-inner p { font-size: 18px; opacity: 0.85; margin: 0 0 28px; }
.cta-inner .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .brand { color: #fff; }
.footer-brand p { max-width: 26em; font-size: 14px; margin: 14px 0 0; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  color: #fff; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.08em; margin: 0 0 14px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.65);
  font-size: 15px; padding: 5px 0;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.legal .updated { color: var(--muted-soft); font-weight: 600; margin-bottom: 40px; }
.legal h2 {
  font-size: 22px; letter-spacing: -0.01em;
  margin: 40px 0 12px; padding-top: 8px;
}
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: #2c3242; font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { font-weight: 600; }
.legal .toc {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 36px;
}
.legal .toc strong { display: block; margin-bottom: 10px; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; }
.legal .toc li { margin-bottom: 4px; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
