/* ============================================================
   Enqaz Landing Page - aligned with shared Enqaz UI system
   ============================================================ */

:root {
  --brand-50: #EEF4FE;
  --brand-100: #D6E5FC;
  --brand-200: #AECBF9;
  --brand-300: #7DAFF5;
  --brand-400: #5994F0;
  --brand-500: #3A78E8;
  --brand-600: #2860C4;
  --brand-700: #1D4A9A;
  --brand-800: #132F66;
  --brand-900: #0A1D40;

  --background: #EEF4FE;
  --surface: #FFFFFF;
  --surface-soft: #F8FAFC;
  --surface-blue: #F4F8FF;
  --border: #DDE7F7;
  --border-strong: #AECBF9;
  --text: #0F172A;
  --text-dim: #475569;
  --text-muted: #64748B;

  --success: #059669;
  --success-bg: #ECFDF5;
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --violet: #7C3AED;
  --violet-bg: #F5F3FF;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 16px;

  --shadow-soft: 0 14px 32px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 20px 48px rgba(19, 47, 102, 0.14);
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--brand-600);
  color: #FFFFFF;
}

.bg-system {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(214, 229, 252, 0.9) 0%, rgba(238, 244, 254, 0.88) 42%, rgba(255, 255, 255, 0.96) 100%),
    var(--background);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 47, 102, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 47, 102, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 82%);
}

/* Navigation */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(19, 47, 102, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: box-shadow 0.2s var(--easing), top 0.2s var(--easing), border-color 0.2s var(--easing);
}

.nav.scrolled {
  top: 8px;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 30px;
  color: var(--brand-800);
}

.logo-img {
  width: auto;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(17%) sepia(43%) saturate(1806%) hue-rotate(191deg) brightness(93%) contrast(98%);
  pointer-events: none;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  padding: 7px 10px;
  color: var(--text-dim);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s var(--easing), color 0.2s var(--easing);
}

.nav-links a:hover {
  color: var(--brand-800);
  background: var(--brand-50);
}

.nav-actions {
  gap: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--brand-800);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--easing), background 0.2s var(--easing), border-color 0.2s var(--easing), box-shadow 0.2s var(--easing);
}

.btn-primary {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  box-shadow: 0 10px 20px rgba(40, 96, 196, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  box-shadow: 0 12px 24px rgba(40, 96, 196, 0.25);
}

.btn-outline {
  color: var(--brand-800);
  background: #FFFFFF;
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--brand-50);
}

.btn-ghost {
  color: var(--brand-700);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--brand-800);
  background: var(--brand-50);
}

.btn-lg {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 15px;
}

/* Hero */
.hero {
  position: relative;
  width: min(1280px, 100%);
  min-height: 92vh;
  margin: 0 auto;
  padding: 128px 32px 64px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
}

.hero-inner {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 10px;
  color: var(--brand-700);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(19, 47, 102, 0.06);
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.hero-title {
  margin-bottom: 20px;
  font-size: 64px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--brand-900);
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 2px;
}

.hero-title .word {
  display: inline-block;
  will-change: transform;
}

.hero-title .italic,
.gradient-text {
  color: var(--brand-600);
  font-style: normal;
}

.hero-sub {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
}

.stat {
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 24px rgba(19, 47, 102, 0.06);
}

.stat-num {
  color: var(--brand-700);
  font-size: 19px;
  line-height: 1.15;
  font-weight: 800;
}

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

