/* ============================================
   VYAPAR BILLING SOFTWARE - STYLE SHEET
   Premium SaaS Landing Page Design System
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --primary-bg: rgba(37, 99, 235, 0.08);
  --secondary: #0F172A;
  --background: #F8FAFC;
  --white: #FFFFFF;
  --success: #16A34A;
  --success-bg: rgba(22, 163, 74, 0.1);
  --warning: #F59E0B;
  --danger: #EF4444;
  --text-dark: #1E293B;
  --text-medium: #475569;
  --text-light: #64748B;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

::selection {
  background-color: var(--primary);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--border-light); }
::-webkit-scrollbar-thumb { background: var(--text-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-medium); }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Base --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ============================================
   HEADER
   ============================================ */
#header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
}

.logo svg {
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 4px 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-cta {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content h1 .highlight {
  color: var(--primary);
  position: relative;
  background: linear-gradient(135deg, #2563EB, #7C3AED, #2563EB);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
  transition: var(--transition);
}

.trust-badge:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.trust-badge svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Dashboard Mockup --- */
.dashboard-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
  animation: floatIn 0.8s ease forwards;
}

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--secondary);
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dot.red { background: #EF4444; }
.dash-dot.yellow { background: #F59E0B; }
.dash-dot.green { background: #22C55E; }

.dash-titlebar span {
  margin-left: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 500;
}

.dashboard-body {
  padding: 20px;
  background: #F1F5F9;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dash-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  border-left: 4px solid;
  transition: var(--transition);
}

.dash-card:hover {
  transform: scale(1.03);
}

.dash-card h4 {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-weight: 600;
}

.dash-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
}

.dash-card.sales { border-left-color: #22C55E; }
.dash-card.sales .dash-value { color: #16A34A; }
.dash-card.invoices { border-left-color: #3B82F6; }
.dash-card.invoices .dash-value { color: #2563EB; }
.dash-card.inventory { border-left-color: #F59E0B; }
.dash-card.inventory .dash-value { color: #D97706; }
.dash-card.payments { border-left-color: #EF4444; }
.dash-card.payments .dash-value { color: #DC2626; }
.dash-card.gst { border-left-color: #8B5CF6; }
.dash-card.gst .dash-value { color: #7C3AED; }
.dash-card.expenses { border-left-color: #06B6D4; }
.dash-card.expenses .dash-value { color: #0891B2; }

.dash-sub {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Hero Floating Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.15;
  animation: particleFloat 15s infinite ease-in-out;
}

.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 18s; width: 8px; height: 8px; }
.hero-particle:nth-child(2) { left: 30%; top: 60%; animation-delay: -3s; animation-duration: 14s; }
.hero-particle:nth-child(3) { left: 50%; top: 30%; animation-delay: -5s; animation-duration: 20s; width: 10px; height: 10px; }
.hero-particle:nth-child(4) { left: 70%; top: 70%; animation-delay: -7s; animation-duration: 16s; }
.hero-particle:nth-child(5) { left: 85%; top: 15%; animation-delay: -2s; animation-duration: 22s; width: 5px; height: 5px; }
.hero-particle:nth-child(6) { left: 15%; top: 80%; animation-delay: -10s; animation-duration: 17s; width: 7px; height: 7px; }
.hero-particle:nth-child(7) { left: 60%; top: 50%; animation-delay: -8s; animation-duration: 19s; }
.hero-particle:nth-child(8) { left: 90%; top: 40%; animation-delay: -4s; animation-duration: 15s; width: 9px; height: 9px; }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
  25% { transform: translate(30px, -40px) scale(1.5); opacity: 0.25; }
  50% { transform: translate(-20px, -80px) scale(1); opacity: 0.1; }
  75% { transform: translate(40px, -30px) scale(1.3); opacity: 0.2; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
  text-align: center;
}

#about .about-content {
  max-width: 800px;
  margin: 0 auto;
}

#about .about-content p {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   GST BILLING SECTION
   ============================================ */
.gst-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gst-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.gst-content > p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 24px;
}

.benefits-list {
  list-style: none;
  margin-bottom: 32px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.benefits-list li svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Invoice Mockup */
.invoice-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(800px) rotateY(3deg);
  transition: transform 0.5s ease;
}

.invoice-mockup:hover {
  transform: perspective(800px) rotateY(0deg);
}

.invoice-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 24px;
  color: var(--white);
}

.invoice-header h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.invoice-header p {
  font-size: 0.8rem;
  opacity: 0.8;
}

.invoice-meta {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--background);
  font-size: 0.8rem;
  color: var(--text-medium);
}

.invoice-meta span {
  font-weight: 600;
  color: var(--text-dark);
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.invoice-table th {
  background: var(--border-light);
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-medium);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invoice-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}

.invoice-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.invoice-totals {
  padding: 16px 24px;
}

.invoice-totals .total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-medium);
}

.invoice-totals .total-row.grand {
  border-top: 2px solid var(--secondary);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

/* ============================================
   INVENTORY SECTION
   ============================================ */
.inventory-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.inv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.inv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.inv-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--primary);
}

.inv-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
}

/* Inventory Dashboard */
.inventory-dashboard {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto;
}

.inv-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.inv-dash-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
}

.inv-dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.inv-stat {
  padding: 16px;
  background: var(--background);
  border-radius: var(--radius);
  text-align: center;
}

.inv-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.inv-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ============================================
   REPORTS SECTION
   ============================================ */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.report-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border-left: 4px solid;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.report-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.report-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.report-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.report-card:nth-child(1) { border-left-color: #22C55E; }
.report-card:nth-child(1) .report-card-icon { background: rgba(34,197,94,0.1); color: #22C55E; }
.report-card:nth-child(2) { border-left-color: #EF4444; }
.report-card:nth-child(2) .report-card-icon { background: rgba(239,68,68,0.1); color: #EF4444; }
.report-card:nth-child(3) { border-left-color: #8B5CF6; }
.report-card:nth-child(3) .report-card-icon { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.report-card:nth-child(4) { border-left-color: #F59E0B; }
.report-card:nth-child(4) .report-card-icon { background: rgba(245,158,11,0.1); color: #F59E0B; }
.report-card:nth-child(5) { border-left-color: #06B6D4; }
.report-card:nth-child(5) .report-card-icon { background: rgba(6,182,212,0.1); color: #06B6D4; }
.report-card:nth-child(6) { border-left-color: #EC4899; }
.report-card:nth-child(6) .report-card-icon { background: rgba(236,72,153,0.1); color: #EC4899; }

/* ============================================
   BUSINESS TYPES SECTION
   ============================================ */
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.business-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.business-card:hover .business-icon {
  background: var(--primary);
  color: var(--white);
}

.business-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  transition: var(--transition);
}

.business-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.benefit-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.benefit-check {
  width: 32px;
  height: 32px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--success);
}

.benefit-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-bg);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  color: #F59E0B;
  fill: #F59E0B;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: normal;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--secondary);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a2744 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--primary-light);
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-container {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--border));
  z-index: 1;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
#cta-section {
  padding: 0;
}

.cta-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 550px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-inner .btn-white {
  position: relative;
  z-index: 1;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-links h4,
.footer-cta h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-links ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-cta p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-bottom: 10px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   POPUP MODAL
   ============================================ */
#popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

#popup-modal.active {
  display: flex;
}

#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  animation: fadeIn 0.2s ease;
}

#popup-container {
  position: relative;
  z-index: 10001;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 94%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

#popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  color: var(--text-medium);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  z-index: 1;
}

#popup-close:hover {
  background: var(--border);
  color: var(--text-dark);
}

.popup-header {
  text-align: center;
  margin-bottom: 20px;
  padding-right: 40px;
}

.popup-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.popup-header p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.5;
}

#form-container {
  margin-bottom: 16px;
}

#form-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: var(--radius);
}

.form-instruction {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.6;
  padding: 12px;
  background: var(--background);
  border-radius: var(--radius);
}

.form-instruction .hindi {
  display: block;
  margin-bottom: 4px;
}

#continue-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 32px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

#continue-download-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 25px rgba(37,99,235,0.3);
}

/* Success Message */
#success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

#success-message.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.success-checkmark {
  width: 72px;
  height: 72px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--success);
}

#success-message h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

#success-message p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 8px;
  line-height: 1.6;
}

#success-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 40px;
  background: var(--success);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

#success-download-btn:hover {
  background: #15803D;
  box-shadow: 0 8px 25px rgba(22,163,74,0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(20px);
  }
  to {
    opacity: 1;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  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;
  }

  html { scroll-behavior: auto; }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .dashboard-mockup,
  .invoice-mockup {
    transform: none;
  }
}

/* ============================================
   RESPONSIVE - 1280px
   ============================================ */
@media (max-width: 1280px) {
  .container { max-width: 1100px; }
}

/* ============================================
   RESPONSIVE - 1024px
   ============================================ */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 2.25rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .inventory-cards { grid-template-columns: repeat(3, 1fr); }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-container { gap: 24px; }
  .step:not(:last-child)::after { display: none; }
}

