/* ===== GR8BALANZ — Design System ===== */

/* Museo Font Faces — woff2 (preferred) with otf fallback */
@font-face {
  font-family: 'Museo';
  src: url('fonts/Museo100-Regular.woff2') format('woff2'),
       url('fonts/Museo100-Regular.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo';
  src: url('fonts/Museo300-Regular.woff2') format('woff2'),
       url('fonts/Museo300-Regular.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo';
  src: url('fonts/Museo500-Regular.woff2') format('woff2'),
       url('fonts/Museo500-Regular.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo';
  src: url('fonts/Museo700-Regular.woff2') format('woff2'),
       url('fonts/Museo700-Regular.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo';
  src: url('fonts/Museo900-Regular.woff2') format('woff2'),
       url('fonts/Museo900-Regular.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1a2030;
  --bg-alt: #1e2838;
  --text: #e8e8ec;
  --text-light: #9a9aa8;
  --text-muted: #5a5a6a;
  --accent: #f0f0f0;
  --accent-hover: #ffffff;
  --border: #2a3545;
  --font: 'Museo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', sans-serif;
  --nav-height: 85px;
  --section-gap: 120px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  visibility: visible;
}

a { color: var(--text); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #1a2030;
  border-bottom: none;
  transition: background 0.3s;
}
.nav-inner,
.header-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 150px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 45px;
  width: auto;
  display: block;
}
.logo:hover .logo-img { opacity: 0.85; }
.nav-links,
.nav {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-top: 35px;
}
.nav-links a,
.nav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.3s;
}
.nav-links a:hover,
.nav a:hover { opacity: 0.8; }

/* SHOP — lemon yellow highlight */
.nav-links a[href="shop.html"] { color: #F4E04D; }

/* HOME — special treatment */
.nav-home {
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
  position: relative;
}
.nav-home::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 0;
  width: 100%;
  height: 22px;
  background:
    linear-gradient(to bottom,
      #ffffff 0, #ffffff 2px,
      transparent 2px, transparent 10px,
      #ffffff 10px, #ffffff 12px,
      transparent 12px, transparent 20px,
      #ffffff 20px, #ffffff 22px);
}
.nav-home:hover { opacity: 0.8 !important; }

/* Hide HOME decorative lines on mobile */
@media (max-width: 900px) {
  .nav-home::before { display: none; }
}

/* Header scroll state */
.header.scrolled {
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

/* Hamburger */
.mobile-toggle,
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span,
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ===== Hero Carousel ===== */
.hero {
  width: 100vw;
  height: 65vh;
  min-height: 420px;
  max-height: 720px;
  position: relative;
  overflow: hidden;
  margin: var(--nav-height) 0 0 0;
  padding: 0;
}

/* Slides layer */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.15) 100%
  );
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  opacity: 0;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover {
  background: rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.6);
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.3);
}
/* ===== Feature Sections ===== */
.feature {
  padding: var(--section-gap) 40px;
}
.feature-left  { background: var(--bg); }
.feature-right { background: var(--bg-alt); }
.feature-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 120px;
}

.feature-text { flex: 1; }
.feature-num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}
.feature-text h2 {
  font-family: var(--font);
  font-weight: 300;
  font-size: min(3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--accent);
  margin-bottom: 28px;
}
.feature-text p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}

.feature-visual { flex: 1; display: flex; justify-content: center; }
.feature-img-real {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ===== Specs Grid ===== */
.specs {
  padding: var(--section-gap) 40px;
  background: var(--bg);
}
.specs-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.section-title {
  font-family: var(--font);
  font-weight: 300;
  font-size: min(3.5vw, 48px);
  letter-spacing: -1px;
  color: var(--accent);
  margin-bottom: 64px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.spec-card {
  text-align: left;
  padding: 40px 32px;
  background: var(--bg-alt);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}
.spec-icon { font-size: 2rem; margin-bottom: 20px; }
.spec-card h3 {
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--accent);
}
.spec-card p {
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  padding: calc(var(--section-gap) * 1.2) 40px;
  background: var(--bg-alt);
  text-align: center;
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta h2 {
  font-weight: 300;
  font-size: min(4vw, 52px);
  letter-spacing: -1px;
  color: var(--accent);
  margin-bottom: 20px;
}
.cta p {
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 48px;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 80px 40px 40px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-brand { margin-bottom: 48px; }
.footer-brand h3 {
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}
.footer-brand sup { font-size: 0.5rem; }
.footer-brand p {
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-light);
}
.footer-links {
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
}
.footer-links h4 {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 4px 0;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer-bottom p {
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }
  .nav-inner,
  .header-inner { padding: 0 24px; }
  .nav-links,
  .nav { gap: 20px; }
  .nav-links a,
  .nav a { font-size: 0.65rem; letter-spacing: 0.3px; }
  .feature-inner { flex-direction: column; gap: 60px; }
  .feature-left .feature-inner { flex-direction: column-reverse; }
  .feature-img-real { max-width: 360px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-height: 64px; }
  .nav-links,
  .nav { display: none; }
  .nav-links.active,
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #1a2030;
    padding: 24px 40px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-toggle,
  .nav-toggle { display: flex; }
  .feature { padding: 60px 24px; }
  .feature-text h2 { font-size: 1.8rem; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs { padding: 60px 24px; }
  .section-title { font-size: 2rem; }
  .cta { padding: 80px 24px; }
  .cta h2 { font-size: 2rem; }
  .footer { padding: 60px 24px 32px; }
  .footer-links { flex-direction: column; gap: 32px; }
}
