:root {
  --primary: #0f766e;       /* Trustworthy Emerald Teal */
  --primary-dark: #115e59;
  --primary-light: #ccfbf1;
  --accent: #f59e0b;        /* Warm Indian Saffron/Amber */
  --accent-hover: #d97706;
  --accent-soft: #fef3c7;
  --ink: #0f172a;
  --ink-muted: #475569;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.14);
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans Devanagari', 'Noto Sans Gujarati', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Bengali', 'Noto Sans Gurmukhi', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Bar */
.top-strip {
  background: linear-gradient(90deg, #064e3b, #0f766e);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
  text-align: center;
}
.top-strip strong { color: #fde68a; }

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #059669);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}
.brand span em {
  font-style: normal;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language Selector */
.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.lang-picker select {
  border: none;
  background: transparent;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--accent);
  color: #111827;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.28);
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0fdfa;
}
.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* Hero Slider */
.hero-section {
  background: radial-gradient(circle at 85% 15%, #ccfbf1 0%, #f0fdfa 38%, #ffffff 100%);
  padding: 44px 0 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hero-slider { position: relative; }
.hero-slide {
  display: none;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
  animation: fadeSlide 0.45s ease;
}
.hero-slide.active { display: grid; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: #92400e;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--ink);
}
.hero-title span { color: var(--primary); }
.hero-desc {
  font-size: 1.08rem;
  color: var(--ink-muted);
  margin-bottom: 26px;
  max-width: 580px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  font-weight: 600;
}
.hero-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed #cbd5e1;
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #cbd5e1;
  transition: all 0.25s;
}
.slider-dot.active { width: 32px; background: var(--primary); }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.slider-arrow:hover { border-color: var(--primary); color: var(--primary); }

/* Device Mockup Card */
.pos-device-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  position: relative;
}
.device-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  font-size: 0.84rem;
}
.live-pill {
  background: #dcfce7;
  color: #166534;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.75rem;
}
.pos-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.pos-item-tile {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.pos-item-tile strong { display: block; color: var(--ink); }
.pos-item-tile small { color: var(--ink-muted); font-size: 0.75rem; }
.pos-item-price {
  font-weight: 800;
  color: var(--primary);
  background: #ccfbf1;
  padding: 3px 8px;
  border-radius: 6px;
}
.pos-bill-strip {
  background: #0f172a;
  color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.paid-stamp {
  border: 2px solid #22c55e;
  color: #4ade80;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  transform: rotate(-4deg);
  letter-spacing: 0.06em;
}

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: #ffffff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p { color: var(--ink-muted); font-size: 1.04rem; }

/* Comparison Grid: Manual vs MyRaseedBook */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.compare-box {
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
}
.compare-box.old {
  background: #fff5f5;
  border-color: #fecaca;
}
.compare-box.new {
  background: #f0fdfa;
  border-color: #99f6e4;
  box-shadow: var(--shadow-md);
}
.compare-box h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.compare-list { list-style: none; display: grid; gap: 12px; }
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.benefit-card p { font-size: 0.92rem; color: var(--ink-muted); }

/* Industry Interactive Showcase */
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.ind-tab {
  padding: 9px 15px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-muted);
  transition: all 0.2s;
}
.ind-tab:hover { border-color: var(--primary); color: var(--primary); }
.ind-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.industry-stage {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.receipt-preview {
  background: #fffbeb;
  border: 1px dashed #d97706;
  border-radius: 12px;
  padding: 20px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #1e293b;
}
.receipt-header {
  text-align: center;
  border-bottom: 1px dashed #94a3b8;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.receipt-total {
  border-top: 1px dashed #94a3b8;
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Interactive Walkthrough & Device Switcher */
.device-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.dev-btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.dev-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.walkthrough-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}
.mockup-stage {
  background: #0f172a;
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.video-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.video-thumb {
  background: linear-gradient(135deg, #115e59, #0f172a);
  border-radius: 14px;
  height: 200px;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.play-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--accent);
  color: #111827;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.25);
  transition: transform 0.2s;
}
.video-thumb:hover .play-circle { transform: scale(1.08); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}
.popular-tag {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
}
.price-amount {
  font-size: 2.3rem;
  font-weight: 800;
  margin: 12px 0;
}
.price-amount small { font-size: 0.9rem; color: var(--ink-muted); font-weight: 600; }
.price-features {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 26px;
  flex: 1;
  font-size: 0.92rem;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  padding: 0 22px 18px;
  color: var(--ink-muted);
  font-size: 0.94rem;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* AI Assistant Widget & Dedicated Page */
.ai-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 950;
  background: linear-gradient(135deg, var(--primary), #047857);
  color: #fff;
  padding: 13px 20px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.38);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-drawer {
  position: fixed;
  bottom: 84px;
  right: 22px;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 960;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.ai-drawer.open { display: flex; }
.ai-drawer-head {
  background: var(--primary);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}
.ai-messages {
  padding: 16px;
  height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  font-size: 0.9rem;
}
.msg-bot, .msg-user {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 88%;
  line-height: 1.45;
}
.msg-bot { background: #fff; border: 1px solid var(--border); align-self: flex-start; }
.msg-user { background: var(--primary); color: #fff; align-self: flex-end; }
.ai-chips {
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  background: #fff;
  border-top: 1px solid var(--border);
}
.ai-chip {
  font-size: 0.76rem;
  padding: 5px 10px;
  border-radius: 99px;
  background: #f1f5f9;
  white-space: nowrap;
  font-weight: 600;
}
.ai-input-row {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 10px;
  gap: 8px;
  background: #fff;
}
.ai-input-row input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.9rem;
  outline: none;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
}
.modal-backdrop.open { display: grid; }
.modal-card {
  background: #fff;
  border-radius: 18px;
  max-width: 680px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; font-size: 0.9rem; }
.footer-grid a:hover { color: #5eead4; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-slide, .industry-stage, .walkthrough-grid, .compare-grid { grid-template-columns: 1fr; }
  .benefits-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .benefits-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-outline { display: none; }
}
