:root {
  --bg-primary: #064e3b;
  --bg-secondary: #065f46;
  --bg-card: #ffffff;
  --bg-app: #f0fdf4;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #cbd5e1;
  
  --agro: #059669;
  --agro-dark: #047857;
  --agro-light: #d1fae5;
  --agro-accent: #10b981;
  
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  
  --warning: #d97706;
  --warning-light: #fef3c7;
  
  --danger: #dc2626;
  --danger-light: #fee2e2;
  
  --info: #4f46e5;
  --info-light: #e0e7ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  color: var(--text-main);
  line-height: 1.5;
  font-size: 13px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Modern Header & Navigation */
.app-header {
  background: rgba(6, 78, 59, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px -2px rgba(6, 78, 59, 0.25);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.brand-badge-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #ffffff;
}

.brand-version-pill {
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff;
  padding: 1px 7px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-tagline {
  font-size: 9.5px;
  color: #a7f3d0;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Modern Segmented Navigation Pills */
.nav-segmented {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.22);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 4px;
}

.nav-segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  color: #d1fae5;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  white-space: nowrap;
  font-family: inherit;
}

.nav-segment-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-segment-btn.active {
  color: #ffffff;
  background: #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

.nav-icon {
  font-size: 14px;
  line-height: 1;
}

.nav-counter {
  font-size: 10px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 10px;
}

.nav-segment-btn.active .nav-counter {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Header Right Actions */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Modern Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  gap: 2px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
  background: #ffffff;
  color: #064e3b;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.lang-flag {
  font-size: 13px;
  line-height: 1;
}

/* Modern User Profile Pill */
.user-profile-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(0, 0, 0, 0.22);
  padding: 4px 10px 4px 6px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #0369a1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-fullname {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.user-role-select {
  background: transparent;
  border: none;
  color: #a7f3d0;
  font-size: 10.5px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  padding: 0;
  font-weight: 500;
}

.user-role-select option {
  background: #064e3b;
  color: #ffffff;
}

.user-role-label {
  color: #a7f3d0;
  font-size: 10.5px;
  font-weight: 500;
}

.user-logout-btn {
  margin-left: 6px;
}

/* Avtorizatsiya oynasi (Login, 2FA, parol almashtirish) */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #064e3b;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.auth-brand {
  font-weight: 800;
  font-size: 18px;
  color: #047857;
  margin-bottom: 14px;
}

.auth-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}

.auth-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.5;
}

.auth-secret {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 1px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 6px;
  word-break: break-all;
  user-select: all;
}

.auth-link {
  display: inline-block;
  font-size: 12px;
  color: #047857;
  margin-bottom: 12px;
}

.auth-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  letter-spacing: 6px;
  text-align: center;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  padding: 9px 14px;
  font-size: 13px;
  margin-top: 6px;
}

.auth-error {
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  margin-bottom: 12px;
}

