/* ==========================================================================
   NexaPOS Landing Page - Stylesheet
   Design System & Pixel-Perfect Aesthetics with Dark/Light/Auto Themes
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Variable Definitions
   -------------------------------------------------------------------------- */

:root {
  /* Default Theme Variables (Used as base for Auto) */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Helper to define dark variables block to be reused */
:root, [data-theme="dark"] {
  --bg-main: #070a13;
  --bg-surface: rgba(15, 22, 42, 0.7);
  --bg-surface-opaque: #0f162a;
  --bg-header: rgba(7, 10, 19, 0.75);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(59, 130, 246, 0.4);
  
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  
  --primary-accent: #3b82f6;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --secondary-accent: #1e293b;
  --secondary-hover: #334155;
  
  --cyan-glow: rgba(6, 182, 212, 0.15);
  --purple-glow: rgba(59, 130, 246, 0.15);
  
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --glass-bg: rgba(15, 22, 42, 0.6);
  --glass-blur: 16px;
  
  --accent-color: #3b82f6;
  --accent-secondary: #06b6d4;
  --accent-success: #10b981;
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: rgba(255, 255, 255, 0.75);
  --bg-surface-opaque: #ffffff;
  --bg-header: rgba(248, 250, 252, 0.8);
  
  --border-light: rgba(15, 23, 42, 0.08);
  --border-active: rgba(37, 99, 235, 0.3);
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --primary-accent: #2563eb;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  --secondary-accent: #e2e8f0;
  --secondary-hover: #cbd5e1;
  
  --cyan-glow: rgba(8, 145, 178, 0.08);
  --purple-glow: rgba(37, 99, 235, 0.08);
  
  --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-blur: 12px;
  
  --accent-color: #2563eb;
  --accent-secondary: #0891b2;
  --accent-success: #059669;
}

/* Support Auto matching OS Theme */
@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
    --bg-main: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.75);
    --bg-surface-opaque: #ffffff;
    --bg-header: rgba(248, 250, 252, 0.8);
    
    --border-light: rgba(15, 23, 42, 0.08);
    --border-active: rgba(37, 99, 235, 0.3);
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    
    --primary-accent: #2563eb;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    --secondary-accent: #e2e8f0;
    --secondary-hover: #cbd5e1;
    
    --cyan-glow: rgba(8, 145, 178, 0.08);
    --purple-glow: rgba(37, 99, 235, 0.08);
    
    --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-blur: 12px;
    
    --accent-color: #2563eb;
    --accent-secondary: #0891b2;
    --accent-success: #059669;
  }
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  color: var(--text-main);
  background-color: var(--bg-main);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: bold; }
.text-cyan { color: var(--accent-secondary); }
.text-red { color: #ef4444; }
.text-muted { color: var(--text-muted); }

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   3. Buttons & UI Elements
   -------------------------------------------------------------------------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px -3px rgba(139, 92, 246, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-accent);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

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

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

.icon-right {
  margin-left: 8px;
}

/* --------------------------------------------------------------------------
   4. Glowing Grid Background
   -------------------------------------------------------------------------- */

.glowing-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, var(--border-light) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-light) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -100;
  opacity: 0.4;
}

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color var(--transition-normal), border var(--transition-normal);
}

.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  padding: 3px;
  background: #ffffff;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.logo-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px -3px rgba(59, 130, 246, 0.3);
}

.logo-icon {
  color: var(--accent-color);
  margin-right: 8px;
  font-size: 26px;
}

.logo-highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-fast);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

/* Theme Dropdown Switcher */
.theme-switcher-container {
  position: relative;
}

.theme-btn {
  background: var(--secondary-accent);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition-fast);
}

.theme-btn:hover {
  background: var(--secondary-hover);
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-surface-opaque);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px;
  width: 160px;
  box-shadow: var(--card-shadow);
  display: none;
  flex-direction: column;
  gap: 4px;
}

.theme-dropdown.show {
  display: flex;
}

