:root {
  --vc-teal: #0a6b6b;
  --vc-teal-dark: #064848;
  --vc-teal-deep: #043535;
  --vc-gold: #f5c518;
  --vc-gold-light: #ffd84d;
  --vc-cream: #f5f0e6;
  --vc-charcoal: #0d1114;
  --vc-charcoal-mid: #151c22;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--vc-charcoal);
}

.urdu {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  line-height: 1.9;
}

.hero-gradient {
  background: linear-gradient(165deg, #0a1218 0%, #0d1f24 35%, #0a3030 70%, #064040 100%);
}

.brand-vibe {
  color: #2dd4bf;
  text-shadow: 0 0 24px rgba(45, 212, 191, 0.45);
}

.brand-chhat {
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.pill-teal {
  background: linear-gradient(90deg, var(--vc-teal) 0%, #0d8a8a 100%);
  box-shadow: 0 4px 20px rgba(10, 107, 107, 0.5);
}

.feature-ring {
  box-shadow: 0 0 0 4px var(--vc-teal), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 107, 107, 0.2);
}

.trust-bar {
  background: linear-gradient(90deg, var(--vc-teal-deep) 0%, var(--vc-teal) 50%, var(--vc-teal-deep) 100%);
}

.coming-soon-glow {
  background: linear-gradient(135deg, rgba(10, 107, 107, 0.35) 0%, rgba(245, 197, 24, 0.12) 100%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-mockup {
  border-radius: 2rem;
  border: 3px solid #2a353d;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
  width: 28%;
  height: 22px;
  background: #0a0e12;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}

.qr-box {
  background: #fff;
  border: 3px solid var(--vc-teal);
  border-radius: 8px;
}

.ribbon-header {
  background: linear-gradient(90deg, var(--vc-teal-dark), var(--vc-teal));
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
}

.logo-ring {
  background: conic-gradient(from 180deg, var(--vc-gold), var(--vc-teal), var(--vc-gold));
  padding: 3px;
}

.logo-inner {
  background: radial-gradient(circle at 30% 30%, #1a2830, #0d1519);
}

.app-logo {
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.app-logo--hero {
  width: 100%;
  height: 100%;
  padding: 0.35rem;
  filter: drop-shadow(0 4px 16px rgba(245, 197, 24, 0.4));
}

.app-logo--phone {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 0.5rem;
  filter: drop-shadow(0 2px 10px rgba(45, 212, 191, 0.35));
}

.app-logo--wordmark {
  height: 2.75rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 14px rgba(245, 197, 24, 0.35));
}

@media (min-width: 640px) {
  .app-logo--wordmark {
    height: 3.25rem;
    max-width: 13rem;
  }
}

.feature-grid-six {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .feature-grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .feature-grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.qr-code-target {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  min-width: 140px;
  min-height: 140px;
}

.qr-code-target canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

@keyframes pulse-gold {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.badge-soon {
  animation: pulse-gold 2.5s ease-in-out infinite;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(10, 107, 107, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(245, 197, 24, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

header.hero-gradient,
footer.hero-gradient,
section.hero-gradient {
  position: relative;
}

@media (min-width: 1024px) {
  .download-row {
    flex-direction: row-reverse;
  }
}

/* Privacy Policy modal */
.privacy-footer-link {
  color: var(--vc-gold);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.privacy-footer-link:hover,
.privacy-footer-link:focus-visible {
  color: var(--vc-gold-light);
  text-shadow: 0 0 12px rgba(245, 197, 24, 0.45);
  outline: none;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.privacy-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 12, 0.82);
  backdrop-filter: blur(6px);
}

.privacy-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  max-height: min(90vh, 720px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #0f181c 0%, #0d2228 40%, #0a3030 100%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 1rem;
  box-shadow:
    0 0 0 1px rgba(245, 197, 24, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(10, 107, 107, 0.2);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.privacy-modal.is-open .privacy-modal__dialog {
  transform: translateY(0) scale(1);
}

.privacy-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(45, 212, 191, 0.2);
  background: linear-gradient(90deg, rgba(10, 107, 107, 0.25), transparent);
}

.privacy-modal__close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.privacy-modal__close:hover,
.privacy-modal__close:focus-visible {
  color: var(--vc-gold);
  background: rgba(245, 197, 24, 0.1);
  border-color: rgba(245, 197, 24, 0.35);
  outline: none;
}

.privacy-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--vc-teal) transparent;
}

.privacy-modal__body::-webkit-scrollbar {
  width: 6px;
}

.privacy-modal__body::-webkit-scrollbar-thumb {
  background: var(--vc-teal);
  border-radius: 3px;
}

.privacy-section {
  margin-bottom: 1.25rem;
}

.privacy-section h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--vc-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.privacy-section p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.privacy-modal__footer {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(45, 212, 191, 0.2);
}

.privacy-modal__accept {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #0d1114;
  background: linear-gradient(90deg, var(--vc-gold) 0%, var(--vc-gold-light) 100%);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.35);
}

.privacy-modal__accept:hover,
.privacy-modal__accept:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(245, 197, 24, 0.45);
  outline: none;
}

body.modal-open {
  overflow: hidden;
}

body.support-modal-open {
  overflow: hidden;
}

/* ——— Help & Support modal (15 languages, Google Translate scoped) ——— */
.support-glass-card {
  background: rgba(21, 28, 34, 0.85);
  border: 1px solid rgba(45, 212, 191, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.support-input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #0d1114;
  border: 1px solid rgba(75, 85, 99, 0.6);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.support-input-field:focus {
  outline: none;
  border-color: #2dd4bf;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.support-input-field::placeholder {
  color: #6b7280;
}

.support-lang-select-wrap {
  position: relative;
  min-width: min(100%, 240px);
  max-width: 280px;
}

.support-lang-select {
  width: 100%;
  appearance: none;
  padding: 0.5rem 2.25rem 0.5rem 0.75rem;
  border-radius: 0.625rem;
  background: rgba(13, 17, 20, 0.95);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.support-modal__panel.layout-rtl .support-lang-select {
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
}

.support-lang-select:focus {
  outline: none;
  border-color: var(--vc-gold);
}

.support-lang-chevron {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: #2dd4bf;
}

.support-modal__panel.layout-rtl .support-lang-chevron {
  right: auto;
  left: 0.75rem;
}

.support-modal__panel.layout-rtl {
  font-family: 'Noto Sans Arabic', 'Noto Nastaliq Urdu', 'Inter', system-ui, sans-serif;
}

.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

#google_translate_element {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.support-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.support-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 12, 0.88);
  backdrop-filter: blur(8px);
}

.support-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 56rem;
  max-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #0f181c 0%, #0d2228 40%, #0a3030 100%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 1rem;
  box-shadow:
    0 0 0 1px rgba(245, 197, 24, 0.1),
    0 24px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-modal.is-open .support-modal__dialog {
  transform: translateY(0) scale(1);
}

.support-modal__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(45, 212, 191, 0.2);
  background: linear-gradient(90deg, rgba(10, 107, 107, 0.22), transparent);
}

.support-modal__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.support-modal__close:hover,
.support-modal__close:focus-visible {
  color: var(--vc-gold);
  background: rgba(245, 197, 24, 0.1);
  outline: none;
}

.support-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--vc-teal) transparent;
}

.support-modal__footer-link {
  color: var(--vc-gold);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.support-modal__footer-link:hover,
.support-modal__footer-link:focus-visible {
  color: var(--vc-gold-light);
  outline: none;
}

.support-modal__submit {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #0d1114;
  background: linear-gradient(90deg, var(--vc-gold) 0%, var(--vc-gold-light) 100%);
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.support-modal__submit:hover,
.support-modal__submit:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

@media (min-width: 640px) {
  .support-modal__submit {
    width: auto;
  }
}
