/* ============================================
   ATHLEX — Sports Brand Stylesheet
   Theme: Dark court + neon green + gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-deep:      #090e17;
  --bg-card:      #111927;
  --bg-card-hover:#152032;
  --bg-nav:       rgba(9, 14, 23, 0.96);
  --primary:      #1b3f6e;
  --accent-green: #a8d44a;
  --accent-gold:  #c8a84b;
  --accent-neon:  #c5f135;
  --text-primary: #f0f4ff;
  --text-muted:   #7a8fa8;
  --text-dim:     #4a5f78;
  --border:       #1e3050;
  --border-glow:  rgba(168, 212, 74, 0.35);
  --red-edge:     #d63031;
  --court-blue:   #2d6a9f;
  --court-green:  #2d7a4a;
  --shadow-card:  0 4px 24px rgba(0,0,0,0.5);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Court texture overlay ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.015) 39px,
      rgba(255,255,255,0.015) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.015) 39px,
      rgba(255,255,255,0.015) 40px
    );
  pointer-events: none;
  z-index: 0;
}

/* ---------- Utility ---------- */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--green  { background: rgba(168,212,74,0.15); color: var(--accent-green); border: 1px solid rgba(168,212,74,0.3); }
.tag--gold   { background: rgba(200,168,75,0.15); color: var(--accent-gold);  border: 1px solid rgba(200,168,75,0.3); }
.tag--blue   { background: rgba(45,106,159,0.2);  color: #64b5f6;             border: 1px solid rgba(45,106,159,0.4); }
.tag--red    { background: rgba(214,48,49,0.15);  color: #ff7675;             border: 1px solid rgba(214,48,49,0.3); }
.tag--white  { background: rgba(255,255,255,0.08); color: #ccc;               border: 1px solid rgba(255,255,255,0.15); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.nav__logo-icon {
  /* logo-footer.png is 168x129 — let height drive size, width follows aspect ratio */
  height: 30px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.nav__links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav__links a {
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--accent-green);
  background: rgba(168,212,74,0.08);
}

/* ============================================
   PAGE WRAPPER
   ============================================ */
.page {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

/* ============================================
   HERO — HOME
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Court-inspired gradient backdrop over real court photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(9,14,23,0.88) 0%, rgba(9,14,23,0.55) 50%, rgba(9,14,23,0.75) 100%),
    url('../images/hero-ball-court.jpeg') center/cover no-repeat;
  pointer-events: none;
}

/* White court lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 80px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--accent-green);
}

.hero__eyebrow-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-green);
}

.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero__title span {
  display: block;
  color: var(--accent-green);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--accent-green);
  color: var(--bg-deep);
}

.btn--primary:hover {
  background: var(--accent-neon);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,212,74,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(168,212,74,0.06);
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero ball — actual product photo */
.hero__ball {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 26vw, 360px);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 20px 60px rgba(168,212,74,0.3)) drop-shadow(0 4px 20px rgba(0,0,0,0.6));
  animation: floatBall 6s ease-in-out infinite;
}

@keyframes floatBall {
  0%, 100% { transform: translateY(-50%) translateY(0px); }
  50%       { transform: translateY(-50%) translateY(-16px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
}

.stats__item {
  padding: 16px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stats__item:last-child { border-right: none; }

.stats__number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--accent-green);
  line-height: 1;
  letter-spacing: 0.04em;
}

.stats__label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section {
  padding: 80px 0;
}

.section__header {
  margin-bottom: 56px;
}

.section__eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 10px;
}

.section__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.section__title em {
  font-style: normal;
  color: var(--accent-gold);
}

.section__desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
}

.about__text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.025rem;
}

.about__values {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.value-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(168,212,74,0.07);
  border: 1px solid rgba(168,212,74,0.2);
  border-radius: var(--radius-md);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--accent-green);
}

.value-badge::before {
  content: '✦';
  font-size: 0.7rem;
}

/* About visual — court card */
.about__visual {
  position: relative;
}

