/* N3xPOS v2.1 Landing Page - Custom Styles */

:root {
  --bg-primary: #0B1120;
  --bg-card: #111827;
  --accent-sky: #0EA5E9;
  --accent-cyan: #38BDF8;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: #F8FAFC;
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Sinhala', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #0B1120;
  overflow-x: hidden;
}

/* Language Switcher Pill */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background-color: #111827;
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  border-radius: 0.375rem;
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: #94A3B8;
  transition: background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.lang-btn:hover {
  color: #F8FAFC;
}

.lang-btn.is-active {
  background-color: #0EA5E9;
  color: #020617;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Subtle cyber-grid background */
.bg-cyber-grid {
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.045) 1px, transparent 1px);
}

/* Radial glow helpers */
.hero-glow {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(14, 165, 233, 0.18), transparent 70%);
}

.card-glass {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%);
  backdrop-filter: blur(12px);
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Feature card hover glow */
.feature-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 12px 32px -12px rgba(14, 165, 233, 0.25);
}

/* Thermal receipt paper edge effect */
.receipt-paper {
  background: #F8FAFC;
  color: #0F172A;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0B1120;
}

::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* FAQ accordion transition */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.faq-item[data-open="true"] .faq-content {
  grid-template-rows: 1fr;
}

.faq-inner {
  overflow: hidden;
}

.faq-chevron {
  transition: transform 0.25s ease;
}

.faq-item[data-open="true"] .faq-chevron {
  transform: rotate(180deg);
}
