/* ============================================================
   EVERLAST CUSTOMZ — homepage v5
   The reference composition: boot overlay, giant tight-tracked
   hero, scroll hint, feature cards, product grid, stats band,
   reviews, and one brand CTA panel.
   ============================================================ */

/* ---------- Boot overlay ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #101010;
  pointer-events: none;
  animation: boot-out 0.55s cubic-bezier(0.7, 0, 0.3, 1) 1.35s forwards;
}

.boot-word {
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ededeb;
}

.boot-word span {
  display: inline-block;
  opacity: 0;
  animation: boot-letter 0.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.boot-word span:nth-child(1) { animation-delay: 0.05s; }
.boot-word span:nth-child(2) { animation-delay: 0.10s; }
.boot-word span:nth-child(3) { animation-delay: 0.15s; }
.boot-word span:nth-child(4) { animation-delay: 0.20s; }
.boot-word span:nth-child(5) { animation-delay: 0.25s; }
.boot-word span:nth-child(6) { animation-delay: 0.30s; }
.boot-word span:nth-child(7) { animation-delay: 0.35s; }
.boot-word span:nth-child(8) { animation-delay: 0.40s; }
.boot-word span:nth-child(9) { animation-delay: 0.45s; }

.boot-word .accent {
  color: var(--brand-primary);
}

@keyframes boot-letter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes boot-out {
  to { opacity: 0; visibility: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(4rem, 10vw, 8.5rem);
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 130vw);
  height: 640px;
  background: radial-gradient(ellipse at center, rgba(232, 64, 42, 0.09), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: var(--space-6);
}

.hero-kicker svg {
  width: 17px;
  height: 17px;
  color: var(--brand-accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 6.1rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 0 100px #101012;
  margin-bottom: var(--space-6);
}

.hero-title .brand {
  color: var(--brand-primary);
}

.hero-desc {
  max-width: 560px;
  margin: 0 auto var(--space-8);
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Pills — the button language */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  border-radius: var(--radius-full);
  transition: background var(--duration-fast) var(--ease-smooth),
              border-color var(--duration-fast) var(--ease-smooth),
              transform var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.btn-pill:hover {
  background: var(--red-400);
  border-color: var(--red-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

.btn-pill svg {
  width: 17px;
  height: 17px;
}

.btn-pill-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: background var(--duration-fast) var(--ease-smooth),
              border-color var(--duration-fast) var(--ease-smooth),
              transform var(--duration-fast) var(--ease-smooth);
}

.btn-pill-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Scroll hint */
.scroll-hint {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: flex;
  justify-content: center;
}

.scroll-hint span {
  position: relative;
  display: block;
  width: 20px;
  height: 26px;
}

.scroll-hint svg {
  position: absolute;
  inset-inline: 0;
  width: 20px;
  height: 20px;
  color: var(--brand-accent);
}

.scroll-hint .chev-1 {
  top: 0;
  animation: chev 1.8s ease-in-out infinite;
}

.scroll-hint .chev-2 {
  top: 6px;
  opacity: 0.45;
  animation: chev 1.8s ease-in-out 0.22s infinite;
}

@keyframes chev {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* ---------- Section headers (centered kicker style) ---------- */
.sec-head {
  max-width: 900px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: var(--space-4);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--brand-accent);
}

.sec-kicker svg {
  width: 17px;
  height: 17px;
  color: var(--brand-accent);
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 5vw, 3.875rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: balance;
}

/* ---------- Feature cards ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 860px) {
  .feat-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.feat-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  transition: border-color var(--duration-normal) var(--ease-smooth),
              transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.feat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feat-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(232, 64, 42, 0.16), rgba(232, 64, 42, 0.03));
  border: 1px solid var(--border);
}

.feat-icon svg {
  width: 44px;
  height: 44px;
  color: var(--brand-accent);
}

.feat-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.feat-text {
  max-width: 300px;
  margin: 0 auto;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ---------- Products ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .prod-grid { grid-template-columns: 1fr; }
}

.prod-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-smooth),
              transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.prod-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.prod-media {
  position: relative;
  padding: var(--space-5);
  padding-bottom: 0;
}

.prod-media .cover {
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.prod-card:hover .prod-media .cover {
  transform: scale(1.02);
}

.prod-badge {
  position: absolute;
  top: calc(var(--space-5) + 10px);
  left: calc(var(--space-5) + 10px);
  z-index: 2;
  padding: 5px 11px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(16, 16, 18, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.prod-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
}

.prod-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.prod-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.prod-price {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-accent);
  background: rgba(232, 64, 42, 0.1);
  border: 1px solid rgba(232, 64, 42, 0.22);
  border-radius: var(--radius-full);
}

.prod-price.free {
  color: var(--success);
  background: rgba(126, 217, 154, 0.08);
  border-color: rgba(126, 217, 154, 0.22);
}

.prod-cat {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
  padding: clamp(2rem, 4vw, 3.25rem) var(--space-6);
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-right: none;
}

@media (max-width: 860px) {
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--border-subtle); }
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.stat-num sup {
  font-size: 0.5em;
  color: var(--brand-primary);
  top: -0.65em;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- Reviews ---------- */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .rev-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

.rev-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  transition: border-color var(--duration-normal) var(--ease-smooth),
              transform var(--duration-normal) var(--ease-out-expo);
}

