/* ==========================================================================
   BAS — Baron Advanced Systems
   Minimalist corporate theme: black background, white/greyscale accents
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-alt: #121212;
  --border: #262626;
  --text: #f2f2f2;
  --text-dim: #9a9a9a;
  --text-body: #c4c4c4;
  --accent: #ffffff;
  --max-width: 1180px;
  --gap: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

p {
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.7;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header / Logo / Nav ---------- */

.site-header {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: flex;
  justify-content: flex-start;
}

.logo-link {
  display: inline-block;
}

.logo {
  width: 220px;
  height: auto;
}

.main-nav {
  margin-top: 16px;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  border-color: var(--accent);
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}

.hero p {
  max-width: 560px;
  margin: 0 auto;
}

.status-note {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Section heading ---------- */

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-child {
  border-bottom: none;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  margin: 0;
}

/* ---------- Product Slideshow ---------- */

.slideshow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.slideshow-track-wrap {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
}

.slideshow-track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.4s ease;
}

.slide {
  flex: 0 0 calc((100% - (2 * var(--gap))) / 3);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}

.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.slide-placeholder span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.slide-placeholder strong {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}

.slide-icon {
  width: 40px;
  height: 40px;
  opacity: 0.35;
}

.slide-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.slide-arrow:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.slide-arrow:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.slideshow-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}

.slideshow-dots button.active {
  background: var(--text);
}

/* ---------- Demo copy ---------- */

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.copy-grid p {
  color: var(--text-body);
}

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

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

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

/* ---------- Simple page content (about / products / contact) ---------- */

.page-content {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-dim);
}

.page-content h1 {
  color: var(--text);
  font-weight: 300;
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 24px;
  text-align: center;
}

.page-content p {
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .main-nav ul {
    flex-wrap: wrap;
    gap: 20px;
  }

  .slide {
    flex-basis: calc((100% - var(--gap)) / 2);
  }
}

@media (max-width: 420px) {
  .slide {
    flex-basis: 100%;
  }
}
