/* ===================================================================
   XODIM-REITING & PAYNET CRM - SALES LANDING PAGE V2 (SOTUV SCRIPTI)
   Clean, Elegant, Mobile-First SaaS Design
   Typography: Plus Jakarta Sans (400, 500, 600, 700)
   Optimized for Small & Compact Displays (320px - 480px)
   =================================================================== */

:root {
  --bg-main: #0a0e17;
  --bg-card: rgba(18, 25, 41, 0.85);
  --bg-card-hover: rgba(28, 38, 62, 0.95);
  --bg-card-glass: rgba(18, 25, 41, 0.65);

  --primary: #38bdf8;
  --primary-hover: #0284c7;
  --primary-glow: rgba(56, 189, 248, 0.25);

  --amber: #f59e0b;
  --amber-hover: #d97706;
  --amber-glow: rgba(245, 158, 11, 0.25);

  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.2);

  --rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.2);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.4);
  --border-amber: rgba(245, 158, 11, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.2);
  --shadow-amber-glow: 0 0 25px rgba(245, 158, 11, 0.2);

  --container-max: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(245, 158, 11, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
    var(--bg-main);
  background-attachment: fixed;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Links & Buttons */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.2px;
  backdrop-filter: blur(8px);
  max-width: 100%;
}

.pill-cyan {
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.pill-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
  border: 1px solid var(--border-amber);
}

.pill-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 14px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.025rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #031324;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
}

.btn-amber {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #1a0f02;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-amber:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #022013;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  font-weight: 700;
}

.btn-emerald:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

/* ===================================================================
   HEADER & NAVBAR
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: transparent;
  border: none;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
  flex-shrink: 0;
}

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

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

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

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

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

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

/* ===================================================================
   HERO SECTION (Qiziqtirish va Og'riq Nuqtalari)
   =================================================================== */
.hero-section {
  padding: 56px 0 64px 0;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-headline {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.22;
  color: var(--text-main);
  margin-top: 18px;
  margin-bottom: 18px;
}

.hero-headline .highlight-amber {
  color: #fbbf24;
  background: linear-gradient(135deg, #f59e0b 0%, #fde047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.075rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.guarantee-item svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* ===================================================================
   1-BOSQICH: DISCOVERY QUIZ & TEZKOR AUDIT
   =================================================================== */
.discovery-section {
  padding: 64px 0;
  position: relative;
}

.quiz-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  padding: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.quiz-instruction-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.45;
}

.quiz-instruction-banner strong {
  color: var(--primary);
}

.quiz-instruction-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.quiz-choose-hint {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  margin-left: auto;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.quiz-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}

.quiz-step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.quiz-question-group {
  margin-bottom: 28px;
}

.quiz-question-group:last-of-type {
  margin-bottom: 32px;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.quiz-option-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-option-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.quiz-option-label input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-dim);
  border-radius: 50%;
  margin-top: 2px;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
}

.quiz-option-label input[type="radio"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: scale(0);
  background: var(--primary);
  transition: transform 0.2s ease;
}

.quiz-option-label input[type="radio"]:checked {
  border-color: var(--primary);
}

.quiz-option-label input[type="radio"]:checked::before {
  transform: scale(1);
}

.quiz-option-label.active {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
}

.quiz-opt-text strong {
  display: block;
  font-size: 0.925rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 2px;
}

.quiz-opt-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: block;
}

/* Quiz Result Box */
.quiz-result-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 8px;
  animation: fadeIn 0.3s ease;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.result-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #34d399;
}

.result-tariff-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid var(--border-amber);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
}

.result-body p {
  font-size: 0.925rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 14px;
}

.result-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.result-stat-card {
  background: rgba(0, 0, 0, 0.25);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.result-stat-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 2px;
}

.result-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.result-btn-wrap {
  text-align: right;
  margin-top: 10px;
}

.result-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.925rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ===================================================================
   2-BOSQICH: VALUE PITCH - 3 TA ROL BO'YICHA
   =================================================================== */
.roles-section {
  padding: 64px 0;
  position: relative;
}

.roles-invite-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  max-width: 580px;
  margin: 0 auto 20px auto;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-main);
  animation: pulseSubtle 2.5s infinite ease-in-out;
}

