/* ==========================================================================
   KIRANA STORE BILLING APP - PROFESSIONAL DESIGN SYSTEM & ULTRA-POLISHED STYLESHEET
   Crafted with ui-ux-pro-max guidelines for Indian Retail POS & Shop Management
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Rubik:wght@500;600;700;800;900&family=JetBrains+Mono:wght@500;600&display=swap');

/* --- Root Design Tokens --- */
:root {
  /* Brand Palettes */
  --primary: #F95B12;
  --primary-hover: #E04D08;
  --primary-active: #C23E00;
  --primary-light: #FFF2EB;
  --primary-glow: rgba(249, 91, 18, 0.28);

  --secondary: #059669;
  --secondary-hover: #047857;
  --secondary-light: #ECFDF5;
  --secondary-glow: rgba(5, 150, 105, 0.25);

  --accent-teal: #0D9488;
  --accent-teal-light: #CCFBF1;
  --accent-blue: #2563EB;
  --accent-blue-light: #EFF6FF;
  --accent-purple: #7C3AED;
  --accent-purple-light: #FAF5FF;
  --accent-rose: #E11D48;
  --accent-rose-light: #FFF1F2;
  --accent-amber: #D97706;

  /* Neutrals & Surfaces */
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-dark: #090D16;
  --bg-dark-card: #131B2E;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #94A3B8;
  --text-white: #FFFFFF;

  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;

  /* Bento Specific Tints */
  --bento-peach-bg: #FFF7F2;
  --bento-peach-border: #FED7AA;
  --bento-green-bg: #F0FDF4;
  --bento-green-border: #BBF7D0;
  --bento-blue-bg: #F0F9FF;
  --bento-blue-border: #BAE6FD;
  --bento-purple-bg: #FAF5FF;
  --bento-purple-border: #E9D5FF;
  --bento-rose-bg: #FFF1F2;
  --bento-rose-border: #FECDD3;

  /* Typography */
  --font-heading: 'Rubik', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Depth */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 3px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 28px -4px rgba(15, 23, 42, 0.09), 0 8px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.14);
  --shadow-phone: 0 30px 60px -15px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.08);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Top Scroll Progress Indicator */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #F95B12 0%, #10B981 100%);
  z-index: 999;
  transition: width 80ms ease-out;
}

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

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

input[type="range"] {
  accent-color: var(--primary);
  cursor: pointer;
}

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

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 104px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 68px 0;
  }
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
}

.text-gradient {
  background: linear-gradient(135deg, #F95B12 0%, #EA580C 50%, #C23E00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-teal {
  background: linear-gradient(135deg, #0D9488 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(249, 91, 18, 0.25);
}

.badge-green {
  background-color: var(--secondary-light);
  color: var(--secondary);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.section-tagline {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #F95B12 0%, #EA580C 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: 500ms;
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF6924 0%, #F95B12 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 91, 18, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

/* --- Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.nav-brand:hover .nav-logo-img {
  transform: scale(1.05) rotate(-2deg);
}

.nav-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-family: var(--font-body);
}

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

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

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

.mobile-toggle {
  display: none;
  padding: 8px;
  color: var(--text-main);
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-actions .btn-download {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-surface);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 99;
  border-top: 1px solid var(--border-light);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 88px 0 110px;
  overflow: hidden;
  background: 
    radial-gradient(circle at 82% 18%, rgba(249, 91, 18, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 12% 82%, rgba(13, 148, 136, 0.07) 0%, transparent 40%),
    radial-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 28px 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 1024px) {
  .hero-content {
    align-items: center;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FFF2EB;
  border: 1px solid #FED7AA;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  width: fit-content;
  box-shadow: var(--shadow-xs);
}

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

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

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.65rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
}

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

@media (max-width: 1024px) {
  .hero-actions {
    justify-content: center;
  }
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 640px) {
  .hero-stats-row {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .hero-content .hero-stats-row {
    align-items: center;
  }
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-subtle);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.hero-stat-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.2;
}

.hero-stat-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Showcase Phone Mockup */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Phone Presentation - Borderless, Clean & Modern */
.phone-mockup {
  position: relative;
  width: 320px;
  max-width: 100%;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: transform 300ms ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup:hover {
  transform: translateY(-4px);
}

.phone-mockup::before {
  display: none;
}

.phone-screen {
  position: relative;
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 24px 44px rgba(15, 23, 42, 0.16));
}

/* Floating stat badges around hero phone */
.floating-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-chip-1 {
  top: 14%;
  left: -28px;
}

.floating-chip-2 {
  bottom: 22%;
  right: -28px;
  animation-delay: -2s;
}

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

@media (max-width: 640px) {
  .floating-chip {
    display: none;
  }
}

.chip-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.chip-icon-green { background: #10B981; box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3); }
.chip-icon-orange { background: #F95B12; box-shadow: 0 4px 10px rgba(249, 91, 18, 0.3); }

.chip-content strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.2;
}

.chip-content span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 34px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-surface);
}

.trust-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-icon {
  color: var(--primary);
  display: flex;
}

/* --- Interactive Showcase Section (Core Centerpiece) --- */
.showcase-section {
  background-color: #FFFFFF;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 44px auto 36px;
  flex-wrap: wrap;
  max-width: 920px;
}

.showcase-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.showcase-tab-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
}

.showcase-tab-btn.active {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
}

.showcase-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  min-height: 620px;
}

@media (max-width: 1024px) {
  .showcase-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 40px;
    text-align: center;
  }
}

