/* ==========================================================================
   Droidvia Official Website — Phase 1 Quick Transfer Design System (B2)
   Brand Palette: Cobalt #466EF5 -> #2853DA · Mint #65E4CF · Deep Navy #142038
   Supports: Light (default, matching B2 Hero) + Dark Theme + Logical RTL
   ========================================================================== */

:root {
  --bg: #f7faff;
  --bg-alt: #eef3fc;
  --surface: #ffffff;
  --surface-subtle: #f3f7fe;
  --surface-elevated: rgba(255, 255, 255, 0.86);
  --border: rgba(20, 32, 56, 0.09);
  --border-strong: rgba(20, 32, 56, 0.16);

  --text: #142038;
  --text-dim: #4a5b78;
  --text-faint: #7384a0;

  --cobalt: #466ef5;
  --cobalt-deep: #2853da;
  --cobalt-soft: rgba(70, 110, 245, 0.11);
  --mint: #65e4cf;
  --mint-ink: #0d8a76;
  --mint-soft: rgba(101, 228, 207, 0.2);
  --emerald: #16a34a;
  --emerald-soft: rgba(22, 163, 74, 0.12);

  --header-bg: rgba(247, 250, 255, 0.82);
  --shadow-sm: 0 2px 8px rgba(20, 32, 56, 0.05);
  --shadow-card:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 42px -20px rgba(20, 32, 56, 0.11);
  --shadow-window:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 30px 70px -24px rgba(20, 32, 56, 0.22),
    0 8px 20px -8px rgba(70, 110, 245, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #0a1120;
  --bg-alt: #0f192e;
  --surface: #142038;
  --surface-subtle: #1a2946;
  --surface-elevated: rgba(20, 32, 56, 0.88);
  --border: rgba(148, 163, 184, 0.15);
  --border-strong: rgba(148, 163, 184, 0.26);

  --text: #f6f9ff;
  --text-dim: #a9b8d0;
  --text-faint: #7889a6;

  --cobalt: #5c82ff;
  --cobalt-deep: #3f67eb;
  --cobalt-soft: rgba(92, 130, 255, 0.16);
  --mint: #65e4cf;
  --mint-ink: #65e4cf;
  --mint-soft: rgba(101, 228, 207, 0.14);
  --emerald: #22c55e;
  --emerald-soft: rgba(34, 197, 94, 0.16);

  --header-bg: rgba(10, 17, 32, 0.82);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-card:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 20px 46px -22px rgba(0, 0, 0, 0.65);
  --shadow-window:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 32px 76px -22px rgba(0, 0, 0, 0.75);
}

/* ---------- Reset & Typography ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Inter",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.45em;
  line-height: 1.16;
  font-weight: 750;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--cobalt);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  inset-block-start: 12px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--cobalt-deep) 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px -6px rgba(40, 83, 218, 0.48);
}

.btn-primary:hover {
  box-shadow: 0 12px 26px -6px rgba(40, 83, 218, 0.6);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--surface-subtle);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
  border-radius: 13px;
}

.btn-block {
  width: 100%;
  justify-content: space-between;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  flex-shrink: 0;
}

.brand-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.16s var(--ease);
}

.site-nav a:hover {
  color: var(--text);
}

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

.lang-pill-group {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.lang-pill {
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition:
    background-color 0.16s var(--ease),
    color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

.lang-pill:hover {
  color: var(--text);
}

.lang-pill.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(20, 32, 56, 0.1);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition:
    color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

html[data-theme="light"] .icon-sun {
  display: none;
}

html[data-theme="dark"] .icon-moon {
  display: none;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  padding: 14px 24px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu a {
  font-size: 15px;
  font-weight: 550;
  color: var(--text-dim);
  padding-block: 4px;
}

.mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding-block: 64px 96px;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(78px);
  opacity: 0.42;
}

html[data-theme="dark"] .ambient-orb {
  opacity: 0.22;
}

.orb-cobalt {
  width: 520px;
  height: 520px;
  inset-block-start: -160px;
  inset-inline-end: -80px;
  background: radial-gradient(circle, rgba(70, 110, 245, 0.45), transparent 70%);
}

.orb-mint {
  width: 460px;
  height: 460px;
  inset-block-end: -140px;
  inset-inline-start: -100px;
  background: radial-gradient(circle, rgba(101, 228, 207, 0.52), transparent 70%);
}

.hero-ribbons {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  width: 100%;
  height: 150px;
}

.ribbon-mint {
  fill: rgba(101, 228, 207, 0.24);
}

.ribbon-cobalt {
  fill: rgba(70, 110, 245, 0.12);
}

html[data-theme="dark"] .ribbon-mint {
  fill: rgba(101, 228, 207, 0.08);
}

html[data-theme="dark"] .ribbon-cobalt {
  fill: rgba(70, 110, 245, 0.09);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-soft);
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.text-brand-gradient {
  background: linear-gradient(120deg, var(--cobalt) 0%, #1da89a 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="dark"] .text-brand-gradient {
  background: linear-gradient(120deg, #7495ff 0%, var(--mint) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 17.5px;
  line-height: 1.66;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-dim);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-facts svg {
  width: 16px;
  height: 16px;
  color: var(--mint-ink);
}

/* ---------- Hero Interactive Product Showcase ---------- */
.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 5px;
  border-radius: 14px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.showcase-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  transition:
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.showcase-tab:hover {
  color: var(--text);
}

.showcase-tab.is-active {
  background: var(--surface);
  color: var(--cobalt);
  box-shadow: 0 2px 8px rgba(20, 32, 56, 0.08);
}

html[data-theme="dark"] .showcase-tab.is-active {
  background: var(--surface-subtle);
  color: #ffffff;
}

.tab-num {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.app-window {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.app-titlebar {
  height: 42px;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border);
}

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

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

.wdot-close {
  background: #ff5f57;
}

.wdot-min {
  background: #febc2e;
}

.wdot-max {
  background: #28c840;
}

.window-title {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text-dim);
}

.menubar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.app-body {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 360px;
}

.app-sidebar {
  padding: 14px 10px;
  background: var(--surface-subtle);
  border-inline-end: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.snav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text-dim);
}

