/* ============================================================
   F.Bills · Disruptor Liquid Glass + Tri-Color Arcade Stylesheet
   ============================================================ */

:root {
  /* Exact F.Bills Brand Colors (Color+Extensions.swift) */
  --arcade-crimson: #FF0055;
  --arcade-purple: #B800FF;
  --arcade-lime: #AAFF00;
  --status-paid: #00FF66;
  --arcade-gradient: linear-gradient(90deg, #FF0055, #B800FF, #00FF66);
  --arcade-border: linear-gradient(135deg, rgba(255, 0, 85, 0.55), rgba(184, 0, 255, 0.55), rgba(0, 255, 102, 0.55));

  /* Tab & Category Accent Colors */
  --tab-bills: #30D158;
  --tab-spend: #00B8FF;
  --tab-stats: #FF940A;
  --tab-vault: #B800FF;
  --tab-settings: #FF0055;
  --tab-services: #00CCB8;

  /* Light Mode Surfaces */
  --bg: #f3f4f8;
  --bg-elevated: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.92);
  --border: rgba(15, 17, 26, 0.09);
  --text: #0c0d12;
  --text-secondary: #42444f;
  --text-muted: #6c6f7c;
  --pill-bg: rgba(12, 13, 18, 0.055);
  --orb-opacity: 0.16;
  --shadow-sm: 0 6px 24px rgba(12, 13, 18, 0.06);
  --shadow-md: 0 18px 46px rgba(12, 13, 18, 0.09);
  --shadow-lg: 0 30px 80px rgba(12, 13, 18, 0.15);

  --radius-card: 22px;
  --radius-lg: 28px;
  --max-w: 1120px;
}

/* Dark Mode Surfaces */
:root[data-theme="dark"] {
  --bg: #050507;
  --bg-elevated: #0d0e13;
  --glass-bg: rgba(18, 19, 26, 0.76);
  --glass-bg-strong: rgba(22, 24, 33, 0.9);
  --glass-border: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f7f8fb;
  --text-secondary: #b4b7c4;
  --text-muted: #7f8394;
  --pill-bg: rgba(255, 255, 255, 0.08);
  --orb-opacity: 0.24;
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.78);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050507;
    --bg-elevated: #0d0e13;
    --glass-bg: rgba(18, 19, 26, 0.76);
    --glass-bg-strong: rgba(22, 24, 33, 0.9);
    --glass-border: rgba(255, 255, 255, 0.12);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f7f8fb;
    --text-secondary: #b4b7c4;
    --text-muted: #7f8394;
    --pill-bg: rgba(255, 255, 255, 0.08);
    --orb-opacity: 0.24;
    --shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.78);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}

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

/* ── Ambient Arcade Mesh Background ────────────────────────── */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: var(--orb-opacity);
}

.orb-crimson {
  width: 460px;
  height: 460px;
  background: var(--arcade-crimson);
  top: -140px;
  left: -100px;
}

.orb-purple {
  width: 520px;
  height: 520px;
  background: var(--arcade-purple);
  top: 120px;
  right: -140px;
}

.orb-lime {
  width: 440px;
  height: 440px;
  background: var(--arcade-lime);
  bottom: -160px;
  left: 34%;
}

/* ── Floating Liquid Glass Pill Nav ────────────────────────── */
.nav-wrap {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 20px;
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 9px 12px 9px 14px;
  border-radius: 999px;
  background: var(--glass-bg-strong);
  backdrop-filter: saturate(190%) blur(24px);
  -webkit-backdrop-filter: saturate(190%) blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.app-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
  display: inline-flex;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

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

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--pill-bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.theme-toggle:hover {
  transform: scale(1.06);
  border-color: var(--arcade-purple);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--arcade-gradient);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.nav-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* ── Disruptor Hero ────────────────────────────────────────── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px 56px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--arcade-gradient);
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1.01;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin-bottom: 18px;
}

.gradient-text {
  background: var(--arcade-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 18.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 28px;
}

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

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--arcade-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  box-shadow: 0 10px 30px rgba(184, 0, 255, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--glass-bg);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.secondary-btn:hover {
  transform: translateY(-2px);
  border-color: var(--arcade-purple);
}

/* Anti-SaaS Manifesto Strip */
.manifesto-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pill-bg);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ── Real iPhone Frame with Arcade Halo ────────────────────── */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-halo {
  position: relative;
  padding: 2px;
  border-radius: 46px;
  background: var(--arcade-border);
  box-shadow: var(--shadow-lg);
}