.showcase-device-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.showcase-phone-frame {
  width: 320px;
  max-width: 100%;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-screen {
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.16));
  transition: opacity 220ms ease, transform 220ms ease;
}

/* Showcase Mini Thumbnail Previews */
.showcase-thumbnails {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.thumb-preview {
  width: 52px;
  height: 82px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border-light);
  cursor: pointer;
  opacity: 0.65;
  transition: all var(--transition-fast);
  background: #FFFFFF;
}

.thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-preview:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.thumb-preview.active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  transform: translateY(-3px);
}

.showcase-content-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .showcase-content-col {
    align-items: center;
  }
}

.screen-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
}

.screen-title {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: var(--text-main);
}

.screen-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.screen-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  list-style: none;
  text-align: left;
}

.screen-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.screen-feature-item:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.screen-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.screen-feature-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.screen-feature-text span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Quick switcher dots below card */
.showcase-screen-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.screen-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #CBD5E1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.screen-nav-dot.active {
  background-color: var(--primary);
  width: 34px;
  border-radius: var(--radius-full);
}

/* --- Bento Grid Features Section --- */
.bento-section {
  background-color: var(--bg-main);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.bento-card {
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Bento Variants */
.bento-card-peach {
  background: var(--bento-peach-bg);
  border-color: var(--bento-peach-border);
}

.bento-card-green {
  background: var(--bento-green-bg);
  border-color: var(--bento-green-border);
}

.bento-card-blue {
  background: var(--bento-blue-bg);
  border-color: var(--bento-blue-border);
}

.bento-card-purple {
  background: var(--bento-purple-bg);
  border-color: var(--bento-purple-border);
}

.bento-card-rose {
  background: var(--bento-rose-bg);
  border-color: var(--bento-rose-border);
}

.bento-card-white {
  background: var(--bg-surface);
  border-color: var(--border-light);
}

.bento-card-wide {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .bento-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .bento-card-wide {
    grid-column: span 1;
  }
}

.bento-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-peach { background: #FFEDD5; color: #EA580C; box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2); }
.icon-green { background: #DCFCE7; color: #16A34A; box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2); }
.icon-blue { background: #DBEAFE; color: #2563EB; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); }
.icon-purple { background: #F3E8FF; color: #9333EA; box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2); }
.icon-rose { background: #FFE4E6; color: #E11D48; box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2); }

.bento-title {
  font-size: 1.45rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bento-highlight {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

/* --- Live Bill Demo Simulator --- */
.demo-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.demo-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sound-toggle-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.demo-box {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 48px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 960px) {
  .demo-box {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 36px;
  }
}

.demo-controls h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.demo-controls p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.demo-item-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.demo-item-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

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

.demo-item-pill.added {
  background-color: var(--secondary-light);
  border-color: var(--secondary);
  color: var(--secondary-hover);
}

.demo-bill-calc {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.demo-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.demo-calc-total {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  border-top: 2px dashed var(--border-light);
  padding-top: 14px;
  margin-top: 4px;
}

.demo-payment-modes {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.demo-mode-btn {
  flex: 1;
  padding: 9px 0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.demo-mode-btn.active {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* WhatsApp Receipt Live Preview */
.whatsapp-preview-card {
  background: #E5DDD5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  border: 2px solid #075E54;
}

.wa-header {
  background: #075E54;
  color: white;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: white;
}

.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wa-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.wa-status {
  font-size: 0.75rem;
  opacity: 0.85;
}

.wa-chat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 310px;
  position: relative;
}

.wa-bubble {
  background: #FFFFFF;
  border-radius: 12px;
  border-top-left-radius: 2px;
  padding: 14px 16px;
  max-width: 95%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #111827;
  white-space: pre-wrap;
}

.wa-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.wa-time {
  font-size: 0.72rem;
  color: #6B7280;
}

.wa-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #E2E8F0;
  color: #1E293B;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.wa-copy-btn:hover {
  background: #CBD5E1;
}

/* Toast Alert for Copy */
#copy-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0F172A;
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

#copy-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Store Owner Savings & ROI Calculator Section --- */
.savings-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFF7F2 100%);
  border-bottom: 1px solid var(--border-light);
}

.savings-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 48px;
  margin-top: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 960px) {
  .savings-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 36px;
  }
}

.savings-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.slider-value-pill {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
}

.savings-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .savings-results-grid {
    grid-template-columns: 1fr;
  }
}

.result-box {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.result-box.highlight-box {
  background: var(--primary-light);
  border-color: var(--primary);
  grid-column: span 2;
}

@media (max-width: 640px) {
  .result-box.highlight-box {
    grid-column: span 1;
  }
}

.result-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.highlight-box .result-number {
  color: var(--primary);
}

.result-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Comparison Matrix Section --- */
.compare-section {
  background-color: var(--bg-main);
}

.compare-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: white;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background-color: var(--bg-subtle);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-main);
}

.compare-table th.highlight-col {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.compare-table td.highlight-col {
  background: #FFFDFB;
  font-weight: 600;
  color: var(--text-main);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

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

.testimonial-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.rating-stars {
  color: #F59E0B;
  display: flex;
  gap: 4px;
  align-items: center;
}

.star-svg {
  width: 18px;
  height: 18px;
  fill: #F59E0B;
  display: inline-block;
}

.table-icon-check {
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.table-icon-cross {
  color: #DC2626;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.author-info span {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* --- Privacy & Security Commitment --- */
.security-banner {
  background: linear-gradient(135deg, #090D16 0%, #131B2E 100%);
  color: white;
  border-radius: var(--radius-2xl);
  padding: 64px 48px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.security-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 960px) {
  .security-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.security-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sec-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10B981;
  flex-shrink: 0;
}

.sec-text strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.sec-text p {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* --- FAQ Section --- */
.faq-wrap {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-card.open {
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-chevron {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-card.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  display: none;
}

.faq-card.open .faq-answer {
  display: block;
}

/* --- Download CTA Banner --- */
.cta-section {
  background: linear-gradient(135deg, #F95B12 0%, #EA580C 50%, #C23E00 100%);
  color: white;
  border-radius: var(--radius-2xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(249, 91, 18, 0.45);
}

.cta-section h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-bottom: 16px;
  color: white;
}

.cta-section p {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 36px;
  opacity: 0.95;
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.download-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000000;
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.download-store-btn:hover {
  transform: translateY(-2px);
  background: #18181B;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.store-btn-text {
  text-align: left;
  line-height: 1.2;
}

.store-btn-text span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
  display: block;
}

.store-btn-text strong {
  font-size: 1.1rem;
}

/* --- Download Modal Dialog --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: var(--radius-2xl);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  text-align: center;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.modal-qr-wrap {
  width: 180px;
  height: 180px;
  margin: 24px auto;
  padding: 12px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-top: 24px;
}

.modal-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-dark);
  color: #94A3B8;
  padding: 64px 0 32px;
  margin-top: 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.footer-brand h4 {
  font-size: 1.3rem;
  color: white;
  line-height: 1.2;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.creator-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
}

.creator-link:hover {
  color: #FFA573;
  text-shadow: 0 0 10px rgba(249, 91, 18, 0.4);
}

/* --- Smooth Scroll Reveal --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
