/* ==========================================================================
   Harsh Apex Retail POS — Modern Figma-Grade Landing Page Design System
   ========================================================================== */

:root {
  --bg-dark: #080e1a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(22, 34, 60, 0.85);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-border-hover: rgba(20, 184, 166, 0.4);
  
  --emerald-primary: #0e766e;
  --emerald-light: #14b8a6;
  --emerald-glow: rgba(20, 184, 166, 0.28);
  --emerald-mint: #2dd4bf;
  
  --cyan-accent: #0284c7;
  --cyan-light: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --gold-accent: #f59e0b;
  --gold-light: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.25);
  
  --danger: #f43f5e;
  --success: #10b981;
  
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Sinhala', 'Iskoola Pota', sans-serif;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 40px -10px var(--emerald-glow);
  --shadow-cyan-glow: 0 0 40px -10px var(--cyan-glow);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

/* Modern Dynamic Background with High-Tech Luxury SaaS Image */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(14, 118, 110, 0.45) 0%, transparent 70%),
    radial-gradient(circle at 85% 25%, rgba(2, 132, 199, 0.28) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(8, 14, 26, 0.76) 0%, rgba(8, 14, 26, 0.88) 35%, rgba(8, 14, 26, 0.95) 75%, #080e1a 100%),
    url('pos-bg.jpg') center top / cover no-repeat;
  background-attachment: fixed;
}

/* Subtle Glowing Brand Watermark in Hero */
.hero-bg-watermark {
  position: absolute;
  top: -40px;
  right: -60px;
  width: min(680px, 85vw);
  height: min(680px, 85vw);
  opacity: 0.06;
  filter: blur(1px) drop-shadow(0 0 50px rgba(20, 184, 166, 0.35));
  pointer-events: none;
  z-index: 0;
  animation: slowWatermarkFloat 20s ease-in-out infinite alternate;
}

.hero-bg-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes slowWatermarkFloat {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(5deg) scale(1.08); }
}

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

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 25%, #a5f3fc 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

/* ==========================================================================
   Navigation Bar (Sticky Glassmorphic)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 14, 26, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(8, 14, 26, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

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

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-spring);
}

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

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  line-height: 1.15;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald-mint);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-mint), var(--cyan-light));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

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

/* Bilingual Language Toggle Switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 3px;
  position: relative;
  user-select: none;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--transition-fast);
  z-index: 2;
  font-family: inherit;
}

.lang-btn.active {
  color: #ffffff;
}

.lang-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: 58px;
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-light));
  border-radius: 999px;
  transition: transform var(--transition-spring);
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.4);
}

.lang-switch[data-lang="en"] .lang-slider {
  transform: translateX(60px);
  width: 68px;
}

.lang-switch[data-lang="si"] .lang-slider {
  transform: translateX(0);
  width: 62px;
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--surface-border);
  color: var(--text-main);
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #0e766e 0%, #14b8a6 60%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.6);
  color: #ffffff;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
  border-radius: 14px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 70px 0 60px;
  position: relative;
  overflow: visible;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Hero Pill Badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald-mint);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-mint);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--emerald-mint);
  opacity: 0.7;
  animation: pulsePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulsePing {
  0% { transform: scale(1); opacity: 0.8; }
  75%, 100% { transform: scale(2.6); opacity: 0; }
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 600px;
}

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

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--surface-border);
}

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

.trust-item svg {
  width: 17px;
  height: 17px;
  fill: var(--emerald-mint);
}

/* ==========================================================================
   Floating 3D Phone Mockup (Hero Graphic)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.phone-mockup-wrapper {
  position: relative;
  animation: floatPhone 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes floatPhone {
  0%, 100% {
    transform: translateY(0px) rotateY(-4deg) rotateX(4deg);
  }
  50% {
    transform: translateY(-16px) rotateY(2deg) rotateX(-2deg);
  }
}

.phone-frame {
  width: 330px;
  height: 660px;
  background: #090e17;
  border-radius: 46px;
  border: 10px solid #1e293b;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 50px -10px var(--emerald-glow),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.island-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111e2e;
  border: 1px solid #1e3a5f;
}

.island-sensor {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #08111e;
}

/* Phone Screen UI */
.phone-screen {
  flex: 1;
  background: #0d1525;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 11px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 6px;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  z-index: 10;
}

.phone-app-header {
  background: linear-gradient(135deg, #0e766e, #115e59);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.phone-app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-app-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.phone-app-title {
  font-weight: 800;
  font-size: 13px;
}

.phone-app-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.mockup-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 11px;
}

