:root {
  
  --color-primary: #00A884;
  --color-primary-hover: #008f70;
  --color-primary-light: #E6F7F2;
  --color-primary-dark: #1F6B5D;
  
  
  --banner-grad-teal: linear-gradient(135deg, #1C6357 0%, #297B6D 50%, #3B9282 100%);
  --banner-grad-emerald: linear-gradient(135deg, #135246 0%, #1A6B5B 50%, #288C78 100%);
  --banner-grad-cyan: linear-gradient(135deg, #1B5C66 0%, #217582 50%, #2E97A7 100%);

  
  --color-bg-page: #F6F8F9;
  --color-bg-frame: #FFFFFF;
  --color-text-main: #111827;
  --color-text-muted: #64748B;
  --color-text-subtle: #94A3B8;
  --color-border: #E2E8F0;
  --color-border-subtle: rgba(0, 0, 0, 0.06);

  
  --color-gold: #D4AF37;
  --color-gold-light: #F3E5AB;

  
  --font-brand: 'Comfortaa', 'Outfit', cursive, sans-serif;
  --font-display: 'Comfortaa', 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', 'Noto Sans Arabic', Tahoma, sans-serif;
  --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
  --font-museo: 'MuseoModerno', cursive, sans-serif;
  --font-hightower: 'High Tower Text', 'High Tower', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

  
  --shadow-frame: 0 20px 60px rgba(0, 0, 0, 0.04);
  --shadow-search: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.07);
  --shadow-floating: 0 22px 50px rgba(0, 0, 0, 0.10);
  
  
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-bg-page);
  padding: 16px 20px 40px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

.top-announcement-bar {
  width: 100%;
  max-width: 1360px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px 14px;
  box-sizing: border-box;
}

.official-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  max-width: 100%;
}

.badge-star-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-outer-wrapper {
  width: 100%;
  max-width: 1360px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-x: hidden;
}

.app-frame-container {
  width: 100%;
  background: var(--color-bg-frame);
  border-radius: 28px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-frame);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  background: transparent;
}

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

.brand-mascot {
  width: 44px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
  transition: transform var(--transition-smooth);
}

.brand-mascot:hover {
  transform: scale(1.08) rotate(-4deg);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.3px;
}

.beta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-inter);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: lowercase;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-switcher-pill:hover {
  border-color: var(--color-primary);
  background: #F8FAFC;
}

.lang-opt {
  font-weight: 400;
}

.lang-opt.active {
  color: var(--color-primary);
  font-weight: 400;
}

.lang-divider {
  color: #CBD5E1;
  font-size: 0.8rem;
  font-weight: 400;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 42px 24px 36px;
}

.hero-content {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-urdu-title {
  font-family: var(--font-hightower);
  font-size: 2.35rem;
  font-weight: 400;
  color: var(--color-text-main);
  line-height: 1.45;
  margin-bottom: 16px;
  direction: rtl;
}

.hero-main-title {
  font-family: var(--font-museo);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.7px;
  line-height: 1.25;
  margin-bottom: 22px;
}

.hero-subtitle-en {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero-subtitle-ur {
  font-family: var(--font-urdu);
  font-size: 0.88rem;
  color: var(--color-text-subtle);
  font-weight: 400;
  line-height: 1.75;
  direction: rtl;
  margin-bottom: 36px;
}

.search-form {
  width: 100%;
  max-width: 740px;
  margin-bottom: 0;
}

.search-input-pill {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 8px 10px 8px 24px;
  box-shadow: var(--shadow-search);
  transition: all var(--transition-smooth);
}

.search-input-pill:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), 0 0 0 3px rgba(0, 168, 132, 0.12);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.02rem;
  font-family: var(--font-body);
  color: var(--color-text-main);
  background: transparent;
  padding: 10px 0;
}

.search-input::placeholder {
  color: var(--color-text-subtle);
  font-weight: 400;
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}



.submit-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 168, 132, 0.3);
  transition: all var(--transition-fast);
}

.submit-circle-btn:hover {
  background: var(--color-primary-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 168, 132, 0.4);
}

