/* === Jauda Beta Landing — Design Tokens === */
:root {
  --bg: #000000;
  --surface: #0F0D0E;
  --surface-alt: #181516;
  --text: #FDFBFB;
  --text-dim: #A6A0A1;
  --text-muted: #6E6768;
  --border: #2A2426;
  --border-faint: #3E3538;
  --accent: #2ecc71;
  --accent-wash: rgba(46, 204, 113, 0.08);
  --brand: #C1394E;

  --font-body: "Barlow Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Barlow Condensed", "Courier New", monospace;

  --max-width: 960px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
}

.num, .mono {
  font-family: var(--font-mono);
  font-weight: 400;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.8;
}

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.wordmark {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.header-cta {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--brand);
  padding: 6px 16px;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}

.header-cta:hover {
  background: var(--brand);
  color: var(--text);
  opacity: 1;
}

.header-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cta-discord {
  background: #5865F2;
  color: #fff;
  border-color: #5865F2;
}
.header-cta-discord:hover {
  background: #4752C4;
  border-color: #4752C4;
  color: #fff;
  opacity: 1;
}

/* === Hero carousel === */
.hero-carousel {
  position: relative;
  width: 100%;
  height: calc(100vh - 56px);
  overflow: hidden;
  background: var(--bg);
}

.hero-track {
  display: flex;
  height: 100%;
  visibility: hidden;
  will-change: transform;
  -webkit-transform: translateZ(0);
  animation: heroScroll 95s linear infinite;
}

.hero-track img {
  height: 100%;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0.25);
}

@keyframes heroScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@-webkit-keyframes heroScroll {
  0%   { -webkit-transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}

.hero-overlay h1 {
  font-family: var(--font-body);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 32px;
}

.hero-overlay .btn {
  font-size: 18px;
  padding: 16px 40px;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .hero-carousel {
    height: calc(100vh - 48px);
  }

  .hero-overlay h1 {
    font-size: 32px;
  }
}

/* === Flow sections === */
.flow-section {
  padding: 100px 0;
}

.flow-section.alt-bg {
  background: var(--surface);
}

.flow-grid {
  display: flex;
  align-items: center;
  gap: 64px;
}

.flow-grid.flow-reverse {
  flex-direction: row-reverse;
}

.flow-image {
  flex: 1;
  max-width: 320px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.flow-image img {
  width: 100%;
  display: block;
}

.flow-copy {
  flex: 1;
}

.flow-num {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 8px;
}

.flow-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.flow-copy p {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.55;
}

.flow-screens {
  position: relative;
  width: 100%;
  height: 100%;
}

.flow-slide {
  display: none;
}

.flow-slide.active {
  display: block;
}

.flow-slide img {
  width: 100%;
  display: block;
}

/* Dots */
.flow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-faint);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.flow-dot.active {
  background: var(--accent);
}

/* === CTA section === */
.cta-section {
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 32px;
}

@media (max-width: 768px) {
  .flow-section {
    padding: 56px 0;
  }

  .flow-grid,
  .flow-grid.flow-reverse {
    flex-direction: column;
    gap: 32px;
  }

  .flow-image {
    max-width: 280px;
  }

  .flow-copy p {
    font-size: 16px;
  }

  .cta-section {
    padding: 56px 0;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    font-size: 16px;
  }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand);
  color: var(--text);
}

.btn-primary:hover {
  filter: brightness(1.15);
  opacity: 1;
  color: var(--text);
}

/* === Compatible straps strip === */
.straps {
  text-align: center;
  padding: 60px 0;
}

.straps .intro {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.strap-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-dim);
}

.strap-list span {
  white-space: nowrap;
}

/* === Who made this === */
.about {
  text-align: center;
  padding: 80px 24px;
}

.about h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-photo {
  display: block;
  width: 200px;
  max-width: 80%;
  margin: 0 auto 24px;
  border-radius: 12px;
}

.about .bio {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Beta honesty block === */
.beta-honesty {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.beta-honesty .icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.beta-honesty h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.beta-honesty ul {
  list-style: none;
  text-align: left;
}

.beta-honesty li {
  font-size: 16px;
  color: var(--text-dim);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.beta-honesty li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 24px;
  font-size: 16px;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-dim);
}

.site-footer a:hover {
  color: var(--text);
  opacity: 1;
}

/* === Responsive === */
@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  .strap-list {
    font-size: 16px;
    gap: 6px 14px;
  }

  .site-header .container {
    height: 48px;
  }

  .wordmark {
    font-size: 18px;
  }

  .header-cta {
    font-size: 16px;
    padding: 5px 12px;
  }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
