:root {
  --bg: #050816;
  --bg-soft: #0f172a;
  --bg-alt: #0b1120;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.18);
  --accent-strong: #16a34a;
  --accent-yellow: #facc15;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: #1f2937;
  --card: #020617;
  --danger: #ef4444;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-full: 999px;
  /* About page qo'shimcha o'zgaruvchilar */
  --bg-dark: #02080a;
  --card-bg: #0a1619;
  --accent-green: #00c853;
  --text-gray: #94a3b8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #064e3b 0, #020617 40%, #020617 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.subpage {
  background: radial-gradient(circle at top, #047857 0, #020617 45%, #020617 100%);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.09), transparent 55%),
    rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.rating-header {
  text-align: center;
  padding: 40px 20px;
}

.rating-header h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.rating-header p {
  color: #8fa3a3;
  font-size: 1.1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 40% 60% 50% 50%;
  background: radial-gradient(circle at 20% 20%, #bbf7d0 0, #16a34a 40%, #15803d 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #022c22;
  font-size: 1.15rem;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f9fafb;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #4ade80);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: #e5e7eb;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.btn {
  border: none;
  border-radius: var(--radius-full);
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.5);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
}

.btn-download {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Hero */

.hero {
  position: relative;
  padding: 3.5rem 0 3.75rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.25rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.hero h1 {
  margin: 0.8rem 0 0.6rem;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.6rem 0 1.8rem;
  flex-wrap: wrap;
}

.hero-counter {
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), transparent 65%),
    rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(34, 197, 94, 0.5);
  max-width: 20rem;
}

.counter-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a7f3d0;
}

.counter-value {
  margin-top: 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

#liveCounter {
  font-size: 1.7rem;
  font-weight: 700;
}

.counter-unit {
  font-size: 0.95rem;
  color: var(--muted);
}

.counter-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-device {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  position: relative;
}

.to {
  width: 100%;
  /* Konteynerga moslashadi */
  max-width: 358px;
  /* Ekrandagi optimal kengligi */
  height: auto;
  /* Nisbat buzilmasligi uchun (MUHIM!) */
  aspect-ratio: 1 / 1;
  /* 1024/1024 bo'lgani uchun 1ga 1 */
  object-fit: contain;
  /* Rasm qisilib qolmaydi */
  border-radius: 32px;
  /* Siz xohlagan dizayn */
  display: block;
  margin: 0 auto;
}

.device-card {
  width: 240px;
  padding: 1.05rem 1rem 1rem;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 55%),
    linear-gradient(145deg, #020617, #020617 50%, #022c22 100%);
  border: 1px solid rgba(15, 23, 42, 0.95);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  transform: translateX(0) translateY(0);
}

.device-screen {
  border-radius: 18px;
  padding: 0.9rem 0.95rem;
  background: radial-gradient(circle at 15% 0, #22c55e 0, #0f766e 35%, #020617 100%);
  color: #ecfdf5;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.screen-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  opacity: 0.9;
}

.screen-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.device-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.slot {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  font-size: 0.7rem;
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.device-footer {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #a7f3d0;
  border-radius: 999px;
  border: 1px dashed rgba(74, 222, 128, 0.6);
  padding: 0.4rem 0.55rem;
  text-align: center;
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.2), transparent 60%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0 0, rgba(52, 211, 153, 0.2) 0, transparent 50%),
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.12) 0, transparent 50%);
  mix-blend-mode: screen;
  opacity: 0.6;
}

/* Sections */

.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9) 0, #020617 60%);
}

.section-header {
  text-align: left;
  margin-bottom: 1.9rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.section-header p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  padding: 1.25rem 1.2rem 1.1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 60%),
    rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.step-card h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 197, 94, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #bbf7d0;
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(16, 185, 129, 0.1);
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Impact */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.impact-card {
  padding: 1.35rem 1.2rem 1.1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.2), transparent 60%),
    rgba(2, 6, 23, 0.95);
  border: 1px solid rgba(31, 41, 55, 0.95);
}

.impact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #a7f3d0;
}

.impact-value {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.impact-desc {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Map */

.map-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin: 2rem 0;
}

.map-placeholder {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(55, 65, 81, 0.8);
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.map-placeholder.large {
  min-height: 260px;
}

/* Xarita uchun qobiq (Wrapper) */
.map-container-wrapper {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-soft);
  position: relative;
  z-index: 1;
}

/* Leaflet xaritasi uchun asosiy ID */
#ecoMap,
#map {
  width: 100%;
  height: 500px;
  /* !important o'rniga aniq px bering */
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
  /* Sahifa yuklanganda xarita o'rnida bo'shliq sakramaydi */
  display: block;
}

/* Legend */
.map-legend {
  background: var(--bg-soft);
  padding: 1.5rem 1.8rem;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-legend h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.02rem;
}

.map-legend ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.map-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