.suggestion-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  width: 100%;
}

.suggestion-pill {
  background: #ECEFF1;
  border: 1px solid transparent;
  color: #475569;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.suggestion-pill:hover {
  background: #E2E8F0;
  color: var(--color-text-main);
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.suggestion-pill:active {
  transform: translateY(0);
  background: #CBD5E1;
}

.pulse-highlight {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.25) !important;
  transition: all 0.2s ease;
}

.carousel-outer-section {
  display: flex;
  justify-content: center;
  padding: 24px 24px 44px;
}

.carousel-container-card {
  width: 100%;
  max-width: 820px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.carousel-track {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 16px;
  border-radius: 18px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.carousel-track:active,
.carousel-track.is-dragging {
  cursor: grabbing !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 1;
  user-select: none;
  -webkit-user-select: none;
}

.feature-banner-card {
  border-radius: 18px;
  padding: 36px 40px;
  min-height: 300px;
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  user-select: none;
  -webkit-user-select: none;
}

.banner-watermark-overlay,
.watermark-card-svg {
  pointer-events: none;
}

.banner-theme-teal {
  background: var(--banner-grad-teal);
}

.banner-theme-emerald {
  background: var(--banner-grad-emerald);
}

.banner-theme-cyan {
  background: var(--banner-grad-cyan);
}

.banner-watermark-overlay {
  position: absolute;
  right: -20px;
  top: -10px;
  width: 400px;
  height: 260px;
  pointer-events: none;
  opacity: 0.35;
}

.watermark-card-svg {
  width: 100%;
  height: 100%;
}

.banner-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 32px;
}

.banner-pill-badge {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #FFFFFF;
}

.banner-verified-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.banner-body {
  position: relative;
  z-index: 2;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.25;
  min-height: 2.5em;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.banner-description {
  font-size: 0.975rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
}

.carousel-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-arrow-btn:hover {
  background: #F8FAFC;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.carousel-dots-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dots-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dots-indicator .dot.active {
  background: #111827;
  width: 10px;
  height: 10px;
}

.roadmap-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px 60px;
  position: relative;
}

.roadmap-header {
  text-align: center;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.roadmap-title {
  font-family: var(--font-museo);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.roadmap-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 26px;
}

.btn-outline-pill {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 9999px;
  padding: 9px 26px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline-pill:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.showcase-elements-stage {
  width: 100%;
  max-width: 1140px;
  height: 580px;
  position: relative;
  margin: 20px auto 0;
}

.floating-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-floating);
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  z-index: 2;
  cursor: default;
}

.floating-card:hover {
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.14);
}

.tracking-card {
  left: 20px;
  top: 30px;
  width: 350px;
  padding: 24px 26px;
  transform: rotate(-3.5deg);
  z-index: 3;
}

