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

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f0f7ff;
}

::-webkit-scrollbar-thumb {
  background: #1e90ff;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1270cc;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #1e90ff #f0f7ff;
}

:root {
  --blue: #1e90ff;
  --blue-dark: #1270cc;
  --blue-deep: #0f5fa8;
  --blue-tint: #ebf5ff;
  --blue-mid: #cde5ff;
  --bg: #f0f7ff;
  --white: #ffffff;
  --ink: #1e293b;
  --ink-mid: #64748b;
  --ink-light: #94a3b8;
  --border: rgba(30, 144, 255, 0.12);
  --card-shadow: 0 2px 16px rgba(30, 144, 255, 0.08);
  --card-shadow-hover: 0 8px 40px rgba(30, 144, 255, 0.18);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  animation: drift 20s ease-in-out infinite alternate;
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #1e90ff 0%, transparent 70%);
  top: -260px;
  right: -180px;
  animation-duration: 20s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #63b3ff 0%, transparent 70%);
  bottom: -120px;
  left: -100px;
  animation-direction: alternate-reverse;
  animation-duration: 26s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #1e90ff 0%, transparent 70%);
  top: 50%;
  left: 45%;
  opacity: 0.1;
  animation-duration: 16s;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 144, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 144, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(32px, 22px) scale(1.08); }
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
  z-index: 1;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(240, 247, 255, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(30, 144, 255, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(30, 144, 255, 0.4);
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.nav-brand-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}

.nav-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.nav-brand-name span {
  color: var(--blue);
}

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

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  position: relative;
}

.nav-links a:hover {
  color: var(--blue);
  background: var(--blue-tint);
}

.nav-links a.active {
  color: var(--blue-dark);
  background: var(--blue-tint);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
}

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

.btn-ghost {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.btn-ghost:hover {
  border-color: var(--blue-mid);
  background: var(--blue-tint);
}

.btn-primary {
  padding: 8px 20px;
  border: none;
  border-radius: 9px;
  background: var(--blue);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(30, 144, 255, 0.32);
  transition: background 0.15s, box-shadow 0.15s, transform 0.12s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 18px rgba(30, 144, 255, 0.42);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-mid);
  border-radius: 2px;
  transition: all 0.2s;
}

.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-tint);
  border: 1px solid var(--blue-mid);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 22px;
  animation: fadeUp 0.6s 0.08s ease both;
}

.hero-title .accent {
  color: var(--blue);
}

.hero-title .underline-wrap {
  position: relative;
  display: inline-block;
}

.hero-title .underline-wrap::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #63b3ff);
  border-radius: 3px;
  opacity: 0.35;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeUp 0.6s 0.14s ease both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 70px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.btn-hero {
  padding: 14px 30px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s;
}

.btn-hero-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  box-shadow: 0 6px 24px rgba(30, 144, 255, 0.38);
}

.btn-hero-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 32px rgba(30, 144, 255, 0.5);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: var(--card-shadow);
}

