/* Promo landing — orange palette, dark frame, warm coupon, floating CTA */
:root {
  --orange: #fb923c;
  --orange-mid: #f97316;
  --orange-deep: #c2410c;
  --orange-rich: #ea580c;
  --orange-pale: #fff7ed;
  --orange-cream: #ffedd5;
  --ink: #1c1917;
  --frame: #292524;
  --frame-edge: #1c1917;
  --pill-orange: #fdba74;
  --coupon-dark: #7c2d12;
  --coupon-mid: #9a3412;
  --white: #ffffff;
  --muted: #78716c;
  --font-condensed: "Archivo Black", "Mukta", system-ui, sans-serif;
  --font-en: "Mukta", system-ui, sans-serif;
  --font-hi: "Noto Sans Devanagari", "Mukta", system-ui, sans-serif;
  --font-ta: "Noto Sans Tamil", "Mukta", system-ui, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --download-bar-pad: 0.85rem;
  --download-bar-est: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .top-marquee-track {
    animation: none !important;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: linear-gradient(180deg, #ffdcc4 0%, var(--orange-pale) 32%, #fffefb 58%, var(--orange-cream) 100%);
  padding-bottom: calc(var(--download-bar-est) + var(--safe-bottom));
}

body.lang-hi {
  font-family: var(--font-hi);
}

body.lang-ta {
  font-family: var(--font-ta);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Top marquee ——— */
.top-marquee {
  overflow: hidden;
  background: linear-gradient(90deg, #7c2d12 0%, var(--orange-rich) 42%, #fdba74 100%);
  border-bottom: 2px solid rgba(255, 237, 213, 0.45);
  padding: 0.4rem 0;
}

.top-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-x 22s linear infinite;
}

.top-marquee-text {
  flex-shrink: 0;
  padding-right: 4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 237, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(234, 88, 12, 0.22);
  box-shadow: 0 4px 20px rgba(124, 45, 18, 0.08);
  padding: 0.55rem 1rem;
  padding-top: max(0.55rem, env(safe-area-inset-top));
}

.header-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  color: var(--ink);
  letter-spacing: 0.03em;
}

.logo-text::after {
  display: none;
}

.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  min-width: 7.5rem;
  border-radius: 999px;
  border: 2px solid var(--orange-rich);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15);
  -webkit-tap-highlight-color: transparent;
}

.lang-dropdown-trigger:hover,
.lang-dropdown-trigger:focus-visible {
  background: var(--orange-pale);
  outline: none;
}

.lang-dropdown.is-open .lang-dropdown-trigger {
  background: var(--orange-pale);
}

.lang-dropdown-current {
  flex: 1;
  text-align: left;
  white-space: nowrap;
}

.lang-dropdown-chevron {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--orange-rich);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lang-dropdown.is-open .lang-dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  margin: 0;
  padding: 0.35rem 0;
  min-width: 100%;
  width: max(100%, 10rem);
  list-style: none;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  border: 2px solid var(--orange-rich);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

.lang-dropdown-option {
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.lang-dropdown-option:hover,
.lang-dropdown-option:focus-visible {
  background: var(--orange-pale);
  outline: none;
}

.lang-dropdown-option.is-selected {
  background: linear-gradient(90deg, var(--orange-pale), #ffedd5);
  font-weight: 800;
  color: var(--orange-deep);
}

/* ——— Hero block ——— */
.block-hero {
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.promo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}

.text-outline {
  font-family: var(--font-condensed);
  font-size: clamp(1.15rem, 4.5vw, 1.55rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1.5px #c2410c;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

body.lang-hi .text-outline,
body.lang-ta .text-outline {
  font-family: var(--font-hi);
  -webkit-text-stroke: 1px #9a3412;
}

body.lang-ta .text-outline {
  font-family: var(--font-ta);
}

.text-outline--dark {
  -webkit-text-stroke-color: #78350f;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
}

.speech-bubble {
  display: inline-block;
  background: var(--white);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  border: 2px solid rgba(234, 88, 12, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 200px;
  line-height: 1.25;
}

.mega-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-condensed);
  font-size: clamp(1.35rem, 5.5vw, 1.95rem);
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 2px 3px 0 rgba(255, 255, 255, 0.9), 4px 5px 0 rgba(249, 115, 22, 0.2);
  letter-spacing: 0.02em;
}

body.lang-hi .mega-title,
body.lang-ta .mega-title {
  font-family: var(--font-hi);
  text-transform: none;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
  line-height: 1.2;
}

body.lang-ta .mega-title {
  font-family: var(--font-ta);
}

.hero-tagline {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

/* ——— Showcase / circular carousel ——— */
.block-showcase {
  padding: 0.5rem 0.75rem 1rem;
  max-width: 440px;
  margin: 0 auto;
}

.showcase-shell {
  display: grid;
  grid-template-columns: minmax(1.15rem, auto) 1fr minmax(1.15rem, auto);
  align-items: stretch;
  gap: 0;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.18));
}

.showcase-vertical {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--frame-edge) 0%, var(--frame) 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-transform: uppercase;
  padding: 0.35rem 0.2rem;
}

.showcase-vertical--left {
  border-radius: 2px 0 0 2px;
}

.showcase-vertical--right {
  border-radius: 0 2px 2px 0;
}

.showcase-frame {
  position: relative;
  background: linear-gradient(145deg, #333 0%, #1a1a1a 100%);
  padding: 14px 12px 52px;
  border-radius: 2px;
}

.spark {
  position: absolute;
  z-index: 4;
  color: #fdba74;
  font-size: 0.75rem;
  line-height: 1;
  text-shadow: 0 0 12px rgba(251, 146, 60, 0.9);
  pointer-events: none;
}

.spark--tl {
  top: 8px;
  left: 10px;
}
.spark--tr {
  top: 8px;
  right: 10px;
}
.spark--bl {
  bottom: 44px;
  left: 10px;
}
.spark--br {
  bottom: 44px;
  right: 10px;
}

.carousel--circle {
  position: relative;
}

.carousel-viewport--circle {
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 1;
  width: min(72vw, 300px);
  margin: 0 auto;
  border: 5px solid #431407;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.12),
    inset 0 0 24px rgba(0, 0, 0, 0.5);
  touch-action: pan-y pinch-zoom;
  background: #111;
}

.carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(4px);
}

.carousel-prev {
  left: 4px;
}
.carousel-next {
  right: 4px;
}

@media (min-width: 400px) {
  .carousel-btn {
    display: flex;
  }
}

.showcase-pills {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  width: 96%;
  z-index: 6;
  pointer-events: none;
}

.pill {
  background: linear-gradient(180deg, var(--pill-orange) 0%, var(--orange-mid) 100%);
  color: #431407;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 6px 9px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.carousel-dots--below {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.85rem;
  padding: 0;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #fed7aa;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.carousel-dot.is-active {
  background: var(--orange-rich);
  transform: scale(1.25);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.4);
}

