/* =========================================
   PaisaPath — Bilingual Landing Page
   Mobile-first, clean, trustworthy design
   Colors: deep navy + sage green + warm gold
   ========================================= */

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

:root {
  --navy:     #0d2137;
  --sage:     #2a9d6a;
  --sage-lt:  #e8f5ef;
  --gold:     #f5a623;
  --gold-lt:  #fff8e8;
  --cream:    #faf8f5;
  --white:    #ffffff;
  --text:     #1a2a3a;
  --muted:    #6b7c8a;
  --border:   #e0e6ec;
  --shadow:   0 4px 24px rgba(13,33,55,.10);
  --radius:   16px;
  --radius-sm: 8px;
  --font:     -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* — Language Toggle Header — */
.lang-bar {
  background: var(--navy);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-text {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.logo-text span { color: var(--white); }

.toggle-btn {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font);
}

.toggle-btn:hover { background: rgba(255,255,255,.22); }

/* — Hero Section — */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #163355 100%);
  color: var(--white);
  padding: 60px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 .punjabi { color: var(--gold); }

.hero-sub {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat .label { font-size: 0.8rem; opacity: 0.7; margin-top: 4px; }

/* — Section Containers — */
.section { padding: 56px 20px; max-width: 880px; margin: 0 auto; }

.section-label {
  display: inline-block;
  background: var(--sage-lt);
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* — Deal Cards — */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(13,33,55,.15);
}

.card-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--sage);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 var(--radius) 0 var(--radius-sm);
}

.card-logo {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.card-name .punjabi { font-size: 0.9rem; color: var(--muted); font-weight: 400; }

.card-bonus {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sage);
  margin: 12px 0;
}

.card-bonus .currency { font-size: 1rem; vertical-align: super; }

.card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-desc li { margin-bottom: 6px; padding-left: 16px; position: relative; }
.card-desc li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background .2s;
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.card-cta:hover { background: #1a4a73; }

/* — Calculator Section — */
.calc-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.calc-checkboxes { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .2s;
}

.calc-row:hover { border-color: var(--sage); }

.calc-row input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--sage);
  cursor: pointer;
}

.calc-row-info { flex: 1; padding: 0 14px; }
.calc-row-name { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.calc-row-bonus { font-size: 0.82rem; color: var(--sage); font-weight: 600; }
.calc-row-amount { font-weight: 700; font-size: 1.1rem; color: var(--navy); min-width: 60px; text-align: right; }

.calc-total {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-total-label { font-size: 0.9rem; opacity: 0.7; }
.calc-total-amount { font-size: 2rem; font-weight: 800; color: var(--gold); }

.calc-total-amount small { font-size: 0.85rem; opacity: 0.7; font-weight: 400; }

/* — Share Section — */
.share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 540px) { .share-grid { grid-template-columns: 1fr; } }

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.share-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.share-whatsapp {
  background: #25d366;
  color: var(--white);
}

.share-copy {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.share-btn svg { width: 22px; height: 22px; }

/* — Footer — */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 40px 20px 60px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 40px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.footer-line { font-size: 0.9rem; margin-bottom: 8px; }
.footer-line strong { color: var(--gold); }

.footer-email { color: var(--gold); text-decoration: none; font-size: 0.88rem; }
.footer-email:hover { text-decoration: underline; }

/* — Utility — */
.hidden { display: none !important; }

/* — Responsive — */
@media (max-width: 600px) {
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 1.6rem; }
  .calc-section { padding: 24px 18px; }
  .section { padding: 40px 16px; }
  .card { padding: 22px 18px; }
}

/* — Copy tooltip — */
.copy-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 200;
}
.copy-msg.show { opacity: 1; }