/* ==========================================================================
   GeoPulse AI / OLAB Assist - Components CSS
   Styling for OLAB Assist Uploaded App Icon, Google-style Hero, Scanner,
   Scorecards, Dashboard, Code Package Generator, Auth Modal & Subscriptions
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVBAR & OLAB ASSIST BRANDING
   -------------------------------------------------------------------------- */
.navbar {
  width: 100%;
  padding: 1.25rem 2rem;
  position: relative;
  z-index: 50;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.4rem;
  letter-spacing: normal;
}

/* OLAB Uploaded App Icon Styles */
.logo-app-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.3);
  transition: var(--transition-fast);
}

.logo-app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.brand-logo:hover .logo-app-icon-wrapper {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 25px rgba(192, 132, 252, 0.5);
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-bold {
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: normal;
  font-size: 1.45rem;
}

.brand-light {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 1.45rem;
}

.brand-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(192, 132, 252, 0.3));
  color: var(--lilac-accent);
  border: 1px solid rgba(192, 132, 252, 0.4);
  margin-left: 2px;
}

.payments-container { width: min(1040px, 100%); margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.payments-header { margin-bottom: 1.25rem; }
.payments-header h2 { margin: 0.45rem 0 0.55rem; font-size: 1.35rem; font-weight: 400; }
.payments-header p { margin: 0; color: var(--text-secondary); }
.payments-table-wrap { overflow-x: auto; border: 1px solid var(--border-card); border-radius: 12px; background: rgba(17, 24, 39, 0.7); }
.payments-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.payments-table th, .payments-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border-card); color: var(--text-secondary); font-size: 0.8rem; text-align: left; vertical-align: middle; }
.payments-table th { color: var(--text-muted); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.payments-table tbody tr:last-child td { border-bottom: 0; }
.payments-table td strong { color: var(--text-main); }
.payment-status { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 800; }
.payment-status svg { width: 0.85rem; height: 0.85rem; }
.payment-status.approved { color: var(--emerald-accent); }
.payment-action-cell { width: 5.5rem; text-align: right !important; }
.payment-action-buttons { display: inline-flex; align-items: center; gap: 0.35rem; }
.payment-detail-btn, .payment-detail-close { display: inline-grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--border-card); border-radius: 7px; background: transparent; color: var(--text-secondary); cursor: pointer; }
.payment-download-btn { display: inline-grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--border-card); border-radius: 7px; background: transparent; color: var(--text-secondary); cursor: pointer; }
.payment-detail-btn:hover, .payment-detail-close:hover, .payment-download-btn:hover { border-color: var(--emerald-accent); color: var(--emerald-accent); }
.payment-detail-btn svg, .payment-detail-close svg, .payment-download-btn svg { width: 0.95rem; height: 0.95rem; }
.payment-detail-panel { margin-top: 1rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(52, 211, 153, 0.3); border-radius: 12px; background: rgba(16, 185, 129, 0.06); }
.payment-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.payment-detail-heading h3 { margin: 0.3rem 0 0; color: var(--text-main); font-size: 1.05rem; }
.payment-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.2rem; margin: 1rem 0 0; }
.payment-detail-grid div { min-width: 0; }
.payment-detail-grid dt { color: var(--text-muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.payment-detail-grid dd { margin: 0.25rem 0 0; color: var(--text-secondary); font-size: 0.82rem; overflow-wrap: anywhere; }
.payment-detail-grid code { color: var(--text-main); font-family: var(--font-mono); font-size: 0.76rem; }

@media (max-width: 768px) {
  .payments-container { padding: 1.5rem 1rem 3rem; }
  .payments-table-wrap { border-radius: 10px; }
  .payments-table { min-width: 0; }
  .payments-table thead { display: none; }
  .payments-table, .payments-table tbody, .payments-table tr, .payments-table td { display: block; width: 100%; }
  .payments-table tr { position: relative; padding: 0.75rem 3.2rem 0.75rem 0.85rem; border-bottom: 1px solid var(--border-card); }
  .payments-table tbody tr:last-child { border-bottom: 0; }
  .payments-table td { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; border: 0; text-align: right; }
  .payments-table td::before { content: attr(data-label); color: var(--text-muted); font-size: 0.68rem; font-weight: 700; text-align: left; }
  .payment-action-cell { position: absolute; top: 0.85rem; right: 0.7rem; width: auto !important; }
  .payment-action-cell::before { display: none; }
  .payment-detail-grid { grid-template-columns: 1fr; }
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
}

.user-identity-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.12rem; min-width: 0; }

#auth-nav-container {
  order: 0;
}

.lang-toggle-container {
  order: 2;
}

#auth-nav-container {
  display: flex;
  align-items: center;
}

.user-profile-menu {
  position: relative;
  min-width: 0;
  color: #FFFFFF;
}

.user-profile-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.user-profile-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 70;
  display: grid;
  width: min(260px, calc(100vw - 2rem));
  padding: 0.4rem;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  background: #111827;
  box-shadow: var(--shadow-card);
}

.user-profile-dropdown button,
.account-menu-current,
.account-menu-qa {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font: 400 0.76rem/1.35 var(--font-sans);
  cursor: pointer;
  text-align: left;
}

.account-menu-current { display: grid; gap: 0.15rem; margin-bottom: 0.25rem; border-bottom: 1px solid var(--border-card); }
.account-menu-current strong { color: var(--text-main); font-size: 0.82rem; }
.account-menu-label, .account-menu-qa label { color: var(--text-muted); font-size: 0.68rem; }
.account-menu-qa { display: grid; gap: 0.35rem; margin: 0.25rem 0; border-top: 1px solid var(--border-card); }
.account-menu-qa select { width: 100%; padding: 0.45rem 0.5rem; border: 1px solid var(--border-card); border-radius: 7px; background: #0f172a; color: var(--text-main); font: 400 0.76rem/1.35 var(--font-sans); }

.user-profile-dropdown button:hover {
  background: rgba(59, 130, 246, 0.15);
  color: var(--text-main);
}

.user-profile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  object-fit: cover;
}

.user-display-name {
  max-width: 140px;
  overflow: hidden;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-login-btn {
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
}

.google-icon {
  margin-right: 2px;
}

.mobile-plan-language-options { display: none; }


/* --------------------------------------------------------------------------
   2. HERO VIEW (MINIMALIST OLAB ASSIST SEARCH)
   -------------------------------------------------------------------------- */
#view-home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(85vh - 80px);
}

