/* The Angling Edge — marketing site tokens (matches mobile Stillwater theme) */
:root {
  --bg: #FBFCFB;
  --surface: #FFFFFF;
  --ink: #14201A;
  --text-sub: #5B6B62;
  --muted: #657268;
  --hairline: #E8EEEA;
  --green: #1F6B41;
  --green-dark: #143E27;
  --green-mid: #2E7D52;
  --green-soft: #CFE6D8;
  --spring: #7FE3AC;
  --mint: #ECF3EE;
  --gradient: linear-gradient(168deg, #22784A 0%, #174F31 52%, #0F3A23 100%);
  --gradient-soft: linear-gradient(180deg, #EEF6F1 0%, #FBFCFB 100%);
  --glass: rgba(12, 20, 16, 0.42);
  --card-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 22px 50px -18px rgba(40, 60, 50, 0.35);
  --radius-card: 18px;
  --radius-pill: 14px;
  --font-body: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-display: 'Big Shoulders Display', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Typography ── */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spring);
  margin-bottom: 14px;
}

.eyebrow-dark {
  color: var(--green);
}

/* ── Layout ── */
.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.section-light {
  background: var(--bg);
}

.section-mint {
  background: var(--gradient-soft);
}

.section-dark {
  background: var(--gradient);
  color: #fff;
}

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.site-nav.scrolled {
  background: rgba(15, 58, 35, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 22px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink) !important;
  font-weight: 800 !important;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition: transform 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-circle-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -140px;
}

.hero-circle-2 {
  width: 280px;
  height: 280px;
  bottom: 80px;
  left: -100px;
  border-color: rgba(255, 255, 255, 0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 72px);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.hero-copy h1 .accent {
  color: var(--spring);
}

.hero-lead {
  font-size: 18px;
  line-height: 1.55;
  color: #d4ddd6;
  max-width: 460px;
  margin: 0 0 36px;
}

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

.store-badge {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge img,
.store-badge svg {
  height: 48px;
  width: auto;
}

.store-badge-soon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: default;
}

.store-badge-soon:hover {
  transform: none;
  opacity: 1;
}

.store-badge-lg {
  min-height: 52px;
  min-width: 156px;
}

.store-badge-platform {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  line-height: 1.2;
}

.store-badge-status {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

/* Phone mockup / screenshot placeholder */
.phone-frame {
  position: relative;
  width: min(320px, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  overflow: hidden;
  background: #0c1410;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #0c1410;
  border-radius: 20px;
  z-index: 2;
}

.screenshot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(168deg, rgba(34, 120, 74, 0.4) 0%, rgba(15, 58, 35, 0.6) 100%);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  margin: 14px;
  border-radius: 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 24px;
}

.screenshot-placeholder svg {
  opacity: 0.5;
}

.screenshot-placeholder span {
  max-width: 180px;
  line-height: 1.4;
}

.phone-screenshot {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  left: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: cover;
  object-position: top center;
  border-radius: 32px;
  display: block;
}

.parallax-layer {
  will-change: transform;
}

/* ── Feature rows ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.feature-copy h2 .accent {
  color: var(--green);
}

.section-dark .feature-copy h2 .accent {
  color: var(--spring);
}

.feature-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-sub);
  margin: 0 0 24px;
  max-width: 440px;
}

.section-dark .feature-copy p {
  color: #d4ddd6;
}

/* Glass proof cards (onboarding style) */
.proof-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 16px;
  margin-top: 24px;
}

.proof-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #bfe0cc;
  margin-bottom: 12px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 64px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.22);
}

.bar.highlight {
  background: var(--spring);
}

.bar-label {
  font-size: 9px;
  color: #9fb6a8;
}

.bar-label.highlight {
  color: var(--spring);
  font-weight: 700;
}

.bar-chart-light .bar {
  background: var(--hairline);
}

.bar-chart-light .bar.highlight {
  background: var(--green);
}

.bar-chart-light .bar-label {
  color: var(--muted);
}

.bar-chart-light .bar-label.highlight {
  color: var(--green);
}

/* Club stats tiles */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-tile {
  background: var(--mint);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* Light section cards */
.card-light {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: 0 8px 32px rgba(20, 32, 26, 0.06);
}

.privacy-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  margin-bottom: 12px;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(127, 227, 172, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-card h4 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
}

.privacy-card p {
  margin: 0;
  font-size: 13px;
  color: #cfe6d8;
}

.badge-on {
  margin-left: auto;
  background: var(--spring);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

/* Screenshot grid */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.screenshot-card {
  text-align: center;
}

.screenshot-card .phone-frame {
  width: 100%;
  max-width: 240px;
}

.screenshot-card label {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── FAQ ── */
.faq-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.faq-header h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.faq-header p {
  color: var(--text-sub);
  margin: 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--green);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Download CTA ── */
.download-section {
  text-align: center;
  padding: 80px 0;
}

.download-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 52px);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.download-section p {
  color: #d4ddd6;
  font-size: 17px;
  margin: 0 0 32px;
}

.download-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 20px;
  margin-bottom: 14px;
  opacity: 0.9;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spring);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ── Legal pages ── */
.legal-page {
  padding: 120px 0 80px;
  background: var(--bg);
}

.legal-page .container {
  max-width: 720px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.65;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page a {
  color: var(--green);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 32px;
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 0;
}

.legal-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-nav img {
  height: 22px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid,
  .feature-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual {
    order: unset;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 58, 35, 0.98);
    padding: 20px 24px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .parallax-layer {
    transform: none !important;
  }
}