/* ——— Trust & stats ——— */
.block-trust {
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.trust-line {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #44403c;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.trust-line--shout {
  font-size: 0.82rem;
  color: var(--ink);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: start;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
}

.stat-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-num {
  line-height: 1;
}

/* ——— Coupon ——— */
.block-coupon {
  padding: 0.75rem 1rem 1.25rem;
  max-width: 400px;
  margin: 0 auto;
}

.coupon-ticket {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(124, 45, 18, 0.32);
  border: 2px solid var(--coupon-dark);
}

.coupon-ticket-left {
  flex: 1;
  background: linear-gradient(135deg, var(--coupon-mid) 0%, var(--coupon-dark) 100%);
  padding: 0.85rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coupon-small {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.coupon-ticket-perf {
  width: 10px;
  flex-shrink: 0;
  background: repeating-linear-gradient(
    to bottom,
    var(--coupon-dark) 0 4px,
    transparent 4px 8px
  );
  border-left: 1px dashed rgba(0, 0, 0, 0.25);
  border-right: 1px dashed rgba(0, 0, 0, 0.25);
}

.coupon-ticket-right {
  flex: 1.1;
  background: linear-gradient(135deg, #fdba74 0%, var(--orange) 45%, var(--orange-deep) 100%);
  padding: 0.75rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coupon-big {
  font-family: var(--font-condensed);
  font-size: clamp(1.35rem, 6vw, 1.75rem);
  font-weight: 400;
  color: #fffbeb;
  text-align: center;
  line-height: 1.05;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  letter-spacing: 0.02em;
}

body.lang-hi .coupon-big,
body.lang-ta .coupon-big {
  font-family: var(--font-hi);
  font-size: clamp(1.1rem, 5vw, 1.45rem);
}

body.lang-ta .coupon-big {
  font-family: var(--font-ta);
}

/* ——— CTA copy (button in .download-float) ——— */
.block-cta {
  padding: 0.5rem 1rem 1.25rem;
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

.cta-subline {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #44403c;
}

.download-float {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: var(--download-bar-pad) 1rem;
  padding-bottom: max(var(--download-bar-pad), var(--safe-bottom));
  background: linear-gradient(180deg, rgba(255, 247, 237, 0) 0%, rgba(255, 237, 213, 0.92) 28%, rgba(255, 247, 237, 0.98) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(234, 88, 12, 0.22);
  box-shadow: 0 -8px 32px rgba(124, 45, 18, 0.1);
  pointer-events: none;
}

.download-float-inner {
  max-width: 440px;
  margin: 0 auto;
  pointer-events: auto;
}

.btn-mega {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffedd5 0%, var(--orange) 28%, var(--orange-mid) 55%, var(--orange-deep) 100%);
  color: #431407;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 3px solid rgba(255, 247, 237, 0.85);
  box-shadow:
    0 8px 0 #7c2d12,
    0 12px 28px rgba(194, 65, 12, 0.42);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-mega:hover {
  filter: brightness(1.04);
}

.btn-mega:active {
  transform: translateY(3px);
  box-shadow: 0 4px 0 #7c2d12, 0 8px 20px rgba(194, 65, 12, 0.38);
}

.btn-mega-label {
  flex: 1;
  text-align: left;
}

.btn-mega-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.cta-legal {
  margin: 0;
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

/* ——— Footer ——— */
.site-footer {
  background: linear-gradient(180deg, #292524 0%, #1c1917 100%);
  color: #a8a29e;
  padding: 1rem 1rem 1.5rem;
  padding-bottom: max(1.5rem, calc(var(--download-bar-est) * 0.35 + var(--safe-bottom)));
  text-align: center;
}

.footer-bar {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fdba74;
}

.footer-fine {
  margin: 0;
  font-size: 0.72rem;
  color: #78716c;
}

.footer-tag {
  color: var(--orange);
  font-weight: 700;
}