.hero-center-container {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero App Icon Badge */
.hero-app-icon-wrapper {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.35), 0 0 40px rgba(192, 132, 252, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: heroIconFloat 4s ease-in-out infinite alternate;
}

.hero-app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes heroIconFloat {
  0% { transform: translateY(0) scale(0.98); }
  100% { transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 40px rgba(192, 132, 252, 0.45); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: var(--lilac-accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--lilac-accent);
  box-shadow: 0 0 10px var(--lilac-accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(192, 132, 252, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(192, 132, 252, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(192, 132, 252, 0); }
}

.hero-title {
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: normal;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin-bottom: 2.25rem;
  line-height: 1.6;
  text-wrap: balance;
}

/* Minimalist Search Box (Google style with AI Glow) */
.domain-search-card {
  width: 100%;
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  padding: 6px 8px 6px 1.25rem;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.1);
  backdrop-filter: var(--glass-backdrop);
  transition: var(--transition-normal);
}

.search-input-wrapper:focus-within {
  border-color: var(--blue-primary);
  box-shadow: 0 15px 40px -10px rgba(59, 130, 246, 0.25), 0 0 35px rgba(192, 132, 252, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

.search-input-icon {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.domain-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
}

.domain-input::placeholder {
  color: var(--text-muted);
}

.search-submit-btn {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: 9999px;
  background: linear-gradient(110deg, #ff00ff, #2563eb, #ff00ff);
  background-size: 200% 100%;
  animation: report-fix-gradient 4s linear infinite;
}

.search-error-msg {
  color: var(--rose-danger);
  font-size: 0.85rem;
  margin-top: 3px;
  font-weight: 400;
}

/* Frictionless guarantee chips */
.frictionless-chips {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-free-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  color: var(--text-main);
  font-size: 0.96rem;
  line-height: 1.45;
  text-align: center;
  flex-wrap: wrap;
}

.hero-domain-note {
  max-width: 660px;
  margin: 3px auto 1.15rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

.hero-free-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #22c55e);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 28px -18px rgba(34, 197, 94, 0.9);
}

.chip-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chip-icon {
  width: 16px;
  height: 16px;
  color: var(--emerald-accent);
}

.chip-divider {
  color: var(--text-dim);
}

/* AI Models Bar */
.ai-models-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ai-models-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.ai-model-chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.model-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.model-chip i {
  width: 14px;
  height: 14px;
  color: var(--blue-primary);
}


/* --------------------------------------------------------------------------
   3. LIVE SCANNER PROGRESS VIEW
   -------------------------------------------------------------------------- */
#view-scanning {
  max-width: 680px;
  margin: 2rem auto;
}

.scanner-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: var(--glass-backdrop);
  box-shadow: var(--shadow-card);
}

/* Radar scanner visual */
.radar-scan-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.05);
}

.radar-sweep {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 60%, rgba(192, 132, 252, 0.4) 100%);
  animation: radarRotate 2s linear infinite;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-center-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  z-index: 2;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
}

.scan-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.scan-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

/* Progress track */
.progress-box {
  margin-bottom: 2rem;
}

.progress-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-primary) 0%, var(--lilac-accent) 100%);
  border-radius: 9999px;
  transition: width 0.4s ease;
  box-shadow: 0 0 12px var(--blue-primary);
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.scan-step-current {
  color: var(--text-secondary);
  font-weight: 500;
}

.scan-percent {
  font-family: var(--font-mono);
  color: var(--lilac-accent);
  font-weight: 700;
}

/* Scan Checklist Items */
.scan-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.scan-checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-fast);
}

.scan-checklist-item.active {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}

.scan-checklist-item.completed {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}

.step-status-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.scan-checklist-item.active .step-status-icon { color: var(--blue-primary); }
.scan-checklist-item.completed .step-status-icon { color: var(--emerald-accent); }

.step-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.step-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   4. FREE REPORT VIEW (7 SCORE CARDS & CURIOSITY GAP CTA)
   -------------------------------------------------------------------------- */
.report-container {
  max-width: 1140px;
  margin: 0 auto;
}

.report-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 1.25rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--glass-backdrop);
}

.report-domain-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.view-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
  padding: 0.34rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 400;
  cursor: pointer;
}

.view-back-btn:hover {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--text-main);
}

.view-back-btn svg {
  width: 0.8rem;
  height: 0.8rem;
}

.audited-domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  color: #ff00ff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0;
}

.report-query-action {
  display: flex;
  justify-content: center;
  margin: -0.65rem 0 1.35rem;
}

