:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-soft: #e0f2fe;
  --accent: #0ea5e9;
  --border: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1220px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.logo-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.2rem;
}
.logo-uz { color: var(--primary); font-weight: 700; }

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.main-nav a:hover { color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
}
.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 4%;
  gap: 0.75rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-weight: 600;
}
.mobile-nav[hidden] { display: none; }
.mobile-phone { color: var(--primary); font-weight: 700; }

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at top right, #e0f2fe 0%, transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin: 0 0 1.75rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.hero-trust strong {
  display: block;
  font-size: 1.35rem;
  color: var(--primary-dark);
}
.hero-trust span { font-size: 0.85rem; color: var(--text-muted); }

.hero-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface-alt);
}
.hero-image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.hero-floating-tag {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}
.tag-title { font-weight: 700; font-size: 0.95rem; }
.tag-sub { font-size: 0.82rem; color: #cbd5e1; }

/* Sections */
.section { padding: 4.5rem 0; }
.alt-bg { background: var(--surface-alt); }
.section-header {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.section-header p { margin: 0; color: var(--text-muted); }

/* Catalog Controls */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tab-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
}
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.filter-inputs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.input-control {
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.92rem;
  min-width: 210px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-img-wrap {
  position: relative;
  background: var(--surface-alt);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-cat-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.product-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-brand {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}
.product-title {
  margin: 0.25rem 0 0.65rem;
  font-size: 1.08rem;
  line-height: 1.3;
}
.product-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.product-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.feature-icon { font-size: 1.9rem; margin-bottom: 0.75rem; }
.feature-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.93rem; }

/* Partnership */
.partner-banner {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
}
.partner-banner .section-eyebrow { color: #38bdf8; }
.partner-banner h2 { margin: 0 0 0.75rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.partner-banner p { color: #cbd5e1; margin: 0 0 1.25rem; }
.partner-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.5rem;
  color: #e2e8f0;
}
.partner-stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}
.big-num { display: block; font-size: 2.6rem; font-weight: 800; color: #38bdf8; }
.big-label { display: block; color: #cbd5e1; margin-bottom: 1rem; }
.partner-phone {
  display: inline-block;
  font-weight: 700;
  color: #fff;
  background: rgba(56, 189, 248, 0.2);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.cc-icon { font-size: 1.5rem; }
.contact-card small { display: block; color: var(--text-muted); }
.contact-card strong { font-size: 1.05rem; }

.lead-form {
  background: var(--surface);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary-soft);
  border-color: var(--primary);
  background: #fff;
}
.form-status {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo { color: #fff; }
.footer-desc { max-width: 360px; font-size: 0.9rem; margin: 0.6rem 0 0; }
.footer-contact a { display: block; color: #fff; font-size: 1.25rem; font-weight: 800; margin-top: 0.25rem; }
.footer-bottom { padding-top: 1.25rem; font-size: 0.85rem; color: #94a3b8; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 100;
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
}
.modal-body img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.modal-details { padding: 1.5rem; }

.floating-call {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 60;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .main-nav, .phone-pill { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-grid, .partner-banner, .contact-grid { grid-template-columns: 1fr; }
  .partner-banner { padding: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .floating-call { display: inline-flex; }
}