.mockup-cat-chips {
  display: flex;
  gap: 6px;
  overflow-x: hidden;
}

.mockup-chip {
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
}

.mockup-chip.active {
  background: var(--emerald-primary);
  color: #fff;
}

.mockup-product-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: 10px;
}

.mockup-item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mockup-item-name {
  font-weight: 700;
  color: #fff;
}

.mockup-item-code {
  font-size: 9px;
  color: #64748b;
}

.mockup-item-price {
  font-weight: 800;
  color: var(--emerald-mint);
}

/* Mockup Cart Drawer */
.mockup-cart-drawer {
  background: #111c30;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #fff;
}

.mockup-pay-btn {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-light));
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Floating Badges around Mockup */
.floating-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  z-index: 25;
}

.fb-1 {
  top: 14%;
  right: -32px;
  animation: floatFb1 5s ease-in-out infinite;
}

.fb-2 {
  bottom: 22%;
  left: -48px;
  animation: floatFb2 5.5s ease-in-out infinite;
}

.fb-3 {
  top: 48%;
  right: -42px;
  animation: floatFb3 4.8s ease-in-out infinite;
}

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

@keyframes floatFb2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

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

.fb-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.fb-icon.green {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.fb-icon.blue {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.fb-icon.gold {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

/* ==========================================================================
   Trust & Key Stats Bar Section
   ========================================================================== */
.stats-section {
  padding: 24px 0 50px;
}

.stats-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--surface-border);
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 40%, var(--emerald-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 3px;
}

.stat-sub {
  font-size: 11px;
  color: var(--text-dim);
}

/* ==========================================================================
   Section Header Standard
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--emerald-mint);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: #ffffff;
  line-height: 1.25;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Bento Feature Grid
   ========================================================================== */
.features-section {
  padding: 60px 0;
  position: relative;
}

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

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--surface-border-hover);
  box-shadow: 0 20px 40px -15px rgba(20, 184, 166, 0.25);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.bento-card:hover::before {
  opacity: 1;
}

/* Bento Sizing */
.bento-col-8 {
  grid-column: span 8;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-col-12 {
  grid-column: span 12;
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(2, 132, 199, 0.15));
  border: 1px solid rgba(20, 184, 166, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--emerald-mint);
  transition: transform var(--transition-spring);
}

.bento-card:hover .bento-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.bento-icon-wrapper svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.bento-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Interactive Bento Graphic Elements */
.bento-graphic {
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  margin-top: 10px;
  overflow: hidden;
}

/* Offline Pulse Visual */
.offline-graphic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(14, 118, 110, 0.15);
  border: 1px dashed rgba(20, 184, 166, 0.4);
}

.offline-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-mint);
}

/* Barcode Laser Animation */
.barcode-visual {
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.barcode-lines {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 60px;
}

.b-bar {
  background: #fff;
  height: 100%;
}

.laser-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #f43f5e;
  box-shadow: 0 0 10px #f43f5e, 0 0 20px #f43f5e;
  animation: laserScan 2s infinite ease-in-out;
}

@keyframes laserScan {
  0%, 100% { top: 15%; opacity: 0.9; }
  50% { top: 85%; opacity: 1; }
}

/* Mini Sales Chart */
.chart-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  height: 60px;
  gap: 10px;
}

.chart-col {
  flex: 1;
  background: linear-gradient(180deg, var(--emerald-mint), var(--emerald-primary));
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 0.5s ease;
}

/* Thermal Paper Visual */
.thermal-visual {
  background: #f8fafc;
  color: #0f172a;
  border-radius: 8px;
  padding: 12px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.thermal-visual .dotted-line {
  border-top: 1px dashed #64748b;
  margin: 6px 0;
}

/* ==========================================================================
   Step-by-Step Installation Guide (PWA Magic)
   ========================================================================== */
.install-section {
  padding: 70px 0;
  position: relative;
}

.install-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.install-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.install-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.install-tab-btn.active {
  background: linear-gradient(135deg, var(--emerald-primary), #0b5953);
  color: #ffffff;
  border-color: var(--emerald-mint);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
}

.install-panel {
  display: none;
}

.install-panel.active {
  display: block;
  animation: panelFade 0.35s ease-out;
}

@keyframes panelFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-hover);
  background: var(--bg-card-hover);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald-mint), var(--cyan-light));
  color: #080e1a;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-icon-preview {
  height: 80px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-mint);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.install-action-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(14, 118, 110, 0.25), rgba(2, 132, 199, 0.25));
  border: 1px solid rgba(20, 184, 166, 0.4);
  border-radius: 18px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Live App Screens Showcase
   ========================================================================== */
