/* ===========================
   RestaurantsOS - style.css
   =========================== */

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

:root {
  --bg: #030307;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);

  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #f7931a;
  --accent-2: #10b981;

  --teal: #10b981;
  --orange: #f7931a;
  --purple: #8b5cf6;
  --green: #10b981;
  --pink: #f43f5e;
  --indigo: #6366f1;
  --yellow: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 32px;

  --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 80px rgba(0, 0, 0, 0.8);
  --glow: 0 0 50px rgba(99, 102, 241, 0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.025em;
}

a, button {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* UI/UX Pro Max Accessibility: Focus Visible Ring */
*:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 4px;
}

ul { list-style: none; }

/* ===== AMBIENT GLOW BACKDROP ===== */
.ambient-glow-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.1;
  mix-blend-mode: screen;
  will-change: transform;
  transform: translateZ(0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(94, 106, 210, 0) 70%);
  top: -10%;
  left: -10%;
  animation: floatSlow 20s ease-in-out infinite alternate;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(247, 147, 26, 0) 70%);
  bottom: 20%;
  right: -5%;
  animation: floatSlow 25s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--purple) 0%, rgba(139, 92, 246, 0) 70%);
  top: 40%;
  left: 30%;
  animation: floatSlow 30s ease-in-out infinite alternate;
}

.blob-4 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--green) 0%, rgba(16, 185, 129, 0) 70%);
  bottom: -10%;
  left: 10%;
  animation: floatSlow 22s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, -65px) scale(1.1); }
  100% { transform: translate(-25px, 35px) scale(0.95); }
}


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

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(3, 3, 7, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(94,106,210,0.3), 0 8px 20px rgba(94,106,210,0.4);
  transition: box-shadow 0.3s;
}

.logo-icon:hover {
  box-shadow: 0 0 0 1px rgba(94,106,210,0.5), 0 12px 30px rgba(94,106,210,0.6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.nav-links li a {
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links li a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.2);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.6), 0 0 0 1px rgba(99, 102, 241, 0.3);
}


.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  position: relative;
  z-index: 1005;
  transition: background 0.2s, border-color 0.2s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: transform 0.3s, opacity 0.3s;
  display: block;
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
  top: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  top: -100px;
  right: -200px;
  animation: float 12s ease-in-out infinite reverse;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 65%);
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.06;
  animation: float 15s ease-in-out infinite;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}

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

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 45%, #f7931a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.25));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease forwards;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.45), 0 0 0 1px rgba(99, 102, 241, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 60px rgba(99, 102, 241, 0.65), 0 0 0 1px rgba(99, 102, 241, 0.4);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(10px);
}

.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
  text-align: center;
  padding: 0 36px;
}