.hero-visual {
  position: relative;
  height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nfc-orbit {
  position: absolute;
  left: 2px;
  bottom: 78px;
  z-index: 4;
  width: 168px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nfc-card {
  position: relative;
  z-index: 2;
  width: 106px;
  height: 70px;
  padding: 12px;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 50px rgba(19, 47, 102, 0.24);
  transform: rotate(-8deg);
}

.nfc-card-chip {
  width: 25px;
  height: 18px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 5px;
}

.nfc-card-lines {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: grid;
  gap: 5px;
}

.nfc-card-lines span {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.nfc-card-lines span:last-child {
  width: 24px;
}

.nfc-symbol {
  position: absolute;
  top: 12px;
  right: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.nfc-wave {
  position: absolute;
  width: 78px;
  height: 78px;
  border: 2px solid rgba(40, 96, 196, 0.15);
  border-radius: 50%;
  opacity: 0;
  animation: nfc-wave 9s ease-out infinite;
}

.nfc-wave:nth-of-type(2) {
  animation-delay: 2.4s;
}

.nfc-wave:nth-of-type(3) {
  animation-delay: 4.8s;
}

.nfc-label {
  position: absolute;
  right: 0;
  bottom: 4px;
  padding: 6px 9px;
  color: var(--brand-800);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 26px rgba(19, 47, 102, 0.1);
  font-size: 12px;
  font-weight: 800;
}

@keyframes nfc-wave {
  0% { transform: scale(0.6); opacity: 0.42; }
  66% { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

.phone {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 560px;
}

.phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 12px;
  background: #111827;
  border: 1px solid rgba(15, 23, 42, 0.3);
  border-radius: 44px;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 5;
  width: 88px;
  height: 24px;
  background: #020617;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 16px;
  color: var(--text);
  background: linear-gradient(180deg, #FFFFFF, var(--brand-50));
  border-radius: 32px;
  overflow: hidden;
}

.phone-status,
.phone-icons,
.app-header,
.app-list-item {
  display: flex;
  align-items: center;
}

.phone-status {
  justify-content: space-between;
  padding: 0 4px;
  color: var(--brand-900);
  font-size: 12px;
  font-weight: 700;
}

.phone-icons {
  gap: 5px;
}

.app-header {
  justify-content: space-between;
  margin-top: 14px;
}

.app-greeting {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.app-name {
  margin-top: 2px;
  color: var(--brand-900);
  font-size: 18px;
  font-weight: 800;
}

.app-avatar {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.app-card {
  position: relative;
  padding: 14px;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 46%);
  pointer-events: none;
}

.app-card-nfc {
  position: absolute;
  right: 12px;
  top: 12px;
  color: rgba(255, 255, 255, 0.24);
}

.app-card-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.76);
}

.app-card-title {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
}

.app-card-meta {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.app-card-cta {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.app-tile {
  min-height: 64px;
  padding: 9px 6px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.app-tile-icon {
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 800;
}

.app-tile-label {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
}

.app-list-item {
  gap: 10px;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.app-pulse {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  background: var(--danger-bg);
  border-radius: 50%;
}

.app-pulse::after {
  content: "";
  position: absolute;
  inset: 9px;
  background: var(--danger);
  border-radius: 50%;
  animation: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.65); opacity: 0.8; }
  62% { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}

.app-list-title {
  color: var(--brand-900);
  font-size: 13px;
  font-weight: 800;
}

.app-list-meta {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
}

.app-list-value {
  margin-left: auto;
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
}

.phone-shadow {
  position: absolute;
  bottom: -35px;
  left: 50%;
  z-index: -1;
  width: 76%;
  height: 30px;
  background: rgba(19, 47, 102, 0.22);
  border-radius: 50%;
  filter: blur(18px);
  transform: translateX(-50%);
}

.console-card {
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 3;
  width: 320px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.console-dots {
  display: flex;
  gap: 4px;
}

.console-dots span {
  width: 8px;
  height: 8px;
  background: #CBD5E1;
  border-radius: 50%;
}

.console-dots span:first-child { background: #EF4444; }
.console-dots span:nth-child(2) { background: #F59E0B; }
.console-dots span:nth-child(3) { background: #10B981; }

.console-url {
  color: var(--text-muted);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
}

.console-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.console-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-pill {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.console-pill.green { background: var(--success); }
.console-pill.blue { background: var(--brand-500); }
.console-pill.amber { background: var(--warning); }

.console-line {
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
}

.w-20 { width: 20%; }
.w-30 { width: 30%; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }

.console-chart {
  height: 54px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 6px;
}

.console-chart span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--brand-400), var(--brand-700));
  border-radius: 4px 4px 0 0;
}

.ecg {
  position: absolute;
  top: 50%;
  left: -3%;
  z-index: 1;
  width: 106%;
  height: 80px;
  color: rgba(40, 96, 196, 0.34);
  transform: translateY(-50%);
}

.ecg-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  transform: translateX(-50%);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(19, 47, 102, 0.05);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  will-change: transform;
}

.marquee-track span {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 700;
}

.marquee-track i {
  color: var(--brand-400);
  font-style: normal;
  font-weight: 800;
}

/* Sections */
.section {
  position: relative;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 96px 32px;
}

.section-dark {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #F8FAFC 12%, #F8FAFC 88%, rgba(255, 255, 255, 0));
}

.section-dark > * {
  width: min(1280px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.section-title {
  margin-bottom: 16px;
  color: var(--brand-900);
  font-size: 42px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}

.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.65;
}

/* Card workflow */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.platform-card {
  position: relative;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 32px rgba(19, 47, 102, 0.07);
  overflow: hidden;
  transition: transform 0.25s var(--easing), border-color 0.2s var(--easing), box-shadow 0.2s var(--easing);
}

.platform-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.platform-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(89, 148, 240, 0.12), transparent 44%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--easing);
}

.platform-card:hover .platform-glow {
  opacity: 1;
}

.platform-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-400));
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 22px rgba(40, 96, 196, 0.2);
}

.platform-card.admin .platform-icon {
  background: linear-gradient(135deg, var(--success), #34D399);
  box-shadow: 0 12px 22px rgba(5, 150, 105, 0.18);
}

.platform-card.android .platform-icon {
  background: linear-gradient(135deg, #111827, #34D399);
  box-shadow: 0 12px 22px rgba(5, 150, 105, 0.16);
}

.platform-card h3 {
  margin-bottom: 8px;
  color: var(--brand-900);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.platform-card p {
  margin-bottom: 18px;
  color: var(--text-dim);
  line-height: 1.62;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  list-style: none;
}

.feature-pills li {
  padding: 5px 9px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
}

.platform-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  color: var(--text);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 18px rgba(19, 47, 102, 0.06);
  transition: transform 0.2s var(--easing), border-color 0.2s var(--easing);
}

.store-btn:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.store-btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.12;
}

.store-btn small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

.store-btn strong {
  margin-top: 2px;
  color: var(--brand-900);
  font-size: 14px;
  font-weight: 800;
}

.platform-version {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.patient-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.patient-feature,
.cf-card,
.bento-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 24px rgba(19, 47, 102, 0.06);
}

.patient-feature {
  padding: 20px;
  transition: transform 0.22s var(--easing), border-color 0.2s var(--easing);
}

.patient-feature:hover,
.cf-card:hover,
.bento-item:hover {
  border-color: var(--border-strong);
}

.pf-icon,
.cf-icon {
  width: fit-content;
  min-width: 38px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 5px 8px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 800;
}

.nfc-mini {
  position: relative;
  overflow: visible;
}

.nfc-mini svg {
  position: relative;
  z-index: 2;
}

.nfc-mini-wave {
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(40, 96, 196, 0.22);
  border-radius: var(--radius-md);
  opacity: 0;
  animation: nfc-mini-wave 6.5s ease-out infinite;
}

@keyframes nfc-mini-wave {
  0% { transform: scale(0.82); opacity: 0.48; }
  62% { transform: scale(1.26); opacity: 0; }
  100% { transform: scale(1.26); opacity: 0; }
}

.patient-feature h4,
.cf-card h4 {
  margin-bottom: 6px;
  color: var(--brand-900);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.patient-feature p,
.cf-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.56;
}

/* Console showcase */
.console-showcase {
  margin-bottom: 36px;
  perspective: 2000px;
}

.console-window {
  display: grid;
  grid-template-columns: 230px 1fr;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.cw-sidebar {
  padding: 18px 12px;
  color: #FFFFFF;
  background: var(--brand-800);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.cw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 4px 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cw-logo span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.cw-logo-img {
  width: auto;
  height: 20px;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.cw-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 3px;
  padding: 9px 10px;
  color: var(--brand-300);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
}

.cw-nav-item span {
  min-width: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.cw-nav-item.active {
  color: #FFFFFF;
  background: var(--brand-700);
  border-left: 3px solid var(--brand-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.cw-main {
  padding: 24px;
}

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

.cw-title {
  color: var(--brand-900);
  font-size: 20px;
  font-weight: 800;
}

.cw-subtitle {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 13px;
}

.cw-search {
  min-width: 240px;
  padding: 9px 12px;
  color: var(--text-muted);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.cw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.cw-stat {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
}

.cw-stat-label {
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.cw-stat-value {
  color: var(--brand-900);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.cw-stat-trend {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
}

.cw-stat-trend.up { color: var(--success); }
.cw-stat-trend.down { color: var(--warning); }

.cw-table {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cw-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.35fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  color: var(--text-dim);
  border-bottom: 1px solid #EEF2F7;
  font-size: 13px;
}

.cw-row:last-child {
  border-bottom: 0;
}

.console-window + .doctor-window {
  margin-top: 20px;
}

.doctor-window {
  display: grid;
  grid-template-columns: 224px 1fr;
  min-height: 520px;
  background: var(--brand-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform-style: preserve-3d;
}

.doctor-sidebar {
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  background: var(--brand-800);
}

.doctor-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 20px 18px;
}

.doctor-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  border-radius: var(--radius-md);
}

.doctor-brand strong,
.doctor-profile strong {
  display: block;
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
}

.doctor-brand span,
.doctor-profile span {
  display: block;
  margin-top: 5px;
  color: var(--brand-400);
  font-size: 12px;
  font-weight: 700;
}

.doctor-divider {
  height: 1px;
  margin: 0 16px 12px;
  background: var(--brand-700);
}

.doctor-nav {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 0 12px 16px;
}

.doctor-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.56);
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 700;
}

.doctor-nav-item span {
  width: 30px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  border-radius: var(--radius-md);
  font-size: 10px;
  font-weight: 900;
}

.doctor-nav-item.active {
  color: #FFFFFF;
  background: var(--brand-700);
}

.doctor-nav-item.active span {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
}

.doctor-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 16px;
  padding: 12px;
  background: var(--brand-700);
  border-radius: var(--radius-xl);
}

.doctor-avatar,
.doctor-user-avatar {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.doctor-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.doctor-topbar {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: #FFFFFF;
  border-bottom: 1px solid #DBEAFE;
}

.doctor-topbar h3 {
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.doctor-user {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
}

.doctor-user-avatar {
  width: 28px;
  height: 28px;
  font-size: 10px;
}

.doctor-dashboard {
  padding: 24px;
}

.doctor-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 20px;
  padding: 26px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0F2D6B 0%, var(--brand-700) 50%, var(--brand-600) 100%);
  border: 1px solid #DBEAFE;
  border-radius: 28px;
  box-shadow: 0 22px 44px rgba(40, 96, 196, 0.16);
  overflow: hidden;
}

.doctor-hero::before,
.doctor-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.doctor-hero::before {
  right: -70px;
  top: -80px;
}

.doctor-hero::after {
  right: 150px;
  bottom: -110px;
  background: rgba(125, 211, 252, 0.1);
}

.doctor-hero-copy,
.doctor-scan-card {
  position: relative;
  z-index: 1;
}

.doctor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.doctor-pills span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.doctor-hero h4 {
  margin-bottom: 8px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
}

.doctor-hero p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.doctor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.doctor-actions button {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--brand-700);
  background: #FFFFFF;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
}

.doctor-actions button.secondary {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.doctor-scan-card {
  align-self: stretch;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  overflow: hidden;
}

.doctor-scan-card svg {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.doctor-scan-card strong {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  font-size: 16px;
}

.doctor-scan-card small {
  position: relative;
  z-index: 2;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 700;
}

.doctor-scan-wave {
  position: absolute;
  width: 86px;
  height: 86px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: doctor-scan-wave 7s ease-out infinite;
}

@keyframes doctor-scan-wave {
  0% { transform: scale(0.7); opacity: 0.52; }
  66% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.doctor-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.doctor-action-card {
  padding: 18px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(19, 47, 102, 0.06);
}

.doctor-action-card.featured {
  border-color: var(--brand-100);
  background: linear-gradient(180deg, #FFFFFF, var(--brand-50));
}

.doctor-action-card span {
  width: 38px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 900;
}

.doctor-action-card strong {
  display: block;
  color: var(--brand-900);
  font-size: 15px;
  font-weight: 900;
}

.doctor-action-card small {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cw-row b {
  color: var(--brand-900);
  font-weight: 800;
}

.cw-row-head {
  color: var(--text-muted);
  background: var(--surface-soft);
  font-size: 11px;
  font-weight: 800;
}

.cw-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
}

.cw-tag.green { color: var(--success); background: var(--success-bg); }
.cw-tag.blue { color: var(--brand-700); background: var(--brand-50); }
.cw-tag.amber { color: var(--warning); background: var(--warning-bg); }
.cw-tag.gray { color: var(--text-muted); background: #F1F5F9; }

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

.cf-card {
  padding: 24px;
  transition: transform 0.22s var(--easing), border-color 0.2s var(--easing);
}

.cf-card:hover,
.patient-feature:hover {
  transform: translateY(-3px);
}

.cf-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--brand-700);
  font-size: 14px;
  font-weight: 800;
}

.cf-link:hover {
  color: var(--brand-800);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 14px;
}

.bento-item {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 454px;
}

.bento-wide {
  grid-column: span 2;
}

.bento-item h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: var(--brand-900);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.bento-item p {
  position: relative;
  z-index: 1;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.58;
}

.bento-access-visual {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  z-index: 0;
  height: 250px;
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 18px;
  align-items: stretch;
}

.access-card,
.access-record {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 38px rgba(19, 47, 102, 0.08);
  overflow: hidden;
}

.access-card {
  position: relative;
  padding: 18px;
  color: #FFFFFF;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, var(--brand-800), var(--brand-500));
}

.access-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.access-chip {
  width: 34px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
}

.access-nfc-mark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 30px;
  font-weight: 900;
}

.access-card-lines {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 7px;
}

.access-card-lines span {
  width: 72px;
  height: 6px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.access-card-lines span:last-child {
  width: 46px;
}

.access-record {
  padding: 18px;
  background: linear-gradient(180deg, #FFFFFF, var(--brand-50));
}

.access-record-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.access-avatar {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.access-record-head span,
.access-record-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.access-record-head strong {
  display: block;
  margin-top: 2px;
  color: var(--brand-900);
  font-size: 18px;
  line-height: 1;
}

.access-status {
  padding: 5px 8px;
  color: var(--success);
  background: var(--success-bg);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 800;
}

.access-record-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1fr;
  gap: 10px;
}

.access-record-grid div {
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.access-record-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--brand-900);
  font-size: 15px;
}

.access-timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.access-timeline span {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.access-timeline i {
  height: 1px;
  flex: 1;
  background: var(--brand-200);
}

.bento-large::after {
  content: none;
}

.bento-shield {
  margin-bottom: auto;
  color: var(--brand-600);
}

.bento-rings {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 104px;
  height: 104px;
}

.bento-rings i {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-right-color: var(--brand-500);
  border-left-color: var(--brand-500);
  border-radius: 50%;
}

.bento-rings i:nth-child(2) {
  inset: 14px;
  border-top-color: var(--success);
  border-bottom-color: var(--success);
}

.bento-rings i:nth-child(3) {
  inset: 28px;
  border-right-color: var(--warning);
  border-left-color: var(--warning);
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.bento-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 98px;
  margin-bottom: 24px;
}

.bento-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--brand-400), var(--brand-700));
  border-radius: 5px 5px 0 0;
  transform-origin: bottom;
}

.bento-bars span:nth-child(2) { animation-delay: 0.15s; background: linear-gradient(180deg, #34D399, var(--success)); }
.bento-bars span:nth-child(3) { animation-delay: 0.3s; }
.bento-bars span:nth-child(4) { animation-delay: 0.45s; background: linear-gradient(180deg, #FBBF24, var(--warning)); }
.bento-bars span:nth-child(5) { animation-delay: 0.6s; }
.bento-bars span:nth-child(6) { animation-delay: 0.75s; background: linear-gradient(180deg, #A78BFA, var(--violet)); }
.bento-bars span:nth-child(7) { animation-delay: 0.9s; }
.bento-bars span:nth-child(8) { animation-delay: 1.05s; }

@keyframes bar-grow {
  to { transform: scaleY(0.86); }
}

/* CTA */
.cta-section {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 32px 32px 96px;
}

.cta-card {
  position: relative;
  padding: 64px 32px;
  color: #FFFFFF;
  text-align: center;
  background: linear-gradient(135deg, #1A4A9E 0%, var(--brand-600) 45%, var(--brand-400) 100%);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.16) 46%, transparent 68%);
  pointer-events: none;
}

.cta-card h2 {
  position: relative;
  margin-bottom: 12px;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.cta-card p {
  position: relative;
  max-width: 580px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.6;
}

.cta-buttons {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-card .btn-primary {
  color: var(--brand-800);
  background: #FFFFFF;
  box-shadow: none;
}

.cta-card .btn-outline {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Footer */
.footer {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 54px 32px 28px;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  width: auto;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(17%) sepia(43%) saturate(1806%) hue-rotate(191deg) brightness(93%) contrast(98%);
  pointer-events: none;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.footer-cols h5 {
  margin-bottom: 12px;
  color: var(--brand-900);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-cols a {
  display: block;
  padding: 4px 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s var(--easing);
}

.footer-cols a:hover {
  color: var(--brand-700);
}

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

/* Responsive */
@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 56px;
    text-align: center;
  }

  .hero-inner,
  .hero-sub,
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    height: 560px;
  }

  .console-card {
    right: 84px;
  }

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

  .platform-card.admin {
    grid-column: span 2;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section,
  .hero,
  .cta-section,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .platform-grid,
  .console-window,
  .doctor-window,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .platform-card.admin {
    grid-column: span 1;
  }

  .cw-sidebar,
  .doctor-sidebar {
    display: none;
  }

  .cw-stats,
  .patient-features,
  .doctor-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-hero {
    grid-template-columns: 1fr;
  }

  .doctor-scan-card {
    min-height: 140px;
  }

  .console-features {
    grid-template-columns: 1fr;
  }

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

  .bento-large,
  .bento-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-large {
    min-height: 470px;
  }

  .bento-wide {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .nav {
    width: calc(100% - 20px);
    padding-left: 12px;
  }

  .logo-img {
    height: 20px;
  }

  .nav-actions .btn-primary {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 13px;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 44px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-stats,
  .cw-stats,
  .patient-features,
  .footer-cols,
  .bento {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 500px;
  }

  .nfc-orbit {
    left: -18px;
    bottom: 52px;
    width: 132px;
    height: 132px;
  }

  .nfc-card {
    width: 88px;
    height: 58px;
    padding: 10px;
  }

  .nfc-symbol {
    width: 32px;
    height: 32px;
  }

  .nfc-label {
    right: -14px;
    bottom: -6px;
    font-size: 11px;
  }

  .phone {
    width: 238px;
    height: 476px;
  }

  .phone-screen {
    padding: 18px 13px;
    gap: 11px;
  }

  .app-grid {
    gap: 6px;
  }

  .app-tile {
    min-height: 56px;
    padding: 8px 4px;
  }

  .console-card {
    top: 28px;
    right: -6px;
    width: 238px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-sub {
    font-size: 16px;
  }

  .platform-card,
  .cf-card,
  .bento-item {
    padding: 22px;
  }

  .cw-main {
    padding: 18px;
  }

  .cw-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .cw-row span:nth-child(3) {
    display: none;
  }

  .cw-search {
    min-width: 100%;
  }

  .doctor-topbar {
    padding: 0 16px;
  }

  .doctor-user span {
    display: none;
  }

  .doctor-dashboard {
    padding: 16px;
  }

  .doctor-hero {
    padding: 22px;
    border-radius: 22px;
  }

  .doctor-hero h4 {
    font-size: 26px;
  }

  .doctor-action-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }

  .bento-large {
    min-height: auto;
  }

  .bento-access-visual {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .access-card {
    min-height: 178px;
  }

  .access-record-grid {
    grid-template-columns: 1fr;
  }

  .access-timeline {
    align-items: stretch;
    flex-direction: column;
  }

  .access-timeline i {
    width: 1px;
    height: 12px;
    flex: 0 0 auto;
  }

  .cta-card {
    padding: 46px 20px;
  }

  .cta-card h2 {
    font-size: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============================================================
   Premium clinical-aurora design layer
   ============================================================ */

:root {
  --background: #F4F8FF;
  --surface-soft: #F7FAFF;
  --surface-blue: #EEF5FF;
  --border: rgba(125, 175, 245, 0.2);
  --border-strong: rgba(89, 148, 240, 0.42);
  --text: #0A1730;
  --text-dim: #43536F;
  --text-muted: #6F7F99;
  --aqua: #5DE4D3;
  --aqua-strong: #19BFAF;
  --night: #06152D;
  --night-soft: #0A2349;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --shadow-soft: 0 20px 50px rgba(18, 57, 117, 0.09);
  --shadow-card: 0 30px 80px rgba(13, 44, 99, 0.16);
}

body {
  background: var(--background);
}

.bg-system {
  background:
    radial-gradient(circle at 78% 8%, rgba(93, 228, 211, 0.2), transparent 25%),
    radial-gradient(circle at 15% 12%, rgba(89, 148, 240, 0.24), transparent 28%),
    linear-gradient(180deg, #F8FBFF 0%, #EEF5FF 44%, #FFFFFF 100%);
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(29, 74, 154, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 74, 154, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 74%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 74%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.65;
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

.ambient-orb-one {
  top: 5%;
  right: 6%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(93, 228, 211, 0.24), transparent 68%);
}

.ambient-orb-two {
  top: 18%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(89, 148, 240, 0.2), transparent 68%);
  animation-delay: -7s;
}

.ambient-orb-three {
  top: 58%;
  right: -12%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08), transparent 70%);
  animation-delay: -12s;
}

@keyframes ambient-drift {
  to { transform: translate3d(24px, 34px, 0) scale(1.08); }
}

.nav {
  top: 18px;
  max-width: 1240px;
  padding: 8px 8px 8px 20px;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(13, 44, 99, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.nav.scrolled {
  top: 10px;
  border-color: rgba(125, 175, 245, 0.3);
  box-shadow: 0 20px 60px rgba(13, 44, 99, 0.15);
}

.nav-logo {
  height: 34px;
}

.logo-img {
  height: 26px;
}

.nav-links {
  gap: 2px;
  padding: 4px;
  background: rgba(238, 245, 255, 0.78);
  border: 1px solid rgba(125, 175, 245, 0.14);
  border-radius: 999px;
}

.nav-links a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.nav-links a:hover {
  background: #FFFFFF;
  box-shadow: 0 5px 15px rgba(13, 44, 99, 0.08);
}

.btn {
  border-radius: 999px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500) 58%, #56A7F5);
  box-shadow: 0 14px 30px rgba(40, 96, 196, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500) 66%, #56A7F5);
  box-shadow: 0 18px 38px rgba(40, 96, 196, 0.32);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(125, 175, 245, 0.35);
  backdrop-filter: blur(14px);
}

.btn-outline:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 52px;
  padding: 12px 20px;
  font-size: 15px;
}

.hero {
  width: min(1400px, 100%);
  min-height: 100svh;
  padding: 142px 48px 86px;
  grid-template-columns: minmax(0, 0.94fr) minmax(540px, 1.06fr);
  gap: 70px;
}

.hero-inner {
  max-width: 690px;
}

.hero-eyebrow {
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 13px;
  color: var(--brand-700);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(125, 175, 245, 0.28);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(13, 44, 99, 0.08);
  backdrop-filter: blur(14px);
}

.hero-eyebrow .dot {
  position: relative;
  width: 9px;
  height: 9px;
  background: var(--aqua-strong);
  box-shadow: 0 0 0 5px rgba(25, 191, 175, 0.12), 0 0 18px rgba(25, 191, 175, 0.5);
}

.hero-title {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--night);
  font-size: clamp(62px, 6vw, 88px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: -0.07em;
}

.hero-title .line {
  padding: 0 0 8px;
}

.hero-title .italic,
.gradient-text {
  color: transparent;
  background: linear-gradient(115deg, var(--brand-700) 8%, var(--brand-500) 52%, var(--aqua-strong));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-sub {
  max-width: 630px;
  margin-bottom: 30px;
  color: var(--text-dim);
  font-size: 19px;
  line-height: 1.7;
}

.hero-cta {
  margin-bottom: 34px;
}

.hero-stats {
  max-width: 660px;
  gap: 10px;
}

.stat {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(125, 175, 245, 0.22);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(13, 44, 99, 0.07);
  backdrop-filter: blur(14px);
}

.stat-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--brand-700);
  background: linear-gradient(145deg, #FFFFFF, var(--brand-50));
  border: 1px solid rgba(125, 175, 245, 0.25);
  border-radius: 11px;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  font-weight: 800;
}

.stat-num {
  overflow: hidden;
  color: var(--night-soft);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-label {
  margin-top: 4px;
  font-size: 11px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof i {
  width: 5px;
  height: 5px;
  background: var(--aqua-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(25, 191, 175, 0.1);
}

.hero-visual {
  height: 660px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 28px 0 14px 34px;
  z-index: 0;
  background:
    radial-gradient(circle at 76% 15%, rgba(93, 228, 211, 0.2), transparent 30%),
    radial-gradient(circle at 18% 76%, rgba(89, 148, 240, 0.28), transparent 35%),
    linear-gradient(145deg, #071A35, #0A2A58 62%, #0C3569);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 52px;
  box-shadow: 0 50px 110px rgba(6, 21, 45, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 28px 0 14px 34px;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 52px;
  mask-image: linear-gradient(140deg, black, transparent 78%);
  -webkit-mask-image: linear-gradient(140deg, black, transparent 78%);
}

.phone {
  z-index: 3;
  width: 292px;
  height: 584px;
  transform: rotate(1.5deg);
}

.phone-frame {
  padding: 10px;
  background: linear-gradient(155deg, #14213A, #020617);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 44px 90px rgba(0, 8, 23, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.phone-screen {
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF6FF 100%);
}

.app-card {
  background:
    radial-gradient(circle at 82% 0%, rgba(93, 228, 211, 0.26), transparent 34%),
    linear-gradient(135deg, var(--brand-800), var(--brand-500));
  box-shadow: 0 18px 30px rgba(40, 96, 196, 0.25);
}

.console-card {
  top: 58px;
  right: -18px;
  z-index: 4;
  width: 338px;
  border-color: rgba(255, 255, 255, 0.65);
  border-radius: 22px;
  box-shadow: 0 34px 75px rgba(0, 8, 23, 0.32);
  transform: rotate(2deg);
}

.console-header {
  background: rgba(247, 250, 255, 0.96);
}

.nfc-orbit {
  left: -20px;
  bottom: 70px;
  z-index: 6;
}

.nfc-card {
  width: 118px;
  height: 76px;
  background:
    radial-gradient(circle at 80% 0%, rgba(93, 228, 211, 0.28), transparent 42%),
    linear-gradient(135deg, #0B2B59, var(--brand-500));
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(0, 8, 23, 0.34);
}

.nfc-label {
  border-color: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
}

.ecg {
  z-index: 1;
  color: rgba(93, 228, 211, 0.38);
}

.visual-status {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #FFFFFF;
  background: rgba(9, 35, 73, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 8, 23, 0.25);
  backdrop-filter: blur(16px);
  animation: status-float 5s ease-in-out infinite;
}

.visual-status-top {
  top: 12px;
  left: 28px;
}

.visual-status-bottom {
  right: -8px;
  bottom: 36px;
  animation-delay: -2.4s;
}

.visual-status-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--aqua);
  background: rgba(93, 228, 211, 0.1);
  border: 1px solid rgba(93, 228, 211, 0.22);
  border-radius: 11px;
  font-size: 20px;
  font-weight: 500;
}

.visual-status-icon.secure {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--aqua-strong), var(--brand-500));
}

.visual-status span:last-child {
  display: grid;
}

.visual-status small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-status strong {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 750;
}

@keyframes status-float {
  50% { transform: translateY(-7px); }
}

.hero-scroll {
  bottom: 26px;
}

.marquee {
  padding: 16px 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(93, 228, 211, 0.12), transparent 22%),
    var(--night);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(6, 21, 45, 0.18);
}

.marquee-track span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.marquee-track i {
  color: var(--aqua);
}

.section {
  width: min(1360px, 100%);
  padding: 120px 48px;
}

.section-head {
  max-width: 840px;
  margin-bottom: 58px;
}

.kicker {
  margin-bottom: 18px;
  padding: 7px 11px;
  background: rgba(238, 245, 255, 0.86);
  border-color: rgba(125, 175, 245, 0.24);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 20px;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.section-sub {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
}

.platform-grid {
  gap: 20px;
  margin-bottom: 22px;
}

.platform-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(89, 148, 240, 0.1), transparent 28%),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(125, 175, 245, 0.22);
  border-radius: 30px;
  box-shadow: 0 22px 55px rgba(13, 44, 99, 0.09);
  backdrop-filter: blur(16px);
}

.platform-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-400), transparent);
  opacity: 0.55;
}

.platform-card.android::after {
  background: linear-gradient(90deg, transparent, #34D399, transparent);
}

.platform-card.admin::after {
  background: linear-gradient(90deg, transparent, var(--aqua-strong), transparent);
}

.platform-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 34px 80px rgba(13, 44, 99, 0.16);
}

.platform-icon {
  width: 62px;
  height: 62px;
  border-radius: 19px;
}

.platform-card h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.platform-card p {
  font-size: 15px;
}

.feature-pills {
  margin-bottom: 26px;
}

.feature-pills li {
  padding: 6px 9px;
  border-radius: 999px;
}

.platform-cta {
  margin-top: auto;
}

.store-btn {
  min-height: 54px;
  border-radius: 16px;
}

.patient-features {
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(125, 175, 245, 0.18);
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(13, 44, 99, 0.07);
  backdrop-filter: blur(14px);
}

.patient-feature {
  min-height: 190px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
  border-color: transparent;
  border-radius: 20px;
  box-shadow: none;
}

.pf-icon,
.cf-icon {
  border-radius: 999px;
}

.section-dark {
  padding-top: 120px;
  padding-bottom: 120px;
  background:
    radial-gradient(circle at 18% 8%, rgba(89, 148, 240, 0.2), transparent 28%),
    radial-gradient(circle at 86% 88%, rgba(93, 228, 211, 0.12), transparent 24%),
    linear-gradient(160deg, #06152D, #081F42 58%, #092953);
  overflow: hidden;
}

.section-dark .kicker {
  color: var(--aqua);
  background: rgba(93, 228, 211, 0.08);
  border-color: rgba(93, 228, 211, 0.18);
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-dark .gradient-text {
  background-image: linear-gradient(110deg, #8BBDF8, var(--aqua));
}

.section-dark .section-sub {
  color: rgba(255, 255, 255, 0.58);
}

.console-showcase {
  margin-bottom: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  box-shadow: 0 45px 100px rgba(0, 7, 22, 0.3);
}

.console-window,
.doctor-window {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 7, 22, 0.22);
}

.cw-sidebar,
.doctor-sidebar {
  background:
    radial-gradient(circle at 50% 0%, rgba(89, 148, 240, 0.22), transparent 30%),
    var(--night);
}

.console-window + .doctor-window {
  margin-top: 12px;
}

.console-features {
  gap: 12px;
}

.section-dark .cf-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: none;
}

.section-dark .cf-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(93, 228, 211, 0.24);
}

.section-dark .cf-icon {
  color: var(--aqua);
  background: rgba(93, 228, 211, 0.08);
  border-color: rgba(93, 228, 211, 0.16);
}

.section-dark .cf-card h4 {
  color: #FFFFFF;
}

.section-dark .cf-card p {
  color: rgba(255, 255, 255, 0.56);
}

.section-dark .cf-link {
  color: var(--aqua);
}

#features {
  padding-top: 130px;
}

.bento {
  grid-auto-rows: minmax(250px, auto);
  gap: 18px;
}

.bento-item {
  padding: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(89, 148, 240, 0.12), transparent 34%),
    #FFFFFF;
  border-color: rgba(125, 175, 245, 0.22);
  border-radius: 30px;
  box-shadow: 0 22px 55px rgba(13, 44, 99, 0.08);
}

.bento-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 75px rgba(13, 44, 99, 0.15);
}

.bento-large {
  background:
    radial-gradient(circle at 75% 10%, rgba(93, 228, 211, 0.16), transparent 28%),
    linear-gradient(145deg, #F9FCFF, #EAF3FF);
}

.bento-wide {
  background:
    radial-gradient(circle at 15% 50%, rgba(89, 148, 240, 0.15), transparent 30%),
    linear-gradient(145deg, #F8FBFF, #EEF5FF);
}

.bento-item h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.cta-section {
  width: min(1360px, 100%);
  padding: 40px 48px 120px;
}

.cta-card {
  padding: 84px 32px;
  background:
    radial-gradient(circle at 15% 20%, rgba(93, 228, 211, 0.22), transparent 24%),
    radial-gradient(circle at 88% 80%, rgba(89, 148, 240, 0.28), transparent 26%),
    linear-gradient(145deg, #06152D, #0A2B5B 62%, #0B3974);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42px;
  box-shadow: 0 45px 100px rgba(6, 21, 45, 0.26);
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(93, 228, 211, 0.14);
  border-radius: 50%;
}

.cta-card::before {
  width: 280px;
  height: 280px;
  top: -190px;
  left: -70px;
}

.cta-card::after {
  width: 420px;
  height: 420px;
  right: -240px;
  bottom: -300px;
}

.cta-card h2 {
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.055em;
}

.cta-card .btn-primary {
  color: var(--night);
  background: linear-gradient(135deg, #FFFFFF, #DFFBF7);
  box-shadow: 0 18px 36px rgba(0, 7, 22, 0.2);
}

.cta-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
}

.footer {
  width: 100%;
  max-width: none;
  padding: 72px 32px 28px;
  color: #FFFFFF;
  background:
    radial-gradient(circle at 85% 0%, rgba(89, 148, 240, 0.12), transparent 24%),
    var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner,
.footer-bottom {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.footer-inner {
  margin-bottom: 44px;
}

.footer-logo {
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
}

.footer-cols h5 {
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-cols a {
  color: rgba(255, 255, 255, 0.48);
}

.footer-cols a:hover {
  color: var(--aqua);
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.36);
  border-color: rgba(255, 255, 255, 0.09);
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(480px, 0.9fr);
    gap: 36px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-title {
    font-size: clamp(56px, 6.2vw, 72px);
  }

  .console-card {
    right: 0;
  }

  .visual-status-bottom {
    right: 0;
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 132px;
  }

  .hero-inner {
    max-width: 800px;
  }

  .hero-title {
    max-width: 800px;
  }

  .hero-visual {
    width: min(680px, 100%);
    margin: 0 auto;
  }

  .hero-visual::before,
  .hero-visual::after {
    left: 0;
  }
}

@media (max-width: 900px) {
  .nav {
    border-radius: 24px;
  }

  .nav-links.open {
    overflow: hidden;
    border-radius: 20px !important;
  }

  .section,
  .hero,
  .cta-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-dark {
    padding-left: 20px;
    padding-right: 20px;
  }

  .platform-card {
    min-height: 410px;
  }

  .console-showcase {
    padding: 8px;
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  .nav {
    top: 10px;
    border-radius: 20px;
  }

  .hero {
    padding-top: 110px;
    gap: 38px;
  }

  .hero-title {
    font-size: clamp(42px, 13vw, 56px);
    letter-spacing: -0.065em;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 10px 12px;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    height: 510px;
  }

  .hero-visual::before,
  .hero-visual::after {
    inset: 20px -12px 6px;
    border-radius: 34px;
  }

  .phone {
    width: 232px;
    height: 464px;
  }

  .console-card {
    top: 42px;
    right: -18px;
    width: 220px;
  }

  .nfc-orbit {
    left: -28px;
    bottom: 38px;
  }

  .visual-status {
    display: none;
  }

  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section-title {
    font-size: 36px;
  }

  .platform-card {
    min-height: auto;
  }

  .patient-features {
    padding: 8px;
    border-radius: 22px;
  }

  .section-dark {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .bento {
    gap: 12px;
  }

  .bento-item {
    border-radius: 24px;
  }

  .cta-section {
    padding-bottom: 88px;
  }

  .cta-card {
    padding: 58px 20px;
    border-radius: 28px;
  }

  .footer {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Conversion-led healthcare design
   ============================================================ */

body {
  background: #FFFFFF;
}

.bg-system {
  background:
    radial-gradient(circle at 78% 5%, rgba(58, 120, 232, 0.1), transparent 24%),
    radial-gradient(circle at 10% 8%, rgba(93, 228, 211, 0.08), transparent 22%),
    linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 48%);
}

.grid-overlay {
  background-size: 80px 80px;
  opacity: 0.48;
}

.ambient-orb,
.visual-status {
  display: none;
}

.nav {
  top: 16px;
  max-width: 1180px;
  padding: 9px 10px 9px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #E4ECF7;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(18, 57, 117, 0.08);
}

.nav.scrolled {
  top: 8px;
  border-color: #CFDDF1;
  box-shadow: 0 14px 38px rgba(18, 57, 117, 0.12);
}

.nav-links {
  gap: 2px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 9px;
}

.nav-links a:hover {
  background: #F1F6FD;
  box-shadow: none;
}

.btn {
  border-radius: 12px;
}

.btn-primary {
  background: var(--brand-700);
  box-shadow: 0 10px 22px rgba(29, 74, 154, 0.22);
}

.btn-primary:hover {
  background: var(--brand-800);
  box-shadow: 0 12px 26px rgba(29, 74, 154, 0.28);
}

.btn-outline {
  background: #FFFFFF;
  border-color: #C7D7EC;
  backdrop-filter: none;
}

.hero {
  width: min(1280px, 100%);
  min-height: auto;
  padding: 150px 32px 96px;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 0.92fr);
  gap: 64px;
}

.hero-inner {
  max-width: 680px;
}

.hero-eyebrow {
  margin-bottom: 22px;
  padding: 7px 11px;
  background: #EEF5FF;
  border-color: #D6E5FC;
  border-radius: 9px;
  box-shadow: none;
  backdrop-filter: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--aqua-strong);
  box-shadow: none;
}

.hero-title {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(58px, 5.8vw, 78px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.hero-title .italic,
.gradient-text {
  color: var(--brand-600);
  background: none;
  -webkit-text-fill-color: initial;
}

.hero-sub {
  max-width: 640px;
  color: #47566D;
  font-size: 18px;
  line-height: 1.68;
}

.hero-stats {
  max-width: 680px;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid #E0EAF6;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(18, 57, 117, 0.06);
  overflow: hidden;
}

.stat {
  min-height: 94px;
  padding: 14px;
  background: #FFFFFF;
  border: 0;
  border-right: 1px solid #E7EEF7;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.stat:last-child {
  border-right: 0;
}

.stat-icon {
  width: 34px;
  height: 34px;
  color: var(--brand-700);
  background: #EEF5FF;
  border: 0;
  border-radius: 9px;
  font-family: "Geist", sans-serif;
  font-size: 10px;
}

.stat-num {
  font-size: 13px;
}

.stat-label {
  font-size: 10px;
  line-height: 1.35;
  white-space: normal;
}

.hero-proof {
  margin-top: 18px;
  gap: 10px 18px;
}

.hero-proof i {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.hero-visual {
  height: 610px;
}

.hero-visual::before {
  inset: 10px 0 8px 24px;
  background:
    linear-gradient(145deg, rgba(239, 246, 255, 0.95), rgba(225, 237, 253, 0.75)),
    #EEF5FF;
  border: 1px solid #D9E6F6;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(18, 57, 117, 0.12);
}

.hero-visual::after {
  inset: 10px 0 8px 24px;
  background-image:
    linear-gradient(rgba(29, 74, 154, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 74, 154, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  border-radius: 28px;
  mask-image: linear-gradient(135deg, black, transparent 88%);
  -webkit-mask-image: linear-gradient(135deg, black, transparent 88%);
}

.phone {
  width: 270px;
  height: 540px;
  transform: none;
}

.phone-frame {
  box-shadow: 0 30px 70px rgba(18, 42, 82, 0.24);
}

.console-card {
  top: 52px;
  right: -12px;
  width: 310px;
  border-color: #D6E2F2;
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(18, 57, 117, 0.18);
  transform: none;
}

.nfc-orbit {
  left: -8px;
  bottom: 62px;
}

.nfc-card {
  box-shadow: 0 22px 48px rgba(18, 57, 117, 0.24);
}

.marquee {
  padding: 15px 0;
  background: var(--brand-800);
  border-color: var(--brand-800);
  box-shadow: none;
}

.section {
  width: min(1280px, 100%);
  padding: 104px 32px;
}

.section-head {
  max-width: 800px;
  margin-bottom: 48px;
}

.kicker {
  padding: 6px 9px;
  background: #EEF5FF;
  border-color: #D6E5FC;
  border-radius: 8px;
  letter-spacing: 0.08em;
}

.section-title {
  font-size: clamp(40px, 4vw, 54px);
  line-height: 1.08;
}

.how-section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.how-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 44px;
}

.how-intro .section-title {
  max-width: 620px;
  margin-bottom: 0;
}

.how-intro > p {
  padding-bottom: 6px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.how-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #FFFFFF;
  border: 1px solid #DDE7F4;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(18, 57, 117, 0.07);
  overflow: hidden;
}

.how-card.featured {
  color: #FFFFFF;
  background: var(--brand-800);
  border-color: var(--brand-800);
  box-shadow: 0 20px 46px rgba(19, 47, 102, 0.22);
}

.how-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #B5C6DB;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.how-card.featured .how-number {
  color: rgba(255, 255, 255, 0.38);
}

.how-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 54px;
  color: var(--brand-700);
  background: #EEF5FF;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 850;
}

.how-card.featured .how-icon {
  color: var(--aqua);
  background: rgba(93, 228, 211, 0.1);
  border: 1px solid rgba(93, 228, 211, 0.2);
}

.how-card h3 {
  margin-bottom: 10px;
  color: var(--brand-900);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.how-card.featured h3 {
  color: #FFFFFF;
}

.how-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

.how-card.featured p {
  color: rgba(255, 255, 255, 0.64);
}

.how-card > span {
  margin-top: auto;
  padding-top: 24px;
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.how-card.featured > span {
  color: var(--aqua);
}

.platform-grid {
  gap: 16px;
}

.platform-card {
  min-height: 430px;
  padding: 26px;
  background: #FFFFFF;
  border-color: #DEE8F4;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(18, 57, 117, 0.07);
  backdrop-filter: none;
}

.platform-card::after {
  display: none;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: #BCD0E9;
  box-shadow: 0 20px 44px rgba(18, 57, 117, 0.12);
}

.platform-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.store-btn {
  border-radius: 12px;
}

.patient-features {
  gap: 0;
  padding: 0;
  background: #FFFFFF;
  border-color: #DEE8F4;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(18, 57, 117, 0.06);
  overflow: hidden;
  backdrop-filter: none;
}

.patient-feature {
  min-height: 210px;
  padding: 24px;
  background: #FFFFFF;
  border: 0;
  border-right: 1px solid #E5EDF7;
  border-radius: 0;
}

.patient-feature:last-child {
  border-right: 0;
}

.patient-feature:hover {
  background: #F8FBFF;
  transform: none;
}

.section-dark {
  padding-top: 110px;
  padding-bottom: 110px;
  background: var(--night);
}

.section-dark .kicker {
  color: #96BFF3;
  background: rgba(89, 148, 240, 0.1);
  border-color: rgba(89, 148, 240, 0.18);
}

.section-dark .gradient-text {
  color: #8DBAF3;
  background: none;
}

.console-showcase {
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 22px;
}

.console-window,
.doctor-window {
  border-radius: 16px;
}

.section-dark .cf-card {
  border-radius: 16px;
}

.bento {
  gap: 16px;
}

.bento-item {
  padding: 28px;
  background: #FFFFFF;
  border-color: #DEE8F4;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(18, 57, 117, 0.07);
}

.bento-large,
.bento-wide {
  background: #F5F9FF;
}

.bento-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(18, 57, 117, 0.11);
}

.cta-section {
  width: min(1280px, 100%);
  padding: 32px 32px 104px;
}

.cta-card {
  padding: 72px 32px;
  background: var(--brand-800);
  border-radius: 24px;
  box-shadow: 0 26px 64px rgba(19, 47, 102, 0.22);
}

.cta-card::before,
.cta-card::after {
  display: none;
}

.cta-card h2 {
  font-size: clamp(38px, 4vw, 52px);
}

.footer {
  background: #07162E;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
    text-align: left;
  }

  .hero-inner,
  .hero-sub,
  .hero-stats {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-visual {
    width: min(680px, 100%);
    margin: 0 auto;
  }

  .how-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-card {
    min-height: 270px;
  }

  .how-icon {
    margin-bottom: 42px;
  }
}

@media (max-width: 640px) {
  .nav {
    border-radius: 14px;
  }

  .hero {
    padding-top: 106px;
    padding-bottom: 68px;
  }

  .hero-title {
    font-size: clamp(43px, 13vw, 54px);
  }

  .hero-stats {
    border-radius: 14px;
  }

  .stat {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #E7EEF7;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .hero-proof {
    justify-content: flex-start;
  }

  .hero-visual::before,
  .hero-visual::after {
    inset: 12px -8px 6px;
    border-radius: 22px;
  }

  .section,
  .how-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-title {
    font-size: 34px;
  }

  .how-card,
  .platform-card,
  .bento-item {
    border-radius: 16px;
  }

  .patient-features {
    border-radius: 16px;
  }

  .patient-feature {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #E5EDF7;
  }

  .patient-feature:last-child {
    border-bottom: 0;
  }

  .section-dark {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .cta-section {
    padding-bottom: 78px;
  }

  .cta-card {
    border-radius: 18px;
  }
}

/* Hero care journey */
.hero-stats {
  position: relative;
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.stat {
  position: relative;
  min-width: 0;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #DCE7F4;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(18, 57, 117, 0.07);
  overflow: visible;
}

.stat:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -16px;
  z-index: 3;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--brand-600);
  background: #FFFFFF;
  border: 1px solid #D6E3F3;
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(18, 57, 117, 0.1);
  font-size: 11px;
  font-weight: 800;
  transform: translateY(-50%);
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stat-step {
  color: #93A7C2;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.stat-icon {
  width: auto;
  height: auto;
  padding: 5px 8px;
  color: var(--brand-700);
  background: #EEF5FF;
  border: 1px solid #DFEAF7;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-copy {
  min-width: 0;
}

.stat-num {
  overflow: visible;
  color: var(--brand-900);
  font-size: 15px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-overflow: clip;
  white-space: normal;
}

.stat-label {
  margin-top: 7px;
  color: #6F82A0;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 550;
  white-space: normal;
}

.stat:nth-child(2) {
  border-color: #C9DAEF;
  box-shadow: 0 15px 34px rgba(18, 57, 117, 0.1);
}

.stat:nth-child(2) .stat-icon {
  color: #087F75;
  background: #ECFDF8;
  border-color: #C9F2E8;
}

.stat:nth-child(3) .stat-icon {
  color: #5C42A8;
  background: #F3F0FF;
  border-color: #E3DCF9;
}

@media (max-width: 1180px) and (min-width: 1041px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .stat-top {
    min-width: 68px;
    justify-content: flex-start;
  }

  .stat:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .stat {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
  }

  .stat-top {
    min-width: 66px;
    justify-content: flex-start;
  }

  .stat:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
  }

  .stat-label {
    margin-top: 3px;
  }
}

/* Patient mobile app coming soon */
.mobile-section {
  padding-top: 36px;
  padding-bottom: 112px;
}

.mobile-shell {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 70px;
  align-items: center;
  padding: 70px;
  background:
    radial-gradient(circle at 85% 15%, rgba(93, 228, 211, 0.15), transparent 25%),
    radial-gradient(circle at 8% 90%, rgba(89, 148, 240, 0.18), transparent 28%),
    var(--night);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(6, 21, 45, 0.2);
  overflow: hidden;
}

.mobile-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, black 55%, black);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 55%, black);
  pointer-events: none;
}

.mobile-copy,
.mobile-preview {
  position: relative;
  z-index: 1;
}

.mobile-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 10px;
  color: var(--aqua);
  background: rgba(93, 228, 211, 0.08);
  border: 1px solid rgba(93, 228, 211, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-status i {
  width: 7px;
  height: 7px;
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(93, 228, 211, 0.1);
  animation: mobile-status-pulse 2.4s ease-in-out infinite;
}

@keyframes mobile-status-pulse {
  50% { box-shadow: 0 0 0 8px rgba(93, 228, 211, 0); }
}

.mobile-copy .section-title {
  max-width: 620px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.mobile-copy .gradient-text {
  color: var(--aqua);
}

.mobile-lead {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.72;
}

.mobile-benefits {
  display: grid;
  gap: 2px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-benefit {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-benefit > span {
  padding-top: 2px;
  color: var(--aqua);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
}

.mobile-benefit strong {
  display: block;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 750;
}

.mobile-benefit p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.5;
}

.mobile-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.mobile-platform {
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.mobile-platform svg {
  color: rgba(255, 255, 255, 0.78);
}

.mobile-platform span {
  display: grid;
  line-height: 1.1;
}

.mobile-platform small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobile-platform strong {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 750;
}

.mobile-preview {
  min-height: 570px;
  display: grid;
  place-items: center;
}

.mobile-preview::before,
.mobile-preview::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.mobile-preview::before {
  width: 430px;
  height: 430px;
  background: rgba(89, 148, 240, 0.12);
  border: 1px solid rgba(89, 148, 240, 0.12);
}

.mobile-preview::after {
  width: 330px;
  height: 330px;
  border: 1px solid rgba(93, 228, 211, 0.16);
}

.mobile-device {
  position: relative;
  z-index: 2;
  width: 270px;
  height: 552px;
  padding: 9px;
  background: linear-gradient(150deg, #1B2A44, #020713);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  box-shadow: 0 42px 80px rgba(0, 5, 17, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: rotate(3deg);
}

.mobile-device-camera {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 4;
  width: 84px;
  height: 22px;
  background: #030915;
  border-radius: 999px;
  transform: translateX(-50%);
}

.mobile-screen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 19px 14px 13px;
  color: var(--text);
  background: linear-gradient(180deg, #FFFFFF, #EDF5FF);
  border-radius: 34px;
  overflow: hidden;
}

.mobile-screen-top,
.mobile-welcome,
.mobile-card-head,
.mobile-quick-title,
.mobile-record,
.mobile-nav-preview {
  display: flex;
  align-items: center;
}

.mobile-screen-top {
  justify-content: space-between;
  padding: 0 6px;
  color: #687A96;
  font-size: 9px;
  font-weight: 750;
}

.mobile-welcome {
  justify-content: space-between;
  margin-top: 12px;
}

.mobile-welcome small {
  display: block;
  color: #7B8DA7;
  font-size: 10px;
  font-weight: 650;
}

.mobile-welcome strong {
  display: block;
  margin-top: 2px;
  color: var(--brand-900);
  font-size: 17px;
  font-weight: 800;
}

.mobile-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  background: var(--brand-600);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.mobile-card-preview {
  position: relative;
  min-height: 142px;
  padding: 15px;
  color: #FFFFFF;
  background:
    radial-gradient(circle at 88% 10%, rgba(93, 228, 211, 0.3), transparent 30%),
    linear-gradient(145deg, var(--brand-800), var(--brand-500));
  border-radius: 19px;
  box-shadow: 0 18px 32px rgba(29, 74, 154, 0.24);
  overflow: hidden;
}

.mobile-card-preview::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -75px;
  bottom: -95px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.mobile-card-head {
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mobile-card-preview > strong {
  display: block;
  margin-top: 26px;
  font-size: 15px;
  font-weight: 800;
}

.mobile-card-preview > small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

.mobile-card-code {
  margin-top: 13px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.mobile-quick-title {
  justify-content: space-between;
  color: var(--brand-900);
  font-size: 11px;
}

.mobile-quick-title span {
  color: var(--brand-600);
  font-size: 9px;
  font-weight: 700;
}

.mobile-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.mobile-quick-grid > div {
  min-height: 66px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #DEE8F4;
  border-radius: 12px;
}

.mobile-quick-grid span {
  color: var(--brand-700);
  font-size: 10px;
  font-weight: 850;
}

.mobile-quick-grid small {
  color: #7486A1;
  font-size: 7px;
  font-weight: 650;
}

.mobile-record {
  gap: 9px;
  padding: 10px;
  background: #FFFFFF;
  border: 1px solid #DEE8F4;
  border-radius: 12px;
}

.mobile-record-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  background: var(--aqua-strong);
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
}

.mobile-record div {
  flex: 1;
}

.mobile-record strong,
.mobile-record small {
  display: block;
}

.mobile-record strong {
  color: var(--brand-900);
  font-size: 9px;
  font-weight: 800;
}

.mobile-record small {
  margin-top: 2px;
  color: #8291A8;
  font-size: 7px;
}

.mobile-record > span:last-child {
  color: #91A2B9;
  font-size: 16px;
}

.mobile-nav-preview {
  justify-content: space-around;
  margin-top: auto;
  padding: 10px 5px 3px;
  color: #98A7BB;
  border-top: 1px solid #DCE6F2;
  font-size: 7px;
  font-weight: 700;
}

.mobile-nav-preview .active {
  color: var(--brand-700);
}

.mobile-preview-note {
  position: absolute;
  z-index: 3;
  min-width: 150px;
  padding: 10px 12px;
  color: #FFFFFF;
  background: rgba(10, 35, 73, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 5, 17, 0.24);
  backdrop-filter: blur(14px);
}

.mobile-preview-note.top {
  top: 58px;
  right: -6px;
}

.mobile-preview-note.bottom {
  left: -18px;
  bottom: 82px;
}

.mobile-preview-note span,
.mobile-preview-note strong {
  display: block;
}

.mobile-preview-note span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mobile-preview-note strong {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 750;
}

@media (max-width: 1040px) {
  .mobile-shell {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px;
  }

  .mobile-copy {
    max-width: 700px;
  }

  .mobile-preview {
    width: min(560px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .mobile-section {
    padding-top: 16px;
    padding-bottom: 78px;
  }

  .mobile-shell {
    min-height: auto;
    padding: 34px 20px 24px;
    border-radius: 18px;
  }

  .mobile-status {
    font-size: 9px;
  }

  .mobile-lead {
    font-size: 14px;
  }

  .mobile-benefit {
    grid-template-columns: 28px 1fr;
  }

  .mobile-platforms {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mobile-platform {
    min-width: 0;
  }

  .mobile-preview {
    min-height: 500px;
  }

  .mobile-preview::before {
    width: 300px;
    height: 300px;
  }

  .mobile-preview::after {
    width: 230px;
    height: 230px;
  }

  .mobile-device {
    width: 232px;
    height: 474px;
    border-radius: 36px;
  }

  .mobile-screen {
    gap: 10px;
    border-radius: 29px;
  }

  .mobile-card-preview {
    min-height: 118px;
  }

  .mobile-card-preview > strong {
    margin-top: 18px;
  }

  .mobile-preview-note {
    display: none;
  }
}

/* Hero spacing and section separation */
.hero {
  align-items: start;
  gap: 72px;
  padding-bottom: 64px;
}

.hero-inner {
  padding-top: 18px;
}

.hero-proof {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.hero-proof span {
  padding: 7px 9px;
  color: #60738F;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #DFE8F4;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(18, 57, 117, 0.04);
  font-size: 10px;
  line-height: 1.25;
}

.hero-proof i {
  flex: 0 0 auto;
}

.hero-visual {
  min-height: 640px;
  margin-top: 0;
}

.phone-screen {
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 16px;
}

.app-header {
  margin-top: 10px;
}

.app-card {
  padding: 15px;
}

.app-card-cta {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.app-tile {
  display: grid;
  place-items: center;
  align-content: center;
}

.app-list-item {
  align-items: center;
  padding: 11px;
}

.app-list-item > div:nth-child(2) {
  min-width: 0;
}

.app-list-meta {
  line-height: 1.35;
}

.app-list-value {
  flex: 0 0 auto;
  margin-left: 8px;
}

.nfc-label {
  bottom: -2px;
  padding: 7px 10px;
}

.console-card {
  top: 68px;
}

.how-section {
  position: relative;
  padding-top: 72px;
}

.how-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #DCE7F4 18%, #DCE7F4 82%, transparent);
}

@media (max-width: 1040px) {
  .hero {
    gap: 64px;
    padding-bottom: 56px;
  }

  .hero-inner {
    padding-top: 0;
  }

  .hero-proof {
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: 610px;
  }
}

@media (max-width: 640px) {
  .hero {
    gap: 48px;
    padding-bottom: 46px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-proof span {
    width: fit-content;
  }

  .hero-visual {
    min-height: 500px;
  }

  .console-card {
    top: 50px;
  }

  .how-section {
    padding-top: 58px;
  }

  .how-section::before {
    left: 20px;
    right: 20px;
  }
}
