/* ═══════════════════════════════════════════════════════════════
   THE HUNT – Main Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────── 1. CSS Custom Properties ──────────────────── */
:root {
  /* Colors – The Hunt Brand (Yellow / Black / White) */
  --clr-bg:           #ffffff;
  --clr-bg-2:         #f5f5f5;
  --clr-bg-card:      #ffffff;
  --clr-border:       rgba(0,0,0,0.10);
  --clr-text:         #1c1c1c;
  --clr-text-muted:   #666666;
  --clr-yellow:       #FFD700;
  --clr-yellow-dark:  #E6C200;
  --clr-yellow-soft:  rgba(255,215,0,0.15);
  --clr-black:        #1c1c1c;
  /* Keep these aliases so existing rules still compile */
  --clr-orange:       #FFD700;
  --clr-orange-glow:  rgba(255,215,0,0.30);
  --clr-red:          #1c1c1c;
  --clr-accent:       #FFD700;
  --clr-gradient-a:   #FFD700;
  --clr-gradient-b:   #E6C200;

  /* Typography */
  --font-sans:        'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:        'Courier New', monospace;

  /* Spacing */
  --section-padding:  6rem 0;
  --container-max:    1200px;
  --radius:           12px;
  --radius-lg:        20px;

  /* Shadows */
  --shadow-card:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-glow:      0 0 40px rgba(255,215,0,0.25);
}

/* ──────────────── 2. Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: var(--clr-orange); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

/* ──────────────── 3. Utility ────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}
.section-dark { background: var(--clr-bg-2); }

.gradient-text {
  /* Yellow highlight marker effect – brand-accurate */
  color: var(--clr-black);
  -webkit-text-fill-color: var(--clr-black);
  background: var(--clr-yellow);
  padding: 0 6px 2px;
  border-radius: 4px;
  display: inline;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: .5rem 0 1rem;
  letter-spacing: -.02em;
}
.section-header p {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--clr-yellow);
  border: none;
  color: var(--clr-black);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
}

/* ──────────────── 4. Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clr-yellow);
  color: var(--clr-black);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(255,215,0,0.35);
}
.btn-primary:hover { background: var(--clr-yellow-dark); box-shadow: 0 6px 24px rgba(255,215,0,0.45); opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--clr-black);
  border: 2px solid var(--clr-black);
}
.btn-outline:hover { background: var(--clr-black); color: #fff; opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
}
.btn-ghost:hover { background: var(--clr-bg-2); opacity: 1; }

.btn-lg { padding: .9rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }

/* ──────────────── 5. Navbar ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--clr-border);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--clr-black);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-decoration: none;
  opacity: 1 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--clr-text-muted);
  font-size: .9rem;
  font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover { color: var(--clr-black); opacity: 1; }
.nav-links .btn { color: var(--clr-black); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: .3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--clr-border);
  padding: 1.25rem 1.5rem;
  gap: 1rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--clr-text-muted);
  font-weight: 600;
  font-size: 1rem;
}
.nav-mobile a:hover { color: var(--clr-black); opacity: 1; }

/* ──────────────── 6. Hero ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 7rem 1.5rem 4rem;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-map-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .06;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 40%, rgba(255,215,0,0.07) 0%, transparent 70%),
              linear-gradient(180deg, transparent 50%, var(--clr-bg) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--clr-yellow-soft);
  border: 1.5px solid var(--clr-yellow);
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--clr-black);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* ──────── Countdown ──────── */
.countdown-wrapper {
  margin-bottom: 2.5rem;
}
.countdown-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-orange);
  margin-bottom: .75rem;
}
.countdown {
  display: flex;
  align-items: flex-end;
  gap: .25rem;
}
.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--clr-black);
  border: none;
  border-radius: var(--radius);
  padding: .85rem 1.35rem;
  min-width: 76px;
  box-shadow: 0 0 20px rgba(255,215,0,0.12);
}
.countdown-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1;
}
.countdown-unit {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: .35rem;
}
.countdown-sep {
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-black);
  margin-bottom: 1.1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.2rem; font-weight: 800; color: var(--clr-black); }
.stat span { font-size: .78rem; color: var(--clr-text-muted); }
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--clr-border);
}

.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-img {
  width: clamp(220px, 30vw, 360px);
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.18));
}

/* ──────────────── 7. Steps ──────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-yellow);
  box-shadow: 0 8px 32px rgba(255,215,0,0.12);
}
.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,0,0,0.05);
  font-family: var(--font-mono);
}

.step-icon {
  width: 68px;
  height: 68px;
  background: var(--clr-yellow-soft);
  border: 2px solid var(--clr-yellow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .6rem;
}
.step-card p { color: var(--clr-text-muted); font-size: .93rem; }

/* ──────────────── 8. Map Demo ───────────────────────────────── */
.section-map { background: var(--clr-bg); }
.map-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.map-demo-text .section-tag { margin-bottom: 1rem; }
.map-demo-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.map-demo-text p {
  color: var(--clr-text-muted);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .93rem;
  color: var(--clr-text);
}