.roles-invite-callout strong {
  color: var(--amber);
}

.roles-invite-hand {
  font-size: 1.15rem;
  line-height: 1;
}

@keyframes pulseSubtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

.roles-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.role-tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.role-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.role-tab-btn.active {
  background: var(--primary);
  color: #031324;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.role-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.role-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.role-panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.role-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.role-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.role-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.role-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.role-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Role Features Grid */
.role-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.feature-box-highlight {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.07) 0%, rgba(244, 63, 94, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

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

.feature-head h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-badge-alert {
  display: inline-block;
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

/* 10 Modules List for Leader */
.modules-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.module-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
}

.module-pill-item span.mod-num {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ===================================================================
   3-BOSQICH: TRUST & SECURITY
   =================================================================== */
.security-section {
  padding: 64px 0;
  position: relative;
}

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

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.security-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.sec-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.sec-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.sec-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===================================================================
   4-BOSQICH: OBJECTION HANDLING (E'TIROZLAR VA YECHIMLAR)
   =================================================================== */
.objection-section {
  padding: 64px 0;
  position: relative;
}

.objection-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.accordion-item.open {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  background: none;
  cursor: pointer;
}

.accordion-q-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.accordion-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fb7185;
  background: rgba(244, 63, 94, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.accordion-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-content {
  display: none;
  padding: 0 22px 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.accordion-item.open .accordion-content {
  display: block;
}

.solution-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.solution-box-icon {
  color: var(--emerald);
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.solution-box-text {
  font-size: 0.925rem;
  color: var(--text-main);
  line-height: 1.55;
}

/* ===================================================================
   5-BOSQICH: TARIFLAR VA BITIMNI YOPISH (PRICING CARDS)
   =================================================================== */
.pricing-section {
  padding: 64px 0 80px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Featured / Pro styling */
.pricing-card-highlight {
  background: linear-gradient(180deg, rgba(20, 35, 60, 0.95) 0%, rgba(18, 25, 41, 0.95) 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 12px 40px -10px rgba(56, 189, 248, 0.35);
}

/* Featured / VIP styling */
.pricing-card-vip {
  background: linear-gradient(180deg, rgba(28, 38, 62, 0.95) 0%, rgba(18, 25, 41, 0.95) 100%);
  border: 2px solid var(--amber);
  box-shadow: 0 12px 40px -10px rgba(245, 158, 11, 0.3);
}

.pricing-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.pricing-badge-cyan {
  background: #0d1e36;
  background: linear-gradient(180deg, #13243f 0%, #0c1626 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 12px rgba(56, 189, 248, 0.15);
}

.pricing-badge-primary {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #031324;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.pricing-badge-amber {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #1a0f02;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  min-height: 38px;
}

.pricing-price-wrap {
  margin: 18px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-old-price {
  font-size: 0.95rem;
  color: var(--rose);
  text-decoration: line-through;
  margin-bottom: 4px;
  display: block;
}

.pricing-amount {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.pricing-card-vip .pricing-amount {
  color: #fbbf24;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-savings-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 12px;
}

.pricing-feature-item svg {
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-btn-wrap {
  margin-top: auto;
}

.pricing-btn-wrap .btn {
  width: 100%;
}

/* Monthly Plan Collapsible Toggle */
.monthly-toggle-wrapper {
  margin-top: 36px;
  text-align: center;
}

.monthly-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(18, 25, 41, 0.95) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(56, 189, 248, 0.18);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.monthly-toggle-btn:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(28, 38, 62, 0.95) 100%);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.35);
}

.monthly-toggle-btn.open {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(18, 25, 41, 0.98) 100%);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.3);
}

.monthly-toggle-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--primary);
  flex-shrink: 0;
}

.monthly-toggle-btn.open .monthly-toggle-icon {
  transform: rotate(180deg);
}

.monthly-plan-container {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
  margin-top: 0;
}

.monthly-plan-container.open {
  max-height: 1200px;
  opacity: 1;
  margin-top: 24px;
}

.monthly-plan-container .pricing-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(18, 25, 41, 0.95);
}

/* ===================================================================
   7 KUNLIK BEPUL SINOV (DOWNSELL & TEST-DRIVE)
   =================================================================== */
.trial-offer-box {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(18, 25, 41, 0.95) 50%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.12);
  text-align: left;
}

.trial-offer-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #38bdf8, #f59e0b);
}

.trial-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.trial-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.trial-tag {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trial-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 12px;
}

.trial-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 24px;
}

.trial-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.trial-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.trial-perk-item:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.trial-perk-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.trial-perk-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.trial-perk-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.trial-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  margin-top: 12px;
}

.trial-cta-wrap .btn {
  padding: 13px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.trial-note {
  font-size: 0.825rem;
  color: var(--text-dim);
  text-align: center;
}

/* Smart Floating Downsell Toast */
.trial-nudge-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 360px;
  width: calc(100% - 32px);
  background: #111827;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.2);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.trial-nudge-toast.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.trial-nudge-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--text-dim);
  cursor: pointer;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0;
  transition: all 0.2s ease;
}

.trial-nudge-close:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
}