/* ============================================
   RESPONSIVE - 768px
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .container { padding: 0 16px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  
  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-number { font-size: 2rem; }

  /* Header */
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-links .header-cta {
    margin-top: 16px;
    text-align: center;
    display: block;
    width: 100%;
  }

  /* Hero */
  #hero { padding: 80px 0 40px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1.05rem; }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .dashboard-mockup {
    transform: none;
    max-width: 500px;
    margin: 0 auto;
  }

  .dashboard-mockup:hover { transform: none; }

  /* GST */
  .gst-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gst-content h2 { font-size: 1.75rem; }

  .invoice-mockup {
    transform: none;
    max-width: 450px;
    margin: 0 auto;
  }

  .invoice-mockup:hover { transform: none; }

  /* Inventory */
  .inventory-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Reports */
  .reports-grid { grid-template-columns: 1fr; }

  /* Business Types */
  .business-grid { grid-template-columns: repeat(2, 1fr); }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-container { flex-direction: column; gap: 40px; }

  .step:not(:last-child)::after {
    display: block;
    top: auto;
    left: 50%;
    width: 2px;
    height: 40px;
    bottom: -40px;
    transform: translateX(-50%);
    background: var(--border);
  }

  /* CTA */
  .cta-inner {
    padding: 50px 24px;
    border-radius: var(--radius-md);
  }

  .cta-inner h2 { font-size: 1.5rem; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Popup */
  #popup-container {
    padding: 24px 16px;
    max-height: 95vh;
  }

  .popup-header h2 { font-size: 1.2rem; }

  #form-container iframe { height: 650px; }

  .section-header h2 { font-size: 1.6rem; }
}

/* ============================================
   RESPONSIVE - 480px
   ============================================ */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.7rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .inventory-cards { grid-template-columns: 1fr; }
  .inv-dash-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .trust-badges { grid-template-columns: 1fr; }
  .gst-content h2 { font-size: 1.4rem; }
  .cta-inner h2 { font-size: 1.3rem; }
}

/* ============================================
   RESPONSIVE - 375px / 320px
   ============================================ */
@media (max-width: 375px) {
  .container { padding: 0 12px; }
  .hero-content h1 { font-size: 1.5rem; }
  #popup-container { padding: 16px 12px; }
  .popup-header h2 { font-size: 1.1rem; }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  #header, #popup-modal, .hero-cta-group, .header-cta,
  .btn-primary, .btn-secondary, .btn-white { display: none !important; }
  body { background: white; color: black; }
  .section { padding: 20px 0; }
  .dashboard-mockup, .invoice-mockup { transform: none; box-shadow: none; border: 1px solid #ccc; }
}