.theme-dropdown-item {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.theme-dropdown-item:hover, .theme-dropdown-item.active {
  background: var(--secondary-accent);
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */

.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  background: var(--purple-glow);
  color: var(--accent-color);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-active);
  margin-bottom: 24px;
  gap: 8px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 7. Interactive Ecosystem Map */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connecting-line {
  stroke: var(--border-light);
  stroke-width: 2.5;
  stroke-dasharray: 8 8;
  animation: dash 30s linear infinite;
  fill: none;
  transition: stroke var(--transition-normal);
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

.connecting-line.active {
  stroke: var(--accent-color);
  stroke-width: 3.5;
}

.eco-core-card {
  position: absolute;
  z-index: 10;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--card-shadow);
  width: 140px;
  transition: border var(--transition-fast), transform var(--transition-fast);
}

.eco-core-card:hover {
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.eco-cloud-icon {
  font-size: 36px;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.eco-cloud-label {
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}

.eco-node {
  position: absolute;
  z-index: 10;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.eco-node:hover {
  transform: scale(1.1);
  border-color: var(--accent-color);
}

.node-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.node-title {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.node-android {
  top: 10%;
  left: 10%;
}
.node-android .node-icon { color: #3ddc84; }

.node-web {
  top: 10%;
  right: 10%;
}
.node-web .node-icon { color: var(--accent-secondary); }

.node-catalog {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}
.node-catalog:hover {
  transform: translate(-50%, -10%) scale(1.1);
}
.node-catalog .node-icon { color: var(--accent-color); }

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
  opacity: 0;
}

.eco-core-card .pulse-ring {
  border-radius: 24px;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  80%, 100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   8. Ecosystem Steps Section
   -------------------------------------------------------------------------- */

.ecosystem-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 64px;
}

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

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.eco-flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.flow-card {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.flow-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
}

.flow-card.active {
  border-color: var(--accent-color);
  box-shadow: 0 10px 40px -15px var(--purple-glow);
}

.flow-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-gradient);
  color: var(--text-inverse);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.flow-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.flow-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   9. Products Suite (The Core Switcher)
   -------------------------------------------------------------------------- */

.products-section {
  padding: 100px 0;
  background: rgba(15, 23, 42, 0.02);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.product-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.product-tabs {
  display: flex;
  background: var(--secondary-accent);
  border: 1px solid var(--border-light);
  padding: 6px;
  border-radius: 9999px;
  gap: 4px;
}

.tab-trigger {
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.tab-trigger:hover {
  color: var(--text-main);
}

.tab-trigger.active {
  background: var(--bg-surface-opaque);
  color: var(--text-main);
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
}

.product-content-wrapper {
  position: relative;
}

.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: block;
  animation: fadeIn var(--transition-normal) forwards;
}

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

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.prod-badge-plat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.product-details h3 {
  font-size: 36px;
  margin-bottom: 16px;
}

.product-details > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
}

.feature-bullets li i {
  color: var(--accent-color);
  font-size: 16px;
  margin-top: 4px;
}

.product-actions-group {
  display: flex;
  gap: 16px;
}

/* Premium Device Mockup Previews */
.product-preview-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
}

.preview-dot:nth-child(1) { background: #ef4444; }
.preview-dot:nth-child(2) { background: #f59e0b; }
.preview-dot:nth-child(3) { background: #10b981; }

.preview-title {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.preview-body {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
}

/* Android CSS UI Mockup */
.mock-android-screen {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  height: 380px;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface-opaque);
  font-weight: 700;
}

.mock-search {
  margin: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 12px;
  flex: 1;
}

.mock-card {
  background: var(--bg-surface-opaque);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mock-img {
  width: 48px;
  height: 48px;
  background: var(--cyan-glow);
  color: var(--accent-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 8px;
}

.mock-name {
  font-weight: 700;
  font-size: 11px;
  text-align: center;
}

.mock-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 10px;
  margin-top: 2px;
}

.mock-stock-tag {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 4px;
}

.disabled-card {
  opacity: 0.55;
}

.mock-stock-tag-red {
  font-size: 9px;
  color: #ef4444;
  font-weight: 700;
  margin-top: 4px;
}

.mock-cart-summary {
  background: var(--bg-surface-opaque);
  border-top: 1px solid var(--border-light);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

/* Web Desktop CSS Mockup */
.mock-web-screen {
  display: flex;
  height: 380px;
  font-size: 11px;
}

.mock-web-sidebar {
  width: 50px;
  background: var(--bg-surface-opaque);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  gap: 16px;
}

.sidebar-item {
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
}

.sidebar-item.active {
  color: var(--accent-color);
}

.mock-web-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mock-web-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface-opaque);
}

.status-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-success);
  font-weight: 700;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-success);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

.mock-web-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  flex: 1;
}

.mock-web-products {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-web-prod-row {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: var(--bg-surface-opaque);
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.mock-web-cart {
  background: var(--bg-surface-opaque);
  border-left: 1px solid var(--border-light);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.cart-title {
  font-weight: 700;
  font-size: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.cart-total-row {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 12px;
}

.mock-checkout-btn {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  border: none;
  font-weight: 700;
  padding: 8px;
  border-radius: 6px;
  margin-top: 8px;
  font-size: 10px;
}

/* Catalog Screen Preview Mockup */
.mock-catalog-screen {
  height: 380px;
  display: flex;
  flex-direction: column;
  font-size: 11px;
}

.mock-catalog-banner {
  height: 100px;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?auto=format&fit=crop&w=400&q=80');
  background-size: cover;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: white;
}

.mock-outlet-meta h3 {
  font-size: 14px;
  font-weight: 700;
}

.mock-outlet-meta p {
  font-size: 9px;
  opacity: 0.8;
  margin-top: 2px;
}

.mock-cat-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
}

.mock-cat-item {
  display: flex;
  align-items: center;
  padding: 8px;
  background: var(--bg-surface-opaque);
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

.mock-cat-img {
  width: 32px;
  height: 32px;
  background: var(--purple-glow);
  color: var(--accent-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.mock-cat-desc {
  margin-left: 10px;
  flex: 1;
}

.mock-cat-desc h4 {
  font-size: 11px;
  font-weight: 700;
}

.mock-cat-desc p {
  font-size: 10px;
  margin-top: 2px;
  font-weight: 700;
  color: var(--accent-color);
}

.add-circle-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   10. Core Technical Features Grid Section
   -------------------------------------------------------------------------- */

.features-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.icon-purple {
  background: rgba(147, 51, 234, 0.1);
  color: #a855f7;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.icon-violet {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.icon-yellow {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Call to Action Bottom Section
   -------------------------------------------------------------------------- */

.cta-bottom-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-bottom-container {
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  padding: 64px;
  max-width: 1000px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 20px 50px -20px var(--purple-glow);
}

.cta-bottom-section h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-bottom-section p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 36px;
}

.cta-bottom-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   12. Footer Section
   -------------------------------------------------------------------------- */

.main-footer {
  background: var(--bg-surface-opaque);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
  transition: background-color var(--transition-normal);
}

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

.footer-brand {
  max-width: 380px;
}

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

.footer-links-group {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.footer-col a, .footer-col span {
  font-size: 13px;
  color: var(--text-muted);
}

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

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

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-container, .product-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  
  .hero-ctas, .hero-stats {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .eco-flow-container {
    flex-direction: column;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
    margin: 12px 0;
  }
}

@media (max-width: 768px) {
  .main-header {
    padding: 10px 0;
  }
  
  .header-container {
    height: 60px;
  }
  
  .nav-menu {
    display: none; /* Mobile hamburger could go here */
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-bottom-btns, .product-actions-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  
  .product-tabs {
    flex-direction: column;
    border-radius: 20px;
    width: 100%;
  }
  
  .tab-trigger {
    width: 100%;
    justify-content: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-links-group {
    flex-direction: column;
    gap: 24px;
  }
}