:root[data-theme="dark"] .phone-halo {
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(184, 0, 255, 0.22),
    0 0 36px rgba(0, 255, 102, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone-halo {
    box-shadow:
      0 28px 80px rgba(0, 0, 0, 0.85),
      0 0 60px rgba(184, 0, 255, 0.22),
      0 0 36px rgba(0, 255, 102, 0.1);
  }
}

.phone-frame {
  width: 306px;
  max-width: 100%;
  border-radius: 44px;
  background: #101116;
  padding: 9px;
}

.phone-screen-real {
  position: relative;
  width: 100%;
  aspect-ratio: 462 / 1000;
  border-radius: 35px;
  overflow: hidden;
  background: #000;
}

.phone-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s ease;
}

.phone-img--light {
  opacity: 1;
}

.phone-img--dark {
  opacity: 0;
}

:root[data-theme="dark"] .phone-img--light {
  opacity: 0;
}

:root[data-theme="dark"] .phone-img--dark {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone-img--light {
    opacity: 0;
  }

  :root:not([data-theme="light"]) .phone-img--dark {
    opacity: 1;
  }
}

/* Segmented Light / Dark Switcher */
.mode-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  gap: 4px;
}

.mode-seg {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.mode-switch--nav {
  padding: 3px;
  gap: 2px;
  background: var(--pill-bg);
  box-shadow: none;
}

.mode-switch--nav .mode-seg {
  font-size: 11.5px;
  padding: 5px 10px;
}

.mode-seg.active {
  background: var(--text);
  color: var(--bg);
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: 64px 24px;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--arcade-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subhead {
  font-size: 17px;
  color: var(--text-secondary);
}

/* ── Disruptor Asymmetric Bento Grid ───────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: saturate(185%) blur(26px);
  -webkit-backdrop-filter: saturate(185%) blur(26px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bento-card--glow {
  border-color: transparent;
  background-clip: padding-box;
}

.bento-card--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  padding: 1.5px;
  background: var(--arcade-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.span-7 {
  grid-column: span 7;
}

.span-5 {
  grid-column: span 5;
}

.span-4 {
  grid-column: span 4;
}

.span-8 {
  grid-column: span 8;
}

.span-6 {
  grid-column: span 6;
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-bills {
  background: rgba(48, 209, 88, 0.16);
  color: var(--tab-bills);
}

.icon-spend {
  background: rgba(0, 184, 255, 0.16);
  color: var(--tab-spend);
}

.icon-stats {
  background: rgba(255, 148, 10, 0.16);
  color: var(--tab-stats);
}

.icon-vault {
  background: rgba(184, 0, 255, 0.16);
  color: var(--tab-vault);
}

.icon-settings {
  background: rgba(255, 0, 85, 0.16);
  color: var(--tab-settings);
}

.tab-chip {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.chip-bills {
  background: rgba(48, 209, 88, 0.14);
  color: var(--tab-bills);
}

.chip-spend {
  background: rgba(0, 184, 255, 0.14);
  color: var(--tab-spend);
}

.chip-stats {
  background: rgba(255, 148, 10, 0.14);
  color: var(--tab-stats);
}

.chip-vault {
  background: rgba(184, 0, 255, 0.14);
  color: var(--tab-vault);
}

.chip-settings {
  background: rgba(255, 0, 85, 0.14);
  color: var(--tab-settings);
}

.bento-card h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Interactive Hold-to-Pay Demo inside Bento Card */
.hold-demo-wrap {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--pill-bg);
  border: 1px solid var(--border);
}

.hold-bill-meta {
  display: flex;
  flex-direction: column;
}

.hold-bill-title {
  font-size: 14.5px;
  font-weight: 800;
}

.hold-bill-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.hold-btn {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(48, 209, 88, 0.45);
  background: rgba(48, 209, 88, 0.14);
  color: var(--tab-bills);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  min-width: 152px;
  text-align: center;
}

.hold-btn-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--arcade-gradient);
  opacity: 0.35;
  pointer-events: none;
  transition: width 0.08s linear;
}

.hold-btn.holding .hold-btn-fill {
  width: 100%;
  transition: width 0.65s linear;
}

.hold-btn.paid {
  background: var(--tab-bills);
  border-color: var(--tab-bills);
  color: #051409;
}

.hold-btn span {
  position: relative;
  z-index: 1;
}

/* Mini Metric Chips inside Bento Cards */
.mini-metric {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--pill-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.metric-big {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--tab-bills);
}

