/* salim.business — landing (asosiy sahifa) uslublari */
:root {
  --bg-base:        #0A0F1A;
  --bg-card:        #101A2E;
  --bg-card-deep:   #0B1220;
  --bg-card-grad:   linear-gradient(160deg, #16213A, #0E1626);
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-mid:     rgba(255, 255, 255, 0.08);
  --accent:         #3B82F6;
  --accent-glow:    rgba(59, 130, 246, 0.32);
  --green:          #34D399;
  --text-primary:   #F2F5FA;
  --text-secondary: #9AA8BF;
  --text-muted:     #6B7A92;
  --text-dim:       #5B6B86;
  --font-base:      'Golos Text', sans-serif;
  --font-display:   'Unbounded', sans-serif;
  --radius-sm:      9px;
  --radius-md:      14px;
  --radius-lg:      18px;
  --radius-xl:      20px;
  --radius-pill:    999px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
}

body {
  font-family: var(--font-base);
  color: var(--text-primary);
  overflow-x: hidden;
}

a { text-decoration: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  margin: 0 0 36px;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.navbar__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-base);
  font-weight: 900;
  font-size: 17px;
}

.navbar__name {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

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

.btn-ghost {
  color: #C7D0DE;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
}

.btn-white {
  background: #fff;
  color: var(--bg-base);
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.btn-white:hover { opacity: 0.88; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 60px 28px 64px;
  align-items: center;
}

.hero__left {
  animation: fadeUp 0.5s ease both;
}

.hero__title {
  font-family: var(--font-display);
  margin: 0;
  font-size: 62px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero__title-accent { color: var(--accent); }

.hero__desc {
  margin: 28px 0 0;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero__btns {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  box-shadow: 0 12px 30px var(--accent-glow);
  transition: opacity 0.15s;
}

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

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E4E9F1;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
  transition: border-color 0.15s;
}

.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.3); }

.mockup {
  background: var(--bg-card-grad);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.6s 0.1s ease both;
}

.mockup__dots {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.mockup__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.order-card {
  background: var(--bg-card-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 12px;
}

.order-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.tag--blue {
  background: rgba(59, 130, 246, 0.16);
  color: #93B4FF;
}

.tag--green {
  background: rgba(52, 211, 153, 0.16);
  color: #6EE7B7;
}

.order-card__title {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.order-card__meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.order-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.price-label {
  color: var(--text-muted);
  font-size: 12px;
}

.price-value {
  color: #4ADE80;
  font-size: 20px;
  font-weight: 800;
}

.btn-apply {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
}

.balance-row {
  background: var(--bg-card-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.balance-row__label {
  color: var(--text-secondary);
  font-size: 14px;
}

.balance-row__value {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.steps {
  display: flex;
}

.step { flex: 1; }

.step--pr { padding-right: 28px; }
.step--px { padding: 0 28px; }
.step--pl { padding-left: 28px; }

.step__num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}

.step__num--green { color: var(--green); }

.step__title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 14px 0 8px;
}

.step__desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.step-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

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

.feature-card {
  background: var(--bg-card-grad);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon--blue { background: rgba(59, 130, 246, 0.14); }
.feature-icon--green { background: rgba(52, 211, 153, 0.14); }

.icon-circle {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.icon-rect {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.icon-diamond-green {
  width: 18px;
  height: 18px;
  border: 2px solid var(--green);
  border-radius: 5px;
  transform: rotate(45deg);
}

.icon-square-blue {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 3px;
}

.icon-diamond-blue {
  width: 18px;
  height: 18px;
  background: var(--accent);
  transform: rotate(45deg);
}

.icon-shield-green {
  width: 14px;
  height: 18px;
  border: 2px solid var(--green);
  border-radius: 4px 4px 7px 7px;
}

.feature-card__title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.cat-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.cat-card__name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.cat-card__count {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

.cta-section {
  padding-top: 32px;
  padding-bottom: 64px;
}

.cta-box {
  background: linear-gradient(135deg, #1E3A8A, var(--accent));
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
}

.cta-box__title {
  font-family: var(--font-display);
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.cta-box__desc {
  margin: 18px auto 0;
  max-width: 480px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.cta-box__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: #fff;
  color: #1E3A8A;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.btn-cta-primary:hover { opacity: 0.88; }

.btn-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
}

.footer {
  border-top: 1px solid var(--border-subtle);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 28px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-base);
  font-weight: 900;
  font-size: 15px;
}

.footer__logo-name {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
}

.footer__col-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a,
.footer__links span {
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s;
}

.footer__links a:hover,
.footer__links span:hover { color: #fff; }

.footer__bottom {
  padding: 20px 28px;
  border-top: 1px solid var(--border-subtle);
}

.footer__copy {
  color: var(--text-dim);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero__title { font-size: 46px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 30px; }
  .cta-box__title { font-size: 32px; }
}

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 36px 16px 48px; }
  .hero__title { font-size: 36px; }
  .hero__btns { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
  .steps { flex-direction: column; gap: 28px; }
  .step-divider { display: none; }
  .step--pr, .step--px, .step--pl { padding: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 24px; }
  .cta-box__title { font-size: 26px; }
  .navbar { padding: 14px 16px; }
  .navbar__name { font-size: 15px; }
  .btn-ghost { font-size: 13px; padding: 7px 10px; }
  .btn-white { font-size: 13px; padding: 8px 14px; }
}

@media (max-width: 380px) {
  .navbar__name { display: none; }
}
  

/* ============================================================
   Admin panel orqali boshqariladigan qo'shimcha bloklar
   ============================================================ */

/* Ikonkalar rangi blok rangidan olinadi (--ic) */
.feature-icon--blue  { --ic: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.feature-icon--green { --ic: var(--green);  background: color-mix(in srgb, var(--green) 14%, transparent); }
.ico { width: 18px; height: 18px; }
.ico--circle       { border: 2px solid var(--ic); border-radius: 50%; }
.ico--rect         { border: 2px solid var(--ic); border-radius: 4px; }
.ico--square       { border: 2px solid var(--ic); border-radius: 3px; }
.ico--diamond      { border: 2px solid var(--ic); border-radius: 5px; transform: rotate(45deg); }
.ico--diamond_fill { background: var(--ic); transform: rotate(45deg); }
.ico--shield       { width: 14px; border: 2px solid var(--ic); border-radius: 4px 4px 7px 7px; }

/* Rasm yoki umuman vizualsiz bosh ekran */
.hero--solo { grid-template-columns: 1fr; }
.hero--solo .hero__desc { max-width: 720px; }
.hero__image { width: 100%; border-radius: var(--radius-xl); border: 1px solid var(--border-mid); display: block; object-fit: cover; }

/* Raqamlar bloki */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat-card { background: var(--bg-card-grad); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 26px; }
.stat-card__value { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.stat-card__label { color: var(--text-secondary); font-size: 15px; }

/* Matn bloki */
.text-block { color: var(--text-secondary); font-size: 17px; line-height: 1.7; max-width: 820px; }
.text-block p { margin: 0 0 14px; }
.text-block--center { text-align: center; margin: 0 auto; }
.section--center .section-label, .section--center .section-title { text-align: center; }

/* Savol-javob (JS'siz, <details>) */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq__item { background: var(--bg-card-grad); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 0 22px; }
.faq__q { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; color: #fff; font-size: 17px; font-weight: 700; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--accent); font-weight: 400; }
.faq__item[open] .faq__q::after { content: '−'; }
.faq__a { color: var(--text-secondary); font-size: 15px; line-height: 1.7; padding-bottom: 18px; }
.faq__a p { margin: 0 0 10px; }

.footer__links a, .footer__links span { display: block; }

/* Admin preview banneri */
.preview-bar { position: sticky; top: 0; z-index: 100; background: #F59E0B; color: #1A1203; text-align: center;
  font-size: 14px; font-weight: 700; padding: 9px 16px; }

@media (max-width: 640px) {
  .stat-card__value { font-size: 28px; }
  .text-block { font-size: 16px; }
}