.stat-number {
  display: block;
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 20%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* HERO DASHBOARD */
.hero-dashboard {
  width: 100%;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 24px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.dashboard-mockup {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 100px rgba(94,106,210,0.08);
  backdrop-filter: blur(10px);
}

.mockup-bar {
  background: rgba(0,0,0,0.3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mockup-content {
  display: flex;
  height: 260px;
}

.mockup-sidebar {
  width: 52px;
  background: rgba(0,0,0,0.2);
  border-right: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 8px;
}

.sidebar-logo-mini {
  font-size: 0.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.sidebar-item {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.sidebar-item.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.sidebar-item:hover:not(.active) {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.mockup-main {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

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

.mockup-badge-live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}

.live-dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.mockup-kanban {
  display: flex;
  gap: 10px;
  height: 180px;
  overflow: hidden;
}

.kanban-col {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  overflow: hidden;
}

.kanban-header {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.kcount {
  background: rgba(108,99,255,0.2);
  color: var(--primary-light);
  padding: 1px 6px;
  border-radius: 100px;
  font-size: 0.6rem;
}

.cooking-c { background: rgba(255,107,53,0.2); color: var(--orange); }
.ready-c { background: rgba(34,197,94,0.2); color: var(--green); }

.kanban-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 8px;
  margin-bottom: 6px;
  transition: background 0.2s;
}

.kcard-table {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-primary);
}

.kcard-items {
  font-size: 0.58rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.kcard-time {
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.kcard-warn { color: #eab308 !important; }
.kcard-ready { color: #22c55e !important; }

/* ===========================
   TRUST BAR
   =========================== */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

.trust-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 24px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-logo {
  padding: 8px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: default;
}

.trust-logo:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* ===========================
   DEMO VIDEO SHOWCASE & PLAYER
   =========================== */
.demo-video-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.video-tag {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #ef4444 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot-red {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse 1.5s infinite;
}

.video-player-card {
  max-width: 960px;
  margin: 40px auto 0;
  position: relative;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(247, 147, 26, 0.3), rgba(255, 255, 255, 0.1));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 60px rgba(99, 102, 241, 0.25);
  overflow: hidden;
}

.video-glow-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%);
  pointer-events: none;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030307;
  border-radius: 23px;
  overflow: hidden;
}

.main-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-play {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 7, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 5;
}

.video-overlay-play.playing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pulsing-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.8), 0 0 0 12px rgba(99, 102, 241, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-overlay-play:hover .pulsing-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(99, 102, 241, 1), 0 0 0 18px rgba(99, 102, 241, 0.3);
}

.video-play-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.video-custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(to top, rgba(3, 3, 7, 0.95), transparent);
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.video-wrapper:hover .video-custom-controls,
.video-wrapper.paused .video-custom-controls {
  opacity: 1;
}

.vcontrol-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.vcontrol-btn:hover {
  background: rgba(99, 102, 241, 0.3);
  transform: scale(1.05);
}

.vcontrol-progress {
  flex: 1;
  cursor: pointer;
  padding: 8px 0;
}

.vcontrol-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.vcontrol-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #f7931a);
  border-radius: 100px;
  transition: width 0.1s linear;
}

.vcontrol-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* ===========================
   VIDEO LIGHTBOX POPUP MODAL
   =========================== */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 7, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: #030307;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9), 0 0 80px rgba(99, 102, 241, 0.3);
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.video-modal-close:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: scale(1.1);
}

.video-modal-body {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
}

.modal-video-player {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===========================
   SECTION COMMON STYLES
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(94,106,210,0.1);
  border: 1px solid rgba(94,106,210,0.2);
  color: var(--primary-light);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.section-title {
  font-family: var(--font);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===========================
   FEATURES
   =========================== */
.features {
  padding: 120px 0;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.feature-card.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(99, 102, 241, 0.15);
}

.feature-large {
  grid-column: span 2;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: white;
  position: relative;
  z-index: 1;
}

.feature-icon-wrap.teal   { background: linear-gradient(135deg, #0ea5e9, #0284c7); box-shadow: 0 6px 20px rgba(14,165,233,0.35); }
.feature-icon-wrap.orange { background: linear-gradient(135deg, #f7931a, #d97706); box-shadow: 0 6px 20px rgba(247,147,26,0.35); }
.feature-icon-wrap.purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 6px 20px rgba(139,92,246,0.35); }
.feature-icon-wrap.green  { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 6px 20px rgba(16,185,129,0.35); }
.feature-icon-wrap.pink   { background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 6px 20px rgba(244,63,94,0.35); }
.feature-icon-wrap.indigo { background: linear-gradient(135deg, #5e6ad2, #3b459d); box-shadow: 0 6px 20px rgba(94,106,210,0.45); }
.feature-icon-wrap.yellow { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 6px 20px rgba(245,158,11,0.35); }

.feature-card h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.feature-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 4px;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.feature-tag-list span {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* QR Phone Visual */
.qr-visual {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

.qr-phone {
  width: 160px;
  background: #0a0b18;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 12px;
  position: relative;
}

.phone-notch {
  width: 50px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin: 0 auto 12px;
}

.phone-screen {}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.phone-cart {
  background: var(--primary);
  color: white;
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 0.55rem;
}

.menu-item-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mini-name {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mini-price {
  font-size: 0.52rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.mini-add {
  width: 20px;
  height: 20px;
  background: rgba(108,99,255,0.2);
  border: 1px solid rgba(108,99,255,0.4);
  color: var(--primary-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
}

.mini-add.added {
  background: rgba(34,197,94,0.2);
  border-color: rgba(34,197,94,0.4);
  color: #22c55e;
  font-size: 0.6rem;
}

/* Analytics Visual */
.analytics-visual {
  margin-top: 28px;
}

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

.chart-bar {
  flex: 1;
  background: rgba(108,99,255,0.2);
  border-radius: 6px 6px 0 0;
  height: var(--h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.chart-bar span {
  font-size: 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.chart-bar:hover {
  background: rgba(108,99,255,0.4);
}

.active-bar {
  background: linear-gradient(180deg, var(--primary) 0%, rgba(108,99,255,0.3) 100%) !important;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(108,99,255,0.04) 50%, transparent 100%);
}

.steps-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.step-line {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: flex-start;
  gap: 24px;
  opacity: 0;
  transform: translateX(-20px);
}

.step.animated {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  padding-top: 24px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 20px;
}

/* ===========================
   TECHNOLOGY
   =========================== */
.tech-section {
  padding: 120px 0;
}

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

.tech-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  backdrop-filter: blur(12px);
}

.tech-card.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s;
}

.tech-card:hover {
  border-color: rgba(94,106,210,0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(94,106,210,0.06);
}

.tech-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.tech-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* ===========================
   PRICING
   =========================== */
.pricing {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(94,106,210,0.03) 50%, transparent 100%);
}

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

.pricing-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  backdrop-filter: blur(12px);
}

.pricing-card.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pricing-featured {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.16), rgba(99, 102, 241, 0.04));
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 80px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

.pricing-featured.animated {
  transform: scale(1.02);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 5px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.plan-price {
  font-family: var(--font);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.plan-features li.disabled {
  color: var(--text-muted);
  opacity: 0.6;
}

.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.plan-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 6px 24px rgba(94,106,210,0.45);
}

.plan-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(94,106,210,0.6);
}

.plan-btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
}

.plan-btn-ghost:hover {
  background: rgba(255,255,255,0.09);
}

/* ===========================
   FAQ ACCORDION SECTION
   =========================== */
.faq-section {
  padding: 90px 0;
  position: relative;
}

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

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  color: var(--primary-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -200px;
  left: -100px;
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--purple);
  bottom: -150px;
  right: -50px;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.cta-content > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(10px);
}

.cta-form input:focus {
  border-color: rgba(94,106,210,0.5);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(94,106,210,0.12);
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
}

.cta-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.65);
}

.cta-fine {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, transparent 0%, rgba(3,3,7,0.8) 100%);
}

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

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-contact-info {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  margin-top: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-contact-info p svg {
  flex-shrink: 0;
  margin-top: 4px;
}


.footer-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.social-icon:hover {
  background: rgba(94,106,210,0.15);
  color: var(--primary-light);
  border-color: rgba(94,106,210,0.3);
  box-shadow: 0 0 20px rgba(94,106,210,0.2);
}

.footer-links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 20px;
}

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

.footer-links ul li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ===========================
   RESPONSIVE — TABLET (≤1024px)
   =========================== */
@media (max-width: 1024px) {
  .nav-container { gap: 16px; }

  .nav-links { display: none; }
  .nav-actions { display: none; }

  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 3, 7, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 90px 24px 40px;
    gap: 6px;
    z-index: 1004;
    overflow-y: auto;
  }

  .nav-links.open li a {
    padding: 14px 20px;
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 12px;
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
  }

  .nav-links.open li a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
  }

  .nav-links.open .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }

  .nav-links.open .mobile-cta .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    text-align: center;
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-large {
    grid-column: span 1;
  }
  .qr-visual { display: none; }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-dashboard { padding: 0 16px; }
/* ===========================
   RESPONSIVE — MOBILE (≤768px)
   =========================== */
@media (max-width: 768px) {

  /* Mobile Speed & Performance Overrides */
  .ambient-blob {
    filter: blur(40px) !important;
    mix-blend-mode: normal !important;
    opacity: 0.06 !important;
  }
  .navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(3, 3, 7, 0.96) !important;
  }
  .hero-orb {
    display: none !important;
  }

  /* ---- HERO ---- */
  .hero {
    padding: 110px 20px 60px;
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 14px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 0.97rem;
    margin-bottom: 32px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 40px;
  }

  .btn-hero-primary,
  .btn-hero-ghost {
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.97rem;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .stat-item {
    padding: 0 20px;
    flex: 0 0 auto;
  }

  .stat-number { font-size: 1.3rem; }
  .stat-label  { font-size: 0.68rem; }

  .stat-divider {
    width: 1px;
    height: 36px;
  }

  /* ---- HERO DASHBOARD MOCKUP ---- */
  .hero-dashboard {
    margin-top: 40px;
    padding: 0 12px;
    overflow: hidden;
  }

  .dashboard-mockup {
    border-radius: 12px;
  }

  .mockup-content {
    height: 200px;
  }

  .mockup-sidebar { width: 42px; }

  .mockup-kanban { gap: 7px; }

  .kanban-col:nth-child(3) { display: none; }

  .kcard-table { font-size: 0.6rem; }
  .kcard-items { font-size: 0.53rem; }
  .kcard-time  { font-size: 0.5rem; }
  .kanban-header { font-size: 0.58rem; }

  /* ---- TRUST BAR ---- */
  .trust-bar { padding: 28px 0; }
  .trust-logos { gap: 8px; }
  .trust-logo {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  /* ---- SECTION HEADER ---- */
  .section-header { margin-bottom: 40px; }
  .section-title  { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .section-subtitle { font-size: 0.93rem; }

  /* ---- FEATURES ---- */
  .features { padding: 70px 0; }

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

  .feature-large { grid-column: span 1; }

  .feature-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 14px;
  }

  .feature-card h3 { font-size: 1.05rem; }
  .feature-card p  { font-size: 0.88rem; }

  /* ---- HOW IT WORKS ---- */
  .how-it-works { padding: 70px 0; }

  .steps-container { padding: 0 8px; }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .step-icon { display: none; }

  .step-number {
    width: 52px;
    height: 52px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .step-line { left: 26px; }

  .step-content h3 {
    font-size: 1.05rem;
    padding-top: 14px;
  }

  .step-content p { font-size: 0.88rem; }

  /* ---- TECHNOLOGY ---- */
  .tech-section { padding: 70px 0; }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .tech-card {
    padding: 20px 18px;
    border-radius: 14px;
  }

  .tech-icon { font-size: 1.6rem; margin-bottom: 12px; }
  .tech-card h4 { font-size: 0.9rem; }
  .tech-card p  { font-size: 0.82rem; }

  /* ---- PRICING ---- */
  .pricing { padding: 70px 0; }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing-card {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .pricing-featured {
    transform: none;
    border-width: 2px;
  }

  .plan-price { font-size: 2.2rem; }

  /* ---- CTA ---- */
  .cta-section { padding: 70px 0; }

  .cta-content h2 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .cta-content > p { font-size: 0.93rem; }

  .cta-form {
    flex-direction: column;
    gap: 10px;
  }

  .cta-form input,
  .cta-submit {
    width: 100%;
    min-width: unset;
  }

  /* ---- FOOTER ---- */
  .footer { padding: 60px 0 32px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-brand p { max-width: 100%; }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding-top: 24px;
  }

  .footer-legal { justify-content: center; }
}

/* ===========================
   RESPONSIVE — SMALL (≤480px)
   =========================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { padding: 100px 16px 50px; }

  .hero-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-badge { font-size: 0.7rem; }

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

  .trust-logos { gap: 6px; }
  .trust-logo  { font-size: 0.72rem; padding: 5px 12px; }

  .mockup-content { height: 180px; }

  .section-title { font-size: clamp(1.5rem, 7vw, 2rem); }

  .features-grid { gap: 12px; }
  .feature-card  { padding: 20px 16px; }

  .pricing-grid { max-width: 100%; }

  .plan-price { font-size: 1.9rem; }

  .steps { gap: 36px; }
}

/* ===========================
   RESPONSIVE — XSMALL (≤360px)
   =========================== */
@media (max-width: 360px) {
  .hero-title { font-size: 1.75rem; }
  .hero-badge { display: none; }
  .nav-logo span { display: none; }   /* show only icon on very tiny screens */
  .logo-icon { width: 32px; height: 32px; }
}

/* ===========================
   LEGAL PAGES (PRIVACY & TERMS)
   =========================== */
.legal-page {
  padding: 140px 0 80px;
  position: relative;
  z-index: 1;
}

.legal-hero {
  text-align: center;
  margin-bottom: 48px;
}

.legal-title {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

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

.legal-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 48px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(99, 102, 241, 0.05);
  max-width: 920px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 40px;
}

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

.legal-section h2 {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

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

.legal-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-section ul li {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-section a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.legal-section a:hover {
  color: var(--text-primary);
}

.legal-contact-box {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-top: 16px;
}

.legal-contact-box p {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

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

@media (max-width: 768px) {
  .legal-page { padding: 100px 0 60px; }
  .legal-card { padding: 28px 20px; }
  .legal-section h2 { font-size: 1.25rem; }
}


