/* ==========================================================================
   Fassernate.com Design System & Stylesheet
   Modern Glassmorphism, Dark Mode & Authentic Superapp UI Match
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  /* Color Palette matching Superapp Dark Theme */
  --bg-dark: #070913;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --surface-glass: rgba(255, 255, 255, 0.04);
  --surface-glass-border: rgba(255, 255, 255, 0.08);
  --surface-glass-glow: rgba(139, 92, 246, 0.15);

  /* Accents */
  --primary-purple: #8B5CF6;
  --primary-purple-hover: #7C3AED;
  --primary-gradient: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #06B6D4 100%);
  --accent-mint: #10B981;
  --accent-cyan: #06B6D4;
  --accent-amber: #F59E0B;
  --accent-pink: #EC4899;
  
  /* Text */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-glow: rgba(248, 250, 252, 0.9);

  /* Layout & Spacing */
  --container-max: 1280px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows & Transitions */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(139, 92, 246, 0.35);
  --shadow-mint-glow: 0 0 30px rgba(16, 185, 129, 0.3);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Universal Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #070913;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  color-scheme: dark;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: #070913;
  background-image: radial-gradient(circle at 50% 0%, #15102a 0%, #070913 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-purple);
}

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

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.gradient-text {
  color: #C084FC;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.gradient-text-mint {
  color: #34D399;
  background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #A78BFA;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

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

/* --------------------------------------------------------------------------
   3. Header & Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(7, 9, 19, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.4));
}

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

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-purple);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

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

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

.btn-mint {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-mint-glow);
}

.btn-mint:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Multilingual Language Selector */
.lang-selector-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-select-dropdown {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--surface-glass-border);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23A78BFA%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 10px auto;
}

.lang-select-dropdown:hover {
  border-color: rgba(139, 92, 246, 0.6);
  background-color: rgba(30, 41, 59, 0.9);
}

.lang-select-dropdown option {
  background: #0B0F19;
  color: #F8FAFC;
}

/* --------------------------------------------------------------------------
   4. Hero Section & Device Frame Fixes
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 100vw;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(6, 182, 212, 0.15) 40%, rgba(7, 9, 19, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

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

.hero-content {
  max-width: 620px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.08;
}

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

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-glass-border);
}

.stat-item .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Device Mockup Visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.device-frame {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--surface-glass-border);
}

.window-dots {
  display: flex;
  gap: 6px;
}
.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot.red { background: #FF5F56; }
.window-dot.yellow { background: #FFBD2E; }
.window-dot.green { background: #27C93F; }

.app-mode-selector {
  display: flex;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 4px;
}

.mode-btn {
  padding: 6px 14px;
  font-size: 0.78rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.mode-btn.active {
  background: var(--primary-purple);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

.device-screen {
  min-height: 330px;
  background: #0B0F19;
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Screen View Variants */
.screen-view {
  display: none !important;
}

.screen-view.active {
  display: block !important;
  animation: fadeIn 0.4s ease-out forwards;
}

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

/* Live POS View Mockup */
/* Live Fast POS View Mockup (Matching Screenshot) */
.pos-screen-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.pos-catalog-side {
  display: flex;
  flex-direction: column;
}

.pos-header-mock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.merchant-tag {
  font-weight: 700;
  font-size: 0.9rem;
  color: #F1F5F9;
}

.badge-role {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.pos-cat-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pos-cat-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  cursor: pointer;
}

.pos-cat-pill.active {
  background: #F97316;
  color: #FFFFFF;
  border-color: transparent;
}

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

.product-card-mock {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.product-card-mock.active-item {
  border-color: rgba(249, 115, 22, 0.6);
  background: rgba(249, 115, 22, 0.06);
}

.qty-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F97316;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #E2E8F0;
}

.product-sub {
  font-size: 0.68rem;
  color: #64748B;
  margin-top: 2px;
}

.product-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #F97316;
  margin-top: 6px;
}

/* Fast POS Bill Sidebar Panel */
.pos-bill-side {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bill-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.bill-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

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

.bill-summary-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.btn-card-tap {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  border: none;
  border-radius: 6px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 10px;
  cursor: pointer;
}

.btn-cash-entry {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #E2E8F0;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 8px 10px;
  cursor: pointer;
}

/* Industry Segment Switcher Bar */
.industry-segment-bar {
  margin-top: 40px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  padding: 16px 24px;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.segment-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.segment-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.segment-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-glass-border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.segment-tab-btn:hover, .segment-tab-btn.active {
  background: var(--primary-purple);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* --------------------------------------------------------------------------
   Awards & Credibility Banner Section
   -------------------------------------------------------------------------- */
.awards-banner {
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid var(--surface-glass-border);
  border-bottom: 1px solid var(--surface-glass-border);
  padding: 40px 0;
  backdrop-filter: blur(16px);
  margin: 60px 0;
}

.awards-header {
  text-align: center;
  margin-bottom: 24px;
}

.awards-header p {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.award-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-fast);
}

.award-badge:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.award-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.award-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.award-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.award-badge.featured-award {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
  text-decoration: none;
}

.award-badge.featured-award:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.25) 100%);
  border-color: rgba(245, 158, 11, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
}

