:root {
  --primary: #1B5E20;
  --primary-hover: #144718;
  --primary-light: #E8F5E9;
  --primary-dark: #0F291E;
  --accent: #2E7D32;
  --accent-mint: #22C55E;
  --accent-amber: #F59E0B;
  --accent-red: #EF4444;
  --bg: #F8FAF9;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F3;
  --text: #111827;
  --text-muted: #4B5563;
  --border: #E2E8E5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 41, 30, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 41, 30, 0.10);
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Nav */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.brand-text h1 {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.brand-text span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-item {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.nav-item:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-item.active {
  color: white;
  background: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.lang-switch {
  display: flex;
  background: var(--surface-alt);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.lang-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.play-badge-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dark);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.play-badge-nav:hover {
  background: black;
  transform: translateY(-1px);
}

/* Tab Views */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Hero Section */
.hero {
  padding: 64px 20px 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(27, 94, 32, 0.15);
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.35);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--text);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--surface-alt);
  border-color: var(--primary);
  color: var(--primary);
}

.hero-features {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.feature-tag svg {
  color: var(--primary);
}

/* Phone Mockup Frame in Hero */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: 310px;
  height: 620px;
  background: #111;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(15, 41, 30, 0.25), 0 0 0 1px rgba(0,0,0,0.1);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

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

.floating-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.floating-badge .badge-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-dark);
}

.floating-badge .badge-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

/* Calculator Section */
.calculator-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.section-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 36px;
}

.calc-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Category Selector Pills */
.pill-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.cat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  cursor: pointer;
  transition: var(--transition);
}

.cat-pill:hover {
  border-color: var(--primary);
  background: white;
}

.cat-pill.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.cat-pill-info {
  display: flex;
  flex-direction: column;
}

.cat-pill-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.cat-pill.active .cat-pill-name {
  color: var(--primary);
}

.cat-pill-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.cat-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: #DCFCE7;
  color: #166534;
}

/* Payment Type Tabs */
.type-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  background: var(--surface-alt);
  padding: 4px;
  border-radius: var(--radius-md);
}

.type-btn {
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.type-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

/* Input Amount Box */
.input-group {
  margin-bottom: 20px;
}

.input-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.amount-input-box {
  display: flex;
  align-items: center;
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  transition: var(--transition);
}

.amount-input-box:focus-within {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.12);
}

.currency-sym {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-right: 8px;
}

.amount-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  outline: none;
}

/* Quick Amount Chips */
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.chip {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.chip.clear-chip {
  background: #FEE2E2;
  border-color: #FECACA;
  color: #DC2626;
}

.chip.clear-chip:hover {
  background: #FCA5A5;
}

/* Result Card */
.calc-result-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-card {
  background: linear-gradient(135deg, #0F291E, #1B5E20);
  color: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.result-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.result-tag {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.net-settlement-label {
  font-size: 13px;
  color: #A7F3D0;
  font-weight: 600;
  margin-bottom: 4px;
}

.net-settlement-value {
  font-size: 42px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px;
}

.result-row.total-mdr {
  color: #FCA5A5;
  font-weight: 700;
}

.result-row.total-mdr.free {
  color: #86EFAC;
}

.rule-badge-box {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #E2E8E5;
}

/* Monthly Limit Tracker Simulator */
.tracker-box {
  margin-top: 24px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.tracker-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tracker-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.tracker-amount {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.progress-track {
  width: 100%;
  height: 10px;
  background: #E5E7EB;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  width: 35%;
  background: var(--accent-mint);
  border-radius: var(--radius-full);
  transition: width 0.4s ease, background-color 0.3s ease;
}

.tracker-status-text {
  font-size: 12px;
  color: var(--text-muted);
}

.tracker-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.tracker-btn {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tracker-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

/* Cost Comparison Section */
.comparison-section {
  padding: 40px 20px 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
}

.comp-table th {
  background: var(--surface-alt);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comp-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.comp-table tr.highlight-upi {
  background: var(--primary-light);
  font-weight: 700;
}

.comp-table tr.highlight-upi td {
  color: var(--primary);
  border-color: #C8E6C9;
}

.savings-banner {
  background: linear-gradient(90deg, #10B981, #059669);
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.savings-text h4 {
  font-size: 18px;
  font-weight: 800;
}

.savings-text p {
  font-size: 14px;
  opacity: 0.9;
}

.savings-amount {
  font-size: 26px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 18px;
  border-radius: var(--radius-md);
}

/* Screenshots Showcase Carousel */
.screenshots-section {
  padding: 60px 20px;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.screenshots-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.screenshot-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.screenshot-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.screenshot-item img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
  margin-bottom: 12px;
}

.screenshot-caption {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.screenshot-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Download CTA Banner */
.download-cta {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.download-banner {
  background: linear-gradient(135deg, #0F291E, #1B5E20);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: white;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.download-banner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.download-banner p {
  font-size: 17px;
  color: #A7F3D0;
  margin-bottom: 28px;
  line-height: 1.5;
}

.qr-box-container {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: var(--radius-md);
}

.qr-code-img {
  width: 100px;
  height: 100px;
  background: white;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.qr-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.qr-info p {
  font-size: 13px;
  color: #D1FAE5;
  margin-bottom: 0;
}

/* FAQ & Rules Section */
.faq-container {
  max-width: 900px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
}

.accordion-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--primary);
}

.accordion-header {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.accordion-header .acc-icon {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.accordion-item.open .accordion-header .acc-icon {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 24px 20px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* Legal Documents (Terms & Privacy) Container */
.legal-container {
  max-width: 900px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
}

.legal-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.legal-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-card p {
  margin-bottom: 14px;
  color: var(--text);
}

.legal-card ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.legal-card li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: white;
  padding: 60px 20px 30px 20px;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  color: #9CA3AF;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #E5E7EB;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #9CA3AF;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-ctas, .hero-features {
    justify-content: center;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header-container {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hero-title {
    font-size: 28px;
  }
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