.about__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about__card-header {
  padding: 24px 32px 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d1e35 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.about__logo {
  /* logo-main.png is 302x671 portrait — constrain height */
  height: 48px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.about__card-body {
  padding: 28px 32px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.contact-row:last-child { border-bottom: none; }

.contact-row__label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 80px;
  padding-top: 2px;
}

.contact-row__value {
  color: var(--text-primary);
  font-size: 0.92rem;
}

.contact-row__value a {
  color: var(--accent-green);
}

.contact-row__value a:hover { text-decoration: underline; }

/* ============================================
   PRODUCT SPECS SECTION (Home)
   ============================================ */
.specs {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.spec-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: linear-gradient(90deg, rgba(27,63,110,0.5) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.spec-card__icon {
  font-size: 1.5rem;
}

.spec-card__thumb {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.spec-card__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.spec-card__body {
  padding: 20px 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
}

.spec-row:last-child { border-bottom: none; }

.spec-row__key {
  color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.spec-row__val {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

/* ============================================
   PRODUCT PAGE — FILTER BAR
   ============================================ */
.products-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(27,63,110,0.12) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(168,212,74,0.08);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-section {
  padding: 60px 0 100px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(168,212,74,0.1);
}

/* Category color accent on top */
.product-card[data-category="Paddle"]     { --cat-color: #64b5f6; }
.product-card[data-category="Pickleball"] { --cat-color: var(--accent-green); }
.product-card[data-category="Net"]        { --cat-color: var(--accent-gold); }
.product-card[data-category="Accessories"]{ --cat-color: #b39ddb; }

.product-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--cat-color), transparent);
}

.product-card__visual {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(27,63,110,0.3) 0%, rgba(9,14,23,0.8) 100%);
}

/* Product image */
.product-img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.6));
  transition: transform var(--transition);
}

/* Single larger image (used for balls on home page) */
.product-img--single {
  max-height: 152px;
  transform: scale(1.12);
}

/* Ball products — show 3 images stacked/layered */
.product-img-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: -16px;
  height: 100%;
  padding: 12px;
}

.product-img-group .product-img {
  max-height: 130px;
  margin-left: -20px;
}

.product-img-group .product-img:first-child { margin-left: 0; z-index: 3; }
.product-img-group .product-img:nth-child(2) { z-index: 2; transform: scale(0.92) translateY(4px); }
.product-img-group .product-img:nth-child(3) { z-index: 1; transform: scale(0.85) translateY(8px); }

.product-card:hover .product-img,
.product-card:hover .product-img-group .product-img:first-child {
  transform: scale(1.06) translateY(-4px);
}

.product-card__category {
  position: absolute;
  top: 12px;
  right: 12px;
}

.product-card__body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.1;
}

.product-card__variant {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.product-card__specs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.spec-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.83rem;
}

.spec-line__key {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 70px;
  padding-top: 1px;
  flex-shrink: 0;
}

.spec-line__val {
  color: var(--text-muted);
  line-height: 1.4;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.product-card__price {
  display: flex;
  flex-direction: column;
}

.price__label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.price__value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--accent-green);
  line-height: 1;
}

.price__unit {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.product-card__level {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

/* ============================================
   COMPLIANCE BADGE
   ============================================ */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.25);
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 6px;
}

.compliance-badge::before { content: '✓ '; }

/* ============================================
   SECTION DIVIDER
   ============================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,17,28,0.97) 0%, rgba(11,17,28,0.92) 100%),
    url('../images/footer-bg.jpeg') center/cover no-repeat;
  z-index: 0;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

.footer__logo-img {
  /* logo-footer.png is 168x129 — set height, auto width keeps aspect ratio */
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  image-rendering: -webkit-optimize-contrast;
}

.footer__brand h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 320px;
}

.footer__col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__col ul li a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: var(--accent-green); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(168,212,74,0.05);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  z-index: 1010;
}