.rev-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.rev-stars {
  display: flex;
  gap: 3px;
  color: var(--brand-accent);
}

.rev-stars svg {
  width: 15px;
  height: 15px;
}

.rev-text {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.rev-who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-avatar {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-accent);
  background: var(--brand-deep);
  border-radius: var(--radius-full);
}

.rev-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.rev-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- CTA panel ---------- */
.cta-wrap {
  padding-bottom: var(--section-y);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
  padding: clamp(3rem, 8vw, 6rem) var(--space-6);
  text-align: center;
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 120%);
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(232, 64, 42, 0.14), transparent 60%);
  pointer-events: none;
}

.cta-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text-primary);
  max-width: 22ch;
  margin: 0 auto var(--space-5);
  text-wrap: balance;
}

.cta-title .brand {
  color: var(--brand-primary);
}

.cta-text {
  position: relative;
  max-width: 480px;
  margin: 0 auto var(--space-8);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.cta-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ---------- Hero trust line ---------- */
.hero-trust {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 13px;
  height: 13px;
  color: var(--success);
}

.hero-trust .sep {
  width: 3px;
  height: 3px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- Spotlight ---------- */
.spot {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
  overflow: hidden;
}

@media (max-width: 900px) {
  .spot { grid-template-columns: 1fr; }
}

.spot-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(232, 64, 42, 0.10), transparent 58%),
    #131315;
  border-right: 1px solid var(--border-subtle);
}

@media (max-width: 900px) {
  .spot-media { border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

.spot-media .cover {
  width: 100%;
  max-width: 380px;
}

.spot-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
  padding: clamp(2rem, 4.5vw, 3.75rem);
}

.spot-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 13px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-accent);
  background: rgba(232, 64, 42, 0.08);
  border: 1px solid rgba(232, 64, 42, 0.22);
  border-radius: var(--radius-full);
}

.spot-label svg {
  width: 12px;
  height: 12px;
}

.spot-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text-primary);
}

.spot-text {
  max-width: 46ch;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.spot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

.chip-sm {
  height: 24px;
  padding: 0 10px;
  font-size: 0.6875rem;
}

.spot-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.spot-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-pill-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 0.875rem;
}

/* ---------- Product card — link + foot ---------- */
.prod-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-5) var(--space-3);
}

.prod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0 var(--space-5) var(--space-5);
  margin-top: auto;
}

.btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 15px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: background var(--duration-fast) var(--ease-smooth),
              border-color var(--duration-fast) var(--ease-smooth),
              color var(--duration-fast) var(--ease-smooth);
}

.btn-add:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.btn-add svg {
  width: 14px;
  height: 14px;
}

.btn-add.free {
  color: var(--success);
  border-color: rgba(126, 217, 154, 0.25);
  background: rgba(126, 217, 154, 0.07);
}

.btn-add.free:hover {
  background: var(--success);
  border-color: var(--success);
  color: #0b1a11;
}

/* ---------- Compare table ---------- */
.cmp {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  overflow: hidden;
}

.cmp-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  border-top: 1px solid var(--border-subtle);
}

.cmp-row:first-child {
  border-top: none;
}

.cmp-head {
  background: rgba(255, 255, 255, 0.02);
  padding: 13px 22px;
}

.cmp-head span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.cmp-head .cmp-brand {
  color: var(--brand-accent);
  font-size: 0.8125rem;
}

.cmp-feature {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.cmp-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
}

.cmp-cell svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.cmp-yes { color: var(--text-primary); }
.cmp-yes svg { color: var(--success); }
.cmp-no { color: var(--text-muted); }
.cmp-no svg { color: rgba(255, 138, 117, 0.55); }

@media (max-width: 620px) {
  .cmp { border-radius: 16px; }
  .cmp-row { padding: 13px 14px; gap: 8px; }
  .cmp-feature { font-size: 0.8125rem; }
  .cmp-cell { font-size: 0.75rem; gap: 5px; }
  .cmp-cell svg { width: 13px; height: 13px; }
}

/* ---------- CTA trust note ---------- */
.cta-note {
  position: relative;
  margin-top: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cta-note svg {
  width: 14px;
  height: 14px;
  color: var(--success);
}