.btn-hero-secondary:hover {
  border-color: var(--blue-mid);
  background: var(--blue-tint);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.18s;
  display: flex;
  align-items: center;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-hero-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

.hero-visual {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  animation: fadeUp 0.7s 0.28s ease both;
}

.hero-visual-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 50% 60%, rgba(30, 144, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.dashboard-frame {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.8) inset,
    0 32px 80px rgba(30, 144, 255, 0.16),
    0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.dashboard-topbar {
  background: linear-gradient(90deg, #f8fbff, #f0f7ff);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.topbar-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.topbar-dot:nth-child(1) { background: #ff5f57; }
.topbar-dot:nth-child(2) { background: #febc2e; }
.topbar-dot:nth-child(3) { background: #28c840; }

.topbar-bar {
  flex: 1;
  height: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 11px;
  color: var(--ink-light);
  gap: 6px;
}

.topbar-bar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28c840;
  flex-shrink: 0;
}

.dashboard-body {
  display: flex;
}

.dash-sidebar {
  width: 180px;
  flex-shrink: 0;
  background: #f8fbff;
  border-right: 1px solid var(--border);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mid);
}

.dash-nav-item.active {
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-weight: 600;
}

.dash-nav-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.25;
  flex-shrink: 0;
}

.dash-nav-item.active .dash-nav-icon {
  opacity: 1;
  background: var(--blue);
}

.dash-main {
  flex: 1;
  padding: 18px;
  min-height: 320px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dash-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-stat-label {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
}

.dash-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.dash-stat-meta {
  font-size: 10px;
  color: var(--ink-light);
}

.dash-stat-meta .up {
  color: #16a34a;
}

.dash-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.dash-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 8px 14px;
  background: #f8fbff;
  border-bottom: 1px solid var(--border);
}

.dash-th {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
}

.dash-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 8px 14px;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.dash-table-row:last-child {
  border-bottom: none;
}

.dash-td {
  font-size: 11px;
  color: var(--ink);
}

.dash-td.muted {
  color: var(--ink-mid);
}

.dash-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
}

.badge-green { background: #dcfce7; color: #16a34a; }
.badge-blue  { background: var(--blue-tint); color: var(--blue-dark); }
.badge-amber { background: #fef3c7; color: #d97706; }

.hero-float {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(30, 144, 255, 0.14);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}

.hero-float-1 {
  top: -18px;
  left: -30px;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 20px;
  right: -24px;
  animation-delay: 1.5s;
}

.hero-float-3 {
  bottom: 80px;
  left: -30px;
  animation-delay: 0.8s;
}
.float-icon-amber { background: #fef3c7; color: #d97706; }
.dash-stat-green { color: #16a34a; }
.dash-chart-wrap {
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px 8px;
}
.dash-chart-label {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  margin-bottom: 8px;
}
.dash-chart {
  width: 100%;
  height: 60px;
  display: block;
}
.dash-chart-days {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}
.dash-chart-days span {
  font-size: 9px;
  color: var(--ink-light);
}
 
.analytics { padding: 80px 0; }
.analytics-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.analytics-points { display: flex; flex-direction: column; gap: 24px; }
.analytics-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ap-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ap-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}
.ap-desc {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.6;
}
.analytics-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(30,144,255,0.13);
  overflow: hidden;
}
.am-header {
  background: linear-gradient(90deg, #f8fbff, #f0f7ff);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}
.am-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.am-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}
.am-date {
  font-size: 10px;
  color: var(--ink-light);
}
.am-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.am-stat {
  padding: 12px 14px;
  border-right: 1px solid var(--border);
}
.am-stat:last-child { border-right: none; }
.am-stat-label {
  font-size: 8.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  margin-bottom: 4px;
}
.am-stat-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 2px;
}
.am-stat-meta { font-size: 9px; color: var(--ink-light); }
.am-up { color: #16a34a; font-weight: 600; }
.am-stat-blue .am-stat-val { color: var(--blue); }
.am-stat-green .am-stat-val { color: var(--blue-dark); }
.am-stat-emerald .am-stat-val { color: #059669; }
.am-stat-amber .am-stat-val { color: #d97706; }
.am-chart-section { padding: 12px 16px 8px; }
.am-chart-head {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  margin-bottom: 8px;
}
.am-area-chart {
  width: 100%;
  height: 80px;
  display: block;
}
.am-bottom-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.am-mini-card {
  padding: 10px 14px;
  border-right: 1px solid var(--border);
}
.am-mini-card:last-child { border-right: none; }
.am-mini-warn { background: #fffbf0; }
.am-mini-label {
  font-size: 8.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  margin-bottom: 3px;
}
.am-mini-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.am-warn { color: #d97706; }
 
.realtime { padding: 80px 0; background: linear-gradient(180deg, var(--bg) 0%, #e8f4ff 100%); }
.realtime-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.realtime-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.realtime-title .accent { color: var(--blue); }
.realtime-sub {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 420px;
}
.realtime-steps { display: flex; flex-direction: column; gap: 14px; }
.rt-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.rt-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.rt-step-text {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.55;
}
.rt-step-text strong { color: var(--ink); }
 
.rt-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.rt-phone {
  width: 130px;
  background: #1e293b;
  border-radius: 22px;
  padding: 10px 8px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
  position: relative;
}
.rt-phone-notch {
  width: 40px;
  height: 8px;
  background: #0f172a;
  border-radius: 4px;
  margin: 0 auto 8px;
}
.rt-phone-screen {
  background: #f0f7ff;
  border-radius: 14px;
  padding: 10px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.rt-phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.rt-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 2s infinite;
}
.rt-scan-frame {
  width: 80px;
  height: 80px;
  position: relative;
  margin: 4px auto;
}
.rt-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--blue);
  border-style: solid;
}
.rt-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.rt-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.rt-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.rt-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.rt-scan-line {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: scanMove 2s ease-in-out infinite;
  top: 20px;
}
@keyframes scanMove {
  0%, 100% { top: 20px; opacity: 0.8; }
  50% { top: 56px; opacity: 1; }
}
.rt-scan-hint {
  font-size: 9px;
  font-weight: 600;
  color: #16a34a;
  text-align: center;
}
.rt-scan-code {
  font-size: 8px;
  font-family: monospace;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
}
.rt-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rt-arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.rt-arrow { width: 60px; }
.rt-ws-label {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.rt-desktop {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 180px;
  box-shadow: 0 8px 28px rgba(30,144,255,0.12);
}
.rt-desktop-screen { padding: 10px; }
.rt-desktop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}
.rt-badge-live {
  font-size: 8.5px;
  font-weight: 700;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 20px;
  padding: 2px 7px;
}
.rt-cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 5px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 9.5px;
}
.rt-cart-item:last-of-type { border-bottom: none; }
.rt-cart-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.rt-cart-name { color: var(--ink); font-weight: 600; font-size: 9px; }
.rt-cart-qty { color: var(--ink-mid); font-size: 8.5px; }
.rt-cart-price { color: var(--ink); font-weight: 700; font-size: 9px; }
.rt-cart-animate {
  animation: cartSlideIn 0.5s 0.8s ease both;
  background: #f0f7ff;
  border-radius: 4px;
  padding: 5px 4px;
}
@keyframes cartSlideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
.rt-checkout-btn {
  margin-top: 8px;
  background: var(--blue);
  color: #fff;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}
 
.receipt-section { padding: 80px 0; }
.receipt-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.receipt-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.receipt-title .accent { color: var(--blue); }
.receipt-sub {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 420px;
}
.receipt-features { display: flex; flex-direction: column; gap: 10px; }
.rf-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.rf-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
 
.receipt-mockup {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 20px 18px;
  width: 220px;
  font-family: 'Courier New', monospace;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
}
.receipt-mockup::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, #fff 0px, #fff 8px, #e2e8f0 8px, #e2e8f0 10px);
}
.receipt-mockup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, #fff 0px, #fff 8px, #e2e8f0 8px, #e2e8f0 10px);
}
.rcpt-biz { font-size: 13px; font-weight: bold; text-align: center; color: #1e293b; margin-bottom: 2px; }
.rcpt-biz-detail { font-size: 10px; text-align: center; color: #64748b; margin-bottom: 1px; }
.rcpt-divider-dash { border: none; border-top: 1px dashed #cbd5e1; margin: 8px 0; }
.rcpt-divider-solid { border: none; border-top: 1.5px solid #1e293b; margin: 8px 0; }
.rcpt-row { display: flex; justify-content: space-between; font-size: 10px; color: #64748b; margin-bottom: 3px; }
.rcpt-mono { font-family: monospace; font-size: 9.5px; }
.rcpt-item { margin-bottom: 6px; }
.rcpt-item-top { display: flex; justify-content: space-between; font-size: 11px; font-weight: bold; color: #1e293b; }
.rcpt-item-detail { font-size: 9.5px; color: #94a3b8; padding-left: 2px; }
.rcpt-total { display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #1e293b; margin: 4px 0; }
.rcpt-thanks { text-align: center; font-size: 9.5px; color: #94a3b8; }
 
@media (max-width: 960px) {
  .analytics-layout { grid-template-columns: 1fr; }
  .realtime-inner { grid-template-columns: 1fr; }
  .receipt-inner { grid-template-columns: 1fr; }
  .receipt-mockup { margin: 0 auto; }
  .am-stat-row { grid-template-columns: repeat(2, 1fr); }
  .am-stat:nth-child(2) { border-right: none; }
  .am-bottom-row { grid-template-columns: repeat(2, 1fr); }
  .am-mini-card:nth-child(2) { border-right: none; }
}
 
@media (max-width: 640px) {
  .rt-visual { flex-direction: column; gap: 12px; }
  .rt-arrow-wrap { transform: rotate(90deg); }
  .am-stat-row { grid-template-columns: 1fr 1fr; }
  .am-stat-val { font-size: 11px; }
}

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

.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.float-icon-green { background: #dcfce7; color: #16a34a; }
.float-icon-blue  { background: var(--blue-tint); color: var(--blue); }

.float-label {
  font-size: 10px;
  color: var(--ink-light);
  font-weight: 400;
}

.stats-strip {
  padding: 0 0 80px;
}

.stats-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--blue-tint);
}

.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-mid);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-tint);
  border: 1px solid var(--blue-mid);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-title .accent {
  color: var(--blue);
}

.section-sub {
  font-size: 15.5px;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

.features {
  padding: 80px 0;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  border-color: var(--blue-mid);
}

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  fill: none;
}

.icon-blue   { background: var(--blue-tint); color: var(--blue); }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-green  { background: #dcfce7; color: #16a34a; }
.icon-orange { background: #fef3c7; color: #d97706; }
.icon-teal   { background: #cffafe; color: #0891b2; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.65;
}

.how {
  padding: 80px 0;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.2s;
}

.how-step:last-child {
  border-bottom: none;
}

.how-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--ink-mid);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.how-step.active .how-step-num,
.how-step:hover .how-step-num {
  background: var(--blue);
  color: #fff;
}

.how-step-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
  margin-bottom: 5px;
  transition: color 0.2s;
}

.how-step.active h4,
.how-step:hover h4 {
  color: var(--blue-dark);
}

.how-step-body p {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.6;
}

.how-visual {
  position: sticky;
  top: 100px;
}

.how-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(30, 144, 255, 0.13);
  overflow: hidden;
}

.how-card-header {
  background: linear-gradient(135deg, var(--blue) 0%, #3aa4ff 100%);
  padding: 24px 24px 20px;
  color: #fff;
}

.how-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.how-card-header p {
  font-size: 12.5px;
  opacity: 0.82;
}

.how-card-body {
  padding: 20px 24px;
}

.how-role-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-role-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.how-role-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.how-role-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-role-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.how-role-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
}

.rb-owner   { background: var(--blue-tint); color: var(--blue-dark); }
.rb-manager { background: #ede9fe; color: #7c3aed; }
.rb-cashier { background: #dcfce7; color: #16a34a; }

.roles {
  padding: 80px 0;
}

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

.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  transition: all 0.22s;
  text-align: center;
}

.role-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.role-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.role-card p {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

.role-perms {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.role-perm {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-mid);
  text-align: left;
}

.perm-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
}

.cta-section {
  padding: 80px 0 100px;
}

.cta-inner {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 50%, #3aa4ff 100%);
  border-radius: var(--radius-xl);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-blob-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  pointer-events: none;
}

.cta-blob-2 {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  bottom: -60px;
  left: -40px;
  pointer-events: none;
}

.cta-inner > * {
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.cta-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 38px;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-cta-white {
  padding: 14px 32px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue-dark);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: all 0.18s;
}

.btn-cta-white:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.btn-cta-outline {
  padding: 14px 32px;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s;
}

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

footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 28px 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

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

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 240px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-light);
  margin-bottom: 14px;
}

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

.footer-col a {
  font-size: 13.5px;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.14s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--ink-light);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12.5px;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.14s;
}

.footer-links a:hover {
  color: var(--blue);
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 20, 40, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu-panel {
  margin-top: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--white);
  padding: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: -8px 0 48px rgba(30, 144, 255, 0.14);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 66px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: rgba(240, 247, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.mobile-menu-logo {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.4px;
  text-decoration: none;
}

.mobile-menu-logo span {
  color: var(--blue);
}

.mobile-menu-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.mobile-menu-close:hover {
  background: var(--blue-tint);
  color: var(--blue);
}

.mobile-menu-nav {
  padding: 16px 12px 8px;
  flex-shrink: 0;
}

.nav-section-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  padding: 4px 10px 10px;
}

.mobile-menu-panel a.menu-link {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.14s, background 0.14s;
  margin-bottom: 2px;
  position: relative;
}

.mobile-menu-panel a.menu-link:hover {
  color: var(--blue-dark);
  background: var(--blue-tint);
}

.mobile-menu-panel a.menu-link.active {
  color: var(--blue-dark);
  background: var(--blue-tint);
  font-weight: 600;
}

.mobile-menu-panel a.menu-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--blue);
  border-radius: 0 2px 2px 0;
}

.mobile-menu-panel a.menu-link.active .menu-link-icon {
  background: var(--blue-mid);
  color: var(--blue-dark);
}

.menu-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-mid);
  transition: background 0.14s, color 0.14s;
}

.mobile-menu-panel a.menu-link:hover .menu-link-icon {
  background: var(--blue-mid);
  color: var(--blue-dark);
}

.menu-link-text {
  flex: 1;
}

.mobile-menu-auth {
  margin-top: auto;
  padding: 20px 16px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu-auth-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 2px;
}

.btn-mobile-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink);
  transition: all 0.16s;
}

.btn-mobile-signin:hover {
  border-color: var(--blue-mid);
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.btn-mobile-getstarted {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 18px rgba(30, 144, 255, 0.38);
  transition: all 0.16s;
}

.btn-mobile-getstarted:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 24px rgba(30, 144, 255, 0.5);
  transform: translateY(-1px);
}

.role-card-icon svg {
  width: 26px;
  height: 26px;
}

.legal-page {
  position: relative;
  z-index: 1;
  padding: 60px 0 100px;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-tint);
  border: 1px solid var(--blue-mid);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.legal-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.legal-header p {
  font-size: 14px;
  color: var(--ink-light);
}

.legal-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  padding: 52px 60px;
  max-width: 820px;
}

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

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

.legal-section h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.legal-section p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 10px;
}

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

.legal-section ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.legal-section ul li {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.legal-section ul li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 8px;
  flex-shrink: 0;
}

.legal-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.cta-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 6px 8px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  flex: 1;
  min-width: 160px;
}

.cta-feature-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.cta-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.cta-feature-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.cta-feature-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-visual { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .legal-body { padding: 36px 32px; }
}

@media (max-width: 720px) {
  .hero { padding: 70px 0 60px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .features-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .hero-float { display: none; }
  .cta-inner { padding: 48px 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-features {
    flex-direction: column;
    padding: 4px;
    gap: 0;
  }
  .cta-feature {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .cta-feature:last-child {
    border-bottom: none;
  }
  .cta-feature-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-top: 1px solid var(--border); }
  .stat-item:first-child { border-top: none; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-hero { justify-content: center; }
  .legal-body { padding: 28px 20px; }
}

.workflow {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #e8f4ff 100%);
}
 
.wf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
 
.wf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.22s, transform 0.22s;
}
 
.wf-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}
 
.wf-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
 
.wf-header-blue {
  background: linear-gradient(135deg, #ebf5ff 0%, #dbeafe 100%);
}
 
.wf-header-green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}
 
.wf-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
 
.wf-header-blue .wf-card-icon { color: var(--blue); }
.wf-header-green .wf-card-icon { color: #16a34a; }
 
.wf-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 3px;
  letter-spacing: -0.2px;
}
 
.wf-card-header p {
  font-size: 12.5px;
  color: var(--ink-mid);
  margin: 0;
}
 
.wf-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
 
.wf-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
 
.wf-step-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
 
.wf-pill-blue {
  background: var(--blue-tint);
  color: var(--blue-dark);
  border: 1.5px solid var(--blue-mid);
}
 
.wf-pill-green {
  background: #f0fdf4;
  color: #16a34a;
  border: 1.5px solid #bbf7d0;
}
 
.wf-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
 
.wf-step-content strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.1px;
}
 
.wf-step-content span {
  font-size: 12.5px;
  color: var(--ink-mid);
  line-height: 1.6;
}
 
.wf-step-content em {
  color: var(--blue-dark);
  font-style: normal;
  font-weight: 600;
}
 
.wf-connector {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, #cbd5e1 0%, #e2e8f0 100%);
  margin: 6px 0 6px 13px;
  flex-shrink: 0;
}
 
.wf-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--blue-mid);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(30,144,255,0.08);
}
 