.tracking-card:hover {
  transform: rotate(-1.5deg) translateY(-6px) scale(1.02);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tracking-id-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.status-chip.mint-chip {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.stepper-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-num-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-label {
  font-size: 0.8875rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.step-label.step-muted {
  color: #94A3B8;
  font-weight: 400;
}

.token-tax-card {
  left: 50%;
  top: 170px;
  transform: translateX(-50%);
  width: 390px;
  padding: 26px 28px;
  z-index: 4;
}

.token-tax-card:hover {
  transform: translateX(-50%) translateY(-6px) scale(1.02);
}

.tax-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tax-card-subheading {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

.tax-card-regno {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.tax-card-divider {
  border: none;
  border-top: 1px solid #F1F5F9;
  margin: 16px 0 18px;
}

.tax-card-details-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tax-detail-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.detail-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.detail-value.tax-due-green {
  color: var(--color-primary);
}

.tax-card-psid-box {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.psid-label {
  font-size: 0.875rem;
  color: #475569;
}

.psid-code {
  font-family: monospace;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: 0.5px;
}

.copy-code-btn {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.copy-code-btn:hover {
  background: var(--color-primary-light);
  text-decoration: underline;
}

.photo-check-card {
  right: 60px;
  top: 15px;
  width: 330px;
  padding: 24px 26px;
  transform: rotate(3.5deg);
  z-index: 3;
}

.photo-check-card:hover {
  transform: rotate(1.5deg) translateY(-6px) scale(1.02);
}

.photo-card-header {
  margin-bottom: 16px;
}

.photo-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.photo-dropzone-box {
  border: 2px dashed #E2E8F0;
  background: #F8FAFC;
  border-radius: 14px;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.photo-dropzone-box:hover {
  border-color: var(--color-primary);
  background: #F1FDF9;
}

.photo-silhouette-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-status-text {
  font-size: 0.8125rem;
  color: #94A3B8;
  font-weight: 500;
}

.btn-submit-renewal {
  width: 100%;
  background: var(--color-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-submit-renewal:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 14px rgba(0, 168, 132, 0.25);
}

.floating-passport-booklet {
  position: absolute;
  right: 50px;
  top: 290px;
  width: 205px;
  height: 295px;
  perspective: 1000px;
  z-index: 5;
  transform: rotate(7.5deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.floating-passport-booklet:hover {
  transform: rotate(4deg) translateY(-10px) scale(1.04);
}

.passport-leather-cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #074726 0%, #053b1f 60%, #032b16 100%);
  border-radius: 14px;
  box-shadow: 
    0 22px 50px rgba(5, 59, 31, 0.45),
    -4px 0 10px rgba(0, 0, 0, 0.3) inset,
    2px 2px 4px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  overflow: hidden;
  padding: 20px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.passport-spine-crease {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.passport-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.passport-top-text {
  font-family: Georgia, serif;
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  color: var(--color-gold-light);
  opacity: 0.95;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
}

.passport-country-name {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold-light);
  margin-top: 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.passport-gold-emblem-ring {
  width: 76px;
  height: 76px;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.passport-title {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--color-gold-light);
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.passport-chip-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.chip-icon-svg {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}

.passport-chip-text {
  font-family: monospace;
  font-size: 0.56rem;
  letter-spacing: 1.2px;
  color: var(--color-gold);
  opacity: 0.9;
}

.discovery-links-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 24px 30px;
}

.discovery-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 50px;
}

.discovery-nav-item {
  display: flex;
  justify-content: center;
}

.discovery-link {
  font-family: var(--font-museo);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-main);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition-fast);
}

.discovery-link:hover {
  color: var(--color-primary);
}

.discovery-link.active-link {
  color: var(--color-primary);
  border-bottom: 2.5px solid var(--color-primary);
}

.giant-brand-showcase {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 20px;
}

.giant-brand-text {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 11.5vw, 10.5rem);
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -2.5px;
  line-height: 0.95;
  text-align: center;
  user-select: none;
}

.app-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 36px 8px;
  border-top: 1px solid var(--color-border);
  margin-top: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 0.8125rem;
  font-weight: 500;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-link {
  color: #64748B;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-powered-divider {
  color: #CBD5E1;
}

.footer-powered-text {
  color: #111827;
  font-weight: 600;
}

.toast-notification {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #111827;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  color: var(--color-primary);
  display: flex;
  align-items: center;
}

[dir="rtl"] {
  font-family: var(--font-urdu), var(--font-body);
}

[dir="rtl"] .navbar-brand {
  flex-direction: row-reverse;
}

[dir="rtl"] .search-input-pill {
  padding: 8px 24px 8px 10px;
}

[dir="rtl"] .search-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .banner-header-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .banner-body {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .tracking-card {
  transform: rotate(3.5deg) translateY(-25px);
}

[dir="rtl"] .photo-check-card {
  transform: rotate(-3.5deg) translateY(-25px);
}

[dir="rtl"] .floating-passport-booklet {
  right: auto;
  left: 15px;
  transform: rotate(-8deg);
}

[dir="rtl"] .app-footer-bar {
  flex-direction: row-reverse;
}

@media (max-width: 1080px) {
  .showcase-elements-stage {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
    height: auto !important;
    min-height: auto !important;
    padding: 10px 16px 30px !important;
    margin: 10px auto 0 !important;
    width: 100% !important;
  }

  .floating-card,
  .tracking-card,
  .token-tax-card,
  .photo-check-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
  }

  .floating-card:hover,
  .tracking-card:hover,
  .token-tax-card:hover,
  .photo-check-card:hover {
    transform: translateY(-4px) !important;
  }

  .floating-passport-booklet {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 16px auto 0 !important;
  }

  .floating-passport-booklet:hover {
    transform: translateY(-6px) scale(1.02) !important;
  }
}

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

  body {
    padding: 6px 6px 20px;
  }

  .top-announcement-bar {
    padding: 8px 12px 10px;
  }

  .official-verified-badge {
    font-size: 0.72rem;
    text-align: center;
    line-height: 1.35;
  }

  .app-outer-wrapper {
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-frame-container {
    border-radius: 20px;
    max-width: 100%;
    overflow: hidden;
  }

  .navbar {
    padding: 14px 16px;
    gap: 8px;
    width: 100%;
  }

  .brand-mascot {
    width: 34px;
    height: 38px;
  }

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

  .beta-pill {
    display: none;
  }

  .navbar-actions {
    gap: 8px;
  }

  .lang-switcher-pill {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .hero-section {
    padding: 24px 14px 24px;
    width: 100%;
  }

  .hero-urdu-title {
    font-size: 1.85rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .hero-main-title {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
    line-height: 1.28;
    margin-bottom: 18px;
  }

  .hero-subtitle-en {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .hero-subtitle-ur {
    font-size: 0.82rem;
    line-height: 1.75;
    margin-bottom: 28px;
  }

  .search-form {
    width: 100%;
    margin-bottom: 0;
  }

  .suggestion-pills-row {
    gap: 8px;
    margin-top: 14px;
  }

  .suggestion-pill {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .search-input-pill {
    padding: 5px 6px 5px 14px;
    width: 100%;
  }

  .search-input {
    font-size: 0.85rem;
    min-width: 0;
  }

  .search-input::placeholder {
    font-size: 0.8rem;
  }

  .search-actions {
    gap: 4px;
  }



  .submit-circle-btn {
    width: 36px;
    height: 36px;
  }

  .submit-circle-btn svg {
    width: 17px;
    height: 17px;
  }



  .carousel-outer-section {
    padding: 12px 10px 24px;
    width: 100%;
  }

  .carousel-container-card {
    padding: 10px;
    border-radius: 18px;
    width: 100%;
  }

  .feature-banner-card {
    padding: 22px 18px;
    min-height: 230px;
    border-radius: 14px;
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  .banner-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }

  .banner-pill-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .banner-verified-label {
    font-size: 0.8rem;
  }

  .banner-title {
    font-size: 1.5rem;
    line-height: 1.25;
    min-height: 2.5em;
    margin-bottom: 8px;
  }

  .banner-description {
    font-size: 0.88rem;
  }

  .roadmap-section {
    padding: 36px 14px 36px;
    width: 100%;
  }

  .roadmap-header {
    margin-bottom: 24px;
    width: 100%;
  }

  .roadmap-title {
    font-size: clamp(1.75rem, 6.5vw, 2.3rem);
    text-align: center;
  }

  .roadmap-subtitle {
    font-size: 0.9rem;
    padding: 0 8px;
  }

  .discovery-links-section {
    padding: 30px 14px 20px;
    width: 100%;
  }

  .discovery-nav-list {
    gap: 12px;
    margin-bottom: 30px;
  }

  .discovery-link {
    font-size: 1.1rem;
  }

  .giant-brand-text {
    font-size: clamp(2rem, 10vw, 4.5rem);
    letter-spacing: -1px;
    word-break: break-all;
  }

  .app-footer-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 18px 12px 10px;
  }

  .footer-left {
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
  }

  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 12px;
  }

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

  .brand-mascot {
    width: 30px;
    height: 34px;
  }

  .navbar-actions {
    gap: 6px;
  }

  .lang-switcher-pill {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .hero-urdu-title {
    font-size: 1.55rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .hero-main-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .hero-subtitle-en {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 8px;
  }

  .hero-subtitle-ur {
    font-size: 0.76rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .suggestion-pills-row {
    gap: 6px;
    margin-top: 12px;
  }

  .suggestion-pill {
    padding: 5px 12px;
    font-size: 0.74rem;
  }

  .search-input-pill {
    padding: 3px 4px 3px 10px;
  }

  .search-input::placeholder {
    font-size: 0.75rem;
  }

  .showcase-elements-stage {
    padding: 8px 6px 24px !important;
  }

  .floating-card {
    padding: 18px 14px !important;
  }

  .tax-card-psid-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .copy-code-btn {
    align-self: flex-start;
  }

  .giant-brand-text {
    font-size: clamp(1.8rem, 9.5vw, 3.2rem);
    letter-spacing: -0.5px;
  }
}

#landingView {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

#landingView.zoomed-out {
  transform: scale(0.93) translateY(-22px);
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
}

/* Document scroll lock when chat view is open (prevents external scroller & scroll chaining) */
html.chat-mode-active,
body.chat-mode-active {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none !important;
}

body.chat-mode-active {
  padding: 0 !important;
}

body.chat-mode-active #landingView {
  max-height: 100vh !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.chat-mode-active .top-announcement-bar {
  display: none !important;
}

.chat-fullscreen-view {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999;
  background-color: #FAF9F5;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  filter: blur(6px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
  overflow: hidden;
  overscroll-behavior: contain;
}

.chat-fullscreen-view.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  filter: blur(0);
}

.chat-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: rgba(250, 249, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chat-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-back-btn:hover {
  background: #F1F0EB;
  color: #0F172A;
  border-color: rgba(0, 0, 0, 0.14);
}

.chat-brand-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-brand-mascot {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.chat-brand-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  color: #1E293B;
}

.chat-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748B;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-new-btn:hover {
  background: #FFFFFF;
  color: #0F172A;
  border-color: rgba(0, 0, 0, 0.14);
}

.chat-scroll-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.chat-messages-container {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.chat-msg-row {
  display: flex;
  width: 100%;
  animation: chatMsgFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes chatMsgFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg-row.user {
  justify-content: flex-end;
}

.chat-bubble-user {
  max-width: 80%;
  background: #ECEBE5;
  color: #1F1E1D;
  border-radius: 20px 20px 4px 20px;
  padding: 12px 18px;
  font-size: 0.96rem;
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  word-break: break-word;
}

.chat-msg-row.assistant {
  justify-content: flex-start;
}

.chat-bubble-assistant {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.claude-thinking-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.claude-thinking-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 2px 0;
  cursor: pointer;
  color: #64748B;
  font-size: 0.85rem;
  font-family: var(--font-body);
  transition: color 0.15s ease;
  user-select: none;
}

.claude-thinking-trigger:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #1E293B;
}

.claude-thinking-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.claude-thinking-dot-wrapper {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.claude-thinking-dot-ping {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00A884;
  animation: thinkingDotPing 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.claude-thinking-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00A884;
  animation: thinkingDotBlink 1.1s ease-in-out infinite;
  display: block;
}

@keyframes thinkingDotPing {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes thinkingDotBlink {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.claude-thinking-container.thinking-done .claude-thinking-dot-ping {
  display: none;
}

.claude-thinking-container.thinking-done .claude-thinking-dot {
  animation: none;
  background: #94A3B8;
  opacity: 0.75;
  transform: none;
}

@keyframes claudeTextShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.claude-thinking-label {
  font-weight: 500;
  color: #64748B;
  display: inline-block;
  transition: color 0.2s ease;
}

.claude-thinking-label.claude-shimmer-active {
  background: linear-gradient(
    90deg,
    #64748B 0%,
    #0F172A 25%,
    #00A884 50%,
    #0F172A 75%,
    #64748B 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: claudeTextShimmer 2.2s linear infinite;
}

.claude-thinking-duration {
  font-size: 0.74rem;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
  margin-left: 2px;
}

.claude-thinking-chevron {
  width: 13px;
  height: 13px;
  color: #94A3B8;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 1px;
}

.claude-thinking-container.expanded .claude-thinking-chevron {
  transform: rotate(180deg);
}

.claude-thinking-content {
  display: none;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 2px 0 4px;
  animation: thinkingDropIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.claude-thinking-container.expanded .claude-thinking-content {
  display: block;
}

@keyframes thinkingDropIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cursor-steps-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cursor-step-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 3px 0;
}

.cursor-step-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748B;
}

.cursor-step-status-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-spinner {
  animation: stepSpin 0.9s linear infinite;
}

@keyframes stepSpin {
  100% {
    transform: rotate(360deg);
  }
}

.step-check {
  color: #00A884;
}

.cursor-step-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #64748B;
  flex-shrink: 0;
}

.cursor-step-type-icon svg {
  display: block;
  color: #64748B;
  flex-shrink: 0;
}

.cursor-step-title {
  color: #64748B;
  font-weight: 500;
}

.cursor-step-body {
  margin-top: 3px;
  padding-left: 22px;
  font-size: 0.8rem;
  color: #64748B;
}

.cursor-step-query {
  display: inline-block;
  background: rgba(0, 0, 0, 0.04);
  border: none;
  border-radius: 4px;
  padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: #334155;
  word-break: break-all;
}

.cursor-step-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cursor-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.04);
  border: none;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.76rem;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}

.cursor-source-chip:hover {
  background: rgba(0, 168, 132, 0.1);
  color: #00A884;
}

.cursor-source-chip svg {
  color: #94A3B8;
  flex-shrink: 0;
}

.cursor-source-chip:hover svg {
  color: #00A884;
}

.cursor-step-desc {
  color: #64748B;
  line-height: 1.45;
}

.assistant-response-body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.62;
  color: #1F1E1D;
  word-break: break-word;
  letter-spacing: -0.01em;
}

.assistant-response-body p {
  margin: 0 0 0.65rem 0;
  line-height: 1.62;
}

.assistant-response-body p:last-child {
  margin-bottom: 0;
}

.assistant-response-body h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0.95rem 0 0.35rem;
  line-height: 1.35;
}

.assistant-response-body h2 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0.85rem 0 0.3rem;
  line-height: 1.35;
}

.assistant-response-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0F172A;
  margin: 0.8rem 0 0.25rem;
  line-height: 1.4;
}

.assistant-response-body h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0F172A;
  margin: 0.7rem 0 0.2rem;
  line-height: 1.4;
}

.assistant-response-body h1:first-child,
.assistant-response-body h2:first-child,
.assistant-response-body h3:first-child,
.assistant-response-body h4:first-child {
  margin-top: 0;
}

.assistant-response-body ul,
.assistant-response-body ol {
  margin: 0.25rem 0 0.65rem 0;
  padding-left: 1.35rem;
}

.assistant-response-body ul {
  list-style-type: disc;
}

.assistant-response-body ol {
  list-style-type: decimal;
}

.assistant-response-body li {
  margin-bottom: 0.2rem;
  line-height: 1.58;
  color: #1F1E1D;
}

.assistant-response-body li:last-child {
  margin-bottom: 0;
}

.assistant-response-body li > p {
  margin: 0;
  display: inline;
}

.assistant-response-body strong {
  font-weight: 600;
  color: #0F172A;
}

.assistant-response-body em {
  font-style: italic;
}

.assistant-response-body code {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid #E5E3DC;
  border-radius: 4px;
  padding: 0.15em 0.4em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  color: #1F1E1D;
  word-break: break-all;
}

.assistant-response-body pre {
  background: #1E293B;
  color: #F8FAFC;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 1rem 0;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.5;
}

.assistant-response-body pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.assistant-response-body blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid #00A884;
  color: #706E6B;
  font-style: italic;
}

.assistant-response-body a {
  color: #00A884;
  text-decoration: underline;
  text-underline-offset: 2.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.assistant-response-body a:hover {
  color: #008F6F;
}

.assistant-response-body hr {
  border: none;
  border-top: 1px solid #E5E3DC;
  margin: 1.25rem 0;
}

.chat-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.85rem 0 1rem;
  border: 1px solid #E5E3DC;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(31, 30, 29, 0.04);
}

.chat-markdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #1F1E1D;
  text-align: left;
}

.chat-markdown-table thead {
  background: #F3F1EB;
  border-bottom: 2px solid #E5E3DC;
}

.chat-markdown-table th {
  padding: 10px 14px;
  font-weight: 600;
  color: #1F1E1D;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.chat-markdown-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #EFECE6;
  vertical-align: middle;
  color: #1F1E1D;
}

.chat-markdown-table tbody tr:last-child td {
  border-bottom: none;
}

.chat-markdown-table tbody tr:nth-child(even) {
  background: rgba(250, 249, 245, 0.75);
}

.chat-markdown-table tbody tr:hover {
  background: #ECEBE5;
}

.chat-markdown-table td a {
  color: #00A884;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2.5px;
}

.chat-markdown-table td a:hover {
  color: #008F6F;
}

.chat-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.chat-table-wrapper::-webkit-scrollbar-track {
  background: #FAF9F5;
  border-radius: 999px;
}

.chat-table-wrapper::-webkit-scrollbar-thumb {
  background: #D8D6CD;
  border-radius: 999px;
}

.chat-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #BFBCB0;
}

.assistant-response-body h5 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1F1E1D;
  margin: 0.6rem 0 0.2rem;
  line-height: 1.4;
}

.assistant-response-body h6 {
  font-size: 0.84rem;
  font-weight: 600;
  color: #706E6B;
  margin: 0.5rem 0 0.15rem;
  line-height: 1.4;
}

.assistant-response-body del {
  color: #9E9C94;
  text-decoration: line-through;
}

.assistant-response-body li.task-list-item {
  list-style-type: none;
  margin-left: -1rem;
}

.assistant-response-body li.task-list-item input[type="checkbox"] {
  margin-right: 0.4rem;
  accent-color: #00A884;
}

[dir="rtl"] .chat-markdown-table {
  text-align: right;
}

[dir="rtl"] .assistant-response-body li.task-list-item {
  margin-left: 0;
  margin-right: -1rem;
}

[dir="rtl"] .assistant-response-body li.task-list-item input[type="checkbox"] {
  margin-right: 0;
  margin-left: 0.4rem;
}

.chat-bottom-bar {
  flex-shrink: 0;
  background: linear-gradient(to top, #FAF9F5 80%, rgba(250, 249, 245, 0) 100%);
  padding: 12px 24px 20px;
  display: flex;
  justify-content: center;
}

.chat-bottom-inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.claude-composer-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  padding: 14px 16px 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.claude-composer-card:focus-within {
  border-color: #94A3B8;
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.08), 0 0 0 1px #94A3B8;
}

.claude-composer-textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.5;
  color: #0F172A;
  resize: none;
  min-height: 48px;
  max-height: 160px;
  padding: 0;
}

.claude-composer-textarea::placeholder {
  color: #94A3B8;
}

.claude-composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 2px;
}

.claude-composer-toolbar-spacer {
  flex: 1;
}

.claude-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.claude-send-btn.active,
.claude-send-btn:not(:disabled) {
  background: #00A884;
  color: #FFFFFF;
  cursor: pointer;
  transform: scale(1.02);
}

.claude-send-btn:not(:disabled):hover {
  background: #008F6F;
  transform: scale(1.06);
}

.chat-disclaimer-text {
  font-size: 0.72rem;
  color: #94A3B8;
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .chat-header-bar {
    padding: 10px 16px;
  }
  .chat-scroll-area {
    padding: 20px 14px 16px;
  }
  .chat-bubble-user {
    max-width: 88%;
    font-size: 0.92rem;
    padding: 10px 14px;
  }
  .chat-bottom-bar {
    padding: 8px 14px 14px;
  }
  .claude-composer-card {
    padding: 10px 12px 8px;
    border-radius: 18px;
  }
}