/* ── Interactive 3D Retina Titanium Card ──────────────────── */
.vault-stage {
  margin-top: 18px;
  perspective: 1000px;
}

.ti-card {
  position: relative;
  min-height: 262px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  padding: 26px 26px 24px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.14s ease-out, box-shadow 0.25s ease;
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  cursor: grab;
  user-select: none;
  --mx: 50%;
  --my: 50%;
}

/* Moving Specular Foil Sheen */
.ti-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my),
      rgba(255, 255, 255, 0.48) 0%,
      rgba(255, 255, 255, 0.14) 28%,
      transparent 62%);
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0.9;
}

/* Finish 1: Satin Pearl (matches real app screenshot) */
.ti-card[data-finish="pearl"] {
  background:
    radial-gradient(circle at 12% 18%, rgba(125, 249, 255, 0.52), transparent 48%),
    radial-gradient(circle at 86% 24%, rgba(232, 121, 249, 0.56), transparent 50%),
    radial-gradient(circle at 72% 88%, rgba(167, 139, 250, 0.45), transparent 52%),
    radial-gradient(circle at 22% 85%, rgba(103, 232, 249, 0.4), transparent 50%),
    linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #fdf4ff 100%);
  color: #11131c;
}

/* Finish 2: Obsidian Titanium */
.ti-card[data-finish="obsidian"] {
  background:
    radial-gradient(circle at 82% 20%, rgba(184, 0, 255, 0.28), transparent 48%),
    radial-gradient(circle at 18% 85%, rgba(0, 184, 255, 0.2), transparent 50%),
    linear-gradient(140deg, #1b1d24 0%, #0d0e13 55%, #191a22 100%);
  color: #f8fafc;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

/* Finish 3: Bullion Gold */
.ti-card[data-finish="bullion"] {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 245, 200, 0.65), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(217, 119, 6, 0.45), transparent 52%),
    linear-gradient(135deg, #f6d365 0%, #e5b24c 52%, #c98a2c 100%);
  color: #1c1406;
}

/* Finish 4: Arcade Foil */
.ti-card[data-finish="arcade"] {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 0, 85, 0.65), transparent 48%),
    radial-gradient(circle at 55% 50%, rgba(184, 0, 255, 0.62), transparent 55%),
    radial-gradient(circle at 88% 82%, rgba(0, 255, 102, 0.52), transparent 50%),
    linear-gradient(135deg, #14081c 0%, #1d0c2e 50%, #081c15 100%);
  color: #ffffff;
  box-shadow:
    0 22px 52px rgba(184, 0, 255, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset;
}

.ti-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ti-left-id {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ti-chip {
  width: 38px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(175, 182, 196, 0.65));
  border: 1px solid rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ti-chip-inner {
  width: 16px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.22);
}

.ti-heading {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.ti-submeta {
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0.68;
  letter-spacing: 0.03em;
}

.ti-paid-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #11131c;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ti-card[data-finish="obsidian"] .ti-paid-pill,
.ti-card[data-finish="arcade"] .ti-paid-pill {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ti-balance-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ti-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  opacity: 0.65;
  margin-bottom: 2px;
}

.ti-amount {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ti-add-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--arcade-purple);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(184, 0, 255, 0.38);
  white-space: nowrap;
}

.ti-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin-bottom: 11px;
}

.ti-card[data-finish="obsidian"] .ti-progress-track,
.ti-card[data-finish="arcade"] .ti-progress-track {
  background: rgba(255, 255, 255, 0.16);
}

.ti-progress-fill {
  height: 100%;
  width: 45%;
  border-radius: 999px;
  background: var(--arcade-gradient);
}

.ti-foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
}

.ti-interest {
  color: #d9004c;
}

.ti-card[data-finish="obsidian"] .ti-interest,
.ti-card[data-finish="arcade"] .ti-interest {
  color: #ff4d88;
}

.ti-paid-total {
  color: #0b9d4c;
}

.ti-card[data-finish="obsidian"] .ti-paid-total,
.ti-card[data-finish="arcade"] .ti-paid-total {
  color: #00FF66;
}