.wf-callout-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
 
.wf-callout strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.15px;
}
 
.wf-callout span {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.65;
}
 
.wf-callout em {
  color: var(--blue-dark);
  font-style: normal;
  font-weight: 600;
}
 
@media (max-width: 860px) {
  .wf-cards { grid-template-columns: 1fr; }
}
 
.qr-login-callout {
  background: var(--blue-tint);
  border: 1.5px solid var(--blue-mid);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 24px;
}
 
.qr-login-callout-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
 
.qr-login-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(30,144,255,0.12);
}
 
.qr-login-callout-head strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-deep);
}
 
.qr-login-callout p {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0;
}
 
.rt-qr-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px 4px;
  width: 100%;
}
 
.rt-qr-grid {
  display: grid;
  grid-template-columns: repeat(5, 12px);
  grid-template-rows: repeat(5, 12px);
  gap: 2px;
}
 
.rt-qr-cell {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
 
.rt-qr-dark { background: #1e293b; }
.rt-qr-light { background: #f1f5f9; }
 
.rt-qr-hint {
  font-size: 8px;
  color: var(--ink-light);
  text-align: center;
  margin: 0;
}
 
.rt-mode-btns {
  display: flex;
  gap: 5px;
  width: 100%;
  padding: 0 2px;
}
 
.rt-mode-btn {
  flex: 1;
  padding: 5px 4px;
  border-radius: 6px;
  font-size: 7.5px;
  font-weight: 600;
  text-align: center;
  background: #f1f5f9;
  color: var(--ink-mid);
  border: 1px solid #e2e8f0;
}
 
.rt-mode-active {
  background: var(--blue-tint);
  color: var(--blue-dark);
  border-color: var(--blue-mid);
}

.how-login-info {
  margin-top: 16px;
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
 
.how-login-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-light);
  margin-bottom: 10px;
}
 
.how-login-fields {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
 
.how-login-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
 
.how-login-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mid);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 8px;
  flex-shrink: 0;
}
 
.how-login-val {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-dark);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
 

.perm-no {
  background: #fee2e2 !important;
  color: #ef4444 !important;
}
 
.role-perm:has(.perm-no) {
  opacity: 0.65;
}
 
.pricing {
  padding: 100px 0 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 32px;
  align-items: stretch;
}


.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.pricing-card-pro {
  border-color: var(--blue);
  border-width: 1.5px;
  background: linear-gradient(160deg, #f0f8ff 0%, #ffffff 60%);
  box-shadow: 0 8px 48px rgba(30, 144, 255, 0.18);
}

.pricing-card-pro:hover {
  box-shadow: 0 16px 64px rgba(30, 144, 255, 0.28);
}

.pricing-card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(30,144,255,0.35);
}

.pricing-card-header {
  margin-bottom: 28px;
}

.pricing-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pricing-badge-free {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.pricing-badge-pro {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(30,144,255,0.3);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-mid);
  line-height: 1;
}

.pricing-currency-pro {
  color: var(--blue);
}

.pricing-price {
  font-size: 56px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -3px;
  line-height: 1;
}

.pricing-price-pro {
  color: var(--blue-dark);
}

.pricing-period {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-light);
  align-self: flex-end;
  padding-bottom: 6px;
}

