:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.4);
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4338ca;
  --primary-glow: rgba(99, 102, 241, 0.25);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 10% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
              var(--bg-primary);
  min-height: 100vh;
}

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

/* ── Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 29, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* ── Hero Section ── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: pulseGlow 3s infinite;
}

.hero-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--primary-light) 70%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px var(--primary-glow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  padding: 16px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

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

/* ── Hero POS App Mockup Showcase ── */
.hero-mockup-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7), 0 0 80px rgba(99, 102, 241, 0.15);
}

.mockup-window {
  background: #0f172a;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-header {
  background: #0a0f1d;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

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

/* ── Mockup Interactive App Content ── */
.pos-ui-preview {
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: 480px;
  background: #f1f5f9;
  color: #0f172a;
  text-align: left;
}

.pos-main-panel {
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.pos-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.pos-top-bar h3 {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pos-badge {
  background: #f59e0b;
  color: #0f172a;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}

.pos-category-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pos-chip {
  padding: 6px 14px;
  background: white;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.pos-chip.active {
  background: #4f46e5;
  color: white;
  border-color: #4f46e5;
}

.pos-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  flex: 1;
}

.pos-item-card {
  background: white;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.pos-item-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.pos-item-card .price {
  font-size: 13px;
  font-weight: 800;
  color: #059669;
}

.pos-item-card .sizes {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
}

.pos-cart-panel {
  background: white;
  border-left: 1px solid #e2e8f0;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 12px;
}

.cart-types {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.cart-type-btn {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  border: none;
  cursor: pointer;
}

.cart-type-btn.active {
  background: #4f46e5;
  color: white;
}

.cart-items-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.cart-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 12px;
}

.cart-checkout-btn {
  width: 100%;
  padding: 12px;
  background: #4f46e5;
  color: white;
  font-weight: 700;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* ── Section Structure ── */
.section {
  padding: 90px 0;
  position: relative;
}

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

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

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 17px;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

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

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

.feature-icon-indigo { background: rgba(99, 102, 241, 0.15); color: var(--primary-light); }
.feature-icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.feature-icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.feature-icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

/* ── Interactive Receipt Simulator & Printer Section ── */
.receipt-section {
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.5) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.receipt-sim-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.sim-controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.sim-controls-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sim-controls-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: white;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.printer-config-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 20px;
}

.printer-config-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}
.printer-config-row:last-child {
  margin-bottom: 0;
}

.printer-ip-badge {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 700;
  font-size: 12px;
}

/* ── Thermal Receipt Paper Mockup ── */
.receipt-paper-wrapper {
  perspective: 1000px;
}

.receipt-paper {
  background: #ffffff;
  color: #111827;
  padding: 32px 28px;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.05);
  font-family: 'Courier New', Courier, monospace;
  position: relative;
  transform: rotate(1deg);
  transition: var(--transition);
}

.receipt-paper:hover {
  transform: rotate(0deg) scale(1.02);
}

.receipt-paper::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(circle, transparent, transparent 50%, #ffffff 50%, #ffffff 100%);
  background-size: 16px 20px;
}

.paper-header {
  text-align: center;
  border-bottom: 1px dashed #9ca3af;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.paper-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
}

.paper-tagline {
  font-size: 11px;
  color: #6b7280;
}

.paper-address, .paper-phone {
  font-size: 11px;
  color: #374151;
  margin-top: 2px;
}

.paper-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #4b5563;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #d1d5db;
}

.paper-items {
  margin-bottom: 14px;
}

.paper-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.paper-item-desc {
  font-size: 10px;
  color: #6b7280;
}

.paper-total-box {
  border-top: 1px dashed #9ca3af;
  border-bottom: 1px dashed #9ca3af;
  padding: 8px 0;
  margin-bottom: 14px;
}

.paper-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 900;
}

.paper-footer {
  text-align: center;
  font-size: 11px;
  color: #6b7280;
  font-style: italic;
}

/* ── Interactive Screenshots Showcase ── */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.tab-content {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* ── Download CTA Card ── */
.download-section {
  padding: 100px 0;
}

.download-card {
  background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
              radial-gradient(circle at 0% 100%, rgba(6, 182, 212, 0.2) 0%, transparent 60%),
              var(--bg-secondary);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px var(--primary-glow);
}

.download-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.download-desc {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 36px;
}

.download-meta-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.meta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

/* ── FAQ ── */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 15px;
  display: none;
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--border-active);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  background: #080c17;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-link:hover {
  color: var(--primary-light);
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(99, 102, 241, 0.2); }
  50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
}

/* ── Responsive Design ── */
@media (max-width: 900px) {
  .hero-title { font-size: 40px; }
  .pos-ui-preview { grid-template-columns: 1fr; }
  .pos-cart-panel { border-left: none; border-top: 1px solid #e2e8f0; }
  .receipt-sim-grid { grid-template-columns: 1fr; }
  .download-card { padding: 40px 24px; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .section-title { font-size: 28px; }
}
