/* ============================================
   Hunters — Design Tokens & Base
   ============================================ */

:root {
  /* Brand colors — OKLCH with brand-tinted neutrals */
  --color-gold: oklch(0.82 0.16 85);
  --color-gold-light: oklch(0.87 0.14 88);
  --color-gold-glow: oklch(0.82 0.16 85 / 0.4);
  --color-gold-glow-strong: oklch(0.82 0.16 85 / 0.6);

  /* Tinted neutrals — warm yellow undertone, never pure */
  --color-ink: oklch(0.25 0.015 85);
  --color-ink-soft: oklch(0.42 0.01 85);
  --color-surface: oklch(0.985 0.005 85);
  --color-surface-raised: oklch(0.995 0.003 85);
  --color-surface-dim: oklch(0.96 0.006 85);
  --color-border: oklch(0.92 0.005 85);
  --color-overlay-light: oklch(1 0 0 / 0.08);
  --color-overlay-dark: oklch(0 0 0 / 0.1);

  /* Semantic */
  --color-success: oklch(0.62 0.16 155);
  --color-text-on-gold: oklch(0.18 0.02 85);

  /* Fallbacks for hex contexts */
  --hex-gold: #f6c90e;
  --hex-ink: #2c3e50;
  --hex-ink-soft: #5a6c7d;
  --hex-surface: #f8f8f6;
  --hex-raised: #fefefc;

  /* Easing — exponential out, never bounce */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --radius-s: 0.5rem;
  --radius-m: 1rem;
  --radius-l: 1.5rem;
  --radius-pill: 3rem;

  /* Shadows */
  --shadow-s: 0 4px 12px oklch(0.25 0.015 85 / 0.06);
  --shadow-m: 0 10px 30px oklch(0.25 0.015 85 / 0.08);
  --shadow-l: 0 20px 50px oklch(0.25 0.015 85 / 0.1);
  --shadow-gold: 0 8px 25px oklch(0.82 0.16 85 / 0.35);
}


/* ============================================
   Reset & Base
   ============================================ */

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

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--hex-ink);
  background: var(--hex-surface);
  overflow-x: hidden;
}


/* ============================================
   Container
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-l);
}


/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: oklch(0 0 0 / 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo);
}

.header.scrolled {
  background: oklch(0.25 0.02 230 / 0.95);
  box-shadow: 0 2px 20px oklch(0 0 0 / 0.1);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-s) var(--space-l);
  max-width: var(--container-max);
  margin: 0 auto;
}

.header__logo {
  color: var(--hex-gold);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
  letter-spacing: 0.02em;
}

.header__logo:hover {
  color: var(--hex-gold);
  opacity: 0.85;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-l);
}

.header__menu {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__menu-item {
  margin: 0;
}

.header__menu-link {
  color: oklch(1 0 0 / 0.9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: var(--space-xs) var(--space-s);
  border-radius: var(--radius-s);
  transition: background 0.3s var(--ease-out-expo),
              color 0.3s var(--ease-out-expo);
}

.header__menu-link:hover {
  background: oklch(1 0 0 / 0.1);
  color: var(--hex-gold);
}

.header__auth-btn {
  background: linear-gradient(135deg, var(--hex-gold) 0%, #f9d423 100%);
  color: var(--hex-ink);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
  white-space: nowrap;
}

.header__auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Burger */

.header__burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}

.header__burger-line {
  width: 24px;
  height: 2px;
  background: oklch(1 0 0 / 0.9);
  transition: transform 0.35s var(--ease-out-expo),
              opacity 0.25s var(--ease-out-expo);
}

.header__burger.active .header__burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.header__burger.active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger.active .header__burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */

.header__mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: var(--hex-ink);
  padding: var(--space-3xl) var(--space-l) var(--space-l);
  transition: left 0.4s var(--ease-out-expo);
  z-index: 90;
}

.header__mobile-menu.active {
  left: 0;
}

.header__mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.header__mobile-menu-item {
  margin-bottom: var(--space-s);
}

.header__mobile-menu-link {
  color: oklch(1 0 0 / 0.9);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  padding: var(--space-s);
  border-radius: var(--radius-s);
  transition: background 0.3s var(--ease-out-expo),
              color 0.3s var(--ease-out-expo);
}

.header__mobile-menu-link:hover {
  background: oklch(1 0 0 / 0.1);
  color: var(--hex-gold);
}

.header__mobile-auth {
  margin-top: var(--space-l);
}


/* ============================================
   Hero
   ============================================ */

.hero {
  background-image: url('../i/banner-t.webp');
  background-size: cover;
  background-position: center 35%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    oklch(0 0 0 / 0.45) 0%,
    oklch(0 0 0 / 0.2) 100%
  );
}

.hero__content {
  text-align: center;
  color: oklch(1 0 0 / 0.95);
  z-index: 2;
  position: relative;
  max-width: 50rem;
}

.hero__backdrop {
  padding: var(--space-xl);
  margin: 0 var(--space-s);
}