.pricing-period-pro {
  color: var(--ink-mid);
}

.pricing-tagline {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin: 0;
}

.pricing-tagline-pro {
  color: var(--ink-mid);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin-bottom: 28px;
}

.pf-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
}

.pf-yes {
  color: var(--ink);
}

.pf-no {
  color: var(--ink-light);
}

.pf-no strong {
  font-weight: 500;
  color: var(--ink-light);
}

.pf-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pf-icon-yes {
  background: #f0fdf4;
  color: #16a34a;
}

.pf-icon-pro {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.pf-icon-no {
  background: #f8fafc;
  color: #cbd5e1;
}

.pf-item strong {
  font-weight: 700;
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: -0.1px;
}

.pricing-cta-free {
  background: #f1f5f9;
  color: var(--ink);
  border: 1.5px solid #e2e8f0;
}

.pricing-cta-free:hover {
  background: var(--blue-tint);
  border-color: var(--blue-mid);
  color: var(--blue-dark);
}

.pricing-cta-pro {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(30,144,255,0.4);
}

.pricing-cta-pro:hover {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 100%);
  box-shadow: 0 8px 32px rgba(30,144,255,0.52);
  transform: translateY(-1px);
}

.pricing-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-light);
  margin-top: 12px;
}

.pricing-faq {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--blue-mid);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(30,144,255,0.07);
  max-width: 860px;
  margin: 0 auto;
}

.pricing-faq-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-faq strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.15px;
}

.pricing-faq span {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.65;
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .pricing-card-pro {
    order: -1;
  }

  .pricing-price {
    font-size: 44px;
  }
}