.snav-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.app-window[data-active-stage="discover"] .snav-item[data-snav~="discover"],
.app-window[data-active-stage="verify"] .snav-item[data-snav~="verify"],
.app-window[data-active-stage="send"] .snav-item[data-snav~="send"] {
  background: var(--cobalt-soft);
  color: var(--cobalt);
  font-weight: 650;
}

.stage-pane {
  display: none;
  padding: 18px 22px;
  flex-direction: column;
  justify-content: space-between;
}

.stage-pane.is-visible {
  display: flex;
  animation: fadeSlideIn 0.26s var(--ease);
}

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

.pane-top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.mini-btn svg {
  width: 13px;
  height: 13px;
}

/* Water-Ripple Radar Animation (Authentic to Droidvia Receive View) */
.radar-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 6px;
}

.radar-ripple-box {
  position: relative;
  width: 136px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.ripple-wave {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.6px solid var(--cobalt);
  background: rgba(70, 110, 245, 0.08);
  animation: radarRipple 3.3s cubic-bezier(0.2, 0.55, 0.35, 1) infinite;
}

.ripple-wave.w2 {
  animation-delay: 1.1s;
}

.ripple-wave.w3 {
  animation-delay: 2.2s;
}

@keyframes radarRipple {
  0% {
    transform: scale(0.95);
    opacity: 0.68;
  }
  100% {
    transform: scale(2.12);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ripple-wave {
    animation: none;
  }
  .w1 {
    transform: scale(1.3);
    opacity: 0.25;
  }
  .w2 {
    transform: scale(1.7);
    opacity: 0.14;
  }
  .w3 {
    display: none;
  }
}

.radar-core {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--cobalt-soft);
  border: 1.5px solid rgba(70, 110, 245, 0.3);
  color: var(--cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-core svg {
  width: 28px;
  height: 28px;
}

.radar-online-dot {
  position: absolute;
  inset-block-end: 3px;
  inset-inline-end: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--emerald);
  border: 2.5px solid var(--surface);
}

.device-hero-name {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.device-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill-ready {
  font-size: 11px;
  font-weight: 650;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald);
}

.pill-port {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--text-faint);
}

.quicksave-demo {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.quicksave-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-faint);
}

.segmented-demo {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 9px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  min-width: 148px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
}

.seg-opt {
  padding: 3px 12px;
  border-radius: 6px;
  color: var(--text-dim);
}

