/* ── 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;
  --graphite: #3A3A3A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: var(--white);
  background: var(--obsidian);
  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;
}

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

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  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);
}

/* Sticky-nav size — mirrors Flutter home_screen.dart sticky nav (h=40, padding 14×18). */
.btn-sm {
  padding: 0 18px;
  min-height: 40px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hero CTA size — mirrors Flutter home_hero_section.dart (h=48, padding 14×28). */
.btn-hero {
  padding: 0 28px;
  min-height: 48px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Pricing CTA size — compact height (h=40, padding ×32) per operator visual feedback. */
.btn-pricing {
  padding: 0 32px;
  min-height: 40px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ivory outlined button — mirrors Flutter OutlinedButton with KribelColors.ivory border 0.5. */
.btn-outline-light {
  background: transparent;
  border: 0.5px solid var(--ivory);
  color: var(--ivory);
}

.btn-outline-light:hover {
  background: rgba(245, 243, 239, 0.08);
}

/* Gold outlined button — mirrors Flutter home_partner_section.dart partner CTA
   (gold border 1px, gold text, padding 36×18). */
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 18px 36px;
  font-size: 0.95rem;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.08);
}

/* ── 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 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 100;
  color: var(--gold);
  letter-spacing: 6px;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Section Utilities ─────────────────────────────────── */

.section {
  padding: 100px 0;
}

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

.section-charcoal h2,
.section-charcoal h3 {
  color: var(--white);
}

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

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

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

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

.section-title {
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 48px;
  line-height: 1.7;
}

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

.hero {
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(77, 58, 26, 0.6) 0%, transparent 70%),
    var(--obsidian);
  color: var(--white);
  padding: 160px 0 100px;
  text-align: center;
}

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

.hero-brand {
  display: block;
  font-weight: 100;
  font-size: 1.1rem;
  letter-spacing: 8px;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-logo {
  width: 240px;
  height: 240px;
  margin-bottom: 24px;
}

.hero h1 {
  font-weight: 100;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.feature-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 12px;
  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 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.feature-card > p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 6px;
}

.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gold);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── Privacy ────────────────────────────────────────────── */

.privacy-shield {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.privacy-card {
  padding: 24px;
  background: var(--charcoal);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 16px;
  text-align: left;
}

.privacy-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.privacy-card h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.privacy-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── How It Works ───────────────────────────────────────── */

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  max-width: 260px;
  padding: 0 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  color: var(--gold);
  font-size: 1.5rem;
  padding-top: 12px;
  opacity: 0.5;
}

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

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
}

.price-label {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 300;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
}

.price-suffix {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}

.price-divider {
  height: 1px;
  background: rgba(201, 168, 76, 0.15);
  margin: 12px 0;
}

.price-badge {
  display: inline-block;
  margin-top: 16px;
  margin-bottom: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--obsidian);
  background: var(--gold);
  border-radius: 20px;
}

.price-guarantee {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

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

.partner-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.partner-bullets {
  list-style: none;
  padding: 0;
  max-width: 520px;
  margin: 0 auto 32px;
  text-align: left;
}

.partner-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}

.partner-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Flag-driven elements (announcement banner, disabled CTAs, demo button) ── */

#kribel-banner {
  width: 100%;
  background: var(--obsidian);
  color: var(--gold);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.cta-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.cta-paused-msg {
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(245, 243, 239, 0.55);
  text-align: center;
}

/* Demo button base — sized via parent context (.navbar-actions / .hero-ctas / .demo-slot-pricing).
   Mirrors Flutter FlagDemoButton (ivory outline 0.5px, transparent bg). */
.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--ivory);
  border: 0.5px solid var(--ivory);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn-demo:hover {
  background: rgba(245, 243, 239, 0.08);
}

/* Nav demo: matches .btn-sm (h=40, padding ×18) */
.navbar-actions .btn-demo {
  padding: 0 18px;
  min-height: 40px;
  font-size: 0.85rem;
}

/* Hero demo: matches .btn-hero (h=48, padding ×28) */
.hero-ctas .btn-demo {
  padding: 0 28px;
  min-height: 48px;
  font-size: 0.95rem;
}

/* Pricing demo: above CTA, matches CTA font weight (Flutter passes textStyle: buttonPrimary) */
.demo-slot-pricing {
  display: block;
  text-align: center;
  margin-bottom: 12px;
}

.demo-slot-pricing .btn-demo {
  padding: 0 32px;
  min-height: 40px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Pricing earnings callout — mirrors Flutter _EarningsCallout. Width matches pricing card (480px). */
.earnings-callout {
  max-width: 480px;
  margin: 24px auto 0;
  padding: 24px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 12px;
  text-align: center;
}

.earnings-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--gold);
}

.earnings-title {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold);
  margin: 0 0 8px;
}

.earnings-body {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Partner section width — mirrors Flutter home_partner_section.dart maxWidth 700 + bullets maxWidth 420. */
#partner > .container {
  max-width: 700px;
}

#partner .partner-bullets {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ── 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);
}

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

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

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .step {
    max-width: 100%;
    text-align: center;
  }

  .feature-card {
    padding: 20px;
  }

  .section {
    padding: 72px 0;
  }

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

  .hero h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .partner-bullets {
    padding: 0 16px;
  }

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

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