.hero__title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 2.5rem 0;
  text-shadow: 2px 2px 8px oklch(0 0 0 / 0.6);
  line-height: 1.35;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--hex-gold) 0%, #f9d423 100%);
  color: var(--hex-ink);
  text-decoration: none;
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo);
}

.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px oklch(0.82 0.16 85 / 0.55);
}

.hero__cta::after {
  content: '\2192';
  font-size: 1.2rem;
  transition: transform 0.35s var(--ease-out-expo);
}

.hero__cta:hover::after {
  transform: translateX(5px);
}

/* Scroll cue — smooth drift, no bounce */

.scroll-cue {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: oklch(1 0 0 / 0.7);
  animation: drift 2.5s var(--ease-out-quart) infinite;
  z-index: 2;
}

.scroll-cue::before {
  content: '\2193';
  font-size: 2rem;
  display: block;
}

@keyframes drift {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}


/* ============================================
   Main & Sections — varied spacing for rhythm
   ============================================ */

.main {
  position: relative;
}

.section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.section.visible,
.section:first-child {
  opacity: 1;
  transform: translateY(0);
}

/* Rhythm: vary section padding */
.section--light#intro {
  padding: var(--space-2xl) 0 var(--space-xl);
}

.section--white#audience {
  padding: var(--space-3xl) 0;
}

.section--light#topics {
  padding: var(--space-2xl) 0 var(--space-xl);
}

/* Fallback for sections without IDs */
.section {
  padding: var(--space-xl) 0;
}

.section:first-child {
  padding-top: var(--space-l);
}

.section--white {
  background: var(--hex-raised);
}

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

.section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--hex-ink);
  margin-bottom: var(--space-xl);
  text-align: center;
  position: relative;
  padding-bottom: var(--space-s);
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 4px;
  background: linear-gradient(to right, var(--hex-gold), #f9d423);
  border-radius: 2px;
}


/* ============================================
   Intro paragraph (replaces inline style)
   ============================================ */

.section__intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--hex-ink-soft);
  margin-bottom: var(--space-xl);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}


/* ============================================
   Features — varied layout, not identical grid
   ============================================ */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-m);
  margin-top: var(--space-xl);
}

/* First two cards are wider highlights */
.features .feature-card:nth-child(1),
.features .feature-card:nth-child(2) {
  grid-column: span 2;
}

/* Remaining four are compact */
.features .feature-card:nth-child(n+3) {
  grid-column: span 1;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-s);
  background: var(--hex-raised);
  padding: var(--space-l);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo);
  border: 1px solid oklch(0.92 0.005 85 / 0.6);
}

/* Highlight cards: column layout, bigger */
.features .feature-card:nth-child(1),
.features .feature-card:nth-child(2) {
  flex-direction: column;
  padding: var(--space-xl) var(--space-l);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}

.feature-card__icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

/* Compact cards: smaller icon */
.features .feature-card:nth-child(n+3) .feature-card__icon {
  font-size: 2rem;
}

.feature-card__text {
  font-size: 1.05rem;
  color: var(--hex-ink-soft);
  margin: 0;
  line-height: 1.7;
}


/* ============================================
   Audience
   ============================================ */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
  margin-top: var(--space-xl);
}

/* First audience item spans full width as a headline */
.audience-grid .audience-item:first-child {
  grid-column: 1 / -1;
  padding: var(--space-xl) var(--space-l);
}

.audience-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-m);
  padding: var(--space-l);
  background: var(--hex-raised);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo);
}

.audience-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
}

.audience-item__icon {
  font-size: 3rem;
  flex-shrink: 0;
}

/* Smaller icon in compact cards */
.audience-grid .audience-item:nth-child(n+2) .audience-item__icon {
  font-size: 2.5rem;
}

.audience-item__text {
  font-size: 1.1rem;
  color: var(--hex-ink-soft);
  margin: 0;
  line-height: 1.7;
}


/* ============================================
   Topics
   ============================================ */

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: var(--space-m);
  margin-top: var(--space-xl);
}


/* ============================================
   Quote — NO side-stripe border
   ============================================ */

.quote-section {
  background: linear-gradient(135deg, var(--hex-surface) 0%, oklch(0.94 0.006 85) 100%);
  padding: var(--space-4xl) 0;
}

.quote-card {
  max-width: 50rem;
  margin: 0 auto;
  background: var(--hex-raised);
  padding: var(--space-xl);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  position: relative;
}

.quote-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: var(--space-l);
  font-size: 6rem;
  color: var(--hex-gold);
  opacity: 0.25;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote__text {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--hex-ink);
  margin-bottom: var(--space-l);
  line-height: 1.8;
  position: relative;
  z-index: 1;
  max-width: 65ch;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: var(--space-s);
}

.quote__avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-image: url('../i/avatar.webp');
  background-size: 200%;
  background-position: 50% 30%;
  border: 3px solid var(--hex-gold);
  flex-shrink: 0;
}

.quote__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--hex-ink);
  margin: 0;
  font-style: normal;
}


/* ============================================
   Pricing
   ============================================ */

