/* ============================================
   HLRBO Subscriber Landing Page
   Colors matched exactly to Figma design
   ============================================ */

:root {
  --night: #252323;
  --night-80: #4f4d4d;
  --night-60: #787777;
  --blaze: #dc7001;
  --hlrbo-green: #6e883f;
  --hlrbo-green-20: #e2e7d9;
  --hlrbo-grey-60: #ecece6;
  --trophy: #c38f08;
  --error: #901a00;
  --error-20: #e9d1cc;
  --frost: #ffffff;
  --frost-20: #f7f7f7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--night);
  color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 10px 20px;
  background: var(--hlrbo-green);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  min-width: 233px;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-login {
  height: 52px;
  padding: 10px;
  width: 126px;
  background: var(--night);
  border: 1px solid var(--hlrbo-green);
  border-radius: 4px;
  color: var(--hlrbo-green);
  font-family: 'Avenir', 'Figtree', sans-serif;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.btn-signup-nav {
  height: 52px;
  padding: 10px;
  width: 126px;
  background: var(--hlrbo-green);
  border: 1px solid #6e883f;
  border-radius: 4px;
  color: #fff;
  font-family: 'Avenir', 'Figtree', sans-serif;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.btn-outline-green {
  height: 44px;
  padding: 10px;
  width: 90px;
  background: #fff;
  border: 1px solid var(--hlrbo-green);
  border-radius: 4px;
  color: var(--hlrbo-green);
  font-family: 'Avenir', 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 483px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 96px;
}

.hero-badge {
  background: var(--night);
  border: 1px solid var(--blaze);
  border-radius: 100px;
  padding: 12px 32px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.hero-badge span {
  color: var(--blaze);
  font-size: 16px;
  font-weight: 700;
}

.hero-title {
  font-family: 'Horizon', 'Figtree', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: lowercase;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-cta {
  margin-top: 8px;
}

/* ============================================
   SOCKS SECTION
   ============================================ */
.socks-section {
  background: linear-gradient(to bottom, #050302, var(--night));
  padding: 80px 0 0;
  width: 100%;
  overflow: hidden;
}

.socks-content {
  max-width: 1042px;
  margin: 0 auto;
  padding: 0 80px;
}

.socks-eyebrow {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.gold-text {
  color: var(--trophy);
}

.socks-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.socks-features {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.socks-divider {
  color: var(--night);
  margin: 0 8px;
}

.socks-description {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 48px;
}

.socks-images {
  display: flex;
  gap: 36px;
  width: max-content;
  padding-bottom: 80px;
  animation: scroll-left 20s linear infinite;
}

.socks-images:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 18px));
  }
}

.socks-image {
  flex: 0 0 380px;
  height: 518px;
  border-radius: 8px;
  overflow: hidden;
}

.socks-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   OFFER / COUNTDOWN SECTION
   ============================================ */
.offer-section {
  background: linear-gradient(to bottom, #242222, var(--night-80));
  padding: 60px 0 80px;
  text-align: center;
}

.offer-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 48px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.countdown-block {
  background: var(--night-80);
  border-radius: 12px;
  width: 167px;
  height: 89px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-block-dark {
  background: linear-gradient(to bottom, #252323, var(--night));
}

.countdown-number {
  font-family: 'Horizon', 'Figtree', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.countdown-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--frost-20);
  letter-spacing: 2.8px;
  margin-top: 4px;
}

.offer-ends {
  font-size: 16px;
  color: #fff;
  margin-bottom: 16px;
}

.offer-billing {
  font-size: 14px;
  color: #fff;
  margin-top: 16px;
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  background: var(--night-80);
  padding: 60px 80px 80px;
}

.section-title-left {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 48px;
}

.why-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.why-card {
  background: linear-gradient(to bottom, #252323, var(--night));
  border-radius: 12px;
  width: 368px;
  height: 274px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(78, 76, 76, 0.4);
  border: 1px solid var(--blaze);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-icon-wrap img {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.why-card p {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-section {
  background: var(--night-80);
  padding: 60px 80px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
}

.how-left {
  flex: 0 0 auto;
  padding-top: 45px;
}

.how-subtitle {
  font-size: 16px;
  color: #fff;
  margin: 16px 0 32px;
}

.how-steps {
  flex: 1 1 709px;
  max-width: 709px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-circle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hlrbo-green), #4a6a2a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-circle span {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.step-card {
  background: linear-gradient(to bottom, #252323, var(--night));
  border-radius: 12px;
  height: 107px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
}

.step-card p {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

/* ============================================
   MORE EXCLUSIVE BENEFITS
   ============================================ */
.benefits-section {
  background: linear-gradient(to bottom, var(--night), var(--night));
  padding: 80px 80px;
  position: relative;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, var(--night) 0%, var(--night) 100%);
  z-index: 0;
}

.benefits-section > * {
  position: relative;
  z-index: 1;
}

.section-title-center {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

.benefits-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.benefit-card {
  width: 388px;
  text-align: center;
}

.phone-mockup {
  width: 388px;
  height: 388px;
  background: #000;
  border-radius: 9.3px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.phone-screen {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 213px;
  height: 462px;
  object-fit: cover;
  border-radius: 31px;
}

.phone-frame {
  position: absolute;
  top: 41px;
  left: 50%;
  transform: translateX(-50%);
  width: 235px;
  height: 479px;
  object-fit: contain;
  z-index: 1;
}

.phone-composite {
  position: absolute;
  top: -7%;
  left: -58%;
  width: 213%;
  height: auto;
  max-width: none;
  object-fit: cover;
}

.benefit-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  max-width: 289px;
  margin: 0 auto;
}

/* ============================================
   SECOND CTA SECTION (gradient banner)
   ============================================ */
.cta-section {
  background: linear-gradient(90.1deg, var(--night) 2%, #543311 24.5%, #783f05 50%, #543311 74%, var(--night) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-headline {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
  margin-top: 32px;
}

.platinum-text {
  color: var(--night);
}

.blaze-text {
  color: var(--blaze);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  background: #060403;
  padding: 80px 0;
  text-align: center;
}

.pricing-subtitle {
  font-size: 17px;
  color: #fff;
  line-height: 1.6;
  max-width: 823px;
  margin: 16px auto 48px;
}

.pricing-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.pricing-card {
  background: #fff;
  border-radius: 12px;
  width: 363px;
  padding: 16px;
  box-shadow: 0px 2px 6px 2px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pricing-badge {
  width: 100%;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.gold-badge {
  background: var(--trophy);
}

.blaze-badge {
  background: var(--blaze);
}

.pricing-tier {
  font-size: 16px;
  font-weight: 700;
  color: var(--night);
  padding-top: 12px;
}

.pricing-price {
  font-family: 'Avenir', 'Figtree', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--night);
}

.pricing-cycle {
  font-size: 14px;
  color: var(--night);
}

.pricing-monthly {
  font-size: 12px;
  color: var(--night);
}

.pricing-btn {
  width: 100%;
  min-width: auto;
}

.pricing-features {
  list-style: none;
  width: 100%;
  text-align: center;
}

.pricing-features li {
  font-size: 14px;
  color: var(--night);
  padding: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--night);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  padding: 33px 80px 60px;
  gap: 80px;
}

.footer-newsletter {
  flex: 0 0 auto;
  max-width: 465px;
}

.footer-logo {
  width: 227px;
  margin-bottom: 16px;
}

.footer-newsletter-text {
  font-size: 14px;
  color: #fff;
  margin-bottom: 24px;
}

.footer-form {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-input {
  height: 44px;
  flex: 1;
  max-width: 285px;
  background: var(--night-80);
  border: none;
  border-radius: 4px;
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  font-family: 'Figtree', sans-serif;
}

.footer-input::placeholder {
  color: #fff;
  opacity: 0.7;
}

.footer-privacy {
  font-size: 12px;
  color: #fff;
  margin-top: 8px;
}

.footer-privacy a {
  text-decoration: underline;
}

.footer-error {
  background: var(--error-20);
  border-radius: 4px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.footer-error .error-icon {
  width: 16px;
  height: 16px;
}

.footer-error span {
  font-size: 12px;
  color: var(--error);
}

.footer-links-col {
  flex: 0 0 auto;
}

.footer-links-col h4,
.footer-social-col h4 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  padding: 10px 0;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  font-size: 16px;
  color: #fff;
  padding: 2px 0;
}

.footer-links-col a:hover {
  text-decoration: underline;
}

.footer-social-col {
  flex: 0 0 auto;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 109px;
}

.footer-social-icons a {
  width: 24px;
  height: 24px;
}

.footer-social-icons img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  background: var(--night-80);
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span,
.footer-bottom a {
  font-size: 14px;
  color: #fff;
}

/* ============================================
   RESPONSIVE — tablet
   ============================================ */
@media (max-width: 1024px) {
  .why-cards {
    flex-direction: column;
    align-items: center;
  }

  .how-section {
    flex-direction: column;
    padding: 40px 24px 60px;
  }

  .how-left {
    padding-left: 0;
    padding-top: 0;
    flex: none;
    width: 100%;
    margin-bottom: 32px;
  }

  .how-steps {
    max-width: 100%;
  }

  .benefits-cards {
    flex-direction: column;
    align-items: center;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 40px;
    padding: 33px 24px 60px;
  }
}

/* ============================================
   RESPONSIVE — mobile
   ============================================ */
@media (max-width: 768px) {

  /* -- Hero -- */
  .hero {
    height: auto;
    min-height: 420px;
    margin-top: 0;
    padding: 48px 20px 48px;
  }

  .hero-content {
    padding-top: 24px;
  }

  .hero-title {
    font-size: 28px;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 14px;
    padding: 0 8px;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-badge {
    padding: 8px 20px;
  }

  .hero-badge span {
    font-size: 13px;
  }

  .btn-primary {
    min-width: 200px;
    font-size: 14px;
    height: 40px;
  }

  /* -- Socks section -- */
  .socks-section {
    padding: 40px 0 0;
  }

  .socks-content {
    padding: 0 20px;
  }

  .socks-eyebrow {
    font-size: 16px;
  }

  .socks-title {
    font-size: 24px;
  }

  .socks-features {
    font-size: 16px;
  }

  .socks-features .socks-divider {
    margin: 0 4px;
  }

  .socks-description {
    font-size: 14px;
  }

  .socks-images {
    gap: 12px;
  }

  .socks-image {
    flex: 0 0 260px;
    height: 360px;
  }

  /* -- Offer / Countdown -- */
  .offer-section {
    padding: 40px 20px 48px;
  }

  .offer-title {
    font-size: 24px;
    padding: 0 8px;
  }

  .countdown {
    gap: 8px;
  }

  .countdown-block,
  .countdown-block-dark {
    width: 72px;
    height: 70px;
  }

  .countdown-number {
    font-size: 28px;
  }

  .countdown-label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  /* -- Why section -- */
  .why-section {
    padding: 40px 20px 48px;
  }

  .section-title-left,
  .section-title-center {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .why-card {
    width: 100%;
    height: auto;
    padding: 24px;
    min-height: 200px;
  }

  /* -- How It Works -- */
  .how-section {
    padding: 40px 20px 48px;
    align-items: center;
  }

  .how-left {
    text-align: center;
    align-items: center;
  }

  .how-steps {
    flex-basis: auto;
  }

  .step-card {
    height: 80px;
    padding: 0 16px;
    gap: 16px;
  }

  .step-card p {
    font-size: 15px;
  }

  .step-circle {
    width: 36px;
    height: 36px;
  }

  .step-circle span {
    font-size: 14px;
  }

  /* -- Benefits -- */
  .benefits-section {
    padding: 48px 20px;
  }

  .phone-mockup {
    width: 100%;
    max-width: 320px;
    height: 320px;
    margin: 0 auto 20px;
  }

  .benefit-card {
    width: 100%;
  }

  .benefit-card h3 {
    font-size: 20px;
  }

  .benefit-card p {
    font-size: 14px;
    max-width: 100%;
    padding: 0 16px;
    margin-bottom: 32px;
  }

  /* -- CTA section -- */
  .cta-section {
    padding: 48px 20px;
  }

  .cta-headline {
    font-size: 24px;
    padding: 0 8px;
  }

  .cta-headline br {
    display: none;
  }

  /* -- Pricing -- */
  .pricing-section {
    padding: 48px 20px;
  }

  .pricing-subtitle {
    font-size: 14px;
    padding: 0 8px;
  }

  .pricing-card {
    width: 100%;
    max-width: 340px;
  }

  /* -- Footer -- */
  .footer-inner {
    flex-direction: column;
    padding: 32px 20px 40px;
    gap: 32px;
  }

  .footer-newsletter {
    max-width: 100%;
  }

  .footer-logo {
    width: 180px;
  }

  .footer-form {
    flex-direction: column;
  }

  .footer-input {
    max-width: 100%;
  }

  .footer-bottom {
    padding: 16px 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-social-icons {
    width: auto;
  }
}

/* ============================================
   ENTER ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