.press-quote-card {
  max-width: 840px;
  margin: 32px auto 0 auto;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  position: relative;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.press-quote-card .quote-content {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.press-quote-card .quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: #F59E0B;
  font-family: serif;
}

.press-quote-card p {
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.6;
  font-style: italic;
}

.press-quote-card .quote-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  font-size: 0.85rem;
  color: #94A3B8;
  flex-wrap: wrap;
  gap: 8px;
}

.read-article-link {
  color: #F59E0B;
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition-fast);
}

.read-article-link:hover {
  color: #FCD34D;
}

/* --------------------------------------------------------------------------
   AI Business Copilot & Advisor Cards Showcase
   -------------------------------------------------------------------------- */
.ai-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.ai-insight-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-smooth);
}

.ai-insight-card:hover {
  border-color: rgba(139, 92, 246, 0.6);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(139, 92, 246, 0.3);
}

.ai-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-sparkle-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED 0%, #6366F1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
  flex-shrink: 0;
}

.ai-metric-box {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.ai-recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-rec-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.rec-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-coach-banner {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Transparent Pricing Section Styles
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto 40px auto;
}

.pricing-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

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

.pricing-card.free-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card.pro-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  width: fit-content;
  margin-bottom: 16px;
}

.pricing-badge.featured-badge {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

.pricing-plan-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.pricing-price {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #34D399;
}

.pro-card .price-val {
  font-size: 1.8rem;
  color: #F59E0B;
}

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

.pricing-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 44px;
}

.pricing-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-list li {
  font-size: 0.9rem;
  color: #E2E8F0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.check-icon {
  color: #34D399;
  font-weight: 800;
  font-size: 1rem;
}

.pricing-btn {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 1rem;
}

.pricing-clarification-banner {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.5;
}

.parsed-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.parsed-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.4s ease-out forwards;
}

/* View Toggle Bar for Fassie AI Simulator */
.fassie-view-toggle-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.fassie-view-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.fassie-view-tab-btn:hover, .fassie-view-tab-btn.active {
  background: var(--primary-purple);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* --------------------------------------------------------------------------
   5. Authentic Fassie AI Setup Screen Mockup (Matching Superapp Screenshots)
   -------------------------------------------------------------------------- */
.fassie-app-container {
  background: #0B0B12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.fassie-screen-view {
  display: none;
}

.fassie-screen-view.active {
  display: block;
}

/* Live Iframe Embed Wrapper */
.fassie-iframe-wrapper {
  width: 100%;
  height: 560px;
  background: #0B0B12;
  position: relative;
}

.fassie-live-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #0B0B12;
}

/* Screen 1: Fassernate Welcome Onboarding View (Matching Screenshot 2) */
.fassie-welcome-body {
  padding: 36px 28px 28px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, #1a162e 0%, #0b0b12 80%);
}

.fassie-welcome-avatar-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  border: 2px solid rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
  margin-bottom: 20px;
}

.fassie-welcome-avatar {
  font-size: 2.4rem;
}

.fassie-welcome-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.fassie-welcome-subtitle {
  font-size: 0.95rem;
  color: #94A3B8;
  margin-bottom: 32px;
}

.fassie-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  max-width: 520px;
  margin: 0 auto 36px;
}

.fassie-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 18px;
  border-radius: 14px;
}

.fassie-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fassie-feature-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #F8FAFC;
  margin-bottom: 4px;
}

.fassie-feature-text {
  font-size: 0.84rem;
  color: #94A3B8;
  line-height: 1.45;
}

.fassie-welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 20px;
}

.btn-magic-ai {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #7C3AED 0%, #6366F1 100%);
  border: none;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-magic-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.7);
}

.btn-setup-manual {
  width: 100%;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #E2E8F0;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-setup-manual:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.fassie-welcome-footer {
  font-size: 0.85rem;
  color: #64748B;
}

.fassie-app-header {
  background: #12121D;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fassie-app-title {
  font-size: 1rem;
  font-weight: 700;
  color: #F8FAFC;
}

.fassie-chat-window {
  padding: 24px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 0%, #171529 0%, #0d0d15 100%);
}

.fassie-intro-bubble {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.fassie-robot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
  flex-shrink: 0;
}

