/* ============================================
   Retailer's Club India — Production CSS
   Mobile-first, responsive, no frameworks
   ============================================ */

/* Design Tokens */
:root {
  --bg: #FAFAF9;
  --fg: #1E1B4B;
  --navy: #1E1B4B;
  --saffron: #F5871F;
  --saffron-dark: #D86A0A;
  --india-green: #138808;
  --gold: #D4A017;
  --card: #FFFFFF;
  --muted: #F5F5F4;
  --muted-text: #6B7280;
  --border: #E5E7EB;
  --red: #DC2626;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 4px 24px -8px rgba(30, 27, 75, 0.12);
  --shadow-glow: 0 20px 60px -20px rgba(30, 27, 75, 0.35);
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--navy);
}

.logo-sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 10px 30px -10px var(--saffron);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px var(--saffron);
}

.btn:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 4rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top, rgba(245, 135, 31, 0.12), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(19, 136, 8, 0.12), transparent 60%);
  z-index: -1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(245, 135, 31, 0.3);
  background: rgba(245, 135, 31, 0.1);
  color: var(--saffron);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saffron);
}

.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  font-weight: 800;
  max-width: 900px;
}

.underline-accent {
  position: relative;
  display: inline-block;
}

.underline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.25em;
  background: rgba(245, 135, 31, 0.4);
  z-index: -1;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-text);
  max-width: 640px;
}

/* VSL Player */
.vsl-wrapper {
  width: 100%;
  max-width: 720px;
  margin-top: 2rem;
  background: var(--navy);
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.vsl-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.vsl-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.vsl-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vsl-play:hover .vsl-thumb,
.vsl-play:focus-visible .vsl-thumb {
  transform: scale(1.05);
}

.vsl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.vsl-play:hover .vsl-overlay,
.vsl-play:focus-visible .vsl-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.vsl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 135, 31, 0.95);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.vsl-btn svg {
  width: 28px;
  height: 28px;
}

.vsl-play:hover .vsl-btn,
.vsl-play:focus-visible .vsl-btn {
  transform: scale(1.1);
}

.vsl-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem 0.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
}

.vsl-tag {
  background: var(--saffron);
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 0.25rem;
  font-weight: 700;
}

.vsl-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Hero offer & CTA */
.hero-offer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.offer-pill {
  background: rgba(19, 136, 8, 0.12);
  color: var(--india-green);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}

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

.offer-note strong {
  color: var(--navy);
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-note {
  font-size: 0.75rem;
  color: var(--muted-text);
}

/* Countdown */
.countdown {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.1);
  color: var(--red);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.countdown-light .countdown-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s infinite;
}

.countdown-light .pulse {
  background: #fff;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.countdown-grid {
  display: flex;
  gap: 0.5rem;
}

.countdown-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 62px;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.countdown-light .countdown-grid > div {
  background: rgba(255, 255, 255, 0.1);
}

.countdown-grid .num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.countdown-grid .label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-muted {
  background: var(--muted);
}

.section h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
}

.section-lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-text);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

/* Tri underline */
.tri-underline {
  width: 96px;
  height: 4px;
  border-radius: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--saffron) 0 33%, #fff 33% 66%, var(--india-green) 66% 100%);
}

.section-dark .tri-underline {
  background: linear-gradient(90deg, var(--saffron) 0 33%, rgba(255,255,255,0.3) 33% 66%, var(--india-green) 66% 100%);
}

/* Text helpers */
.text-accent { color: var(--saffron); }
.text-green { color: var(--india-green); }
.text-red { color: var(--red); }

/* Problem */
.problem-grid {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.problem-grid .card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--navy);
}

.x-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.12);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.problem-outro {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
}

/* Intro */
.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.logo-box img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.intro-box {
  margin-top: 2rem;
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.intro-big {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-top: 0.25rem;
}

/* Steps */
.steps-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.step h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.steps-footer {
  margin-top: 2.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

/* Benefits */
.benefits-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
}

.benefit {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.benefit:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 135, 31, 0.4);
}

.benefit .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(19, 136, 8, 0.12);
  color: var(--india-green);
  font-weight: 700;
}

.benefit h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--navy);
}

/* Tags */
.tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tag {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.section-muted .tag,
.section-muted .faq {
  background: var(--card);
}

/* Pricing */
.pricing-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.pricing-featured {
  border: 2px solid var(--saffron);
  box-shadow: var(--shadow-glow);
}

.ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--saffron);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.pricing-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--saffron);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 0.5rem;
}

.pricing-price small {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--muted-text);
  font-weight: 400;
}

.pricing-note {
  color: var(--muted-text);
  margin-top: 0.25rem;
}

.pricing-ends {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 0.25rem;
}

.pricing-list {
  margin-top: 1.5rem;
  display: inline-block;
  text-align: left;
  font-size: 0.875rem;
  color: var(--navy);
}

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

.pricing-list .check {
  color: var(--india-green);
  font-weight: 700;
}

.pricing-lock {
  margin: 1rem 0;
  background: var(--muted);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-text);
}

.pricing-card .btn {
  margin-top: 0.5rem;
}

/* FAQ */
.faq-list {
  margin-top: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--saffron);
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.faq[open] .faq-icon {
  transform: rotate(45deg);
}

.faq p {
  margin-top: 0.75rem;
  color: var(--muted-text);
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 5rem 0;
}

.final-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 135, 31, 0.28), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(19, 136, 8, 0.25), transparent 50%);
}

.final-box {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(30, 27, 75, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.final-box h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.final-box p {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
}

.final-box .btn {
  margin-top: 2rem;
}

.final-note {
  margin-top: 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: rgba(30, 27, 75, 0.95);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand .logo {
  justify-content: center;
}

.footer-brand .logo span {
  color: #fff;
  font-weight: 600;
}

.address {
  max-width: 280px;
  font-size: 0.75rem;
  line-height: 1.6;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--saffron);
  transform: translateY(-2px);
}

.socials a.whatsapp {
  background: var(--india-green);
}

.socials a.whatsapp:hover,
.socials a.whatsapp:focus-visible {
  background: var(--saffron);
}

.socials svg {
  width: 20px;
  height: 20px;
}

.footer-wa {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-wa:hover {
  color: var(--saffron);
}

/* Floating WhatsApp Button */
.fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--india-green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(19, 136, 8, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab:hover,
.fab:focus-visible {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(19, 136, 8, 0.45);
}

.fab svg {
  width: 28px;
  height: 28px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet & Desktop */
@media (min-width: 640px) {
  .hero {
    padding: 4rem 0 6rem;
  }

  .vsl-meta {
    flex-direction: row;
  }

  .vsl-btn {
    width: 80px;
    height: 80px;
  }

  .vsl-btn svg {
    width: 36px;
    height: 36px;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq summary {
    font-size: 1.125rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-brand .logo {
    justify-content: flex-start;
  }

  .footer-socials {
    align-items: flex-end;
  }
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .step {
    text-align: left;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefit {
    text-align: left;
  }

  .countdown-grid .num {
    font-size: 2.25rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pulse {
    animation: none;
  }
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}