.trial-nudge-close svg {
  width: 12px;
  height: 12px;
  display: block;
}

.trial-nudge-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 6px;
}

.trial-nudge-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 4px;
  padding-right: 20px;
}

.trial-nudge-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

/* ===================================================================
   ONBOARDING & DEMO FORM (BITIMNI OCHISH)
   =================================================================== */
.onboarding-section {
  padding: 64px 0 80px 0;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.onboarding-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.onboarding-prompt-quote {
  background: rgba(56, 189, 248, 0.06);
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.form-group-full {
  grid-column: span 2;
}

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

.form-input,
.form-select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.925rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.form-select option {
  background: #121929;
  color: #fff;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.form-footer-note {
  text-align: center;
  font-size: 0.775rem;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ===================================================================
   MODAL WINDOW (IXCHAM VA CHIROYLI GLASSMORPHIC DIZAYN)
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, rgba(20, 29, 47, 0.97) 0%, rgba(13, 19, 33, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 24px 22px;
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.15);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}

.modal-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.45;
}

.modal-content .form-group {
  margin-bottom: 11px;
}

.modal-content label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}

.modal-content .form-input {
  padding: 10px 12px;
  font-size: 0.875rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 11px;
}

.form-row-2 .form-group {
  margin-bottom: 0;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  display: block;
  width: 100%;
  position: relative;
  z-index: 10;
  clear: both;
  padding: 48px 0 32px 0;
  border-top: 1px solid var(--border-subtle);
  background: #070a10;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
  justify-content: space-between;
}

/* Katta displeyli qurilmalarda (Desktop > 860px): menyu tepada bo'lgani uchun pastda "Bo'limlar" ko'rinmaydi */
@media (min-width: 861px) {
  .footer-nav-col {
    display: none !important;
  }
}