.pricing-section {
  background: linear-gradient(135deg, var(--hex-raised) 0%, var(--hex-surface) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.pricing-card {
  max-width: 35rem;
  margin: 0 auto;
  background: var(--hex-raised);
  padding: var(--space-xl);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, oklch(0.82 0.16 85 / 0.04) 0%, transparent 70%);
  animation: glow 4s ease-in-out infinite;
}

.pricing__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--hex-ink);
  margin-bottom: var(--space-m);
}

.pricing__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hex-ink);
  margin: var(--space-l) 0;
  padding: var(--space-m) var(--space-l);
  background: linear-gradient(135deg, var(--hex-surface) 0%, var(--hex-raised) 100%);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}

.pricing__price::before {
  content: '\1F4B3';
  font-size: 2rem;
}

.pricing__subtitle {
  color: var(--hex-ink-soft);
  font-size: 1.1rem;
  margin-bottom: var(--space-l);
}

.pricing__features {
  list-style: none;
  padding: 0;
  margin: var(--space-l) 0;
  text-align: left;
}

.pricing__feature {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  padding: 0.75rem 0;
  font-size: 1.1rem;
  color: var(--hex-ink-soft);
}

.pricing__feature::before {
  content: '\2713';
  font-size: 1.25rem;
  color: var(--hex-gold);
  font-weight: 700;
}

.pricing__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--hex-gold) 0%, #f9d423 100%);
  color: var(--hex-ink);
  text-decoration: none;
  padding: 1.25rem 3rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo);
  position: relative;
  z-index: 1;
  margin-top: var(--space-s);
}

.pricing__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px oklch(0.82 0.16 85 / 0.55);
}


/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--hex-ink);
  color: oklch(0.7 0.01 85);
  padding: var(--space-xl) 0 var(--space-l);
  text-align: center;
}

.footer__brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--hex-gold);
  margin-bottom: var(--space-m);
  display: block;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-l);
  margin-bottom: var(--space-m);
  flex-wrap: wrap;
}

.footer__link {
  color: oklch(0.75 0.01 85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s var(--ease-out-expo);
}

.footer__link:hover {
  color: var(--hex-gold);
}

.footer__contact {
  font-size: 0.95rem;
  margin: var(--space-xs) 0;
}

.footer__email {
  color: var(--hex-gold);
  text-decoration: none;
  transition: opacity 0.3s var(--ease-out-expo);
}

.footer__email:hover {
  opacity: 0.8;
}

.footer__copyright {
  font-size: 0.85rem;
  margin: var(--space-s) 0 0;
  color: oklch(0.55 0.01 85);
}


/* ============================================
   Animations
   ============================================ */

@keyframes glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}


/* ============================================
   Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .section {
    opacity: 1;
    transform: none;
  }

  .scroll-cue {
    animation: none;
  }
}


/* ============================================
   Responsive — Tablet
   ============================================ */

@media (min-width: 641px) and (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .features .feature-card:nth-child(1),
  .features .feature-card:nth-child(2) {
    grid-column: span 1;
  }

  .features .feature-card:nth-child(n+3) {
    grid-column: span 1;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid .audience-item:first-child {
    grid-column: 1 / -1;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 75vh;
    /* No parallax on touch devices */
    background-attachment: scroll;
  }

  .quote-card {
    padding: var(--space-l);
  }
}


/* ============================================
   Responsive — Mobile
   ============================================ */

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-s);
  }

  .header__container {
    padding: var(--space-s);
  }

  .header__logo {
    font-size: 1rem;
  }

  .header__menu {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__nav {
    gap: var(--space-s);
  }

  .hero {
    min-height: 70vh;
    background-attachment: scroll;
    padding-top: 4rem;
  }

  .hero__backdrop {
    padding: var(--space-l) var(--space-m);
    margin: 0 var(--space-xs);
  }

  .scroll-cue {
    bottom: 1rem;
  }

  .section,
  .section--light#intro,
  .section--white#audience,
  .section--light#topics {
    padding: var(--space-xl) 0;
  }

  .features {
    grid-template-columns: 1fr;
    gap: var(--space-m);
  }

  .features .feature-card:nth-child(1),
  .features .feature-card:nth-child(2),
  .features .feature-card:nth-child(n+3) {
    grid-column: span 1;
    flex-direction: row;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: var(--space-m);
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: var(--space-s);
  }

  .quote-section {
    padding: var(--space-xl) 0;
  }

  .quote-card {
    padding: var(--space-l) var(--space-m);
  }

  .quote__text {
    font-size: 1.1rem;
  }

  .pricing-section {
    padding: var(--space-xl) 0;
  }

  .pricing-card {
    padding: var(--space-l) var(--space-m);
  }

  .pricing__price {
    flex-direction: column;
    font-size: 2rem;
  }
}


/* ============================================
   Responsive — Small Mobile
   ============================================ */

@media (max-width: 480px) {
  .hero__backdrop {
    padding: var(--space-m) var(--space-s);
  }

  .audience-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-s);
  }

  .quote__author {
    flex-direction: column;
    text-align: center;
  }

  .header__container {
    padding: 0.75rem var(--space-s);
  }
}


/* ============================================
   Responsive — Landscape
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: 100vh;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__cta {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }
}