.screens-section {
  padding: 70px 0;
  position: relative;
}

.screens-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.screen-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.screen-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.screen-tab-btn.active {
  background: linear-gradient(135deg, var(--emerald-primary), #0284c7);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.3);
}

.screen-display-wrapper {
  background: #0b1322;
  border: 1px solid var(--surface-border);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.8), 0 0 50px -10px var(--emerald-glow);
  max-width: 980px;
  margin: 0 auto;
}

.screen-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-address {
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 18px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--emerald-mint);
  font-family: monospace;
}

.screen-inner-content {
  border-radius: 18px;
  background: #090f1d;
  color: #f1f5f9;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Real Phone Screenshot Styling for Hero & Showcase */
.phone-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.showcase-card-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, rgba(13, 21, 37, 0.95), rgba(8, 14, 26, 0.98));
  min-height: 520px;
}

@media (max-width: 900px) {
  .showcase-card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
}

.showcase-shot-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-device-frame {
  width: 270px;
  max-width: 100%;
  aspect-ratio: 470 / 1024;
  height: auto;
  border-radius: 34px;
  border: 7px solid #1e293b;
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.8),
    0 0 30px -5px rgba(20, 184, 166, 0.35);
  overflow: hidden;
  position: relative;
  background: #090e17;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.showcase-device-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 30px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 45px 0 rgba(20, 184, 166, 0.5);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.showcase-detail-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
}

.showcase-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: var(--emerald-mint);
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
}

.showcase-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.showcase-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.showcase-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

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

.showcase-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.showcase-feature-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(20, 184, 166, 0.3);
}

.showcase-feature-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-feature-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.showcase-feature-text span {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.showcase-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}


/* ==========================================================================
   Pricing & Activation Section
   ========================================================================== */
.pricing-section {
  padding: 70px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.popular {
  background: rgba(14, 118, 110, 0.18);
  border: 2px solid var(--emerald-mint);
  box-shadow: 0 0 50px -10px var(--emerald-glow), 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: scale(1.04);
}

.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--emerald-primary), var(--cyan-accent));
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.5);
}

.pricing-plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 40px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--surface-border);
}

.price-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--emerald-mint);
}

.price-amount {
  font-size: 44px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #e2e8f0;
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--emerald-mint);
  margin-top: 2px;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 70px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-item.open {
  border-color: var(--surface-border-hover);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--emerald-mint);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--emerald-primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  padding-bottom: 24px;
}

/* ==========================================================================
   Final High-Impact CTA Banner
   ========================================================================== */
.final-cta-section {
  padding: 60px 0 80px;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(14, 118, 110, 0.4) 0%, rgba(2, 132, 199, 0.35) 100%), #0d1829;
  border: 1px solid rgba(20, 184, 166, 0.5);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 0 60px -10px var(--emerald-glow);
}

.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: -0.6px;
}

.cta-desc {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 50px 0 30px;
  background: #050a12;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

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

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 13px;
}

/* ==========================================================================
   Animations & Scroll Reveal Classes
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-ctas, .hero-trust-bar {
    justify-content: center;
  }
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-box:nth-child(2)::after {
    display: none;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 36px;
  }
  .stats-card {
    grid-template-columns: 1fr;
  }
  .stat-box::after {
    display: none !important;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-box {
    padding: 36px 20px;
  }
  .cta-title {
    font-size: 28px;
  }
  .phone-frame {
    width: 290px;
    height: 580px;
  }
  .fb-1 {
    right: -10px;
  }
  .fb-2 {
    left: -15px;
  }
  .fb-3 {
    display: none;
  }
}

/* ==========================================================================
   Floating WhatsApp Assistance Widget
   ========================================================================== */
.wa-floating-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-floating-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
  text-decoration: none;
  cursor: pointer;
}

.wa-floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.6), 0 6px 14px rgba(0, 0, 0, 0.3);
}

.wa-floating-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.wa-floating-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.65);
  animation: waPulse 2.2s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}

.wa-floating-tooltip {
  background: rgba(8, 14, 26, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-tooltip-title {
  color: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.wa-tooltip-phone {
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-decoration: none;
}

@media (max-width: 640px) {
  .wa-floating-widget {
    bottom: 20px;
    right: 18px;
  }
  .wa-floating-tooltip {
    display: none;
  }
}