/* Holatlar ro'yxati */
.status-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.status-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.status-list li strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.status-list li span:not(.dot) {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Dot markers */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.dot-green {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.dot-yellow {
  background: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.2);
}

.dot-red {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.link-arrow {
  font-size: 0.9rem;
  color: #a7f3d0;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* Partners */

.partners-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.partner-logo {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.75rem 0.9rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #111827;
}

.partner-logo img {
  width: 100%;
  max-width: 150px;
  height: auto;
  aspect-ratio: 1 / 1;
  /* Agar logotiplar kvadrat bo'lsa */
  object-fit: contain;
  display: block;
  margin-bottom: 0.5rem;
}

/* About / two column */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.9rem;
  align-items: flex-start;
}

.two-column h2 {
  margin-top: 0;
}

.two-column p {
  color: var(--muted);
}

.card-highlight {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 1.2rem 1.1rem 1.1rem;
}

.card-highlight h3 {
  margin-top: 0;
}

.card-highlight ul {
  padding-left: 1.1rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Subpage hero */

.subpage-hero {
  padding: 2.8rem 0 2.4rem;
}

.subpage-hero h1 {
  margin: 0.7rem 0 0.4rem;
  font-size: clamp(1.9rem, 2.5vw, 2.25rem);
}

.subpage-hero .hero-subtitle {
  max-width: 32rem;
}

/* Process flow */

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: start;
}

.process-step {
  border-radius: var(--radius-md);
  padding: 1rem 0.9rem 0.9rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 0.9rem;
}

.process-step h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 0.98rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.process-arrow {
  display: none;
}

/* Products */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.2rem 1.1rem 1rem;
}

.product-badge {
  display: inline-flex;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.7);
}

.product-card h3 {
  margin: 0.7rem 0 0.15rem;
}

.product-meta {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-price {
  margin: 0 0 0.2rem;
  font-weight: 600;
}

.product-strength {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Order form */

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.7rem;
  align-items: flex-start;
}

.order-form {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.3rem 1.2rem 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.55rem 0.7rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(34, 197, 94, 0.7);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.form-note {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.order-aside {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.2rem 1.1rem 1.1rem;
}

.order-aside h3 {
  margin-top: 0;
}

.order-aside ul {
  padding-left: 1.1rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Dashboard */

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.dashboard-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.3rem 1.2rem 1.1rem;
  font-size: 0.9rem;
}

.dashboard-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
}

.dashboard-card li {
  margin-bottom: 0.3rem;
  color: var(--muted);
}

.card-note {
  font-size: 0.78rem;
  color: var(--muted);
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.chart-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.2rem 1.1rem 1.1rem;
}

.chart-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 160px;
}

.chart-bars .bar {
  flex: 1;
  border-radius: 0.75rem 0.75rem 0.4rem 0.4rem;
  background: linear-gradient(to top, #16a34a, #4ade80);
  position: relative;
}

.chart-bars .bar span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Leaderboard */

.leaderboard-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.1rem 1.1rem 1rem;
}

.leaderboard {
  background: var(--bg-soft);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.leaderboard ul {
  list-style: none;
  padding: 0;
}

.leaderboard li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.progress-bar {
  flex-grow: 1;
  height: 8px;
  background: #222;
  border-radius: 4px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
}

.rank {
  font-weight: bold;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  padding: 0.55rem 0.5rem;
  text-align: left;
}

th {
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

tbody tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.7);
}

tbody tr:hover td {
  background: rgba(22, 163, 74, 0.09);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  margin-top: 2.2rem;
  background: rgba(2, 6, 23, 0.98);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem 0 1.8rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.footer-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 16rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}

.footer-cols h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.footer-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
}

.footer-cols li+li {
  margin-top: 0.25rem;
}

.footer-cols a {
  color: var(--muted);
  text-decoration: none;
}

.footer-cols a:hover {
  color: #e5e7eb;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 0.75rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom-inner a:hover {
  color: #e5e7eb;
}

/* Utilities */

a {
  cursor: pointer;
}

/* ===== TOP STATISTICS ===== */
.top-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}