/* Kichik va o'rta displeyli qurilmalarda (Mobil & Planshet <= 860px): tepada menyu yopilgani sababli pastda footerda "Bo'limlar" aniq ko'rinishi shart */
@media (max-width: 860px) {
  .footer-nav-col {
    display: block !important;
  }
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 340px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list a {
  display: inline-block;
  font-size: 0.9rem;
  color: #cbd5e1;
  padding: 2px 0;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}



/* ===================================================================
   RESPONSIVE DESIGN (TABLETS & MEDIUM SCREENS <= 992px)
   =================================================================== */
@media (max-width: 992px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .trial-perks-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trial-offer-box {
    padding: 26px 20px;
    margin-top: 36px;
  }

  .trial-title {
    font-size: 1.25rem;
  }

  .monthly-toggle-btn {
    font-size: 0.925rem;
    padding: 13px 20px;
    gap: 8px;
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-md);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===================================================================
   RESPONSIVE DESIGN (MOBILE SCREENS <= 640px)
   =================================================================== */
@media (max-width: 640px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 1.45rem;
    margin-top: 10px;
    margin-bottom: 8px;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Hero */
  .hero-section {
    padding: 32px 0 38px 0;
  }

  .hero-headline {
    font-size: 1.65rem;
    letter-spacing: -0.3px;
    margin-top: 12px;
    margin-bottom: 12px;
    line-height: 1.25;
  }

  .hero-lead {
    font-size: 0.925rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.925rem;
  }

  .hero-guarantees {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 6px;
  }

  .guarantee-item {
    font-size: 0.825rem;
  }

  /* 1-bosqich: Quiz */
  .discovery-section {
    padding: 48px 0;
  }

  .quiz-card-wrapper {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .quiz-instruction-banner {
    padding: 10px 12px;
    font-size: 0.825rem;
    gap: 8px;
    margin-bottom: 18px;
  }

  .quiz-step-title {
    font-size: 1rem;
    gap: 8px;
    margin-bottom: 12px;
  }

  .quiz-step-number {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .quiz-options-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quiz-option-label {
    padding: 12px 14px;
    gap: 10px;
  }

  .quiz-opt-text strong {
    font-size: 0.875rem;
  }

  .quiz-opt-text span {
    font-size: 0.775rem;
  }

  .quiz-result-box {
    padding: 14px 12px;
  }

  .result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .result-title {
    font-size: 0.975rem;
  }

  .result-tariff-badge {
    font-size: 0.78rem;
    padding: 3px 10px;
  }

  .result-body p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .result-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .result-stat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    text-align: left;
  }

  .result-stat-val {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .result-stat-lbl {
    font-size: 0.75rem;
  }

  .quiz-result-box .btn {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.875rem;
    justify-content: center;
  }

  .roles-invite-callout {
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 0.825rem;
    text-align: left;
    justify-content: flex-start;
    margin-bottom: 16px;
  }

  /* 2-bosqich: Roles (Native Horizontal Swipe Tabs) */
  .roles-section {
    padding: 48px 0;
  }

  .roles-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 4px 2px 10px 2px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 24px;
  }

  .roles-tabs::-webkit-scrollbar {
    display: none;
  }

  .role-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.825rem;
  }

  .role-panel-card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .role-hero-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .role-title-wrap {
    gap: 10px;
  }

  .role-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    border-radius: 10px;
  }

  .role-name {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .role-subtitle {
    font-size: 0.8rem;
  }

  .role-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-box {
    padding: 14px 12px;
  }

  .feature-head h4 {
    font-size: 0.95rem;
  }

  .feature-box p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .modules-list-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .module-pill-item {
    padding: 8px 10px;
    font-size: 0.8rem;
    gap: 8px;
  }

  /* 3-bosqich: Security */
  .security-section {
    padding: 48px 0;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .security-card {
    padding: 16px 14px;
    border-radius: var(--radius-md);
  }

  .sec-icon-wrap {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .sec-title {
    font-size: 0.975rem;
    margin-bottom: 6px;
  }

  .sec-desc {
    font-size: 0.85rem;
  }

  /* 4-bosqich: Objections */
  .objection-section {
    padding: 48px 0;
  }

  .objection-accordion {
    gap: 10px;
  }

  .accordion-header {
    padding: 12px 14px;
    gap: 8px;
  }

  .accordion-q-wrap {
    gap: 8px;
  }

  .accordion-tag {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  .accordion-question {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .accordion-content {
    padding: 0 14px 14px 14px;
  }

  .solution-box {
    padding: 12px;
    gap: 10px;
    margin-top: 10px;
  }

  .solution-box-icon {
    font-size: 1rem;
  }

  .solution-box-text {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  /* 5-bosqich: Pricing */
  .pricing-section {
    padding: 48px 0 64px 0;
  }

  .pricing-card {
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }

  .pricing-badge-top {
    font-size: 0.7rem;
    padding: 3px 10px;
    top: -12px;
  }

  .pricing-plan-name {
    font-size: 1.2rem;
  }

  .pricing-plan-desc {
    font-size: 0.8rem;
    min-height: auto;
    margin-bottom: 8px;
  }

  .pricing-price-wrap {
    margin: 14px 0;
    padding-bottom: 14px;
  }

  .pricing-old-price {
    font-size: 0.85rem;
  }

  .pricing-amount {
    font-size: 1.85rem;
  }

  .pricing-period {
    font-size: 0.8rem;
  }

  .pricing-savings-pill {
    font-size: 0.72rem;
    padding: 3px 8px;
    line-height: 1.3;
    white-space: normal;
  }

  .pricing-features-list {
    margin-bottom: 24px;
  }

  .pricing-feature-item {
    font-size: 0.825rem;
    gap: 8px;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .pricing-feature-item svg {
    width: 16px;
    height: 16px;
  }

  /* Onboarding */
  .onboarding-section {
    padding: 48px 0 64px 0;
  }

  .onboarding-box {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }

  .onboarding-prompt-quote {
    padding: 12px 14px;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .form-group label {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .form-input,
  .form-select {
    padding: 10px 12px;
    font-size: 0.875rem;
    border-radius: 10px;
  }

  .form-submit-btn {
    padding: 12px 14px;
    font-size: 0.925rem;
    line-height: 1.35;
    white-space: normal;
  }

  /* Modal */
  .modal-content {
    padding: 22px 16px;
    border-radius: var(--radius-md);
    max-width: calc(100vw - 24px);
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
  .modal-close-btn svg {
    width: 14px;
    height: 14px;
  }

  .modal-title {
    font-size: 1.2rem;
  }

  .modal-desc {
    font-size: 0.825rem;
    margin-bottom: 16px;
  }

  /* Footer */
  .site-footer {
    padding: 36px 0 24px 0;
  }
}

/* ===================================================================
   RESPONSIVE DESIGN FOR COMPACT DEVICES (<= 480px)
   =================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-wrap {
    height: 56px;
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .nav-audit-btn {
    display: none;
    /* Hide secondary audit link in navbar to avoid crowding */
  }

  .nav-actions .btn {
    padding: 6px 10px;
    font-size: 0.775rem;
  }

  .pill-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .hero-headline {
    font-size: 1.48rem;
    letter-spacing: -0.2px;
  }

  .hero-lead {
    font-size: 0.875rem;
  }

  .hero-cta-group .btn {
    padding: 11px 14px;
    font-size: 0.875rem;
  }

  .monthly-toggle-btn {
    font-size: 0.925rem;
    padding: 13px 20px;
    gap: 8px;
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-md);
  }

  /* 7 Kunlik sinov mobil moslashuv */
  .trial-offer-box {
    padding: 22px 14px;
    margin-top: 28px;
    border-radius: var(--radius-md);
  }

  .trial-title {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .trial-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .trial-perks-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .trial-perk-item {
    padding: 12px 14px;
  }

  .trial-cta-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .trial-cta-wrap .btn {
    width: 100%;
    max-width: 380px;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.9rem;
  }

  .trial-note {
    text-align: center;
  }

  .trial-nudge-toast {
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    padding: 14px 14px;
  }

  /* Modal mobil ixchamlashtirish */
  .modal-content {
    padding: 18px 14px;
    border-radius: 16px;
    max-width: calc(100vw - 20px);
    max-height: 94vh;
  }

  .modal-title {
    font-size: 1.125rem;
  }

  .modal-desc {
    font-size: 0.775rem;
    margin-bottom: 12px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 24px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-nav-col {
    display: block !important;
  }
}

/* ===================================================================
   ULTRA-COMPACT SCREENS (<= 360px - e.g. iPhone SE 1st gen, older phones)
   =================================================================== */
@media (max-width: 360px) {
  .site-footer {
    display: block !important;
    padding: 30px 0 20px 0;
  }

  .footer-nav-col {
    display: block !important;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-logo-img {
    width: 28px;
    height: 28px;
  }

  .brand-title {
    font-size: 0.825rem;
  }

  .brand-sub {
    font-size: 0.6rem;
  }

  .hero-headline {
    font-size: 1.32rem;
  }

  .hero-lead {
    font-size: 0.825rem;
  }

  .quiz-card-wrapper,
  .role-panel-card,
  .onboarding-box,
  .pricing-card {
    padding: 14px 10px;
  }

  .pricing-amount {
    font-size: 1.55rem;
  }

  .modal-content {
    padding: 18px 10px;
  }
}

/* ===================================================================
   REAL CRM INTERFACE SHOWCASE & LIGHTBOX (ISHOCH VA TANISHTIRUV)
   =================================================================== */
.role-interface-preview {
  margin: 18px 0 26px 0;
  width: 100%;
}

.preview-browser-frame {
  background: #0b1120;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.75), 0 0 35px rgba(56, 189, 248, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-browser-frame:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), 0 0 45px rgba(56, 189, 248, 0.16);
}

.preview-frame-header {
  background: linear-gradient(180deg, #162036 0%, #0f172a 100%);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.p-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-r { background: #ef4444; }
.dot-y { background: #f59e0b; }
.dot-g { background: #10b981; }

.preview-address-bar {
  flex: 1;
  max-width: 480px;
  background: rgba(10, 14, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
  font-family: monospace;
}

.preview-address-bar .lock-icon {
  font-size: 0.75rem;
}

.badge-role-view {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-family: var(--font-main);
  font-weight: 600;
}

.preview-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
  white-space: nowrap;
}

.live-pulse {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

.preview-img-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #0a0e17;
}

.preview-screen-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.preview-img-wrapper:hover .preview-screen-img {
  transform: scale(1.015);
}

.preview-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.preview-img-wrapper:hover .preview-zoom-hint {
  background: rgba(56, 189, 248, 0.95);
  color: #031324;
  border-color: #38bdf8;
}

/* ===================================================================
   ULTRA-SLEEK CUSTOM VIDEO PLAYER (CYBER / GLASSMORPHISM)
   =================================================================== */
.custom-video-player {
  position: relative;
  width: 100%;
  background: #060913;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  user-select: none;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7);
}

.custom-player-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #060913;
  cursor: pointer;
}

/* Big Center Overlay */
.player-big-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.35) 0%, rgba(3, 7, 18, 0.65) 60%, rgba(3, 7, 18, 0.88) 100%);
  backdrop-filter: blur(2.5px);
  cursor: pointer;
  z-index: 8;
  padding: 24px;
  text-align: center;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease, transform 0.35s ease;
}

.custom-video-player.is-playing .player-big-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.96);
}

.play-pulse-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-pulse-ring {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.65);
  animation: rippleGlow 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: none;
}

.play-pulse-ring.delay-ring {
  animation-delay: 1.2s;
}

@keyframes rippleGlow {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.75); opacity: 0; }
}

.player-big-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #6366f1 100%);
  color: #ffffff;
  border: 3px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(14, 165, 233, 0.8), 0 12px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  cursor: pointer;
}

.player-big-play-btn svg {
  margin-left: 5px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.player-big-overlay:hover .player-big-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 55px rgba(56, 189, 248, 0.95), 0 16px 36px rgba(0, 0, 0, 0.7);
}

.player-overlay-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 90%;
}

.player-overlay-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.player-overlay-sub {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Center Flash Icon Animation */
.player-center-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  z-index: 9;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}

.player-center-flash.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.player-center-flash .flash-icon-play,
.player-center-flash .flash-icon-pause {
  display: none;
}

.player-center-flash.flash-play .flash-icon-play {
  display: block;
  margin-left: 3px;
}

.player-center-flash.flash-pause .flash-icon-pause {
  display: block;
}

/* Modern Bottom Control Bar */
.player-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 10px 16px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.7) 35%, rgba(3, 7, 18, 0.96) 100%);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show controls bar when player is started or playing */
.custom-video-player.is-started .player-controls-bar,
.custom-video-player.is-playing .player-controls-bar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hide controls bar during playback when inactive */
.custom-video-player.is-playing.is-inactive .player-controls-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

/* Timeline Scrubber */
.player-progress-container {
  width: 100%;
  padding: 6px 0;
  cursor: pointer;
}

.player-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  position: relative;
  transition: height 0.15s ease;
}

.player-progress-container:hover .player-progress-track {
  height: 7px;
}

.player-progress-buffered {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  pointer-events: none;
}

.player-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  pointer-events: none;
}

