/* AiD Brand System — Light Theme */
:root {
  --gold: #B47E00;
  --gold-light: #D4A530;
  --brg: #004225;
  --brg-light: #006838;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F7;
  --card-bg: #FFFFFF;
  --card-border: #E5E5E5;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #E5E5E5;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Legacy aliases (referenced by inline styles) */
  --dark: var(--bg-alt);
  --dark-card: var(--bg-alt);
  --dark-border: var(--border);
  --gray-400: var(--text-muted);
  --gray-500: var(--text-secondary);
  --gray-600: var(--text-muted);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === SCROLL FADE-IN ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 32px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #FFFFFF !important;
  padding: 8px 20px; border-radius: 4px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger menu */
.nav-hamburger {
  display: none; cursor: pointer; flex-direction: column;
  gap: 5px; padding: 4px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO (stays dark with overlay) === */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: #0A0A0A;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.35);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 0 24px; }
.hero-badge {
  display: inline-block; font-size: 12px; letter-spacing: 4px;
  color: var(--gold); font-weight: 600; margin-bottom: 20px; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px); font-weight: 700;
  line-height: 1.05; margin-bottom: 16px; letter-spacing: -0.02em;
  color: #FFFFFF;
}
.hero p { font-size: 18px; color: #999999; margin-bottom: 32px; line-height: 1.5; }

/* === BUTTONS === */
.btn {
  display: inline-block; padding: 14px 32px; font-size: 14px; font-weight: 600;
  text-decoration: none; border-radius: 4px; letter-spacing: 0.04em;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-gold { background: var(--gold); color: #FFFFFF; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-brg { background: var(--brg); color: #FFFFFF; }
.btn-brg:hover { background: var(--brg-light); }

/* === SECTIONS === */
.section { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.section-dark { background: var(--bg-alt); }
.section-label {
  font-size: 12px; letter-spacing: 3px; color: var(--gold);
  font-weight: 600; text-transform: uppercase; margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 3vw, 40px); font-weight: 700;
  margin-bottom: 16px; letter-spacing: -0.01em;
  color: var(--text-primary);
}
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 600px; line-height: 1.6; }

/* === GRID === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* === CARDS === */
.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 8px; padding: 28px; transition: border-color 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.card:hover { border-color: var(--brg); }
.card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.card-emoji { font-size: 32px; margin-bottom: 12px; line-height: 1; }

/* === PRICING === */
.pricing-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 8px; padding: 36px; text-align: center;
  transition: all 0.2s; position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.pricing-card.featured { border-color: var(--gold); }
.pricing-card.featured::before {
  content: 'POPULARNE'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: var(--gold); color: #FFFFFF;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  padding: 4px 16px; border-radius: 20px;
}
.pricing-label { font-size: 12px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.pricing-price { font-size: 36px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.pricing-unit { font-size: 13px; color: var(--text-secondary); }
.pricing-note { font-size: 12px; color: var(--text-secondary); margin-top: 8px; }

/* === IMAGE PLACEHOLDER === */
.img-placeholder {
  width: 100%; background: var(--bg-alt); border: 1px dashed var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 13px; min-height: 200px;
}

/* === GALLERY === */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery .img-placeholder { height: 200px; }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; cursor: pointer; transition: transform 0.2s; }
.gallery img:hover { transform: scale(1.03); }

/* === TESTIMONIALS === */
.testimonial {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-left: 3px solid var(--brg); border-radius: 8px; padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.testimonial-quote {
  font-size: 15px; color: var(--text-secondary); line-height: 1.7;
  font-style: italic; margin-bottom: 16px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brg); display: flex; align-items: center;
  justify-content: center; color: #FFFFFF; font-weight: 700; font-size: 16px;
}
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.faq-question {
  font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-primary); transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-question svg {
  width: 20px; height: 20px; stroke: var(--text-muted);
  fill: none; stroke-width: 2; flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  color: var(--text-secondary); font-size: 14px; line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 200px; padding-top: 12px;
}

/* === PRODUCT SECTIONS === */
.product-section {
  padding: 80px 40px; max-width: 1200px; margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product-layout.reverse { direction: rtl; }
.product-layout.reverse > * { direction: ltr; }
.product-image { width: 100%; border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; }
.product-name { font-size: 32px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.product-tag { font-size: 13px; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.product-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.product-specs { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.product-price { display: flex; align-items: baseline; gap: 12px; }
.product-price .amount { font-size: 28px; font-weight: 700; color: var(--text-primary); }
.product-price .currency { font-size: 14px; color: var(--text-muted); }

/* === STICKY TABS === */
.sticky-tabs {
  position: sticky; top: 64px; z-index: 50;
  background: #FFFFFF; backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); padding: 0 40px;
  display: flex; gap: 0;
}
.sticky-tabs a {
  display: block; padding: 16px 24px; color: var(--text-muted);
  text-decoration: none; font-size: 14px; font-weight: 500;
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.sticky-tabs a:hover, .sticky-tabs a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* === COMPARISON TABLE === */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table thead th {
  text-align: center; padding: 16px 12px; color: var(--gold);
  font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--border);
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table tbody td {
  padding: 12px; text-align: center; border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.comparison-table tbody td:first-child { text-align: left; color: var(--text-muted); font-weight: 500; }
.comparison-table tbody tr:last-child td {
  font-weight: 700; color: var(--text-primary); font-size: 16px; border-bottom: none;
}

/* === TECH GRID === */
.tech-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 8px; padding: 24px;
  border-left: 3px solid var(--brg);
  transition: border-color 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tech-card:hover { border-left-color: var(--gold); }
.tech-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.tech-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* === SETUP CONFIGURATOR === */
.setup-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 8px; padding: 24px; text-align: center;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.setup-card:hover { border-color: var(--gold); }
.setup-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.setup-use { font-size: 12px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.setup-wheels { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.setup-price { font-size: 22px; font-weight: 700; color: var(--text-primary); }
.setup-price-note { font-size: 11px; color: var(--text-muted); }

/* === SOCIAL PROOF === */
.proof-stats { display: flex; gap: 48px; margin-bottom: 32px; }
.proof-stat .number { font-size: 40px; font-weight: 700; color: var(--gold); }
.proof-stat .label { font-size: 13px; color: var(--text-muted); }
.athletes-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.athlete {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  background: var(--card-bg); border-radius: 6px; border: 1px solid var(--card-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.athlete-medal { font-size: 24px; flex-shrink: 0; }
.athlete-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; color: var(--text-primary); }
.athlete-result { font-size: 12px; color: var(--text-muted); }

/* === CTA SECTION === */
.cta-section { text-align: center; padding: 100px 40px; max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.cta-section p { color: var(--text-secondary); margin-bottom: 24px; }

/* === FOOTER === */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border); padding: 40px;
  text-align: center; color: var(--text-muted); font-size: 13px;
}
.footer a { color: var(--gold); text-decoration: none; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 20px; gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; padding-top: 16px; }
  .nav-links a { font-size: 16px; }
  .nav-cta { display: inline-block; text-align: center; }
  .section { padding: 60px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product-layout, .product-layout.reverse { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .proof-stats { flex-direction: column; gap: 16px; }
  .athletes-list { grid-template-columns: 1fr; }
  .sticky-tabs { overflow-x: auto; }
  .hero h1 { font-size: 36px; }
}