.fassie-intro-text {
  font-size: 0.92rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.fassie-quick-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.fassie-action-pill {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #DDD6FE;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fassie-action-pill:hover {
  background: var(--primary-purple);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.fassie-bottom-inputbar {
  background: rgba(22, 22, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fassie-input-field {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: #F8FAFC;
  font-size: 0.92rem;
  outline: none;
}

.fassie-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-purple);
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.fassie-send-btn:hover {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   6. Hardware Cost Contrast & Why Choose Section
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 90px 0;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

.cost-comparison-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 50px;
  backdrop-filter: blur(16px);
}

.cost-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.cost-col {
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cost-col.traditional {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.cost-col.fassernate {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-mint-glow);
}

.cost-col-header {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cost-col.traditional .cost-col-header { color: #FCA5A5; }
.cost-col.fassernate .cost-col-header { color: #34D399; }

.cost-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.cost-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.why-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition-smooth);
}

.why-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
  background: rgba(30, 41, 59, 0.75);
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   6B. Best Fit Section
   -------------------------------------------------------------------------- */
.best-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.best-fit-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  position: relative;
}

.best-fit-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.best-fit-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.best-fit-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.best-fit-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.best-fit-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.best-fit-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: #CBD5E1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.best-fit-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   7. How It Works Steps Grid
   -------------------------------------------------------------------------- */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
  background: rgba(30, 41, 59, 0.75);
}

.step-num-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* --------------------------------------------------------------------------
   8. Merchant How-To Guides Container
   -------------------------------------------------------------------------- */
.howto-interactive-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(16px);
}

.howto-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.howto-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-glass-border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.howto-nav-item:hover, .howto-nav-item.active {
  background: rgba(139, 92, 246, 0.18);
  border-color: var(--primary-purple);
  color: var(--text-primary);
}

.howto-display-panel {
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.howto-guide-content {
  display: none;
  animation: fadeIn 0.35s ease-out forwards;
}

.howto-guide-content.active {
  display: block;
}

.guide-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
}

.guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.guide-step-item .bullet {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. WhatsApp Notifications Sandbox Section
   -------------------------------------------------------------------------- */
.whatsapp-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.phone-mockup {
  width: 320px;
  margin: 0 auto;
  background: #111B21;
  border: 8px solid #2A3942;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 211, 102, 0.2);
}

.phone-topbar {
  background: #202C33;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #E9EDEF;
  border-bottom: 1px solid #2A3942;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.phone-chat-body {
  padding: 16px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-image: radial-gradient(#202c33 1px, transparent 0);
  background-size: 16px 16px;
}

.chat-bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
}

.chat-bubble.outbound {
  background: #005C4B;
  color: #E9EDEF;
  align-self: flex-start;
  border-top-left-radius: 2px;
}

/* --------------------------------------------------------------------------
   10. Multi-Role Workspace Section
   -------------------------------------------------------------------------- */
.workspace-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-glass-border);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.workspace-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(16px);
}

/* --------------------------------------------------------------------------
   11. Testimonials & Social Proof Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition-fast);
}

.testimonial-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
}

.quote-text {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.6;
}

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

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

.author-details .author-name {
  font-weight: 700;
  color: var(--text-primary);
}
.author-details .author-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. CTA Banner, Footer & QR Modal
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  margin-bottom: 80px;
}

.cta-banner h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.footer {
  background: #04060C;
  border-top: 1px solid var(--surface-glass-border);
  padding: 60px 0 30px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--surface-glass-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease-out forwards;
}

.modal-content {
  background: #0B0F19;
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Section scroll margin offset for fixed header navigation */
section[id], div[id] {
  scroll-margin-top: 90px;
}

/* --------------------------------------------------------------------------
   13. Media Queries & Comprehensive Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-links {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid, 
  .why-grid, 
  .best-fit-grid, 
  .ai-agent-grid, 
  .how-it-works-grid, 
  .howto-interactive-container, 
  .fassie-container, 
  .whatsapp-grid, 
  .cost-comparison-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0B0F19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    gap: 16px;
    z-index: 1001;
  }

  .nav-links.active,
  .nav-links.open {
    display: flex !important;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-secondary,
  .nav-actions .open-qr-modal-btn {
    display: none !important;
  }

  .nav-actions .btn-primary {
    padding: 8px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pos-screen-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }

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

  .section-title {
    font-size: 1.75rem;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  .logo-brand {
    font-size: 1.15rem;
    gap: 8px;
  }

  .logo-brand img {
    height: 32px;
  }

  .navbar .container {
    padding: 0 12px;
    gap: 8px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 6px 10px;
    white-space: normal;
    text-align: center;
  }

  /* Corrected selector: .hero-cta-group instead of .hero-buttons */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 12px 18px;
    white-space: normal;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-actions .btn-primary {
    padding: 7px 11px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .device-frame {
    padding: 14px 10px;
    border-radius: 18px;
  }

  .device-screen {
    padding: 12px 10px;
    min-height: auto;
  }

  .ai-card-header {
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
  }

  .ai-insight-card {
    padding: 18px 14px;
  }

  .pos-header-mock,
  .bill-header,
  .bill-item {
    flex-wrap: wrap;
    gap: 6px;
  }

  .app-mode-selector {
    flex-wrap: wrap;
    gap: 6px;
  }

  .mode-btn {
    flex: 1 1 calc(50% - 6px);
    font-size: 0.78rem;
    padding: 8px 10px;
    text-align: center;
  }

  .segment-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .segment-tab-btn {
    flex: 1 1 calc(50% - 6px);
    font-size: 0.78rem;
    padding: 8px 10px;
    text-align: center;
  }

  .cost-comparison-card {
    padding: 20px 14px;
    margin-bottom: 30px;
  }

  .cost-col {
    padding: 18px 12px;
  }

  .cost-list li {
    font-size: 0.84rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .best-fit-card {
    padding: 20px 16px;
  }

  .why-card {
    padding: 20px 16px;
  }

  .pricing-card {
    padding: 24px 18px;
  }

  .pricing-badge {
    font-size: 0.7rem;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
  }

  .pricing-clarification-banner {
    flex-direction: column;
    padding: 16px 14px;
    gap: 10px;
    font-size: 0.82rem;
  }

  .howto-interactive-container {
    padding: 20px 14px;
  }

  .howto-nav-item {
    font-size: 0.84rem;
    padding: 10px 12px;
  }

  .howto-display-panel {
    padding: 18px 14px;
  }

  .fassie-app-container {
    border-radius: 16px;
    width: 100%;
    margin: 0 auto;
  }

  .fassie-welcome-body {
    padding: 24px 16px 20px;
  }

  .fassie-welcome-title {
    font-size: 1.6rem;
  }

  .fassie-welcome-subtitle {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .fassie-feature-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .fassie-chat-window {
    padding: 16px 12px;
  }

  .fassie-quick-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .fassie-action-pill {
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  .fassie-bottom-inputbar {
    padding: 6px 10px;
    gap: 8px;
  }

  .fassie-input-field {
    font-size: 0.82rem;
    min-width: 0;
  }

  .parsed-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 12px;
  }

  .phone-mockup {
    width: 100%;
    max-width: 310px;
    border-width: 6px;
    border-radius: 28px;
  }

  .workspace-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 6px);
    padding: 10px 12px;
    font-size: 0.8rem;
    text-align: center;
  }

  .workspace-card {
    padding: 20px 14px;
  }

  .cta-banner {
    padding: 36px 18px;
    margin-bottom: 40px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .cta-banner p {
    font-size: 0.95rem;
  }

  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-banner-buttons .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .modal-content {
    padding: 24px 16px;
    width: 95%;
  }

  .btn-magic-ai, .btn-setup-manual {
    font-size: 0.85rem;
    padding: 12px 16px;
    white-space: normal;
    word-break: break-word;
  }

  /* Prevent text clipping in links and code elements */
  a, span, p, h1, h2, h3, h4, h5, h6, li {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (max-width: 380px) {
  .logo-brand span {
    font-size: 0.95rem;
  }

  .nav-actions .btn-primary {
    font-size: 0.7rem;
    padding: 5px 8px;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-badge, .section-tag {
    font-size: 0.65rem;
  }
}

/* --------------------------------------------------------------------------
   18. Legal & Privacy Policy Styles
   -------------------------------------------------------------------------- */
.legal-hero {
  padding: 120px 0 50px;
  background: radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.legal-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.legal-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.legal-pill.highlight {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #C4B5FD;
}

.legal-layout {
  padding: 50px 0 100px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.legal-sidebar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-toc-list a {
  display: block;
  font-size: 0.83rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  line-height: 1.4;
}

.legal-toc-list a:hover,
.legal-toc-list a.active {
  background: rgba(139, 92, 246, 0.15);
  color: #F8FAFC;
  border-left: 3px solid var(--primary-purple);
  padding-left: 9px;
}

.legal-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.legal-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.legal-section-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul, .legal-card ol {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
  padding-left: 20px;
  margin-bottom: 18px;
}

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

.legal-subhead {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #E2E8F0;
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-callout {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.legal-callout.mint {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

.legal-callout-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.legal-callout-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.legal-callout-text a {
  color: #A78BFA;
  font-weight: 600;
  text-decoration: underline;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.88rem;
}

.legal-table th, .legal-table td {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.legal-table td {
  color: var(--text-secondary);
}

.legal-table a {
  color: #A78BFA;
  text-decoration: none;
  font-weight: 600;
}

.legal-table a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static;
    max-height: none;
  }
}