.player-progress-thumb {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #38bdf8, 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-progress-container:hover .player-progress-thumb {
  transform: translateY(-50%) scale(1);
}

/* Controls Row */
.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.player-ctrl-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-ctrl-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.15s ease, background-color 0.2s ease;
}

.player-ctrl-btn:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  transform: scale(1.08);
}

.player-ctrl-btn:active {
  transform: scale(0.94);
}

/* Play/Pause icon toggle */
.player-ctrl-btn .icon-play {
  display: block;
}
.player-ctrl-btn .icon-pause {
  display: none;
}
.custom-video-player.is-playing .player-ctrl-btn .icon-play {
  display: none;
}
.custom-video-player.is-playing .player-ctrl-btn .icon-pause {
  display: block;
}

/* Mute toggle icon */
.player-ctrl-btn .icon-vol-on {
  display: block;
}
.player-ctrl-btn .icon-vol-off {
  display: none;
}
.custom-video-player.is-muted .player-ctrl-btn .icon-vol-on {
  display: none;
}
.custom-video-player.is-muted .player-ctrl-btn .icon-vol-off {
  display: block;
  color: #f87171;
}

/* Time display */
.player-time-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}

.player-time-tag .time-cur {
  color: #f1f5f9;
}

.player-time-tag .time-sep {
  color: #475569;
}