.map-demo-visual {
  position: relative;
}
.map-demo-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.map-demo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--clr-yellow);
  color: var(--clr-black);
  font-size: .85rem;
  font-weight: 800;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  animation: pulse-badge 2s ease-in-out infinite;
}

/* ──────────────── 9. Features ───────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-yellow);
  box-shadow: 0 6px 24px rgba(255,215,0,0.10);
}

.feature-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon--orange { background: rgba(255,215,0,0.18); }
.feature-icon--red    { background: rgba(255,215,0,0.18); }
.feature-icon--blue   { background: rgba(255,215,0,0.18); }
.feature-icon--green  { background: rgba(255,215,0,0.18); }
.feature-icon--purple { background: rgba(255,215,0,0.18); }
.feature-icon--yellow { background: rgba(255,215,0,0.18); }

.feature-card h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.feature-card p { color: var(--clr-text-muted); font-size: .88rem; }

/* ──────────────── 10. Prizes ────────────────────────────────── */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.prize-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
}
.prize-card--gold   { border-color: var(--clr-yellow); background: #fffdf0; }
.prize-card--silver { border-color: rgba(0,0,0,0.12); }
.prize-card--bronze { border-color: rgba(0,0,0,0.12); }

.prize-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-black);
  color: var(--clr-yellow);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.prize-card img { margin: .75rem auto 1.25rem; }
.prize-card h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: .6rem;
}
.prize-card p { color: var(--clr-text-muted); font-size: .9rem; }

.prizes-disclaimer {
  text-align: center;
  color: var(--clr-text-muted);
  font-size: .8rem;
}

/* ──────────────── 11. Testimonials ──────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.testimonial-avatar img {
  border-radius: 50%;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: .95rem;
  color: var(--clr-text);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span { color: var(--clr-text-muted); font-size: .8rem; }

/* ──────────────── 12. CTA / Download ────────────────────────── */
.section-cta { background: var(--clr-bg); }
.cta-box {
  background: var(--clr-yellow);
  border: none;
  border-radius: 24px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content .section-tag { margin-bottom: 1rem; background: var(--clr-black); color: var(--clr-yellow); }
.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .9rem;
  color: var(--clr-black);
}
.cta-content > p { color: rgba(0,0,0,0.65); margin-bottom: 2rem; max-width: 480px; }

.signup-form { display: flex; flex-direction: column; gap: .75rem; }
.signup-input-group {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.signup-input-group input {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
  padding: .8rem 1.1rem;
  color: var(--clr-black);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.signup-input-group input:focus { border-color: var(--clr-black); }
.signup-input-group input::placeholder { color: #aaa; }

.signup-note {
  font-size: .78rem;
  color: var(--clr-text-muted);
}
.signup-success {
  color: #22c55e;
  font-size: .9rem;
  font-weight: 600;
}

.app-store-buttons { margin-top: 2rem; }
.app-store-label {
  font-size: .75rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.app-store-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.app-store-btn { opacity: .7; transition: opacity .2s; }
.app-store-btn:hover { opacity: 1; }

.cta-visual img {
  width: clamp(180px, 22vw, 280px);
  filter: drop-shadow(0 16px 40px rgba(255,107,26,.25));
}

/* ──────────────── 13. Footer ────────────────────────────────── */
.footer {
  background: var(--clr-black);
  border-top: none;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: .88rem;
  margin: .75rem 0 1.25rem;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.footer-social a:hover { border-color: var(--clr-yellow); background: rgba(255,215,0,0.12); opacity: 1; }

.footer-col h5 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: .88rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--clr-yellow); opacity: 1; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  color: rgba(255,255,255,0.4);
  font-size: .8rem;
}

/* ──────────────── 14. Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .steps-grid,
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
  .map-demo-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 4rem 0; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { padding-top: 6rem; }
  .countdown-block { padding: .6rem .9rem; min-width: 58px; }
  .countdown-num { font-size: 1.7rem; }

  .steps-grid,
  .features-grid,
  .prizes-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; }
  .signup-input-group { flex-direction: column; }
  .cta-box { padding: 2rem 1.25rem; }
}

/* ──────────────── 15. App Screenshots ──────────────────────── */
.screenshots-section { background: var(--clr-bg-2); }

.screenshots-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem .5rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-yellow) transparent;
}
.screenshots-scroll::-webkit-scrollbar { height: 4px; }
.screenshots-scroll::-webkit-scrollbar-thumb { background: var(--clr-yellow); border-radius: 2px; }

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-border);
  transition: transform .3s;
}
.screenshot-item:hover { transform: translateY(-6px); }
.screenshot-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.screenshots-caption {
  text-align: center;
  color: var(--clr-text-muted);
  font-size: .85rem;
  margin-top: 1rem;
}

/* ──────────────── 16. Navbar brand color fix ───────────────── */
/* Logo text in nav always dark when on white bg */
.navbar .nav-logo span { color: var(--clr-black); }

/* Signup note / success colors on yellow CTA */
.signup-note { font-size: .78rem; color: rgba(0,0,0,0.55); }
.signup-success { color: #1a6e35; font-size: .9rem; font-weight: 600; }

/* CTA app store buttons */
.app-store-label { color: rgba(0,0,0,0.6); }
