/* ── KRIBEL Landing Page ────────────────────────────────── */
/* Brand: Roboto Thin/Light/Regular                         */
/* Colors: Obsidian #1A1A1A, Charcoal #2C2C2C,             */
/*         Gold #C9A84C, Sparkle #F2D675, Ivory #F5F3EF    */

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

:root {
  --obsidian: #1A1A1A;
  --charcoal: #2C2C2C;
  --gold: #C9A84C;
  --sparkle: #F2D675;
  --ivory: #F5F3EF;
  --white: #FFFFFF;
  --text-light: #CCCCCC;
  --text-muted: #999999;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 300;
  letter-spacing: -0.01em;
}

h1 {
  font-weight: 100;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 40px;
}

h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 12px;
}

p {
  font-size: 1.05rem;
}

.text-center {
  text-align: center;
}

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--obsidian);
}

.btn-gold:hover {
  background-color: var(--sparkle);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--obsidian);
}

/* ── Navbar ─────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 6px;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  background: var(--obsidian);
  color: var(--white);
  padding: 160px 0 100px;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 48px;
  line-height: 1.8;
}

.social-proof {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ── Waitlist Form ──────────────────────────────────────── */

.waitlist-form {
  margin: 0 auto;
  max-width: 520px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row-center {
  justify-content: center;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid rgba(201, 168, 76, 0.3);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease;
  min-width: 0;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--gold);
}

.waitlist-form input[type="email"]::placeholder {
  color: #AAA;
}

.form-msg {
  font-size: 0.9rem;
  margin-top: 12px;
  min-height: 24px;
}

.form-msg.success {
  color: var(--gold);
}

.form-msg.error {
  color: #E07C5A;
}

/* ── Sections ───────────────────────────────────────────── */

.section {
  padding: 100px 0;
}

.section-ivory {
  background: var(--ivory);
  color: var(--charcoal);
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark p {
  color: var(--text-light);
}

.section-obsidian {
  background: var(--obsidian);
  color: var(--white);
}

.section-obsidian h2 {
  color: var(--white);
}

.section-obsidian p {
  color: var(--text-light);
}

/* ── Grid ───────────────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ── Value Cards ───────────────────────────────────────── */

.value-card {
  padding: 32px;
  background: var(--white);
  border-radius: 4px;
  border-top: 3px solid var(--gold);
}

.value-card h3 {
  color: var(--obsidian);
}

.value-card p {
  color: #555;
  font-size: 0.95rem;
}

/* ── Feature Cards ──────────────────────────────────────── */

.feature-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--gold);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Community ──────────────────────────────────────────── */

.community-body {
  max-width: 680px;
  margin: 0 auto 40px;
}

.community-body p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.community-tagline {
  font-weight: 400;
  font-style: italic;
  color: var(--obsidian);
}

.cta-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ── Pricing ────────────────────────────────────────────── */

.pricing-body {
  max-width: 640px;
  margin: 0 auto;
}

.pricing-body p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.pricing-body strong {
  color: var(--white);
  font-weight: 400;
}

.small-print {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  margin-top: 8px;
}

/* ── Partner ────────────────────────────────────────────── */

.partner-body {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.partner-body strong {
  font-weight: 400;
  color: var(--obsidian);
}

/* ── Final CTA ──────────────────────────────────────────── */

#final-cta h2 {
  color: var(--gold);
}

.final-body {
  max-width: 580px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  background: var(--obsidian);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

/* ── Loading spinner (on form submit) ───────────────────── */

.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(26, 26, 26, 0.3);
  border-top-color: var(--obsidian);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .form-row {
    flex-direction: column;
  }

  .waitlist-form input[type="email"] {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