/* Quality Tag */
.player-badge-hd {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Fullscreen icon toggle */
.player-ctrl-btn .icon-fs-enter {
  display: block;
}
.player-ctrl-btn .icon-fs-exit {
  display: none;
}
.custom-video-player.is-fullscreen .player-ctrl-btn .icon-fs-enter {
  display: none;
}
.custom-video-player.is-fullscreen .player-ctrl-btn .icon-fs-exit {
  display: block;
}

/* Fullscreen mode styling */
.custom-video-player:fullscreen {
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
}

.custom-video-player:-webkit-full-screen {
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
}

.video-pulse {
  background-color: #38bdf8 !important;
  box-shadow: 0 0 8px #38bdf8 !important;
}

.preview-badge-video {
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  background: rgba(56, 189, 248, 0.08) !important;
}

/* ===================================================================
   RESPONSIVE VIDEO PLAYER STYLING (MOBILE / TABLET)
   =================================================================== */
@media (max-width: 640px) {
  .custom-video-player {
    aspect-ratio: 16 / 9;
    border-radius: 0 0 12px 12px;
  }

  .player-big-overlay {
    gap: 10px;
    padding: 12px 14px;
  }

  .player-big-play-btn {
    width: 54px;
    height: 54px;
  }

  .player-big-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
  }

  .play-pulse-ring {
    width: 56px;
    height: 56px;
  }

  .player-overlay-meta {
    gap: 5px;
    max-width: 96%;
  }

  .player-overlay-title {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .player-overlay-sub {
    font-size: 0.73rem;
    padding: 3px 10px;
    line-height: 1.2;
  }

  .player-controls-bar {
    padding: 6px 10px 8px;
    gap: 4px;
  }

  .player-progress-container {
    padding: 4px 0;
  }

  .player-progress-track {
    height: 3px;
  }

  .player-progress-container:hover .player-progress-track {
    height: 5px;
  }

  .player-ctrl-group {
    gap: 6px;
  }

  .player-ctrl-btn {
    padding: 4px;
  }

  .player-ctrl-btn svg {
    width: 17px;
    height: 17px;
  }

  .player-time-tag {
    font-size: 0.72rem;
    gap: 2px;
    margin-left: 2px;
  }

  .player-badge-hd {
    font-size: 0.62rem;
    padding: 2px 5px;
  }
}

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

  .player-overlay-title {
    font-size: 0.82rem;
  }

  .player-overlay-sub {
    font-size: 0.68rem;
    padding: 2px 8px;
  }
}

.preview-callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.callout-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.775rem;
  color: #cbd5e1;
}

.callout-chip .chip-icon {
  font-size: 0.85rem;
}

/* Image Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(14px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(56, 189, 248, 0.2);
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.lightbox-title {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.lightbox-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
  transform: rotate(90deg);
}

.lightbox-content {
  overflow-y: auto;
  max-height: calc(94vh - 120px);
  padding: 8px;
  background: #0a0e17;
  display: flex;
  justify-content: center;
}

.lightbox-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.lightbox-footer {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .preview-address-bar {
    display: none;
  }
  .preview-callouts {
    flex-direction: column;
    gap: 6px;
  }
  .lightbox-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}