/* ========================================
   MONOLOG DARK — Design Tokens
   ======================================== */
:root {
  /* Colors */
  --color-primary: #e8e8e3;
  --color-primary-strong: #ffffff;
  --color-secondary: #938f8a;
  --color-neutral: #080807;
  --color-surface: #080807;
  --color-on-surface: #e8e8e3;
  --color-border: #374151;
  --color-overlay: #000000;

  /* Spacing */
  --space-xs: 6px;
  --space-sm: 14px;
  --space-md: 30px;
  --space-lg: 64px;
  --space-xl: 152px;
  --space-base: 16px;

  /* Rounded */
  --rounded-none: 0px;
  --rounded-sm: 4px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.headline-display {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0px;
  color: var(--color-primary-strong);
}

.headline-lg {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 22.9766px;
  font-weight: 500;
  line-height: 25.2742px;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.headline-md {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 18.9766px;
  font-weight: 500;
  line-height: 24.6695px;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.headline-sm {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0px;
  color: var(--color-primary);
}

.body-lg {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 16.9766px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.body-md {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0px;
}

.body-sm {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 14.9766px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0px;
}

.label-lg {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 14.9766px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0px;
}

.label-md {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0px;
}

.label-sm {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.02em;
}

.text-secondary {
  color: var(--color-secondary);
}

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

.text-strong {
  color: var(--color-primary-strong);
}

/* ========================================
   LAYOUT
   ======================================== */
.page-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* ========================================
   COMPONENTS — Button Primary
   ======================================== */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-neutral);
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 14.9766px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0px;
  border-radius: var(--rounded-sm);
  padding: 4px 7px;
  height: 40px;
  min-width: 173px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.button-primary:hover {
  opacity: 0.88;
}

/* ========================================
   COMPONENTS — Card
   ======================================== */
.card {
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  border-radius: var(--rounded-md);
  padding: var(--space-base);
  border: 1px solid var(--color-border);
}

/* ========================================
   COMPONENTS — Input
   ======================================== */
.input {
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0px;
  border-radius: var(--rounded-sm);
  padding: 12px;
  border: 1px solid var(--color-border);
  outline: none;
  width: 100%;
  height: 40px;
  transition: border-color 0.2s ease;
}

.input::placeholder {
  color: var(--color-secondary);
}

.input:focus {
  border-color: var(--color-primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
}

#hero .hero-headline {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0px;
  color: var(--color-primary-strong);
  margin-bottom: var(--space-sm);
}

#hero .hero-logo {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-md);
}

#hero .hero-subline {
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 16.9766px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: -0.01em;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  max-width: 440px;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
#problem .section-label {
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

#problem .problem-text {
  color: var(--color-primary);
  max-width: 540px;
}

/* ========================================
   IDEA SECTION
   ======================================== */
#idea .section-label {
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

#idea .idea-text {
  color: var(--color-primary);
  max-width: 540px;
  margin-bottom: var(--space-md);
}

.traits-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.chip {
  background-color: var(--color-surface);
  color: var(--color-secondary);
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.02em;
  border-radius: var(--rounded-full);
  padding: 4px 8px;
  border: 1px solid var(--color-border);
}

/* ========================================
   NOTE SECTION
   ======================================== */
#note .section-label {
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

#note .note-text {
  color: var(--color-primary);
  max-width: 540px;
}

#note .note-text p {
  margin-bottom: var(--space-md);
}

#note .note-text p:last-child {
  margin-bottom: 0;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
#how .section-label {
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.step {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.step-number {
  color: var(--color-secondary);
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.step-text {
  color: var(--color-primary);
}

/* ========================================
   EARLY ACCESS SECTION
   ======================================== */
#early-access {
  padding-bottom: var(--space-xl);
}

#early-access .section-label {
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.cta-form {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  flex-wrap: wrap;
}

.cta-form .input {
  max-width: 320px;
}

.cta-form .button-primary {
  min-width: auto;
  padding: 4px 24px;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #5865F2;
  color: #ffffff;
  font-family: "Stack Sans Notch", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  height: 48px;
  padding: 0 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-top: var(--space-sm);
}

.discord-btn:hover {
  background-color: #6b77f5;
}

.discord-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

footer p {
  color: var(--color-secondary);
}

footer .footer-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

footer .footer-logo {
  width: 14px;
  height: 14px;
}

footer .footer-link {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer .footer-link:hover {
  color: var(--color-primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 600px) {
  #hero .hero-headline {
    font-size: 28px;
    line-height: 34px;
  }

  .cta-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-form .input {
    max-width: 100%;
  }

  .cta-form .button-primary {
    min-width: 100%;
  }
}