.nav__hamburger:hover { background: rgba(255,255,255,0.06); }

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animate to X when open */
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   RESPONSIVE — Large Tablet / Small Desktop
   (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero__ball {
    width: clamp(160px, 22vw, 280px);
    right: 3%;
  }

  .about__grid { gap: 40px; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand { grid-column: 1 / -1; }
}

/* ============================================
   RESPONSIVE — Tablet (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

  /* Nav — show hamburger, hide links by default */
  .nav__inner { height: 56px; }

  .nav__hamburger { display: flex; }

  .nav__links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
    transform: translateY(-110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav__links.open { transform: translateY(0); }

  .nav__links a {
    display: block;
    padding: 14px 24px;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nav__links a:hover,
  .nav__links a.active {
    background: rgba(168,212,74,0.08);
    border-left: 3px solid var(--accent-green);
    padding-left: 21px;
  }

  /* Page offset */
  .page { padding-top: 56px; }

  /* Hero */
  .hero {
    min-height: 75vh;
    align-items: flex-end;
    padding-bottom: 40px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(9,14,23,0.70) 0%, rgba(9,14,23,0.92) 60%, rgba(9,14,23,1) 100%),
      url('../images/hero-ball-court.jpeg') center/cover no-repeat;
  }

  .hero__content { padding-block: 48px 32px; }

  .hero__ball {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    animation: none;
    width: clamp(120px, 40vw, 200px);
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(168,212,74,0.3));
  }

  /* Re-order hero so ball shows above text on tablet */
  .hero { flex-direction: column; justify-content: flex-end; }

  .hero__title {
    font-size: clamp(2.8rem, 9vw, 4.5rem);
    text-align: center;
  }

  .hero__eyebrow { justify-content: center; }

  .hero__subtitle {
    font-size: 0.95rem;
    text-align: center;
    max-width: 100%;
  }

  .hero__cta { justify-content: center; }

  /* Stats */
  .stats { padding: 20px 0; }

  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .stats__item {
    padding: 12px 8px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .stats__item:nth-child(3) { border-right: none; }
  .stats__item:nth-child(4) { border-bottom: none; }
  .stats__item:nth-child(5) { border-right: none; border-bottom: none; }

  .stats__number { font-size: 1.9rem; }
  .stats__label  { font-size: 0.7rem; }

  /* Sections */
  .section { padding: 48px 0; }
  .section__header { margin-bottom: 36px; }
  .section__title { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  .section__desc { font-size: 0.92rem; max-width: 100%; }

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__text p { font-size: 0.95rem; }
  .about__card-body { padding: 20px 20px; }
  .about__card-header { padding: 18px 20px 14px; }

  /* Specs */
  .specs__grid { grid-template-columns: 1fr; gap: 20px; }

  /* Products hero */
  .products-hero { padding: 40px 0 28px; }

  /* Filter bar */
  .filter-bar {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; }

  /* Product grid — 2 columns on tablet */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .products-section { padding: 40px 0 60px; }

  /* Product card adjustments */
  .product-card__visual { height: 150px; }
  .product-card__body { padding: 16px 16px; }
  .product-card__name { font-size: 1.2rem; }
  .product-card__variant { margin-bottom: 10px; }
  .product-card__specs { gap: 4px; margin-bottom: 14px; }
  .product-card__desc { font-size: 0.82rem; }
  .price__value { font-size: 1.5rem; }

  /* Buttons */
  .btn { padding: 12px 24px; font-size: 0.9rem; }

  /* Footer */
  .footer { padding: 36px 0 24px; }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: 100%; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ============================================
   RESPONSIVE — Mobile (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {

  /* Container breathing room */
  .container { width: 94%; }

  /* Nav */
  .nav__logo { font-size: 1.4rem; gap: 8px; }
  .nav__logo-icon { height: 24px; }

  /* Hero — full viewport, portrait */
  .hero { min-height: 100svh; padding-bottom: 0; }

  .hero__content { padding-block: 36px 36px; }

  .hero__ball {
    width: clamp(100px, 45vw, 160px);
    margin-bottom: 20px;
  }

  .hero__title {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
    text-align: center;
  }

  .hero__subtitle {
    font-size: 0.88rem;
    line-height: 1.65;
    text-align: center;
  }

  .hero__cta {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .btn { width: 100%; justify-content: center; }

  /* Stats — 2-column compact */
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 10px 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stats__item:nth-child(2n) { border-right: none; }
  .stats__item:nth-child(5) { grid-column: 1 / -1; border-right: none; border-bottom: none; }
  .stats__number { font-size: 1.7rem; }

  /* Sections */
  .section { padding: 36px 0; }
  .section__header { margin-bottom: 28px; }

  /* About */
  .about__values { gap: 8px; }
  .value-badge { padding: 8px 12px; font-size: 0.82rem; }
  .contact-row { flex-direction: column; gap: 4px; padding: 10px 0; }
  .contact-row__label { min-width: auto; }

  /* Specs */
  .spec-card__body { padding: 16px 16px; }
  .spec-row { font-size: 0.82rem; padding: 8px 0; }

  /* Products page header */
  .products-hero { padding: 28px 0 20px; }

  /* Product grid — single column */
  .products-grid { grid-template-columns: 1fr; gap: 14px; }
  .products-section { padding: 28px 0 48px; }

  /* Product card */
  .product-card__visual { height: 180px; }
  .product-card__body { padding: 16px 14px; }
  .product-card__name { font-size: 1.25rem; }
  .product-card__footer { flex-wrap: wrap; gap: 10px; }
  .product-card__level { align-items: flex-start; }
  .price__value { font-size: 1.6rem; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__social { flex-wrap: wrap; gap: 8px; }
  .social-btn { flex: 1; justify-content: center; min-width: 120px; }
  .footer__copy { font-size: 0.75rem; }
}

/* ============================================
   RESPONSIVE — Small phones (max-width: 360px)
   ============================================ */
@media (max-width: 360px) {
  .nav__logo { font-size: 1.25rem; }
  .hero__title { font-size: clamp(2rem, 13vw, 2.8rem); }
  .product-card__footer { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