.user-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  flex-shrink: 0;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Main Container */
.main-content {
  padding: 20px;
  max-width: 1750px;
  margin: 0 auto;
  min-height: calc(100vh - 58px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  user-select: none;
}

.btn-agro { background: #059669; color: white; }
.btn-agro:hover { background: #047857; }

.btn-primary { background: #0284c7; color: white; }
.btn-primary:hover { background: #0369a1; }

.btn-outline { background: white; border-color: #cbd5e1; color: var(--text-main); }
.btn-outline:hover { background: #f1f5f9; }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #b91c1c; }

.btn-warning { background: var(--warning); color: white; }
.btn-warning:hover { background: #b45309; }

.btn-sm { padding: 4px 8px; font-size: 11px; }

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.badge-yangi { background: #fef3c7; color: #b45309; }
.badge-navbatda { background: #e0f2fe; color: #0369a1; }
.badge-jarayonda { background: #fed7aa; color: #c2410c; }
.badge-hujjat_kutilmoqda { background: #fee2e2; color: #b91c1c; }
.badge-tekshiruvda { background: #ede9fe; color: #6d28d9; }
.badge-tayyor { background: #dcfce7; color: #15803d; }
.badge-yopilgan { background: #f1f5f9; color: #475569; }
.badge-bekor_qilindi { background: #f3f4f6; color: #9ca3af; text-decoration: line-through; }

/* 3-Panel Agro Workspace */
.workspace-container {
  display: grid;
  grid-template-columns: 340px 1fr 370px;
  gap: 16px;
  height: calc(100vh - 105px);
}

.panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.panel-header {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
}

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* Agro Section Cards */
.agro-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  transition: all 0.2s;
}

.agro-card-header {
  background: #f8fafc;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agro-card-body {
  padding: 12px 14px;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.form-control {
  width: 100%;
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.form-control:focus {
  border-color: #059669;
  box-shadow: 0 0 0 2px #d1fae5;
}

.form-panels-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.form-grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 10px; }

@media (max-width: 960px) {
  .form-panels-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .form-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .form-grid-3, .form-grid-4 {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .weight-calculator {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .weight-calculator {
    grid-template-columns: 1fr;
  }
}

/* Unified Workspace Header Bar */
.workspace-header-bar {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.workspace-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #334155;
}

.workspace-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

/* Weight summary badge */
.weight-calculator {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.weight-calc-item {
  text-align: center;
}
.weight-calc-item small {
  display: block;
  font-size: 10px;
  color: #065f46;
  font-weight: 600;
  text-transform: uppercase;
}
.weight-calc-item strong {
  font-size: 14px;
  color: #047857;
}

/* Validation items */
.val-summary-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.val-stat-box {
  padding: 8px;
  border-radius: 6px;
  text-align: center;
}

.val-stat-box.err { background: #fee2e2; color: #991b1b; }
.val-stat-box.warn { background: #fef3c7; color: #92400e; }
.val-stat-box.inf { background: #e0e7ff; color: #3730a3; }

.val-item {
  border-left: 4px solid #cbd5e1;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.val-item:hover {
  background: #f1f5f9;
  transform: translateX(2px);
}

.val-item.error { border-left-color: var(--danger); background: #fff5f5; }
.val-item.warning { border-left-color: var(--warning); background: #fffbf0; }
.val-item.info { border-left-color: var(--info); background: #f5f7ff; }

.val-item-title {
  font-weight: 700;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}

.val-item-msg {
  font-size: 11px;
  color: #334155;
  margin-top: 2px;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.data-table th {
  background: #f1f5f9;
  color: #475569;
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #e2e8f0;
}

.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
}

.data-table tr:hover td {
  background: #f8fafc;
}

/* Telegram Bot Simulator UI */
.bot-simulator {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #e2e8f0;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 600px;
}

.bot-header {
  background: #047857;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.bot-chat-area {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #e4ecf2;
}

.chat-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-word;
}

.chat-bubble.bot {
  background: #ffffff;
  color: #0f172a;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.chat-bubble.user {
  background: #d1fae5;
  color: #064e3b;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.bot-input-area {
  padding: 10px;
  background: white;
  border-top: 1px solid #cbd5e1;
  display: flex;
  gap: 8px;
}

/* Document Hub & Preparation Styles */
.doc-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.doc-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  border-color: #059669;
}

.doc-card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.doc-card-icon {
  font-size: 26px;
  line-height: 1;
}

.doc-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.doc-card-desc {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.45;
}

.doc-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-templates-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
}

.preset-btn:hover {
  background: #ecfdf5;
  border-color: #059669;
  color: #047857;
}

.preview-frame-container {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.preview-frame-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-tabs {
  display: flex;
  gap: 4px;
}

.preview-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

.preview-tab-btn.active {
  background: #059669;
  color: white;
}

.doc-iframe {
  width: 100%;
  height: 750px;
  border: none;
  background: #ffffff;
}

/* Smart Search & Autocomplete */
.smart-search-wrapper {
  position: relative;
  width: 100%;
}

.smart-search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid #059669;
  border-radius: 8px;
  outline: none;
  background-color: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.1);
  transition: all 0.2s ease;
}

.smart-search-input:focus {
  border-color: #047857;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.smart-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #059669;
  pointer-events: none;
}

.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1050;
}

.autocomplete-item {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.autocomplete-item:hover, .autocomplete-item.selected {
  background: #ecfdf5;
}

.autocomplete-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.autocomplete-item-icon {
  font-size: 22px;
}

.autocomplete-item-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 13.5px;
}

.autocomplete-item-meta {
  font-size: 11px;
  color: #64748b;
}

.autocomplete-item-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Popular Agro Product Pills */
.popular-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.popular-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.popular-pill:hover {
  background: #ecfdf5;
  border-color: #059669;
  color: #047857;
  transform: translateY(-1px);
}

.popular-pill.active {
  background: #059669;
  border-color: #047857;
  color: white;
}

.smart-fill-banner {
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-left: 5px solid #059669;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeIn 0.25s ease;
}

/* Demo Samples Bar & Hub Styling */
.demo-samples-bar {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.demo-pill:hover {
  background: #ecfdf5;
  border-color: #059669;
  color: #047857;
  transform: translateY(-1px);
}

.demo-pill.active {
  background: #047857;
  border-color: #047857;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(4, 120, 87, 0.25);
}

.hub-overview-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.hub-overview-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  border-bottom: 1px dashed #a7f3d0;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.hub-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.hub-stat-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
}

.hub-stat-label {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.hub-stat-val {
  font-size: 14px;
  font-weight: 800;
  color: #064e3b;
}

.doc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

/* Quick Edit Modal & Dialog Styling */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.modal-dialog {
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #cbd5e1;
  overflow: hidden;
}

.modal-header {
  padding: 14px 22px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: #064e3b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: all 0.15s;
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

.modal-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 16px;
  overflow-x: auto;
  gap: 4px;
}

.modal-tab-btn {
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.modal-tab-btn:hover {
  color: #047857;
}

.modal-tab-btn.active {
  color: #047857;
  border-bottom-color: #059669;
  background: #ffffff;
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-tab-pane {
  display: none;
}

.modal-tab-pane.active {
  display: block;
}

.modal-footer {
  padding: 12px 22px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qe-calc-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  text-align: center;
}

.qe-calc-box small {
  display: block;
  font-size: 10.5px;
  color: #065f46;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.qe-calc-box strong {
  font-size: 15px;
  color: #047857;
  font-weight: 800;
}

/* =========================================================================
   ZAMONAVIY QISHLOQ XO'JALIGI EKSPORTI LANDING SAHIFASI (LANDING PAGE STYLES)
   ========================================================================= */

.landing-page {
  background: #f8fafc;
  color: #0f172a;
  overflow-x: hidden;
}

/* 1. Landing Top Navigation */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 78, 59, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 25px -4px rgba(6, 78, 59, 0.35);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.landing-brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: leafSway 4s ease-in-out infinite;
}

.landing-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-brand-pill {
  font-size: 11px;
  font-weight: 800;
  background: #10b981;
  color: #064e3b;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.landing-nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.landing-nav-link:hover {
  color: #34d399;
}

.landing-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 2. Hero Section */
.landing-hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.22) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.18) 0%, transparent 45%),
              linear-gradient(180deg, #064e3b 0%, #065f46 55%, #047857 100%);
  color: white;
  padding: 80px 24px 100px;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.5;
}

.landing-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 700;
  color: #a7f3d0;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  animation: floatSlow 5s ease-in-out infinite;
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulseDot 1.6s infinite;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #34d399 0%, #fef08a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #d1fae5;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Kattta "Foydalanish" tugmasi (Asosiy harakat) */
.btn-primary-use {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 12px;
  border: 2px solid #34d399;
  box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.55), 0 0 20px rgba(52, 211, 153, 0.4);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  animation: pulseGlow 2.5s infinite;
}

.btn-primary-use:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  box-shadow: 0 16px 32px -4px rgba(16, 185, 129, 0.65), 0 0 30px rgba(52, 211, 153, 0.6);
}

.btn-hero-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-hero-demo:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* 4 ta Asosiy Ko'rsatkichlar (Hero Stats) */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  backdrop-filter: blur(8px);
}

.hero-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #fef08a;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
}

.hero-stat-sub {
  font-size: 10.5px;
  color: #a7f3d0;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero O'ng Tomon: Interaktiv Hologram Showcase Card */
.hero-card-showcase {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: floatSlow 6s ease-in-out infinite;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.showcase-badge {
  background: #10b981;
  color: #064e3b;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.showcase-crop-preview {
  background: rgba(6, 78, 59, 0.7);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

.crop-preview-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.crop-preview-icon {
  font-size: 40px;
  background: rgba(255, 255, 255, 0.12);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.crop-preview-name {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.crop-preview-hs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 4px;
}

.crop-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
}

.metric-val {
  font-size: 14px;
  font-weight: 800;
  color: #fef08a;
}

.metric-lbl {
  font-size: 10px;
  color: #a7f3d0;
  text-transform: uppercase;
}

/* 6 ta Hujjat Jonli Mini-Status Paneli */
.showcase-docs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-doc-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
}

/* Floating Decorative Elements */
.float-card-badge {
  position: absolute;
  background: #ffffff;
  color: #064e3b;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.float-badge-top {
  top: -16px;
  right: -16px;
  animation: floatFast 4s ease-in-out infinite;
}

.float-badge-bottom {
  bottom: -16px;
  left: -16px;
  animation: floatSlow 5s ease-in-out infinite;
}

/* 3. Crop Marquee Section (Ommabop Agromahsulotlar Karuseli) */
.marquee-section {
  background: #ffffff;
  padding: 28px 0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
}

.marquee-section::before, .marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-crop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.marquee-crop-item:hover {
  background: #ecfdf5;
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.marquee-crop-icon {
  font-size: 22px;
}

.marquee-crop-name {
  font-size: 13px;
  font-weight: 700;
  color: #064e3b;
}

.marquee-crop-hs {
  font-size: 10.5px;
  color: #64748b;
  font-family: monospace;
}

/* 4. Asosiy Bo'limlar Umumiy Stili */
.landing-section {
  padding: 80px 24px;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid #a7f3d0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #064e3b;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

/* 5. Imkoniyatlar Paneli (6 ta Afzallik Grid) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: #10b981;
  box-shadow: 0 16px 32px -4px rgba(16, 185, 129, 0.12);
}

.feature-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-box:hover::after {
  opacity: 1;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: #ecfdf5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  border: 1px solid #a7f3d0;
}

.feature-title {
  font-size: 17px;
  font-weight: 800;
  color: #064e3b;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
}

/* 5. Interaktiv Eksport Xarajatlari va Boj Kalkulyatori */
.landing-calc-container {
  background: #ffffff;
  border: 2px solid #10b981;
  border-radius: 20px;
  box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  margin-top: 10px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
}

@media (max-width: 960px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-inputs-panel {
  padding: 36px 32px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
}

@media (max-width: 960px) {
  .calc-inputs-panel {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 20px;
  }
}

.calc-results-panel {
  padding: 36px 32px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 960px) {
  .calc-results-panel {
    padding: 24px 20px;
  }
}

.calc-benefit-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 22px;
  color: #065f46;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.calc-benefit-badge {
  background: #10b981;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.calc-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #cbd5e1;
  font-size: 13.5px;
}

.calc-cost-label {
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.calc-cost-val {
  font-weight: 800;
  color: #0f172a;
}

.calc-cost-val.free {
  color: #059669;
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12.5px;
}

.calc-summary-card {
  background: white;
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 22px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.calc-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13.5px;
}

.calc-summary-row.total-return {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid #e2e8f0;
  font-size: 16px;
  font-weight: 800;
  color: #064e3b;
}



.calc-passport-card {
  background: #ffffff;
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.calc-passport-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.calc-passport-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .calc-passport-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

.calc-p-item {
  background: #f8fafc;
  border-radius: 6px;
  padding: 6px 8px;
  text-align: center;
}

.calc-p-item small {
  display: block;
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
}

.calc-p-item strong {
  font-size: 11.5px;
  color: #064e3b;
}

/* 6. Barcha 6 ta Rasmiy Hujjatlar Arxitekturasi */
.docs-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.doc-arch-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  position: relative;
}

.doc-arch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.doc-arch-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.doc-arch-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.doc-arch-title {
  font-size: 16px;
  font-weight: 800;
  color: #064e3b;
}

.doc-arch-sub {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.doc-arch-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.doc-arch-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

/* 7. 3 Bosqichli Ish Jarayoni (How It Works) */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.25s;
}

.step-card:hover {
  border-color: #10b981;
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.1);
  transform: translateY(-3px);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  color: #064e3b;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
}

/* 8. Eksport Yo'nalishlari va Bozorlar (Corridors) */
.corridors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.corridor-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s;
}

.corridor-box:hover {
  border-color: #0284c7;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.1);
}

.corridor-flag {
  font-size: 36px;
  margin-bottom: 8px;
}

.corridor-country {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.corridor-route {
  font-size: 11px;
  color: #0284c7;
  font-weight: 700;
  margin: 4px 0;
}

.corridor-type {
  font-size: 10.5px;
  color: #64748b;
}

/* 9. Pastki Katta Call-To-Action Banner */
.landing-cta-banner {
  background: radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.25) 0%, transparent 60%),
              linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: white;
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.landing-cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.landing-cta-banner p {
  font-size: 16px;
  color: #d1fae5;
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* 10. Landing Footer */
.landing-footer {
  background: #042f24;
  color: #94a3b8;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Keyframe Animatsiyalari */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.55), 0 0 20px rgba(52, 211, 153, 0.35);
  }
  50% {
    box-shadow: 0 14px 35px -2px rgba(16, 185, 129, 0.75), 0 0 35px rgba(52, 211, 153, 0.65);
  }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatFast {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes leafSway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(6deg); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive moslashuvchanlik */
@media (max-width: 1024px) {
  .app-header {
    height: auto;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-segmented {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 4px;
  }
  .nav-segment-btn {
    padding: 6px 10px;
    font-size: 11.5px;
  }
  .landing-nav {
    padding: 0 16px;
  }
  .landing-nav-links {
    gap: 16px;
  }
}

@media (max-width: 840px) {
  .landing-nav-links {
    display: none;
  }
}

@media (max-width: 992px) {
  .landing-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid, .docs-arch-grid, .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .corridors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }
  .landing-nav-links {
    display: none;
  }
  .features-grid, .docs-arch-grid, .steps-row {
    grid-template-columns: 1fr;
  }
  .corridors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .landing-cta-banner {
    padding: 36px 20px;
  }
  .landing-cta-banner h2 {
    font-size: 26px;
  }
}
