/* ── Direction C — Shared Styles ── */
:root {
  --bg:          #1a1a18;
  --bg-mid:      #232019;
  --bg-card:     #2a2a24;
  --bg-card2:    #353530;
  --surface:     #242420;
  --border:      #3a3830;
  --border-soft: #2e2e28;
  --text:        #e8e4d8;
  --text-muted:  #a89f8a;
  --text-dim:    #6b6456;
  --accent:      #5a7a3a;
  --accent-h:    #4a6a2e;
  --accent-dim:  rgba(90,122,58,0.3);
  --sage:        oklch(52% 0.08 145);
  --sage-dim:    oklch(35% 0.06 145);
  --trax:        #e8a838;
  --cast:        #4fc3f7;
  --font-head:   'Oswald', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --max-w:       1160px;
  --r:           6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: var(--r); border: 2px solid transparent;
  cursor: pointer; transition: all 0.18s; font-size: 14px; padding: 11px 28px; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #e8e4d8; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn-cta { background: #c78f2e; color: #e8e4d8; border-color: #c78f2e; }
.btn-cta:hover { background: #d4a030; border-color: #d4a030; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { font-size: 16px; padding: 14px 40px; }
.btn-block { width: 100%; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(20, 22, 18, 0.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: 0.1em; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a:not(.btn) { font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; transition: color 0.18s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a.nav-active:not(.btn) { color: var(--accent); }
.nav-cta { padding: 7px 16px; font-size: 12px; }
.nav-mobile { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

/* ── Wrap ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 100px 0; }

/* ── Kicker ── */
.kicker {
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ''; display: block; width: 20px; height: 1px; background: var(--accent); flex-shrink: 0; }

/* ── Section titles ── */
.s-title { font-family: var(--font-head); font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.1; margin-bottom: 16px; }
.s-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; max-width: 560px; }

/* ── Feature badges ── */
.feature-badge {
  display: inline-block; font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
}
.badge-lens  { background: rgba(90,180,90,0.12); color: var(--sage); border: 1px solid rgba(90,180,90,0.2); }
.badge-trax  { background: rgba(232,168,56,0.15); color: #e8a838; border: 1px solid rgba(232,168,56,0.25); }
.badge-cast  { background: rgba(79,195,247,0.12); color: #4fc3f7; border: 1px solid rgba(79,195,247,0.2); }
.badge-topo  { background: rgba(166,124,82,0.12); color: #a67c52; border: 1px solid rgba(166,124,82,0.2); }
.badge-hunt  { background: rgba(74,186,106,0.12); color: #4aba6a; border: 1px solid rgba(74,186,106,0.2); }
.badge-wind  { background: rgba(140,180,220,0.12); color: #8cb4dc; border: 1px solid rgba(140,180,220,0.2); }

/* ── Product hero ── */
.product-hero {
  padding: 120px 0 80px;
  background: radial-gradient(ellipse 70% 50% at 60% 40%, rgba(90,122,58,0.07) 0%, transparent 70%), var(--bg);
}
.product-hero-title {
  font-family: var(--font-head); font-size: clamp(36px, 5vw, 64px); font-weight: 700;
  line-height: 1.05; margin-bottom: 20px; max-width: 760px;
  animation: fadeUp 0.6s ease both;
}
.product-hero-sub {
  font-size: 18px; color: var(--text-muted); line-height: 1.7; max-width: 620px;
  margin-bottom: 32px; animation: fadeUp 0.6s 0.1s ease both;
}
.product-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; animation: fadeUp 0.6s 0.15s ease both; }
.product-hero-panel { max-width: 760px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── Feature sections ── */
.feat-section {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 0 80px;
}
.feat-row {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px;
  align-items: center; padding: 80px 0 0;
}
.feat-row--rev { grid-template-columns: 1.2fr 1fr; }
.feat-row--rev .feat-text { order: 2; }
.feat-row--rev .feat-visual { order: 1; }

.feat-title { font-family: var(--font-head); font-size: clamp(22px, 2.5vw, 34px); font-weight: 600; line-height: 1.15; margin-bottom: 14px; }
.feat-desc { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 22px; }
.feat-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); }
.feat-list li svg { flex-shrink: 0; margin-top: 2px; }
.feat-list li strong { color: var(--text); font-weight: 500; }
.feat-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-family: var(--font-head); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); transition: gap 0.18s; }
.feat-more:hover { gap: 10px; }

/* ── Panels ── */
.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.panel-head { padding: 12px 18px; border-bottom: 1px solid var(--border); font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); display: flex; align-items: center; justify-content: space-between; }
.panel-body { padding: 20px 18px; }

/* ── Stat bars ── */
.stat-bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-label { font-size: 12px; color: var(--text-muted); width: 110px; flex-shrink: 0; }
.bar-track { flex: 1; height: 5px; background: var(--surface); border-radius: 3px; overflow: hidden; }
.bar-fill  { height: 5px; background: var(--sage); border-radius: 3px; }
.bar-val   { font-family: var(--font-head); font-size: 12px; color: var(--sage); width: 34px; text-align: right; flex-shrink: 0; }

/* ── Sit window ── */
.sit-window { background: var(--surface); border: 1px solid rgba(90,140,90,0.25); border-radius: var(--r); padding: 14px 16px; margin-bottom: 14px; }
.sit-window-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sit-window-label { font-size: 11px; color: var(--text-muted); }
.sit-badge { font-family: var(--font-head); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(90,140,90,0.12); color: var(--sage); border: 1px solid rgba(90,140,90,0.25); border-radius: 3px; padding: 2px 8px; }
.sit-time { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--sage); margin-bottom: 4px; }
.sit-sub { font-size: 12px; color: var(--text-muted); }

/* ── Fusion tag ── */
.fusion-tag { margin-top: 14px; padding: 10px 14px; background: rgba(90,140,90,0.08); border: 1px solid rgba(90,140,90,0.18); border-radius: 4px; font-size: 12px; color: var(--sage); line-height: 1.6; }
.fusion-tag--cast { background: rgba(79,195,247,0.08); border: 1px solid rgba(79,195,247,0.18); color: var(--cast); border-radius: 4px; padding: 10px 14px; font-size: 12px; line-height: 1.6; margin-top: 12px; }

/* ── Heatmap ── */
.hm-hd { padding: 6px 4px; text-align: center; color: var(--text-dim); font-family: var(--font-head); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.hm-cam { padding: 8px 6px; color: var(--text-muted); font-size: 11px; display: flex; align-items: center; }
.hm-cell { border-radius: 3px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 11px; font-weight: 600; padding: 6px 2px; min-height: 32px; }

/* ── Waypoints ── */
.waypoints { display: flex; flex-direction: column; gap: 0; }
.waypoint { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.waypoint:last-child { border-bottom: none; }
.wp-dot { width: 28px; height: 28px; border-radius: 50%; background: rgba(232,168,56,0.15); border: 1px solid var(--trax); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--trax); flex-shrink: 0; margin-top: 2px; }
.wp-dot--pred { background: rgba(232,168,56,0.1); border: 1px dashed var(--trax); color: var(--trax); }
.wp-title { font-size: 14px; color: var(--text); margin-bottom: 2px; }
.wp-detail { font-size: 12px; color: var(--text-muted); }

/* ── BuckCast cards ── */
.cast-cards { display: flex; flex-direction: column; gap: 8px; }
.cast-card { background: var(--surface); border-radius: 5px; padding: 12px 14px; }
.cast-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.cast-date-lbl { font-size: 12px; color: var(--text-dim); }
.cast-badge { font-family: var(--font-head); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 3px; }
.cast-prime { background: rgba(90,160,90,0.2); color: #6ab87a; border: 1px solid rgba(90,160,90,0.3); }
.cast-good  { background: rgba(199,143,46,0.2); color: #c78f2e; border: 1px solid rgba(199,143,46,0.3); }
.cast-fair  { background: rgba(150,150,140,0.15); color: var(--text-dim); border: 1px solid rgba(150,150,140,0.2); }
.cast-rec { font-size: 13px; color: var(--text); }
.cast-why { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* ── Confidence badge ── */
.conf-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; margin-top: 8px; }
.conf-high { background: rgba(90,160,90,0.15); color: #6ab87a; border: 1px solid rgba(90,160,90,0.3); }
.conf-med  { background: rgba(199,143,46,0.15); color: #c78f2e; border: 1px solid rgba(199,143,46,0.3); }

/* ── Score breakdown ── */
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.score-factor { background: var(--surface); border-radius: 4px; padding: 8px 10px; }
.score-factor-lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; font-family: var(--font-head); }
.score-factor-val { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--cast); }
.score-factor-note { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── Stand rank ── */
.stand-rank { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 14px; margin-bottom: 8px; }
.stand-rank:last-child { margin-bottom: 0; }
.stand-rank--top { border-color: rgba(79,195,247,0.35); }
.stand-rank-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.stand-rank-name { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--text); }
.score-bar-wrap { width: 72px; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.score-bar-fill { height: 4px; border-radius: 2px; background: var(--cast); }
.stand-sit { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; font-family: var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.stand-why { font-size: 12px; color: var(--text-muted); line-height: 1.55; }

/* ── Forecast strip ── */
.forecast-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
.forecast-day { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; text-align: center; }
.forecast-day--active { border-color: rgba(79,195,247,0.4); }
.forecast-date { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.forecast-score { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.forecast-prime { color: #6ab87a; }
.forecast-good  { color: var(--trax); }
.forecast-fair  { color: var(--text-muted); }
.forecast-lbl { font-size: 10px; font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

/* ── Terrain results ── */
.terrain-result { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 14px; margin-bottom: 8px; }
.terrain-result:last-child { margin-bottom: 0; }
.terrain-result-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.terrain-result-name { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--text); }
.terrain-conf { font-family: var(--font-head); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; background: rgba(166,124,82,0.12); color: #a67c52; border: 1px solid rgba(166,124,82,0.25); }
.terrain-detail { font-size: 12px; color: var(--text-muted); }
.terrain-actions { display: flex; gap: 8px; margin-top: 8px; }
.terrain-btn { font-family: var(--font-head); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 14px; border-radius: 4px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; }
.terrain-btn--add { background: rgba(166,124,82,0.12); border-color: rgba(166,124,82,0.3); color: #a67c52; }

/* ── Grid cards ── */
.manage-section { background: var(--bg); padding: 80px 0; border-top: 1px solid var(--border); }
.manage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }
.manage-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; transition: border-color 0.18s; }
.manage-card:hover { border-color: var(--accent); }
.manage-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(90,122,58,0.1); border-radius: 8px; color: var(--accent); margin-bottom: 14px; }
.manage-card h4 { font-family: var(--font-head); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.manage-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ── Tier callout ── */
.tier-callout { text-align: center; padding: 48px 28px; background: var(--bg-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tier-callout p { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.tier-callout strong { color: var(--text); }

/* ── Profile cards ── */
.profile-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; }
.profile-card:last-child { margin-bottom: 0; }
.profile-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.profile-name { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--text); }
.profile-status { font-size: 10px; font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; }
.profile-status--active { background: rgba(232,168,56,0.15); color: var(--trax); border: 1px solid rgba(232,168,56,0.3); }
.profile-status--harvested { background: rgba(90,160,90,0.15); color: #6ab87a; border: 1px solid rgba(90,160,90,0.3); }
.profile-last { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.profile-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.profile-stat { background: var(--bg-card); border-radius: 4px; padding: 6px 8px; text-align: center; }
.profile-stat-val { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--trax); }
.profile-stat-lbl { font-size: 10px; color: var(--text-muted); margin-top: 1px; }

/* ── Tool buttons ── */
.tool-btn-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.tool-btn { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 8px; text-align: center; font-size: 11px; color: var(--text-muted); }
.tool-group-lbl { font-family: var(--font-head); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 12px 0 6px; }

/* ── Final CTA ── */
.final-cta { padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(90,122,58,0.08) 0%, transparent 70%); pointer-events: none; }
.final-cta .s-title { position: relative; }
.final-cta .s-sub { margin: 0 auto 36px; position: relative; }
.final-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }
.final-fine { font-size: 12px; color: var(--text-dim); margin-top: 14px; position: relative; }

/* ── Footer ── */
.footer { background: var(--bg-mid); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; display: flex; justify-content: space-between; gap: 48px; margin-bottom: 48px; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: 0.1em; color: var(--text); margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: var(--text-dim); max-width: 220px; line-height: 1.6; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-head); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 9px; transition: color 0.18s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 20px 28px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-dim); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .feat-row, .feat-row--rev { grid-template-columns: 1fr; gap: 32px; }
  .feat-row--rev .feat-text { order: 1; }
  .feat-row--rev .feat-visual { order: 2; }
  .manage-grid { grid-template-columns: repeat(2,1fr); }
  .product-hero { padding-top: 100px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 24px 28px; gap: 16px; z-index: 200; }
  .nav-links--open { display: flex; }
  .nav-mobile { display: block; }
  .manage-grid { grid-template-columns: 1fr; }
  .product-hero-actions { flex-direction: column; align-items: flex-start; }
  .final-cta-actions { flex-direction: column; align-items: center; }
  .score-grid { grid-template-columns: 1fr; }
}