.stat-box {
  background: #1e293b;
  padding: 20px;
  border-radius: 14px;
  flex: 1;
  min-width: 200px;
  transition: 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.stat-box h3 {
  margin: 0 0 10px;
  font-size: 15px;
  opacity: 0.8;
}

.stat-box p {
  font-size: 26px;
  font-weight: bold;
  margin: 0;
}

/* Stat Cards */
.stat-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  background: var(--bg-soft);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.card.accent {
  border-color: var(--accent);
}

.card h3 {
  font-size: 2rem;
  margin: 0;
  color: var(--accent);
}

/* Promo Section */
.promo-section {
  padding: 40px 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
}

/* Newsletter */
.newsletter-card {
  background: linear-gradient(135deg, #111827 0%, #06090f 100%);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.newsletter-card .badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.newsletter-card h3 {
  font-size: 1.8rem;
  margin: 15px 0 10px;
}

.newsletter-card p {
  color: var(--muted);
  margin-bottom: 25px;
  max-width: 400px;
}

.subscribe-form {
  display: flex;
  gap: 10px;
}

.subscribe-form input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 12px 20px;
  border-radius: 12px;
  color: white;
  outline: none;
  transition: 0.3s;
}

.subscribe-form input:focus {
  border-color: var(--accent);
}

/* Ad banner */
.ad-banner {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.ad-placeholder {
  height: 100%;
  background: #1e1b4b;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.ad-label {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
}

.ad-content h4 {
  font-size: 1.4rem;
  color: #facc15;
  margin: 0 0 10px 0;
}

.ad-content p {
  font-size: 0.9rem;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.ad-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  border-bottom: 2px solid #facc15;
  padding-bottom: 2px;
}

.ad-gradient-bg {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.2) 0%, transparent 70%);
}

/* Green theme reklama */
.ad-banner.green-theme .ad-placeholder {
  background: #064e3b;
  border: 1px solid #10b981;
}

.ad-banner.green-theme .ad-content h4 {
  color: #10b981;
}

.ad-banner.green-theme .ad-glow {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
}

/* Glass & Input styles */
.custom-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

.input-style {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.input-style:focus {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.eco-gradient-text {
  color: white;
}

/* Active nav link */
.active {
  color: #10b981 !important;
  border-bottom: 2px solid #10b981;
}

/* ===== ABOUT PAGE ===== */

.about-hero {
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
}

.about-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(90deg, #00c853, #b2ff59);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 700px;
  margin: 20px auto;
}

.about-main-info {
  padding: 60px 0;
  position: relative;
}

/* Orqa fondagi glow effekti */
.about-main-info::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

/* 2-ustunli grid (mission + karta) */
.main-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Missiya matnlari */
.mission-content .badge-green,
.badge-green {
  display: inline-block;
  background: rgba(0, 200, 83, 0.1);
  color: var(--accent-green);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 200, 83, 0.2);
  margin-bottom: 24px;
}

.mission-content h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: #ffffff;
}

.mission-content p {
  color: var(--text-gray);
  font-size: 1.15rem;
  line-height: 1.7;
}

.questions-sidebar {
  flex: 1;
}

/* O'ng tomondagi karta */
.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #10b981;
  color: #10b981;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
  position: relative;
  z-index: 2;
}

.btn-outline:hover {
  background: #10b981;
  color: #000;
}

.q-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  z-index: 1;
}

/* Mission grid (about page) */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

/* Features */
.features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.f-item {
  background: #111827;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.f-item strong {
  display: block;
  color: #10b981;
  font-size: 1.2rem;
}

/* Info section (blog + FAQ) */
.info-section {
  padding: 60px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.block-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  border-left: 4px solid var(--accent);
  padding-left: 15px;
}

/* Blog */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card-compact {
  background: #111827;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.blog-card-compact:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.blog-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: bold;
}

.blog-card-compact h4 {
  margin: 10px 0;
  font-size: 1.1rem;
}

.blog-card-compact p {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #0f172a;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
  .main-flex {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.4rem;
  }

  .steps-grid,
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-layout,
  .two-column,
  .order-layout,
  .dashboard-grid,
  .charts-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-flex {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-container-wrapper {
    height: 300px;
  }

  .map-legend {
    order: 2;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .subscribe-form {
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    align-items: center;
  }

  .btn-download {
    display: none;
  }

  .main-nav {
    position: absolute;
    inset-inline: 1.25rem;
    top: 58px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0.9rem 0.9rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    transform-origin: top;
    transform: scaleY(0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .main-nav.show {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-device {
    order: -1;
    justify-content: center;
  }

  .hero-device .device-card {
    width: 250px;
  }

  .to-1 {
    width: 100%;
    /* Konteyner kengligiga moslashish uchun */
    max-width: 358px;
    /* Lighthouse tahlilidagi ideal ko'rinish o'lchami */
    height: auto;
    /* Nisbatni buzmaslik uchun juda muhim */
    aspect-ratio: 1 / 1;
    /* Rasm 1024x1024 bo'lgani uchun 1:1 nisbat */
    object-fit: contain;
    /* Rasm shakli deformatsiya bo'lmasligi uchun */
    border-radius: 32px;
    /* Dizayn bir xilligi uchun */
    display: block;
    margin: 0 auto;
    /* Markazlashtirish uchun */
  }

  .steps-grid,
  .impact-grid,
  .map-layout,
  .two-column,
  .partners-row,
  .order-layout,
  .dashboard-grid,
  .charts-grid,
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-placeholder.large {
    min-height: 220px;
  }

  .process-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .section {
    padding: 2.5rem 0;
  }

  .footer-inner {
    padding: 1.8rem 0 1.5rem;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}