/* assets/css/landing.css - YES or YES Landing Page Stillari */

.lp-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header / Nav */
.lp-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 32px;
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.lp-logo:hover {
  color: var(--tomato);
}

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

.lp-nav-link {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--ink);
  transition: all 0.15s ease;
}

.lp-nav-link:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.lp-nav-link--primary {
  background: var(--tomato);
  color: #fff;
}

.lp-nav-link--primary:hover {
  background: var(--tomato-d);
}

/* Hero Bo'limi */
.l-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 30px;
  width: 100%;
}

.l-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--butter);
  color: var(--ink);
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 24px;
  animation: bob 3s ease-in-out infinite;
}

.l-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 auto 18px;
}

.l-hero h1 mark {
  background: none;
  color: var(--tomato);
  position: relative;
  display: inline-block;
}

.l-hero__sub {
  font-size: clamp(16px, 3.8vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 auto 28px;
}

.l-hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.l-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  padding: 16px 42px;
  color: #fff;
  background: var(--tomato);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
}

.l-btn-main:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--tomato-d);
}

.l-sub-hint {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

/* INTERAKTIV LIVE DEMO BLOKI */
.l-demo-section {
  width: 100%;
  max-width: 520px;
  margin: 40px auto;
  position: relative;
}

.l-demo-tag {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--tomato);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.l-demo-card {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 34px 24px 30px;
  text-align: center;
  overflow: hidden;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.l-demo-q {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 4.8vw, 25px);
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.25;
}

.l-demo-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  width: 100%;
  position: relative;
}

.l-demo-yes {
  padding: 14px 40px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--tomato);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: all 0.16s ease;
  animation: nudgeYes 1.6s ease-in-out infinite;
}

.l-demo-yes:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

.l-demo-no-wrap {
  position: relative;
  display: inline-flex;
}

.l-demo-no {
  padding: 13px 32px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  user-select: none;
}

.l-demo-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) scale(0);
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  box-shadow: 3px 3px 0 var(--ink);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(.34,1.56,.64,1);
  z-index: 10;
}

.l-demo-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}

.l-demo-bubble.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Demo g'alaba ko'rinishi */
.l-demo-win {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: rise 0.45s ease both;
}

.l-demo-win.active {
  display: flex;
}

.l-demo-win-emoji {
  font-size: 48px;
  animation: bob 3s ease-in-out infinite;
}

.l-demo-win-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.l-demo-win-sub {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 28ch;
}

.l-demo-win-btn {
  margin-top: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  background: var(--tomato);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
}

/* QANDAY ISHLAYDI: 3 BOSQICH */
.l-steps-section {
  width: 100%;
  margin: 50px 0;
  text-align: center;
}

.l-section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.l-section-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.l-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
}

.l-step-card {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 26px 20px;
  text-align: left;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.18s ease;
  position: relative;
}

.l-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--ink);
}

.l-step-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--tomato);
  background: var(--cream);
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}

.l-step-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.l-step-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.l-step-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* TEMALAR KO'RGAZMASI */
.l-themes-section {
  width: 100%;
  margin: 40px 0;
  text-align: center;
}

.l-themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.l-theme-item {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 16px 12px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.l-theme-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.l-theme-emoji {
  font-size: 28px;
  margin-bottom: 8px;
}

.l-theme-name {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

/* STATISTIKA / PROOF */
.l-stats-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 40px 0;
  flex-wrap: wrap;
  width: 100%;
}

.l-stat-item {
  text-align: center;
}

.l-stat-val {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 800;
  color: var(--tomato);
  line-height: 1.1;
}

.l-stat-lbl {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* YAKUNIY CTA */
.l-final-cta {
  width: 100%;
  background: var(--butter);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 44px 24px;
  text-align: center;
  margin: 40px 0 20px;
}

.l-final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 5.5vw, 38px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.l-final-cta p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 auto 24px;
}

/* Footer */
.l-footer {
  width: 100%;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1.5px dashed var(--line);
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.l-footer a {
  color: var(--ink);
  text-decoration: none;
  margin: 0 8px;
}

.l-footer a:hover {
  color: var(--tomato);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .lp-wrapper {
    padding: 16px 14px 40px;
  }
  .l-demo-card {
    padding: 24px 16px 22px;
  }
  .l-btn-main {
    width: 100%;
    padding: 14px 20px;
  }
}