.finish-picker {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.finish-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.finish-btn {
  border: 1px solid var(--border);
  background: var(--pill-bg);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.finish-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.tilt-hint {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ── Pricing Deck ──────────────────────────────────────────── */
.trial-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(48, 209, 88, 0.14);
  border: 1px solid rgba(48, 209, 88, 0.3);
  color: var(--tab-bills);
  font-size: 13.5px;
  font-weight: 800;
}

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

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.pricing-card--lifetime {
  border-color: rgba(255, 148, 10, 0.45);
}

.own-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  background: linear-gradient(90deg, #FF940A, #FF0055);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ── Disruptor Competitor Showdown Section ─────────────────── */
.disruptor-card {
  margin-top: 34px;
  position: relative;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  backdrop-filter: saturate(190%) blur(28px);
  -webkit-backdrop-filter: saturate(190%) blur(28px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.disruptor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: var(--arcade-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.disruptor-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.disruptor-header h3 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 600px;
  margin-top: 8px;
}

.late-fee-callout {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(48, 209, 88, 0.14);
  border: 1px solid rgba(48, 209, 88, 0.35);
  max-width: 340px;
}

.late-fee-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tab-bills);
  margin-bottom: 3px;
}

.late-fee-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.vs-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.vs-row {
  display: grid;
  grid-template-columns: 165px 1fr 125px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--pill-bg);
  border: 1px solid var(--border);
}

.vs-row--fbills {
  background: rgba(48, 209, 88, 0.1);
  border-color: rgba(48, 209, 88, 0.42);
}

.vs-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vs-app {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
}

.vs-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.vs-row--fbills .vs-tag {
  color: var(--tab-bills);
}

.vs-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(128, 128, 145, 0.16);
  overflow: hidden;
}

.vs-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 0, 85, 0.55), var(--arcade-crimson));
}

.vs-row--fbills .vs-fill {
  background: var(--arcade-gradient);
}

.vs-price {
  text-align: right;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.vs-row--fbills .vs-price {
  color: var(--tab-bills);
  font-size: 18px;
}

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

.d-stat {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--pill-bg);
  border: 1px solid var(--border);
}