.seg-opt.is-on {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Pane 2: Send Batch */
.batch-card {
  padding: 13px 14px;
  border-radius: 13px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.batch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.batch-title {
  font-size: 12.5px;
  font-weight: 700;
}

.batch-tag {
  font-size: 11px;
  font-weight: 650;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.batch-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.batch-items li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.item-badge {
  font-size: 10px;
  font-weight: 750;
  padding: 2px 6px;
  border-radius: 5px;
  flex-shrink: 0;
}

.badge-folder {
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.badge-video {
  background: var(--mint-soft);
  color: var(--mint-ink);
}

.badge-text {
  background: rgba(148, 163, 184, 0.18);
  color: var(--text-dim);
}

.item-name {
  flex: 1;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-meta {
  font-size: 11px;
  color: var(--text-faint);
  flex-shrink: 0;
}

.nearby-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-block: 12px 8px;
}

.peer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.peer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.peer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--cobalt-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.peer-info {
  flex: 1;
  min-width: 0;
}

.peer-name {
  font-size: 13px;
  font-weight: 650;
}

.peer-sub {
  font-size: 11px;
  color: var(--text-faint);
}

.peer-send-btn {
  padding: 5px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  background: var(--cobalt);
  color: #fff;
}

.peer-send-outline {
  background: var(--surface-subtle);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

/* Pane 3: Verify & Save */
.approval-sheet {
  margin-block: auto;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.tls-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.conflict-pill {
  font-size: 10.5px;
  font-weight: 650;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint-ink);
}

.approval-title {
  font-size: 14.5px;
  font-weight: 750;
}

.approval-sub {
  font-size: 12px;
  color: var(--text-dim);
}

.transfer-meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
}

.meter-track {
  height: 7px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cobalt), var(--mint));
}

.approval-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.act-btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 650;
}

.act-ghost {
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: var(--surface);
}

.act-secondary {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

.act-primary {
  background: var(--cobalt);
  color: #fff;
}

.verified-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 11.5px;
  font-weight: 650;
}

.verified-banner svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Sections Common ---------- */
.section {
  padding-block: 88px;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 52px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16.5px;
  color: var(--text-dim);
}

/* ---------- Bento Features Grid (6-col: 3+3 Flagships + 2+2+2 Pillars) ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.bento-card {
  grid-column: span 2;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-half {
  grid-column: span 3;
}

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

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

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

.icon-cobalt {
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.icon-mint {
  background: var(--mint-soft);
  color: var(--mint-ink);
}

.bento-card h3 {
  font-size: 19px;
  margin-bottom: 2px;
}

.bento-card p {
  font-size: 14.8px;
  color: var(--text-dim);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.mini-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ---------- 3 Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-deep));
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14.8px;
  color: var(--text-dim);
}

/* ---------- Security & Protocol Stack ---------- */
.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.security-copy .section-title,
.security-copy .section-sub {
  text-align: start;
}

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

.security-list li {
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--cobalt);
}

.security-list strong {
  display: block;
  font-size: 15.5px;
  margin-bottom: 4px;
}

.security-list p {
  font-size: 14.5px;
  color: var(--text-dim);
}

.protocol-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-window);
}

.proto-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--cobalt);
}

.proto-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
}

.proto-layers {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.proto-layer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.layer-badge {
  font-size: 11px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  white-space: nowrap;
}

.layer-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.layer-detail strong {
  font-size: 13.5px;
}

.layer-detail span {
  font-size: 12.5px;
  color: var(--text-dim);
}

.proto-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mint-ink);
}

/* ---------- Downloads Hub ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dl-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s var(--ease);
}

.dl-card.is-recommended {
  border-color: var(--cobalt);
  box-shadow:
    0 0 0 1px var(--cobalt),
    var(--shadow-card);
}

.dl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dl-os-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.dl-rec-badge {
  display: none;
  font-size: 11.5px;
  font-weight: 650;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.dl-card.is-recommended .dl-rec-badge {
  display: inline-flex;
}

.dl-card h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.dl-req {
  font-size: 13.8px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.dl-btn-stack {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dl-size {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.82;
}

.dl-store-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-faint);
  padding-block: 7px;
}

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

.roadmap-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.roadmap-card.is-live {
  border-color: rgba(70, 110, 245, 0.35);
}

.rm-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.rm-live {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.rm-next {
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.rm-planned {
  background: var(--surface-subtle);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.roadmap-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.roadmap-card p {
  font-size: 14.5px;
  color: var(--text-dim);
}

/* ---------- FAQ ---------- */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 650;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: var(--cobalt);
  flex-shrink: 0;
  transition: transform 0.18s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14.8px;
  color: var(--text-dim);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 52px 44px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  font-size: 14px;
  font-weight: 550;
  color: var(--text-dim);
}

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

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

/* ---------- Scroll Reveal (Progressive Enhancement — Never Blocks First Paint) ---------- */
.reveal {
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(14px);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-block: 44px 72px;
  }

  .hero-grid,
  .security-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bento-grid,
  .steps-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-half,
  .bento-third {
    grid-column: span 1;
  }

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

@media (max-width: 600px) {
  .brand-tag {
    display: none;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-inline-end: 0;
    border-bottom: 1px solid var(--border);
    padding: 8px 10px;
  }

  .showcase-tab {
    font-size: 12px;
    padding: 7px 6px;
  }

  .tab-num {
    display: none;
  }

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