.new-query-btn {
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.report-fix-now-btn {
  display: block;
  margin-top: 0.65rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 10px;
  background: linear-gradient(110deg, #ff00ff, #2563eb, #ff00ff);
  background-size: 200% 100%;
  color: #ffffff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  animation: report-fix-gradient 4s linear infinite;
}

.report-fix-now-btn:hover { animation-duration: 2.5s; }

@keyframes report-fix-gradient {
  from { background-position: 0% 50%; }
  to { background-position: -200% 50%; }
}

.new-query-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
}

.new-query-account-status {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.new-query-account-status strong {
  color: var(--text-main);
}

.new-query-form {
  display: grid;
  gap: 0.5rem;
}

.new-query-form label {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
}

.new-query-form input {
  width: 100%;
  padding: 0.78rem 0.85rem;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font: inherit;
}

.new-query-form .btn {
  margin-top: 0.35rem;
}

.new-query-error {
  margin: 0;
  color: var(--rose-danger);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 3px;
  text-align: left;
}

.new-query-history-btn {
  width: 100%;
  margin-top: 0.55rem;
}

.new-query-history {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.new-query-history-item {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.report-main-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  transform: translateY(3px);
}

.report-main-subtitle {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* Gauge Meter SVG */
.overall-score-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.score-ring-wrapper {
  position: relative;
  width: 103px;
  height: 103px;
}

.score-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: url(#scoreGradient);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-in-out;
}

.ring-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  color: #ff00ff;
  font-size: 1.51rem;
  font-weight: 400;
  line-height: 1;
}

.score-max {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.overall-label-title {
  display: block;
  font-size: 0.66rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.overall-status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-good {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-heading h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.heading-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* 3-by-3 report card grid */
.scorecards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 0.65rem;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.card-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.card-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
}

.card-score-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.16rem 0.4rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.card-score-value {
  color: #ff00ff;
}

.card-score-suffix {
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.card-result-text {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.5;
}

.report-score-card {
  border-left-width: 3px;
  font-family: var(--font-sans);
}

.report-score-card.score-good {
  border-color: rgba(16, 185, 129, 0.58);
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.46), rgba(17, 24, 39, 0.86));
}

.report-score-card.score-average {
  border-color: rgba(245, 158, 11, 0.58);
  background: linear-gradient(145deg, rgba(120, 53, 15, 0.42), rgba(17, 24, 39, 0.86));
}

.report-score-card.score-poor {
  border-color: rgba(239, 68, 68, 0.58);
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.42), rgba(17, 24, 39, 0.86));
}

.report-score-card.score-neutral {
  border-color: rgba(148, 163, 184, 0.38);
}

.report-card-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.report-card-heading {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.12rem;
}

@media (min-width: 769px) {
  .hero-title {
    font-size: 2.835rem;
  }

  .report-card-heading {
    min-height: 2.45rem;
  }
}

.report-card-kicker,
.report-card-status {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.report-score-card .card-score-badge,
.report-score-card .card-title,
.report-score-card .card-result-text,
.report-score-card .report-card-kicker,
.report-score-card .report-card-status {
  font-family: 'Poppins', sans-serif;
}

.report-score-card .card-title {
  color: #ffffff;
  font-weight: 400;
}

.report-score-card .report-card-kicker {
  color: #ffffff;
  font-weight: 700;
}

.score-good .report-card-status { color: var(--emerald-accent); }
.score-average .report-card-status { color: var(--amber-warning); }
.score-poor .report-card-status { color: var(--rose-danger); }

.report-card-plus {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
}

.report-card-panel {
  margin: 0.55rem 0.1rem 0.1rem 2.05rem;
}

.report-card-panel[hidden],
.btn[hidden] { display: none !important; }

.report-offers-section {
  margin: 0 0 1.7rem;
}

.plans-container { width: min(1180px, 100%); margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.plans-header { max-width: none; margin-bottom: 1.25rem; }
.plans-header-top { display: flex; align-items: center; justify-content: flex-start; gap: 5px; }
.plans-kicker, .plan-selection-label { color: var(--emerald-accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; }
.plans-header h2 { margin: 0.4rem 0 0.65rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.plans-header > p { margin: 0; color: var(--text-secondary); }
.plans-coupon-header { margin: 0 !important; color: #f5c542 !important; font-size: 0.82rem; font-weight: 400; line-height: 1.35; text-align: right; white-space: nowrap; }
.plans-coupon-header code { color: inherit; font-family: var(--font-mono); }
.plans-coupon-code-wrap { display: inline-flex; align-items: center; gap: 0.25rem; margin-left: 0.2rem; padding: 0.12rem 0.25rem; border: 1px dashed rgba(245, 197, 66, 0.75); border-radius: 4px; }
.plans-coupon-code-wrap button { display: inline-flex; align-items: center; justify-content: center; width: 1.2rem; height: 1.2rem; padding: 0; border: 1px solid rgba(245, 197, 66, 0.7); border-radius: 3px; background: transparent; color: #f5c542; cursor: pointer; }
.plans-coupon-code-wrap button:hover { background: rgba(245, 197, 66, 0.14); }
.plans-coupon-code-wrap button svg { width: 0.7rem; height: 0.7rem; }
.plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; padding-top: 1.1rem; }
.plan-selection-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: auto; padding: 0.8rem; border: 1px solid #FFFFFF; border-radius: 16px; background: var(--bg-card); transition: border-color 160ms ease, box-shadow 160ms ease; }
.plan-selection-card[data-plan-card="advanced"] { margin-top: 0; }
.plan-selection-card.is-selected { border-color: var(--emerald-accent) !important; box-shadow: 0 0 0 1px var(--emerald-accent); }
.plan-selection-card h3 { display: flex; align-items: center; min-height: 1.6rem; margin: 0 0 0.3rem; font-size: 1.25rem; }
.plan-selection-card > p:not(.plan-selection-cancel-note) { height: auto; min-height: 0; margin: 0 0 8px; overflow: visible; color: var(--text-secondary); font-size: 0.78rem; line-height: 1.45; flex-grow: 1; }
.plan-selection-payment { min-height: 1rem; color: var(--text-muted); font-size: 0.72rem; margin: 0 0 0.15rem; }
.plan-selection-card strong { display: block; color: var(--text-main); font-size: 1.15rem; font-weight: 400; line-height: 1.2; margin-bottom: 0.4rem; }
.plan-selection-old-price { color: var(--text-muted); text-decoration: line-through; font-size: inherit; font-weight: 400; }
.plan-selection-recommended { position: absolute; top: -1.6rem; left: -11px; width: calc(100% + 22px); box-sizing: border-box; padding: 0.28rem 0.5rem; border: 1px solid var(--emerald-accent); border-bottom: 0; border-radius: 16px 16px 0 0; background: var(--bg-card); color: var(--emerald-accent); text-align: center; font-size: 0.66rem; font-weight: 400; }
.plan-selection-cancel-note { min-height: 2.4rem !important; margin: 0.75rem 0 0 !important; color: var(--text-muted) !important; font-size: 0.68rem !important; line-height: 1.35 !important; }
.plan-selection-cancel-note-empty { visibility: hidden; }
.plan-selection-coupon { display: grid; gap: 0.3rem; min-height: 3.5rem; margin-top: 0.5rem; color: var(--text-secondary); font-size: 0.66rem; line-height: 1.3; }
.plan-selection-coupon-empty { visibility: hidden; }
.plan-selection-coupon code { width: fit-content; padding: 0.2rem 0.35rem; border: 1px dashed rgba(255, 255, 255, 0.45); color: var(--text-muted); font: inherit; letter-spacing: 0.08em; }
.plan-selection-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; margin-top: auto; padding: 0.5rem; border: 1px solid #FFFFFF; border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: var(--text-main); font: inherit; font-size: 0.75rem; font-weight: 400; cursor: pointer; }
.plan-selection-btn svg { width: 0.85rem; height: 0.85rem; }
.plan-selection-btn:disabled { cursor: not-allowed; opacity: 0.72; }
.plan-selection-card.is-selected .plan-selection-btn { border-color: var(--emerald-accent); background: rgba(16, 185, 129, 0.14); color: var(--emerald-accent); }
.plans-payment-status { min-height: 1.4rem; margin: 1rem 0 0; color: var(--emerald-accent); font-size: 0.8rem; text-align: center; }
.plans-payment-status:not(.is-visible) { visibility: hidden; }
.basic-plan-container { max-width: 1200px; margin: 0 auto; }
.basic-plan-header { align-items: flex-end; }
.basic-plan-header .pane-sub { max-width: 680px; margin-top: 0.35rem; }
.basic-plan-summary { margin-top: 1rem; }
.basic-plan-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.basic-plan-feature { min-height: 180px; padding: 1.25rem; border: 1px solid var(--border-card); border-radius: 16px; background: var(--bg-card); }
.basic-plan-feature svg { width: 1.35rem; height: 1.35rem; margin-bottom: 1.25rem; color: var(--emerald-accent); }
.basic-plan-feature h4 { margin-bottom: 0.45rem; font-size: 1rem; }
.basic-plan-feature p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.55; }
.basic-plan-next-step { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding: 1.25rem 1.5rem; border: 1px solid rgba(16, 185, 129, 0.28); border-radius: 16px; background: rgba(16, 185, 129, 0.08); }
.basic-plan-next-step h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.basic-plan-next-step p { max-width: 720px; color: var(--text-secondary); font-size: 0.85rem; }
.basic-demo-report { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid rgba(192, 132, 252, 0.3); border-radius: 18px; background: rgba(139, 92, 246, 0.07); }
.basic-demo-report-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.basic-demo-report-header h3 { margin-top: 0.25rem; font-size: 1.25rem; }
.basic-demo-report-header h3 strong { color: var(--lilac-accent); }
.basic-demo-score-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.basic-demo-score-grid article { padding: 1rem; border: 1px solid var(--border-card); border-radius: 12px; background: rgba(0, 0, 0, 0.2); }
.basic-demo-score-grid span, .basic-demo-score-grid small { color: var(--text-muted); font-size: 0.72rem; }
.basic-demo-score-grid strong { display: block; margin-top: 0.25rem; color: var(--text-main); font-size: 1.8rem; line-height: 1; }
.basic-demo-report-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; margin-top: 1rem; }
.basic-demo-report-body h4 { margin-bottom: 0.5rem; }
.basic-demo-report-body ul { display: grid; gap: 0.4rem; padding-left: 1.2rem; color: var(--text-secondary); font-size: 0.82rem; }
.basic-demo-signal { display: grid; align-content: start; gap: 0.35rem; padding: 1rem; border-left: 2px solid var(--emerald-accent); }
.basic-demo-signal span { color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; }
.basic-demo-signal strong { color: var(--emerald-accent); }
.basic-demo-signal small { color: var(--text-secondary); font-size: 0.78rem; }
.pro-quota-panel { margin-top: 1rem; padding: 1.25rem 1.5rem; border: 1px solid rgba(56, 189, 248, 0.3); border-radius: 16px; background: rgba(8, 47, 73, 0.28); }
.pro-quota-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.pro-quota-card { display: grid; grid-template-columns: auto 1fr; column-gap: 0.6rem; align-items: center; padding: 1rem; border: 1px solid var(--border-card); border-radius: 12px; background: rgba(0, 0, 0, 0.18); }
.pro-quota-card svg { grid-row: span 2; width: 1.25rem; height: 1.25rem; color: #7dd3fc; }
.pro-quota-card strong { font-size: 1.55rem; line-height: 1; }
.pro-quota-card span { color: var(--text-secondary); font-size: 0.76rem; }
.plans-cancel-note { margin: 1rem 0 0; color: var(--text-muted); text-align: center; font-size: 0.75rem; line-height: 1.35; }
.plans-comparison-wrap { margin-top: 2.5rem; }
.plans-comparison-wrap h3 { margin-bottom: 1rem; }
.plans-comparison-scroll { overflow-x: auto; }
.plans-comparison-table { width: 100%; min-width: 780px; border-collapse: collapse; background: rgba(255, 255, 255, 0.025); }
.plans-comparison-table th, .plans-comparison-table td { padding: 0.9rem 1rem; border: 1px solid var(--border-card); text-align: left; color: var(--text-secondary); font-weight: 300; }
.plans-comparison-table thead th, .plans-comparison-table tbody th { color: var(--text-main); font-weight: 400; }

.report-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.report-offer-card {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(192, 132, 252, 0.34);
  border-radius: 14px;
  background: rgba(30, 27, 75, 0.46);
}

.report-offer-agency {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(8, 47, 73, 0.4);
}

.report-offer-kicker {
  color: var(--lilac-accent);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.report-offer-agency .report-offer-kicker { color: #7dd3fc; }

.report-offer-card h4 {
  margin: 0.22rem 0 0.28rem;
  font-size: 0.9rem;
}

.report-offer-card p {
  min-height: 2.4em;
  margin: 0 0 0.65rem;
  color: var(--text-secondary);
  font-size: 0.76rem;
  line-height: 1.45;
}

.report-offer-payment,
.report-offer-price {
  min-height: 0 !important;
  margin: 0 0 0.55rem !important;
  color: var(--text-main) !important;
  font-weight: 700;
}

.report-offer-payment {
  color: var(--text-secondary) !important;
  font-size: 0.7rem !important;
  font-weight: 600;
}

.report-offer-old-price {
  margin-right: 0.35rem;
  color: #f87171;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.report-offer-price strong {
  color: var(--emerald-accent);
  font-size: 1.05rem;
}

.report-offer-card {
  display: flex;
  flex-direction: column;
}

.report-offer-payment {
  min-height: 1rem !important;
  margin-top: 0 !important;
}

.report-offer-price {
  min-height: 1.35rem !important;
  display: flex;
  align-items: flex-end;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  line-height: 1.2;
}

.report-offer-price strong {
  color: #ffffff;
  font-size: inherit;
  font-weight: 400;
}

.report-offer-price .report-offer-old-price {
  font-size: inherit;
  font-weight: 400;
}

.report-offer-cta {
  margin-top: 0;
}

.report-offer-card > p:first-of-type { flex: 1; }

.report-offers-cancel-note {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.report-offer-discount {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald-accent);
  font-size: 0.7rem;
  font-weight: 800;
}

.launch-coupon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.8rem;
  padding: 0.75rem 1rem;
  border: 1px dashed rgba(16, 185, 129, 0.5);
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.launch-coupon-box code {
  color: #f5c542;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.launch-coupon-code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.12rem 0.25rem;
  border: 1px dashed rgba(245, 197, 66, 0.75);
  border-radius: 4px;
}

.launch-coupon-code-wrap button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
  border: 1px solid rgba(245, 197, 66, 0.7);
  border-radius: 3px;
  background: transparent;
  color: #f5c542;
  cursor: pointer;
}

.launch-coupon-code-wrap button:hover { background: rgba(245, 197, 66, 0.14); }
.launch-coupon-code-wrap button svg { width: 0.7rem; height: 0.7rem; }

.launch-coupon-box small {
  color: var(--text-muted);
}

.report-offer-cta {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* 3 Open Key Findings Cards */
.findings-container {
  margin-bottom: 3rem;
}

.findings-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.finding-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.finding-card.warning-border {
  border-left: 4px solid var(--amber-warning);
}

.finding-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-warning);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.finding-body {
  flex: 1;
}

.finding-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.finding-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.finding-impact {
  display: inline-block;
  min-width: max-content;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-high {
  background: rgba(239, 68, 68, 0.15);
  color: var(--rose-danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-medium {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* CURIOSITY GAP & PAID CTA BANNER */
.conversion-banner-card {
  position: relative;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(30, 27, 75, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px -10px rgba(139, 92, 246, 0.25);
  overflow: hidden;
}

.conversion-banner-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.curiosity-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6EE7B7;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.curiosity-icon {
  width: 18px;
  height: 18px;
}

.conversion-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
}

.report-value-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.split-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
}

.free-box {
  border-color: rgba(255, 255, 255, 0.1);
}

.paid-box {
  border-color: rgba(192, 132, 252, 0.4);
  background: rgba(139, 92, 246, 0.08);
}

.split-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.free-label { color: var(--text-muted); }
.paid-label { color: var(--lilac-accent); }

.split-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.split-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.split-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-green { color: var(--emerald-accent); width: 16px; height: 16px; }
.check-purple { color: var(--lilac-accent); width: 16px; height: 16px; }

.split-divider-icon {
  color: var(--text-muted);
  font-size: 1.5rem;
}

/* CTA Bar */
.conversion-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  display: block;
}

.price-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.unlock-cta-btn {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: normal;
}

.guarantee-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   5. PHASE 2: PAID DASHBOARD & TABS
   -------------------------------------------------------------------------- */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
}

.dash-welcome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.unlocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dash-title {
  font-size: 2.2rem;
  font-weight: 800;
}

.dash-welcome-right {
  display: flex;
  gap: 0.75rem;
}

/* Tabs Bar */
.dash-tabs-bar {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.dash-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.dash-tab:hover {
  color: var(--text-main);
}

.dash-tab.active {
  color: var(--lilac-accent);
  border-bottom-color: var(--lilac-accent);
}

.tab-pane.hidden { display: none !important; }
.tab-pane.active { display: block; }

.pane-header {
  margin-bottom: 1.5rem;
}

.pane-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.pane-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Tab 1: Issues Table */
.issues-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
}

.issues-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.issues-table th {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-card);
}

.issues-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

/* Tab 2: Competitors */
.comp-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comp-table th, .comp-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comp-insights-card {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.insights-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Tab 3: Prompts Matrix */
.prompts-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
}

.prompt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.25rem;
}

.prompt-header {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lilac-accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.prompt-response-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Tab 4: Content Rewrites */
.content-recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rewrite-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.4rem;
}

.rewrite-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.rewrite-box {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 1rem;
  border-radius: 12px;
  color: #A7F3D0;
}

/* Tab 5: Code Package Editor */
.pane-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.code-actions {
  display: flex;
  gap: 0.75rem;
}

.code-editor-card {
  background: #0D1117;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.code-editor-subtabs {
  display: flex;
  background: #161B22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.code-subtab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
}

.code-subtab.active {
  color: var(--lilac-accent);
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: var(--lilac-accent);
}

.code-editor-body {
  padding: 1.5rem;
}

.code-file-path {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.code-syntax-block {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #E2E8F0;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Subscription Upsell Banner */
.subscription-upsell-banner {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 2.25rem;
  margin-top: 3.5rem;
}

.upsell-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--lilac-accent);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.upsell-body-flex {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.upsell-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.upsell-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.upsell-plans-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.upsell-plan-card {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-plan {
  border-color: var(--lilac-accent);
  background: rgba(139, 92, 246, 0.08);
}

.popular-tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--lilac-accent);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
}

.plan-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.plan-price {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.plan-price small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.plan-features i {
  color: var(--emerald-accent);
  width: 14px;
  height: 14px;
}


/* --------------------------------------------------------------------------
   6. AUTH & CHECKOUT MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #111827;
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: var(--shadow-glow);
}

.modal-close-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.modal-close-icon:hover {
  color: #FFFFFF;
}

.modal-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.modal-app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.modal-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.quota-plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: -0.75rem 0 1.25rem;
}

.quota-plan-option {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.quota-plan-option strong {
  color: var(--text-primary);
  font-size: 0.85rem;
}

.btn-google-full {
  width: 100%;
  padding: 0.9rem;
  background: #FFFFFF;
  color: #1F2937;
  border-radius: 14px;
  font-weight: 700;
  margin-bottom: 1.25rem;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-flow-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  margin: -0.35rem 0 1.25rem;
}

.btn-google-full:hover {
  background: #F3F4F6;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.auth-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Payment step */
.order-summary-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.5rem;
  margin-bottom: 0;
  font-weight: 700;
  color: #FFFFFF;
}

.total-price {
  color: var(--emerald-accent);
  font-size: 1.1rem;
}

.sim-card-input {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  gap: 0.6rem;
  margin-top: 0.4rem;
  margin-bottom: 1.5rem;
}

.sim-card-input input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  width: 100%;
}

.demo-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-accent);
  padding: 2px 6px;
  border-radius: 4px;
}

.payment-guarantee-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}


/* --------------------------------------------------------------------------
   7. FOOTER
   -------------------------------------------------------------------------- */
.app-footer {
  width: 100%;
  border-top: 1px solid var(--border-card);
  padding: 1.75rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.footer-brand-name {
  font-weight: 400;
}

.footer-brand-description {
  font-weight: 300;
}

.footer-brand-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-language-toggle {
  padding: 0;
  border: 0;
  background: #111827;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.765rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.footer-language-menu {
  position: relative;
}

.footer-language-dropdown {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  z-index: 70;
  display: grid;
  min-width: 130px;
  padding: 0.35rem;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background: #111827;
  box-shadow: var(--shadow-card);
}

.footer-language-dropdown button {
  padding: 0.5rem 0.65rem;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-language-dropdown button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.footer-language-toggle:hover {
  color: var(--text-main);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.765rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-main);
}


/* --------------------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.98rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }

  .report-header-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-value-split {
    grid-template-columns: 1fr;
  }

  .split-divider-icon {
    display: none;
  }

  .conversion-cta-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .unlock-cta-btn {
    width: 100%;
  }

  .upsell-body-flex {
    grid-template-columns: 1fr;
  }

  .upsell-plans-row {
    grid-template-columns: 1fr;
  }
}
/* OLAB Assist responsive overflow corrections */
html,
body,
#app-container,
main#main-content,
.view-section {
  min-width: 0;
}

body {
  overflow-x: visible;
}

.bg-gradient-glow,
.bg-grid-overlay {
  width: 100%;
}

.nav-container,
.hero-center-container,
.report-container,
.dashboard-container,
.footer-container {
  width: 100%;
  min-width: 0;
}

.brand-logo,
.brand-text,
.nav-actions,
#auth-nav-container,
.user-profile-menu,
.domain-search-card,
.search-input-wrapper,
.domain-input,
.report-main-title,
.report-main-subtitle,
.scan-title,
.scan-subtitle {
  min-width: 0;
  max-width: 100%;
}

.user-name {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-badge {
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  overflow-wrap: anywhere;
}

.hero-title,
.hero-subtitle,
.report-main-title,
.report-main-subtitle,
.scan-title,
.scan-subtitle,
.section-heading,
.heading-desc {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.scorecards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr; }
  .basic-plan-container,
  .basic-plan-container > *,
  .basic-plan-header > *,
  .basic-demo-report-header > *,
  .basic-demo-report-body > * {
    min-width: 0;
  }
  .basic-plan-header,
  .basic-demo-report-header,
  .basic-plan-next-step {
    align-items: stretch;
    flex-direction: column;
  }
  .basic-plan-header .btn,
  .basic-demo-report-header .btn,
  .basic-plan-next-step .btn {
    width: 100%;
  }
  .basic-plan-feature-grid,
  .basic-demo-score-grid,
  .basic-demo-report-body {
    grid-template-columns: 1fr;
  }
  .basic-plan-feature {
    min-height: 0;
  }
  .basic-demo-report,
  .pro-quota-panel {
    padding: 1rem;
  }
  .basic-demo-report-header h3,
  .basic-plan-header .dash-title {
    font-size: 1.25rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .basic-demo-report-body ul,
  .basic-demo-signal small,
  .basic-demo-signal strong,
  .pro-quota-card span {
    overflow-wrap: anywhere;
  }
  .pro-quota-grid {
    grid-template-columns: 1fr;
  }
  .plans-header { margin-bottom: 1rem; }
  .plans-header-top { align-items: flex-start; flex-direction: column; gap: 0.35rem; }
  .plans-coupon-header { text-align: left; white-space: normal; }
  .plan-selection-card > p:not(.plan-selection-cancel-note) { margin-bottom: 6px; }
  .plan-selection-recommended {
    position: static;
    display: block;
    width: auto;
    margin: -0.8rem -0.8rem 0.75rem;
    border-bottom: 1px solid var(--emerald-accent);
    border-radius: 16px 16px 0 0;
  }
  .plans-comparison-scroll { overflow: visible; }
  .plans-comparison-table {
    display: block;
    min-width: 0;
    background: transparent;
  }
  .plans-comparison-table thead { display: none; }
  .plans-comparison-table tbody,
  .plans-comparison-table tr { display: block; }
  .plans-comparison-table tr {
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-card);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
  }
  .plans-comparison-table th,
  .plans-comparison-table td {
    display: block;
    width: auto;
    padding: 0.65rem 0.75rem;
    border: 0;
    border-bottom: 1px solid var(--border-card);
    font-size: 0.78rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .plans-comparison-table tr > :last-child { border-bottom: 0; }
  .plans-comparison-table tbody th {
    padding-block: 0.7rem;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.82rem;
  }
  .plans-comparison-table td {
    display: grid;
    grid-template-columns: minmax(4.5rem, 28%) minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
  }
  .plans-comparison-table td::before {
    color: var(--text-main);
    font-size: 0.68rem;
    font-weight: 700;
  }
  .plans-comparison-table td:nth-of-type(1)::before { content: "Basic"; }
  .plans-comparison-table td:nth-of-type(2)::before { content: "Basic Plus"; }
  .plans-comparison-table td:nth-of-type(3)::before { content: "Pro"; }
  .plans-comparison-table td:nth-of-type(4)::before { content: "Advanced"; }
  .report-domain-actions {
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .report-domain-actions .audited-domain-pill {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .report-domain-actions .new-query-btn {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
  .report-domain-actions .view-back-btn {
    padding: 0.45rem;
  }
  .report-domain-actions .view-back-btn span {
    display: none;
  }
  .scorecards-grid {
    grid-template-columns: 1fr;
  }

  .launch-coupon-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

.prompts-matrix-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.issues-table th,
.issues-table td,
.comp-table th,
.comp-table td {
  overflow-wrap: anywhere;
}

.modal-overlay {
  inset: 0;
  width: auto;
  height: auto;
}

.modal-card {
  min-width: 0;
}

.footer-links {
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    padding: 1rem;
    box-sizing: border-box;
    width: 100vw;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
  }

  .brand-logo {
    flex: 1 1 100%;
    gap: 0.5rem;
  }

  .brand-bold,
  .brand-light {
    font-size: 1.2rem;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  #auth-nav-container {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
  }

  .nav-login-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .user-profile-menu {
    max-width: 100%;
  }

  #view-home {
    min-height: calc(85vh - 120px);
  }

  .view-section {
    padding: 1.25rem 0.75rem 3rem;
  }

  .hero-app-icon-wrapper {
    width: 72px;
    height: 72px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    width: 100%;
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .search-input-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.75rem;
    border-radius: 20px;
  }

  .search-input-icon {
    position: absolute;
    top: 0.95rem;
    left: 1rem;
    margin: 0;
  }

  .domain-input {
    padding: 0.7rem 0.5rem 0.7rem 2.2rem;
  }

  .search-submit-btn {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .frictionless-chips {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }

  .chip-divider {
    display: none;
  }

  .ai-models-bar,
  .ai-model-chips {
    width: 100%;
  }

  .ai-models-bar {
    flex-direction: column;
    gap: 0.65rem;
  }

  .ai-model-chips {
    justify-content: center;
  }

  .scorecards-grid,
  .prompts-matrix-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-header-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-main-title {
    font-size: 1.5rem;
  }

  .section-heading h3 {
    font-size: 1.1rem;
  }

  .report-value-split {
    grid-template-columns: 1fr;
  }

  .split-divider-icon {
    display: none;
  }

  .conversion-cta-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .unlock-cta-btn {
    width: 100%;
  }

  .upsell-body-flex {
    grid-template-columns: 1fr;
  }

  .upsell-plans-row {
    grid-template-columns: 1fr;
  }

  .dash-tabs-bar,
  .code-editor-subtabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .dash-welcome-right {
    width: 100%;
    flex-wrap: wrap;
  }

  .dash-welcome-right .btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  .dash-title {
    font-size: 1.45rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .dash-tabs-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .dash-tab,
  .code-subtab {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .issues-table,
  .issues-table tbody,
  .issues-table tr,
  .issues-table td {
    display: block;
    width: 100%;
  }

  .issues-table tr {
    padding: 0.35rem 0;
  }

  .issues-table td {
    padding: 0.55rem 0.9rem;
    overflow-wrap: anywhere;
  }

  .issues-table td:first-child {
    white-space: nowrap;
  }

  .comp-table {
    table-layout: fixed;
  }

  .comp-table th,
  .comp-table td,
  .rewrite-box,
  .code-file-path,
  .code-syntax-block {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-left,
  .footer-links {
    width: 100%;
    min-width: 0;
  }

  .footer-brand {
    max-width: 100%;
    align-items: flex-start;
    line-height: 1.4;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
    align-items: center;
    justify-items: start;
  }

  .footer-language-toggle,
  .footer-links a {
    min-width: 0;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .brand-bold,
  .brand-light {
    font-size: 1.1rem;
  }

  .brand-logo {
    gap: 0.4rem;
  }

  .brand-badge {
    font-size: 0.58rem;
    padding: 2px 5px;
  }

  .nav-login-btn {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .nav-login-btn {
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 9.5vw, 2.2rem);
  }
}
/* OLAB Assist approved landing UX */
#auth-nav-container {
  order: 1;
}

.lang-toggle-container {
  order: 2;
}

.hero-free-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(59, 130, 246, 0.24));
  border-color: rgba(110, 231, 183, 0.62);
  color: #A7F3D0;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.16);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-value-proposition {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto 1rem;
  text-align: left;
}

.aeo-direct-answer {
  width: 100%;
  min-width: 0;
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem 0.5rem;
  text-align: left;
}

.aeo-direct-answer > h2,
.aeo-direct-answer > p {
  max-width: 900px;
  margin-right: 0;
  margin-left: 0;
}

.aeo-direct-answer > h2 {
  margin-bottom: 0.55rem;
  font-weight: 300;
  text-align: left;
}

.aeo-direct-answer > p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.aeo-faq {
  max-width: 900px;
  margin: 1rem 0 0;
  text-align: left;
}

.aeo-faq details {
  min-width: 0;
  text-align: left;
}

.aeo-faq summary {
  position: relative;
  cursor: pointer;
  padding-left: 1.35rem;
  font-weight: 300;
  list-style: none;
  overflow-wrap: anywhere;
  text-align: left;
}

.aeo-faq summary::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--text-main);
  content: "▸";
  font-size: 0.9em;
  line-height: 1.5;
}

.aeo-faq details[open] summary::before {
  content: "▾";
}

.aeo-faq details p {
  width: 100%;
  margin: 0.65rem 0 0;
  max-width: 820px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.65;
  overflow-wrap: anywhere;
  transition: opacity 560ms ease, transform 560ms ease;
}

.aeo-faq details.is-closing p {
  opacity: 0;
  transform: translateY(-0.35rem);
}

.aeo-faq details a {
  color: var(--text-main);
}

.value-card {
  min-width: 0;
  padding: 1.35rem;
  border-radius: 20px;
  border: 1px solid var(--border-card);
  background: rgba(17, 24, 39, 0.72);
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--glass-backdrop);
}

.value-card-free {
  border-color: rgba(16, 185, 129, 0.3);
}

.value-card-paid {
  border-color: rgba(192, 132, 252, 0.42);
  background: linear-gradient(145deg, rgba(30, 27, 75, 0.72), rgba(17, 24, 39, 0.8));
}

.value-card-aio {
  border-color: rgba(244, 114, 182, 0.38);
  background: linear-gradient(145deg, rgba(76, 29, 149, 0.56), rgba(17, 24, 39, 0.8));
}

.value-card-geo {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(145deg, rgba(8, 47, 73, 0.72), rgba(17, 24, 39, 0.8));
}

.value-card-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  padding: 0;
  margin: 0;
  cursor: default;
}

.value-card-toggle h2 {
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.value-card-toggle-icon {
  display: none;
}

.value-card-panel {
  margin-top: 0.8rem;
}

.value-card-kicker {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--emerald-accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.value-card-paid .value-card-kicker {
  color: var(--emerald-accent);
}

.value-card h2 {
  font-size: 1.12rem;
  line-height: 1.3;
  margin-bottom: 0.9rem;
}

.value-card-copy {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
  display: block;
  overflow: visible;
}

@media (min-width: 769px) {
  .hero-value-proposition .value-card-toggle h2 {
    min-height: 5.85rem;
  }

  .hero-value-proposition {
    margin-bottom: 0.35rem;
  }

  .ai-models-bar {
    transform: translateY(10px);
  }

  .hero-value-proposition .value-card {
    height: 100%;
  }

  .hero-value-proposition .value-card-copy {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
}

.value-card-paid-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.value-card-paid-header > div:first-child {
  min-width: 0;
}

.value-card-price {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  text-align: right;
  white-space: nowrap;
}

.price-label {
  color: var(--amber-warning);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.price-old {
  color: #FCA5A5;
  font-size: 0.85rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.value-card-price strong {
  color: #FFFFFF;
  font-size: 1.55rem;
  line-height: 1;
}

.value-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.value-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.value-card-list li svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
}

.value-card-free .value-card-list li svg {
  color: var(--emerald-accent);
}

.value-card-paid .value-card-list li svg {
  color: var(--lilac-accent);
}

.value-card-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-value-summary {
  grid-column: 1 / -1;
  margin: 0.15rem auto 0;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}

.geo-info-card {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.66);
  box-shadow: 0 12px 30px -18px rgba(59, 130, 246, 0.45);
  color: var(--text-secondary);
  text-align: left;
}

.geo-info-card summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-main);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

.geo-info-card summary::-webkit-details-marker {
  display: none;
}

.geo-info-card summary::after {
  content: '+';
  margin-left: auto;
  color: var(--lilac-accent);
  font-size: 1.2rem;
  line-height: 1;
}

.geo-info-card[open] summary::after {
  content: '−';
}

.geo-info-card summary svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--lilac-accent);
}

.geo-info-card p {
  max-width: 720px;
  margin: 0.8rem 0 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.model-chip > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-protocol-band {
  width: 100%;
  max-width: 1240px;
  margin: 1.35rem auto 0;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(192, 132, 252, 0.32);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.16));
  color: var(--lilac-accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.footer-protocol-band svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .report-header-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .report-main-title {
    font-size: 1.08rem;
    line-height: 1.25;
  }

  .report-main-subtitle {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .overall-score-box {
    width: 100%;
    gap: 0.6rem;
  }

  .score-ring-wrapper {
    width: 99px;
    height: 99px;
  }

  .score-number {
    font-size: 1.6rem;
  }

  .overall-label-title {
    font-size: 0.58rem;
  }

  .overall-status-badge {
    padding: 0.22rem 0.5rem;
    font-size: 0.6rem;
  }

  .scorecards-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
  }

  .report-score-card {
    padding: 0.58rem 0.65rem;
    border-radius: 11px;
  }

  .report-card-toggle {
    gap: 0.38rem;
  }

  .report-card-heading .card-title {
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .report-card-kicker,
  .report-card-status {
    font-size: 0.6rem;
  }

  .report-card-status {
    display: none;
  }

  .report-card-panel {
    margin: 0.45rem 0 0.05rem 1.7rem;
  }

  .report-card-panel .card-result-text {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .report-offers-section {
    margin-bottom: 1rem;
  }

  .report-offer-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .report-offer-card {
    padding: 0.72rem 0.8rem;
    border-radius: 11px;
  }

  .report-offer-card h4 {
    font-size: 0.82rem;
  }

  .report-offer-card p {
    min-height: 0;
    margin-bottom: 0.45rem;
    font-size: 0.7rem;
  }

  .hero-center-container,
  .hero-value-proposition,
  .accordion-card,
  .value-card-toggle,
  .value-card-panel {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-value-proposition {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .value-card {
    padding: 1.1rem;
    overflow: hidden;
  }

  .value-card-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
  }

  .value-card-toggle h2,
  .value-card-kicker,
  .value-card-toggle-icon {
    align-self: center;
  }

  .value-card-toggle h2 {
    flex: 1 1 auto;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .value-card-kicker {
    white-space: nowrap;
  }

  .value-card-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #E5E7EB;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.35s ease, background-color 0.35s ease;
  }

  .accordion-card .value-card-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.62s ease, opacity 0.5s ease, margin-top 0.45s ease;
  }

  .accordion-card.is-open .value-card-panel {
    margin-top: 0.65rem;
  }

  .accordion-card.is-open .value-card-toggle-icon {
    transform: rotate(45deg);
    background-color: rgba(255, 255, 255, 0.1);
  }

  .hero-value-summary {
    padding-inline: 0.1rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-free-note {
    gap: 0.45rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }

  .hero-free-pill {
    font-size: 0.7rem;
    padding: 0.34rem 0.62rem;
  }

  .value-card-paid-header {
    flex-direction: column;
    gap: 0.65rem;
  }

  .value-card-price {
    align-items: flex-start;
    text-align: left;
  }

  .hero-value-summary {
    grid-column: auto;
    font-size: 0.86rem;
  }

  .geo-info-card {
    margin-bottom: 1.25rem;
    padding: 0.8rem 0.9rem;
  }

  .footer-protocol-band {
    margin-top: 1rem;
    padding-inline: 0.75rem;
  }
}

@media (max-width: 420px) {
  .hero-free-badge {
    font-size: 0.7rem;
  }

  .value-card h2 {
    font-size: 1rem;
  }

  .value-card-list {
    font-size: 0.8rem;
  }
}
/* Strict correction: restore known-good landing layout and typography */
#view-home {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: auto;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: 2.84rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: normal;
  word-spacing: normal;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  word-spacing: normal;
}

.value-card,
.value-card h2,
.value-card-list,
.hero-value-summary,
.geo-info-card,
.footer-protocol-band {
  font-family: var(--font-sans);
  letter-spacing: normal;
  word-spacing: normal;
}

.value-card,
.value-card-list,
.hero-value-summary,
.geo-info-card,
.footer-protocol-band {
  font-weight: 400;
  line-height: 1.6;
}

.value-card h2 {
  font-weight: 400;
}

.value-card-copy {
  font-weight: 300;
}

@media (min-width: 769px) {
  .value-card h2 {
    min-height: 4.4rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
  }

  .brand-logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.35rem;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-bold,
  .brand-light {
    font-size: 1.05rem;
    letter-spacing: normal;
  }

  .brand-badge {
    flex: 0 0 auto;
    font-size: 0.55rem;
    padding: 2px 4px;
  }

  .nav-actions {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 0.35rem;
  }

  #auth-nav-container {
    flex: 0 1 auto;
  }

  .nav-login-btn {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0.45rem 0.55rem;
    gap: 0.3rem;
    white-space: nowrap;
  }

  .nav-login-btn span {
    font-size: 0;
  }

  .nav-login-btn span::after {
    display: inline-block;
    font-size: 0.68rem;
    line-height: 1.1;
  }

  html[lang="en"] .nav-login-btn span::after {
    content: "Sign in";
  }

  html[lang="es"] .nav-login-btn span::after {
    content: "Entrar";
  }

  html[lang="tr"] .nav-login-btn span::after {
    content: "Giriş";
  }

  .lang-btn {
    padding: 0.45rem 0.55rem;
  }

  .footer-language-dropdown {
    position: fixed;
    right: auto;
    left: 1rem;
    bottom: 4rem;
    width: 130px;
    max-width: calc(100vw - 2rem);
    transform: none;
  }

  #view-home {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.98rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
  }
}

@media (max-width: 420px) {
  .navbar {
    padding: 0.75rem 0.6rem;
  }

  .logo-app-icon-wrapper {
    width: 32px;
    height: 32px;
  }

  .brand-bold,
  .brand-light {
    font-size: 0.95rem;
  }

  .brand-badge {
    font-size: 0.5rem;
    padding: 2px 3px;
  }

  .nav-login-btn,
  .lang-btn {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }
}

/* Strict UI correction: locked mobile controls, search alignment, and scope layout */
.search-input-wrapper {
  position: relative;
  overflow: visible;
  isolation: isolate;
  align-items: center;
}

.search-input-wrapper::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 300deg,
    rgba(59, 130, 246, 0.32) 326deg,
    rgba(192, 132, 252, 0.42) 342deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: searchBorderSweep 10s linear infinite;
}

.search-input-wrapper > * {
  position: relative;
  z-index: 1;
}

.search-input-icon {
  position: static;
  align-self: center;
  margin: 0 0.75rem 0 0;
  transform: none;
}

.domain-input {
  min-width: 0;
  height: 2.35rem;
  padding: 0;
  align-self: center;
  line-height: 1.3;
}

@keyframes searchBorderSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.search-submit-btn {
  background: linear-gradient(110deg, #ff00ff, #2563eb, #ff00ff);
  background-size: 200% 100%;
  animation: report-fix-gradient 4s linear infinite;
}

@keyframes searchButtonGradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.frictionless-chips {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  justify-content: stretch;
  gap: 0.5rem;
  margin: 0 auto 2.5rem;
}

.trust-chip {
  width: 100%;
  min-width: 0;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(16, 185, 129, 0.54);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.96), rgba(34, 197, 94, 0.92));
  box-shadow: 0 12px 24px -18px rgba(16, 185, 129, 0.95);
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.ai-models-bar {
  width: 100%;
  display: block;
}

.ai-models-label {
  display: block;
  margin-bottom: 0.75rem;
  text-align: left;
}

.ai-model-chips {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  white-space: normal;
}

.model-chip {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
}

@media (max-width: 768px) {
  .nav-actions {
    align-items: center;
    gap: 0.5rem;
  }

  #auth-nav-container {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    order: 2;
  }

  .lang-toggle-container { display: none; }

  .user-profile-menu {
    max-width: min(48vw, 180px);
  }

  .user-display-name {
    max-width: min(32vw, 120px);
  }

  .mobile-plan-language-options {
    display: grid;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--border-card);
  }

  .nav-login-btn,
  .lang-btn {
    box-sizing: border-box;
    width: 78px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 9999px;
    align-items: center;
    justify-content: center;
  }

  .nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }

  .lang-btn {
    gap: 0.25rem;
  }

  .google-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-right: 0;
  }

  .lang-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .lang-arrow {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  #current-lang-label {
    font-size: 0.72rem;
    line-height: 1;
  }

  .search-input-wrapper {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 20px;
  }

  .search-input-icon {
    position: static;
    grid-column: 1;
    grid-row: 1;
    width: 20px;
    height: 20px;
    margin: 0;
  }

  .domain-input {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 2.2rem;
    min-width: 0;
    padding: 0;
  }

  .search-submit-btn {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .frictionless-chips {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    margin-bottom: 2.5rem;
  }

  .ai-models-label {
    margin-bottom: 0.65rem;
  }

  .ai-model-chips {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .model-chip {
    min-height: 2.6rem;
  }
}

@media (max-width: 420px) {
  .nav-login-btn,
  .lang-btn {
    width: 72px;
    height: 34px;
    min-height: 34px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-input-wrapper::before,
  .search-submit-btn {
    animation: none;
  }
}

/* Locked final corrections: trust row, seamless motion, and desktop control parity */
.search-input-wrapper::before {
  padding: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(59, 130, 246, 0.22) 14%,
    rgba(192, 132, 252, 0.34) 24%,
    rgba(59, 130, 246, 0.22) 34%,
    transparent 50%,
    transparent 50%,
    rgba(59, 130, 246, 0.22) 64%,
    rgba(192, 132, 252, 0.34) 74%,
    rgba(59, 130, 246, 0.22) 84%,
    transparent 100%
  ) 0 0 / 200% 100% border-box;
  transform: none;
  animation: searchBorderSweepLinear 10s linear infinite;
}

@keyframes searchBorderSweepLinear {
  from { background-position: 0 0; }
  to { background-position: 100% 0; }
}

.search-submit-btn {
  background-image: linear-gradient(110deg, #ff00ff, #2563eb, #ff00ff);
  background-size: 200% 100%;
  animation: report-fix-gradient 4s linear infinite;
}

@keyframes searchButtonGradientContinuous {
  from { background-position: 0 50%; }
  to { background-position: 100% 50%; }
}

@media (max-width: 768px) {
  .frictionless-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .trust-chip {
    min-width: 0;
    padding: 0.34rem 0.24rem;
    font-size: clamp(0.53rem, 2.45vw, 0.67rem);
    line-height: 1.15;
    white-space: normal;
    overflow: hidden;
    text-overflow: initial;
    word-break: break-word;
  }
}

@media (min-width: 769px) {
  .nav-login-btn,
  .lang-btn {
    box-sizing: border-box;
    height: 2.35rem;
    min-height: 2.35rem;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-input-wrapper::before,
  .search-submit-btn {
    animation: none;
  }
}

/* Phase 2.1 payment lock */
.unlock-cta-btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.unlock-cta-btn.admin-access-active {
  cursor: pointer;
  opacity: 1;
}

.payment-access-status {
  flex: 1 1 100%;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: right;
}