.d-stat-num {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.d-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Free vs. Pro Feature Matrix */
.matrix-card {
  margin-top: 28px;
  background: var(--glass-bg);
  backdrop-filter: saturate(185%) blur(24px);
  -webkit-backdrop-filter: saturate(185%) blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.matrix-table th {
  text-align: left;
  padding: 15px 20px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--pill-bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.matrix-table th:not(:first-child),
.matrix-table td:not(:first-child) {
  text-align: center;
  width: 150px;
}

.matrix-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.matrix-feat {
  font-weight: 700;
  color: var(--text);
}

.matrix-sub {
  color: var(--text-muted);
  font-weight: 500;
}

.mpill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.mpill-inc {
  background: rgba(48, 209, 88, 0.14);
  color: var(--tab-bills);
}

.mpill-pro {
  background: rgba(184, 0, 255, 0.15);
  color: var(--arcade-purple);
}

.mpill-cap {
  background: rgba(255, 148, 10, 0.15);
  color: var(--tab-stats);
}

.mpill-lock {
  background: var(--pill-bg);
  color: var(--text-muted);
}

.pricing-card--featured {
  border-color: transparent;
  box-shadow: 0 22px 54px rgba(184, 0, 255, 0.18);
}

.pricing-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  padding: 2px;
  background: var(--arcade-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.save-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--arcade-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 13px;
  border-radius: 999px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.tier-name {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}

.tier-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 700;
}

.price-note {
  font-size: 13px;
  color: var(--tab-bills);
  font-weight: 700;
  margin-bottom: 22px;
  min-height: 20px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check {
  color: var(--tab-bills);
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 22px;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 600;
  color: var(--arcade-purple);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Legal / Doc Pages ─────────────────────────────────────── */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tab-spend);
  margin-bottom: 24px;
}

.back-link:hover {
  text-decoration: underline;
}

.legal-wrap h1 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-wrap h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 30px 0 10px;
}

.legal-wrap p {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.legal-wrap ul {
  margin: 0 0 16px 20px;
  color: var(--text-secondary);
}

.legal-wrap li {
  margin-bottom: 8px;
}

.legal-wrap a {
  color: var(--tab-spend);
}

.legal-wrap a:hover {
  text-decoration: underline;
}

/* ── Launch / TestFlight Notify Card ───────────────────────── */
.notify-card {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 38px 34px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  backdrop-filter: saturate(190%) blur(26px);
  -webkit-backdrop-filter: saturate(190%) blur(26px);
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
}

.notify-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: var(--arcade-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.notify-card h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.notify-sub {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 24px;
}

.notify-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.notify-input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--pill-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.notify-input:focus {
  border-color: var(--arcade-purple);
  box-shadow: 0 0 0 3px rgba(184, 0, 255, 0.2);
}

.notify-submit {
  height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  background: var(--arcade-gradient);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  box-shadow: 0 8px 24px rgba(184, 0, 255, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

.notify-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.notify-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.notify-status {
  min-height: 22px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.notify-status.ok {
  color: var(--tab-bills);
}

.notify-status.err {
  color: var(--arcade-crimson);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

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

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

/* ── Responsive: iPad Pro, iPad, iPhone Pro Max & iPhone Pro ─ */
@media (max-width: 1120px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    gap: 34px;
    padding: 52px 24px 48px;
  }
}

/* iPad Pro Portrait & Tablets (768px - 920px) */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 38px;
  }
  .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .actions,
  .manifesto-pills {
    justify-content: center;
  }
  .span-7,
  .span-5,
  .span-4,
  .span-8,
  .span-6 {
    grid-column: span 12;
  }
  .nav-links {
    display: none;
  }
  .disruptor-card {
    padding: 30px 24px;
  }
  .vs-row {
    grid-template-columns: 1fr auto;
  }
  .vs-track {
    grid-column: 1 / -1;
    order: 3;
  }
  .disruptor-stats {
    grid-template-columns: 1fr;
  }
  .matrix-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* iPhone Pro Max (430px) & iPhone Pro (393px) */
@media (max-width: 640px) {
  .nav-wrap {
    top: max(10px, env(safe-area-inset-top));
    padding: 0 max(10px, env(safe-area-inset-left)) 0 max(10px, env(safe-area-inset-right));
  }
  .nav {
    padding: 6px 8px 6px 10px;
    gap: 6px;
  }
  .brand {
    font-size: 15px;
    gap: 7px;
    flex-shrink: 0;
  }
  .app-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .nav-right {
    gap: 6px;
    min-width: 0;
  }
  .mode-switch--nav {
    padding: 2px;
    gap: 1px;
  }
  .mode-switch--nav .mode-seg {
    font-size: 11px;
    padding: 4px 7px;
  }
  .nav-button {
    padding: 7px 11px;
    font-size: 11.5px;
  }
  .hero {
    padding: 24px 16px 36px;
  }
  .hero-badge {
    font-size: 11.5px;
    padding: 6px 12px;
    line-height: 1.35;
  }
  .hero h1 {
    font-size: 38px;
  }
  .lede {
    font-size: 16.5px;
  }
  .actions {
    flex-direction: column;
    width: 100%;
  }
  .primary-btn,
  .secondary-btn {
    width: 100%;
    min-height: 48px;
  }
  .phone-frame {
    width: min(296px, calc(100vw - 44px));
  }
  .section {
    padding: 46px 16px;
  }
  .bento-card {
    padding: 22px 18px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hold-demo-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .hold-btn {
    width: 100%;
    min-height: 44px;
  }
  .ti-card {
    min-height: 232px;
    padding: 18px 18px 16px;
  }
  .ti-amount {
    font-size: 28px;
  }
  .ti-add-pill {
    padding: 6px 11px;
    font-size: 11px;
  }
  .disruptor-card {
    padding: 24px 16px;
  }
  .notify-card {
    padding: 28px 18px;
  }
  .notify-form {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .notify-input {
    flex: none;
    width: 100%;
    height: 50px;
    min-height: 50px;
    font-size: 16px;
    padding: 0 20px;
  }
  .notify-submit {
    flex: none;
    width: 100%;
    height: 50px;
    min-height: 50px;
    font-size: 15.5px;
  }
  .matrix-card {
    overflow-x: hidden;
  }
  .matrix-table {
    table-layout: fixed;
    width: 100%;
  }
  .matrix-table th,
  .matrix-table td {
    padding: 11px 8px;
    font-size: 12.5px;
    vertical-align: middle;
    word-wrap: break-word;
  }
  .matrix-table th {
    font-size: 10.5px;
    letter-spacing: 0.03em;
    padding: 12px 8px;
  }
  .matrix-table th:first-child,
  .matrix-table td:first-child {
    width: 48%;
    padding-left: 12px;
  }
  .matrix-table th:nth-child(2),
  .matrix-table td:nth-child(2),
  .matrix-table th:nth-child(3),
  .matrix-table td:nth-child(3) {
    width: 26%;
    text-align: center;
  }
  .matrix-sub {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    margin-top: 2px;
  }
  .mpill {
    font-size: 10.5px;
    padding: 4px 7px;
    white-space: normal;
    line-height: 1.15;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}