/* ==========================================================================
   1. DESIGN TOKENS & THEME SYSTEM (Light Mode Default + Dark Mode)
   ========================================================================== */
:root {
  --bg: #F5F6F9;
  --bg-elevated: #EEF0F6;
  --surface: #FFFFFF;
  --surface-2: #FAFBFC;
  --surface-glass: rgba(255, 255, 255, 0.86);
  --ink: #14161C;
  --ink-2: #555C6C;
  --ink-3: #8A91A1;
  --line: #E4E7EE;
  --line-2: #EEF0F5;
  --accent: #F26B1D;
  --accent-hover: #DD5C10;
  --accent-soft: #FFF1E7;
  --accent-ink: #A8440A;
  --good: #10996A;
  --good-soft: #E5F6EE;
  --info: #3B6FE0;
  --info-soft: #EAF0FD;
  --danger: #D6443A;
  --danger-soft: #FDECEA;
  --fill-1: #E9ECF2;
  --fill-2: #DADFEA;
  --fill-3: #DDE1EA;
  --switch-off: #CDD2DD;
  --on-ink: #FFFFFF;
  --font: 'Manrope', 'Hind Siliguri', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-xs: 0 1px 2px rgba(20, 22, 28, 0.04);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(20, 22, 28, 0.08), 0 4px 12px -2px rgba(20, 22, 28, 0.04);
  --shadow-lg: 0 24px 56px -12px rgba(20, 22, 28, 0.14), 0 8px 20px -4px rgba(20, 22, 28, 0.06);
  --shadow-pop: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 10px 26px -4px rgba(242, 107, 29, 0.36);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container-max: 1200px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0E1014;
  --bg-elevated: #12151B;
  --surface: #161920;
  --surface-2: #1B1F27;
  --surface-glass: rgba(22, 25, 32, 0.86);
  --ink: #EDEFF4;
  --ink-2: #A5ACBB;
  --ink-3: #7A8294;
  --line: #262A34;
  --line-2: #1E222B;
  --accent: #F77A33;
  --accent-hover: #FF8B4A;
  --accent-soft: #2A1B12;
  --accent-ink: #FFA66E;
  --good: #2EC88E;
  --good-soft: #12271F;
  --info: #7AA2FA;
  --info-soft: #19243E;
  --danger: #F26F65;
  --danger-soft: #2C1716;
  --fill-1: #262A35;
  --fill-2: #2D323F;
  --fill-3: #2D3240;
  --switch-off: #3A4050;
  --on-ink: #0E1014;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 64px -12px rgba(0, 0, 0, 0.65);
  --shadow-pop: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 10px 28px -4px rgba(247, 122, 51, 0.32);
  color-scheme: dark;
}

/* ==========================================================================
   2. BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

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

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

.lp-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   3. LANDING PAGE HEADER & NAVIGATION
   ========================================================================== */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lp-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(242, 107, 29, 0.22);
  flex-shrink: 0;
}

.lp-brand-meta {
  display: flex;
  flex-direction: column;
}

.lp-brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0;
  line-height: 1.1;
}

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

.lp-nav-link {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.lp-nav-link:hover {
  color: var(--ink);
  background: var(--fill-1);
}

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

.lp-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
  transition: all 0.15s ease;
}

.lp-theme-btn:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.lp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(242, 107, 29, 0.28);
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.lp-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

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

.lp-cta-btn.lp-cta-lg {
  padding: 15px 28px;
  font-size: 15.5px;
  border-radius: 12px;
}

.lp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: all 0.15s ease;
}

.lp-btn-secondary:hover {
  background: var(--fill-1);
  border-color: var(--ink-3);
}

.lp-mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.lp-mobile-drawer {
  display: none;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.lp-mobile-drawer.open {
  display: block;
}

.lp-mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.lp-hero {
  position: relative;
  padding: 68px 0 44px;
  text-align: center;
  overflow: hidden;
}

.lp-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 420px;
  background: radial-gradient(circle, rgba(242, 107, 29, 0.13) 0%, rgba(242, 107, 29, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.lp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(242, 107, 29, 0.25);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 22px;
}

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

.lp-hero-h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 20px;
}

.lp-hero-h1 .accent-text {
  color: var(--accent);
}

.lp-hero-lead {
  font-size: clamp(16px, 2vw, 19.5px);
  font-weight: 500;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.lp-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.lp-hero-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (min-width: 820px) {
  .lp-hero-pills {
    flex-wrap: nowrap;
  }
}

.lp-value-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6.5px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
  flex-shrink: 0;
}

.lp-value-pill svg {
  color: var(--good);
  flex-shrink: 0;
}

/* ==========================================================================
   5. INTERACTIVE SOFTWARE SHOWCASE WRAPPER + ORIGINAL BARTAAI UI REPLICA
   ========================================================================== */
.lp-showcase-section {
  padding: 18px 0 84px;
}

.lp-showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.lp-showcase-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lp-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--good-soft);
  color: var(--good);
  font-size: 11.5px;
  font-weight: 800;
}

.lp-showcase-bar-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.lp-showcase-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lp-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--fill-1);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.lp-mini-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
}

/* Windows Desktop Frame around the replica */
.win-window-frame {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.win-titlebar {
  height: 38px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  user-select: none;
}

.win-titlebar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.win-titlebar-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-3);
  font-size: 12px;
}

/* --- EXACT BARTAAI.HTML APP STYLES --- */
.app-container {
  display: grid;
  grid-template-columns: 236px 1fr;
  height: 670px;
  background: var(--bg);
  color: var(--ink);
  user-select: none;
  -webkit-user-select: none;
  text-align: left;
}

/* SIDEBAR */
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 4px 18px;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.brand-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  line-height: 1.2;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sidebar svg,
.sidebar .nav-item svg,
.sidebar .nav-item svg.i,
.nav-item svg,
.nav-item svg.i,
svg.i {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.sidebar svg *,
.sidebar .nav-item svg *,
.sidebar .nav-item svg.i *,
.nav-item svg *,
.nav-item svg.i *,
svg.i * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.nav-item:hover {
  background: var(--fill-1);
  color: var(--ink);
}

.nav-item.active {
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 700;
}

.nav-item.active svg,
.nav-item.active svg *,
.nav-item.active svg.i,
.nav-item.active svg.i * {
  stroke: var(--on-ink) !important;
  color: var(--on-ink) !important;
}

.nav-badge {
  margin-left: auto;
  background: var(--fill-1);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.nav-item.active .nav-badge {
  background: rgba(255,255,255,0.2);
  color: var(--on-ink);
}

/* MAIN CONTENT */
.main-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px 12px;
  background: var(--bg);
  flex-shrink: 0;
}

.top h2.app-page-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--ink);
}

.top p {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
  margin-top: 2px;
}

.top-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink-2);
  box-shadow: var(--shadow-card);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px var(--good-soft);
  display: inline-block;
}

.listening .dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 6px transparent; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  transition: background .15s, border-color .15s, transform .05s;
  cursor: pointer;
  border: 0;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.listening .btn-start {
  background: var(--ink);
  color: var(--on-ink);
}

.page-container {
  flex: 1;
  overflow-y: auto;
  padding: 4px 28px 36px;
}

.page-view {
  display: none;
}

.page-view.active {
  display: block;
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

/* 1. DASHBOARD */
.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 18px 24px;
  margin-bottom: 16px;
}

.orb {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.orb button {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(242,107,29,.32);
  transition: background .15s, transform .1s, box-shadow .2s;
  cursor: pointer;
  border: 0;
}

.orb button:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
}

.orb button svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.listening .orb button {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 8px 20px rgba(20,22,28,.25);
}

.hero-main h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--ink);
}

.hero-main p {
  color: var(--ink-2);
  margin-top: 2px;
  font-size: 13.5px;
}

.keys {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
}

kbd {
  font: 600 12px var(--font);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 8px;
  color: var(--ink);
}

.mini {
  display: flex;
  gap: 10px;
  align-self: stretch;
}

.mt {
  width: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}

.mt-h {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mt-h small {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 12.5px;
}

.mi {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
}

.mi.o {
  background: rgba(242,107,29,0.12);
  color: var(--accent);
}

.mi.b {
  background: rgba(59,111,224,0.12);
  color: var(--info);
}

.mi.g {
  background: rgba(16,153,106,0.12);
  color: var(--good);
}

.mt strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.mt strong em {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  margin-left: 4px;
  letter-spacing: 0;
}

.dash-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 16px;
}

.canvas-card {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.canvas-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.canvas-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.canvas-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.canvas-subtitle {
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
}

.canvas-status-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,153,106,0.1);
  color: var(--good);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

.canvas-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
}

.canvas-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
}

.canvas-mic-orb {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(242,107,29,0.15);
}

.canvas-h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 6px;
}

.canvas-p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  max-width: 390px;
  margin-bottom: 20px;
}

.canvas-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.canvas-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.canvas-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.canvas-footer a {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

.rec {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 430px;
}

.rec .card-h {
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-2);
}

.rec .card-h h2 {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.badge {
  font-size: 11.5px;
  font-weight: 700;
  background: var(--fill-1);
  color: var(--ink-2);
  border-radius: 20px;
  padding: 1px 9px;
}

.link {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  margin-left: auto;
}

.link:hover {
  color: var(--ink);
}

.rec-list {
  display: flex;
  flex-direction: column;
  padding: 4px 8px 12px;
  flex: 1;
}

.rc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  transition: background .15s;
}

.rc + .rc {
  border-top: 1px solid var(--line-2);
}

.rc:hover {
  background: var(--surface-2);
}

.rc-left {
  min-width: 0;
  flex: 1;
}

.rc p {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.rc-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 500;
}

.rc-meta svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
}

.rc-meta time {
  font-variant-numeric: tabular-nums;
}

.ico-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  background: transparent;
  cursor: pointer;
  border: 0;
  transition: all 0.15s;
  flex-shrink: 0;
}

.rc:hover .ico-btn {
  color: var(--ink-2);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ico-btn:hover {
  background: var(--ink) !important;
  color: var(--on-ink) !important;
  box-shadow: none !important;
}

/* 2. HISTORY */
.history-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--ink-3);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px 0 42px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease;
}

.search-input:focus {
  border-color: var(--accent);
}

.search-input::placeholder {
  color: var(--ink-3);
}

.btn-clear-all {
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--danger);
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-clear-all:hover {
  background: var(--danger-soft);
  border-color: var(--danger);
}

.history-count-strip {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 2px 4px 10px;
}

.history-card-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.history-card-item:hover {
  border-color: var(--line-3, #D4D8E2);
}

.history-card-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

.history-card-header svg {
  width: 13px;
  height: 13px;
  color: var(--ink-3);
  stroke-width: 2;
}

.history-text-full {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  margin: 10px 0 12px;
}

.history-divider {
  height: 1px;
  background: var(--line-2);
  margin-bottom: 10px;
}

.history-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.history-stats-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}

.dot-sep {
  color: var(--ink-3);
  opacity: 0.6;
}

.history-actions-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-hist-copy {
  background: var(--bg);
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-hist-copy:hover {
  background: var(--fill-1);
  color: var(--ink);
}

.btn-hist-delete {
  background: var(--bg);
  border: 0;
  border-radius: 8px;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-hist-delete:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.btn-action {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-action:hover {
  background: var(--fill-1);
  color: var(--ink);
}

/* 3. STATISTICS */
.stats-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.range-switch {
  background: var(--fill-1);
  padding: 3px;
  border-radius: 10px;
  display: inline-flex;
}

.range-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.range-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease;
}

.summary-card:hover {
  transform: translateY(-2px);
}

.summary-card.highlight {
  border-color: rgba(245,158,11,0.4);
}

.summary-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}

.summary-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

.summary-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-top: 10px;
}

.summary-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 2px;
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
  position: relative;
}

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

.chart-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}

.chart-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 8px;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 5px;
}

.chart-content-area {
  display: flex;
  gap: 16px;
  height: 200px;
  position: relative;
  margin-top: 12px;
}

.chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 168px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  text-align: right;
  min-width: 32px;
  user-select: none;
  padding-bottom: 2px;
}

.chart-plot-wrap {
  flex: 1;
  position: relative;
  height: 168px;
}

.chart-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.chart-grid-line {
  width: 100%;
  height: 1px;
  background: var(--line-2);
}

.bar-chart-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  z-index: 2;
}

.bar-column {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.bar-fill {
  width: 54%;
  max-width: 36px;
  min-width: 14px;
  background: var(--fill-3);
  border-radius: 6px 6px 0 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-column:hover .bar-fill {
  background: var(--accent);
  filter: drop-shadow(0 2px 8px rgba(242,107,29,0.4));
  transform: scaleY(1.02);
}

.bar-column.today .bar-fill {
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(242,107,29,0.35);
}

.bar-label {
  position: absolute;
  bottom: -24px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
}

.bar-column:hover .bar-label {
  color: var(--ink);
  font-weight: 800;
}

.stats-live-footer {
  text-align: center;
  padding: 24px 0 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
}

.floating-tooltip {
  position: absolute;
  background: var(--ink);
  color: var(--on-ink);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  box-shadow: var(--shadow-pop);
  pointer-events: none;
  z-index: 20;
  transform: translate(-50%, -100%);
  margin-top: -10px;
  display: none;
  white-space: nowrap;
}

.floating-tooltip strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #FFF;
}

.floating-tooltip small {
  color: rgba(255,255,255,0.7);
  font-size: 10.5px;
}

/* No-Cursor Floating Card */
.floating-no-cursor-card {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #0E1014;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  padding: 12px 16px 14px;
  color: #fff;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-no-cursor-card.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.fnc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fnc-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fnc-wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
}

.fnc-wave span {
  width: 2.5px;
  border-radius: 2px;
  background: #F26B1D;
  display: inline-block;
}

.fnc-wave span:nth-child(1) { height: 7px; }
.fnc-wave span:nth-child(2) { height: 13px; }
.fnc-wave span:nth-child(3) { height: 9px; }

.fnc-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #94A3B8;
}

.fnc-close-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.fnc-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.fnc-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #F8FAFC;
  line-height: 1.35;
  margin-top: 2px;
}

.fnc-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.fnc-copy-btn {
  background: #334155;
  color: #fff;
  border: 1px solid #475569;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.fnc-copy-btn:hover {
  background: #475569;
}

.fnc-copy-btn.copied {
  background: #10B981;
  border-color: #10B981;
}

.stats-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.heatmap-blocks {
  display: flex;
  gap: 3px;
  margin: 20px 0 10px;
}

.heat-box {
  flex: 1;
  height: 28px;
  border-radius: 4px;
  background: var(--fill-1);
  transition: all 0.15s ease;
  cursor: pointer;
  position: relative;
}

.heat-box:hover {
  transform: scaleY(1.2);
  outline: 2px solid var(--accent);
  z-index: 2;
}

.heat-box.lvl-1 { background: var(--accent-soft); }
.heat-box.lvl-2 { background: rgba(242,107,29,0.35); }
.heat-box.lvl-3 { background: rgba(242,107,29,0.6); }
.heat-box.lvl-4 { background: var(--accent); }
.heat-box.lvl-5 { background: var(--accent-hover); }

.heat-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
}

/* 4. SETTINGS */
.settings-layout {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  align-items: start;
}

.settings-subnav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
}

.subnav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.subnav-btn:hover {
  background: var(--fill-1);
  color: var(--ink);
}

.subnav-btn.active {
  background: var(--fill-1);
  color: var(--ink);
  font-weight: 700;
}

.subnav-btn.active svg {
  stroke: var(--accent);
}

.settings-section-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.section-head {
  padding: 20px 20px 14px;
}

.section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.section-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--line-2);
  gap: 16px;
}

.setting-info-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.setting-info-desc {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--switch-off);
  transition: 0.2s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

input:checked + .slider {
  background-color: var(--good);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.theme-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px 20px 20px;
}

.theme-card {
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.theme-preview-box {
  width: 100%;
  height: 78px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: all 0.15s ease;
}

.theme-card.active .theme-preview-box {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.theme-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.theme-card.active .theme-card-label {
  font-weight: 800;
  color: var(--ink);
}

.segment-ctrl {
  background: var(--fill-1);
  padding: 3px;
  border-radius: 8px;
  display: inline-flex;
  gap: 2px;
  flex-wrap: wrap;
}

.seg-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}

.seg-btn.active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.select-dropdown {
  height: 36px;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  cursor: pointer;
}

/* 5. ABOUT */
.about-hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.about-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
}

.about-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.beta-badge {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.about-content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.about-lead-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
  margin-bottom: 14px;
}

.about-p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 14px;
}

.tagline-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fill-1);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 10px;
  margin: 8px 0 20px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
}

.website-link-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
}

.website-link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 28px;
  background: var(--ink);
  color: var(--on-ink);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-pop);
  z-index: 9999;
  display: none;
  animation: slideUp 0.2s ease;
}

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

/* ==========================================================================
   6. LANDING PAGE MARKETING SECTIONS
   ========================================================================== */
.lp-section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.lp-section-alt {
  background: var(--surface);
}

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

.lp-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.lp-section-h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}

.lp-section-sub {
  font-size: 16.5px;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.6;
}

/* ==========================================================================
   VIDEO DEMO / TUTORIAL SECTION STYLING
   ========================================================================== */
.lp-video-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-video-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.lp-video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

.lp-video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.lp-video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lp-video-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
  padding: 14px 16px 4px;
  border-top: 1px solid var(--line-2);
}

.lp-video-hl-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-video-hl-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.lp-video-hl-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.lp-video-hl-item span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .lp-video-card {
    padding: 12px;
    border-radius: 18px;
  }
  .lp-video-highlights {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 8px 4px;
  }
}


/* Visual Enhancement Containers & Responsive Image Frames */
.lp-visual-frame {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(18, 22, 33, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.lp-visual-frame.ratio-3-2 {
  aspect-ratio: 3 / 2;
}

.lp-visual-frame.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.lp-visual-frame.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.lp-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.lp-pillar-card:hover .lp-visual-img,
.lp-step-card:hover .lp-visual-img,
.lp-feature-card:hover .lp-visual-img,
.lp-audience-card:hover .lp-visual-img {
  transform: scale(1.035);
}

html[data-theme="dark"] .lp-visual-frame {
  background: #1B1F2A;
  border-color: var(--line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .lp-visual-img {
  filter: brightness(0.93) contrast(1.04);
}

/* Floating UI Mockup Previews inside "Inside the Software" (#features) */
.lp-ui-preview-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.lp-ui-preview-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(242, 107, 29, 0.2));
  opacity: 0.75;
}

.lp-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lp-mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.lp-mock-pill.green {
  background: var(--good-soft);
  color: var(--good);
}

.lp-mock-pill.orange {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.lp-mock-pill.neutral {
  background: var(--fill-1);
  color: var(--ink-2);
}

.lp-mock-orb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(242, 107, 29, 0.32);
  flex-shrink: 0;
}

.lp-mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 600;
}

.lp-mock-hist-card {
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 11.5px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

.lp-mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 54px;
  padding-top: 6px;
}

.lp-mock-bar {
  flex: 1;
  background: var(--fill-3);
  border-radius: 4px 4px 0 0;
}

.lp-mock-bar.active {
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(242, 107, 29, 0.35);
}

.lp-mock-dark-bar {
  background: #0E1014;
  color: #F8FAFC;
  border-radius: 11px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-step-header-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.lp-step-header-inline .lp-step-num {
  margin-bottom: 0;
  width: 30px;
  height: 30px;
  font-size: 13px;
  flex-shrink: 0;
}

.lp-step-header-inline .lp-step-title {
  margin-bottom: 0;
}

/* Selling Points Grid (5 Approved Pillars) */
.lp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.lp-pillar-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-section-alt .lp-pillar-card {
  background: var(--bg);
}

.lp-pillar-card.span-3 {
  grid-column: span 3;
}

.lp-pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.lp-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.lp-pillar-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.lp-pillar-quote {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  line-height: 1.45;
}

.lp-pillar-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* Workflow Section */
.lp-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.lp-step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.lp-step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.lp-step-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.lp-hotkey-showcase {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}

/* Feature Grid (6 Software Modules) */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.lp-feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.lp-feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.lp-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lp-feature-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.lp-feature-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.lp-feature-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  cursor: pointer;
  padding-top: 8px;
  border-top: 1px solid var(--line-2);
}

.lp-feature-jump:hover {
  color: var(--accent-hover);
}

/* Target Audience & Use Cases */
.lp-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.lp-audience-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-audience-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fill-1);
  color: var(--ink-2);
}

.lp-audience-quote {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  line-height: 1.5;
}

/* Pricing Section (Primary Conversion Anchor) */
.lp-pricing-section {
  padding: 96px 0;
  background: radial-gradient(circle at 50% 0%, rgba(242, 107, 29, 0.11), transparent 65%), var(--surface);
  border-top: 1px solid var(--line);
}



/* ================= AFFILIATE PROGRAM PAGE STYLES ================= */
.aff-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.aff-hero-visual-card {
  background: var(--surface);
  border: 1.5px solid rgba(242, 107, 29, 0.28);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.aff-floating-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: 12px;
}

.aff-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.aff-metric-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.aff-metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.aff-metric-val {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.aff-metric-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.aff-metric-sub {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.aff-calc-card {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.aff-slider-group {
  margin-bottom: 22px;
}

.aff-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}

.aff-range-input {
  width: 100%;
  accent-color: var(--accent);
  height: 8px;
  border-radius: 999px;
  cursor: pointer;
}

.aff-calc-result-box {
  background: linear-gradient(145deg, rgba(242, 107, 29, 0.1) 0%, var(--bg) 100%);
  border: 1px solid rgba(242, 107, 29, 0.3);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
}

.aff-calc-big {
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 8px 0;
}

.aff-commission-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

@media (max-width: 960px) {
  .aff-hero-grid,
  .aff-calc-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .aff-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .aff-metrics-grid,
  .aff-commission-tiers {
    grid-template-columns: minmax(0, 1fr);
  }
  .aff-calc-card {
    padding: 24px 18px;
  }
}

/* 2-Plan Pricing System: Personal ($99) & Pro ($199) */
.lp-pricing-grid-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto 36px;
  align-items: stretch;
}

.lp-pricing-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.lp-pricing-card.lp-pricing-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 32px rgba(242, 107, 29, 0.16);
  background: linear-gradient(180deg, rgba(242, 107, 29, 0.03) 0%, var(--surface) 100%);
}

.lp-pricing-badge.neutral {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line-2);
}

.lp-pricing-device-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 14px;
  width: fit-content;
  border: 1px solid var(--line-2);
}

.lp-pricing-device-chip.highlight {
  background: rgba(242, 107, 29, 0.12);
  color: var(--accent);
  border-color: rgba(242, 107, 29, 0.3);
}

.lp-cta-outline {
  background: var(--surface-2);
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}

.lp-cta-outline:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.lp-pricing-guarantee-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.lp-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lp-guarantee-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.lp-guarantee-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.lp-guarantee-item p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.45;
}

/* ========================================================
   EARLY BIRD LAUNCH STYLING
   ======================================================== */
.lp-earlybird-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 107, 29, 0.12);
  color: var(--accent);
  border: 1px solid rgba(242, 107, 29, 0.3);
  font-weight: 800;
}

.lp-earlybird-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(242, 107, 29, 0.7);
  animation: ebPulse 1.8s infinite;
}

@keyframes ebPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 107, 29, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(242, 107, 29, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 107, 29, 0);
  }
}

.lp-earlybird-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(242, 107, 29, 0.08) 0%, rgba(255, 140, 0, 0.12) 100%);
  border: 1.5px solid rgba(242, 107, 29, 0.32);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(242, 107, 29, 0.08);
  text-align: center;
}

.lp-earlybird-banner-icon {
  font-size: 22px;
  line-height: 1;
}

.lp-earlybird-banner-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.lp-earlybird-banner-text strong {
  color: var(--accent);
  font-weight: 800;
}

.lp-earlybird-badge-pill {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(242, 107, 29, 0.35);
}

.lp-price-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.lp-price-original {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 2.5px;
  text-decoration-color: #ef4444;
  opacity: 0.8;
  line-height: 1;
}

.lp-price-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.lp-discount-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lp-discount-chip.pro {
  color: #ea580c;
  background: rgba(242, 107, 29, 0.14);
  border-color: rgba(242, 107, 29, 0.36);
}

[data-theme="dark"] .lp-discount-chip {
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.3);
}

[data-theme="dark"] .lp-discount-chip.pro {
  color: #fb923c;
  background: rgba(242, 107, 29, 0.22);
  border-color: rgba(242, 107, 29, 0.45);
}

.lp-eb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  margin-right: 5px;
}

.lp-eb-dot.pro {
  background: #ffffff;
}

@media (max-width: 860px) {
  .lp-pricing-grid-plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-pricing-guarantee-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .lp-earlybird-banner {
    border-radius: 16px;
    padding: 12px 16px;
  }
  .lp-pricing-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.lp-pricing-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}

.lp-pricing-card {
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 24px;
  padding: 38px 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lp-pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.lp-pricing-plan-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.lp-pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 8px;
}

.lp-price-amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.lp-price-term {
  font-size: 15px;
  font-weight: 700;
  color: var(--good);
  background: var(--good-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

.lp-pricing-tagline {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.lp-pricing-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.lp-pricing-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.lp-pricing-checklist li svg {
  color: var(--good);
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-pricing-cta-full {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 12px;
}

.lp-pricing-why-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-why-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
}

.lp-why-item h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-why-item p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

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

.lp-faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.lp-faq-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  transition: background-color 0.15s ease;
}

.lp-faq-btn:hover {
  background: var(--surface-2);
}

.lp-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--fill-1);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.lp-faq-item.open .lp-faq-icon {
  transform: rotate(180deg);
  background: var(--accent-soft);
  color: var(--accent);
}

.lp-faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.65;
}

.lp-faq-item.open .lp-faq-answer {
  display: block;
}

/* Closing Conversion Banner & Footer */
.lp-final-cta {
  padding: 72px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.lp-final-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 960px;
  margin: 0 auto;
}

.lp-footer {
  padding: 44px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}

.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lp-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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



/* ==========================================================================
   9. DOCUMENTATION & HELP CENTER SYSTEM STYLES
   ========================================================================== */
.docs-hero-search-wrap {
  position: relative;
  max-width: 680px;
  margin: 22px 0 16px;
}

.docs-search-input {
  width: 100%;
  height: 52px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0 18px 0 52px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.docs-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.docs-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}

.docs-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.docs-pill-btn {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--fill-1);
  color: var(--ink-2);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.docs-pill-btn:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.docs-pill-btn.active {
  background: var(--ink);
  color: var(--on-ink);
}

.docs-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 36px;
  padding: 44px 0 96px;
  align-items: start;
}

.docs-toc {
  position: sticky;
  top: 94px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.docs-toc-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.docs-toc-group-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 10px 4px;
}

.docs-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.15s ease;
}

.docs-toc-link:hover {
  background: var(--fill-1);
  color: var(--ink);
}

.docs-toc-link.active-toc {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 800;
}

.docs-content-stream {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.docs-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: border-color 0.2s ease;
}

.docs-card:hover {
  border-color: var(--line-3, #D4D8E2);
}

.docs-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.docs-card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.docs-card-lead {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 20px;
}

.docs-subhead {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-pro-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--accent);
  margin: 18px 0;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
}

.docs-pro-tip svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.docs-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 16px 0 20px;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.docs-table th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 800;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.docs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  vertical-align: top;
}

.docs-table tr:last-child td {
  border-bottom: 0;
}

.docs-step-walkthrough {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0;
}

.docs-step-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
}

.docs-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.docs-step-content {
  flex: 1;
}

.docs-step-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.docs-step-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.docs-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: 1px solid rgba(242, 107, 29, 0.25);
  cursor: pointer;
  transition: all 0.15s ease;
}

.docs-jump-btn:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 960px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-toc {
    position: static;
    max-height: none;
  }
  .docs-card {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   8. MULTI-PAGE ROUTING & SUBPAGE LAYOUTS (PRIVACY, TERMS, CONTACT)
   ========================================================================== */
.site-page-view {
  display: block;
}

.site-page-view.active {
  display: block;
  animation: fadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-nav-link.active-route {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 800;
}

.subpage-hero {
  padding: 54px 0 38px;
  background: radial-gradient(circle at 50% 0%, rgba(242, 107, 29, 0.10), transparent 65%), var(--surface);
  border-bottom: 1px solid var(--line);
}

.subpage-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 18px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all 0.15s ease;
}

.subpage-breadcrumb:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.subpage-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 12px;
}

.subpage-lead {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 720px;
  line-height: 1.6;
  font-weight: 500;
}

.subpage-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.subpage-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--fill-1);
  color: var(--ink-2);
}

.subpage-meta-pill.warn {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: 1px solid rgba(242, 107, 29, 0.28);
}

/* Legal Document Layout (Sidebar TOC + Main Content) */
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  padding: 52px 0 88px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 94px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.legal-toc-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.15s ease;
}

.legal-toc-link:hover {
  background: var(--fill-1);
  color: var(--ink);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 32px;
  box-shadow: var(--shadow-card);
}

.legal-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 18px 0 8px;
}

.legal-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.68;
  margin-bottom: 12px;
}

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

.legal-list {
  margin: 8px 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}

.legal-list li strong {
  color: var(--ink);
}

.confirm-callout {
  background: var(--accent-soft);
  border: 1px solid rgba(242, 107, 29, 0.35);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 14px;
}

.confirm-callout-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.confirm-callout p {
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 0;
  line-height: 1.55;
}

.verified-callout {
  background: var(--good-soft);
  border: 1px solid rgba(16, 153, 106, 0.3);
  border-left: 4px solid var(--good);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 14px;
}

.verified-callout-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--good);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.verified-callout p {
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 0;
  line-height: 1.55;
}

/* Contact Us Page Layout & Interactive Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  padding: 52px 0 88px;
  align-items: start;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 36px;
  box-shadow: var(--shadow-card);
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.contact-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
}

.contact-req {
  color: var(--accent);
  margin-left: 3px;
}

.contact-char-count {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-input.input-error,
.contact-select.input-error,
.contact-textarea.input-error {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.contact-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

.field-error-msg {
  display: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--danger);
  margin-top: 6px;
}

.field-error-msg.visible {
  display: block;
}

.contact-alert {
  display: none;
  padding: 16px 18px;
  border-radius: 14px;
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.55;
}

.contact-alert.error {
  display: block;
  background: var(--danger-soft);
  border: 1px solid var(--danger);
  color: var(--danger);
  font-weight: 700;
}

.contact-alert.success {
  display: block;
  background: var(--good-soft);
  border: 1px solid var(--good);
  color: var(--ink);
}

.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.contact-info-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.contact-info-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.placeholder-email-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px dashed var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.placeholder-email-addr {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
}

.lp-footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}

.lp-footer-legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lp-footer-legal-links a {
  font-weight: 700;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.lp-footer-legal-links a:hover {
  color: var(--accent);
}

@media (max-width: 920px) {
  .legal-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
  }
  .contact-form-card,
  .legal-card {
    padding: 24px 20px;
  }
}


/* Accessibility & Focus States */
.skip-to-content {
  position: absolute;
  top: -70px;
  left: 20px;
  background: var(--ink);
  color: var(--on-ink);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  z-index: 10000;
  transition: top 0.2s ease;
  box-shadow: var(--shadow-pop);
  border: 2px solid var(--accent);
  text-decoration: none;
}

.skip-to-content:focus {
  top: 14px;
}

:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Scroll Lock when Mobile Modal is Open */
body.nav-modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* Dedicated Accessible Mobile Navigation Modal */
.mobile-nav-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 16, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-modal-dialog {
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-pop);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-modal-backdrop.open .mobile-nav-modal-dialog {
  transform: scale(1) translateY(0);
}

.mobile-nav-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface-2);
}

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

.mobile-nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(242, 107, 29, 0.2);
}

.mobile-nav-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}

.mobile-nav-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1.15;
}

.mobile-nav-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mobile-nav-close-btn:hover {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: var(--danger);
}

.mobile-nav-modal-body {
  padding: 16px 20px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-ink);
  margin-bottom: 6px;
  padding-left: 4px;
}

.mobile-nav-links-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid transparent;
  transition: all 0.15s ease;
  min-height: 44px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active-item {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: rgba(242, 107, 29, 0.25);
}

.mobile-nav-icon {
  flex-shrink: 0;
  color: var(--accent);
}

.mobile-nav-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}

.mobile-nav-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  min-height: 40px;
}

.mobile-nav-cta-wrap {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS (Ordered Desktop -> Tablet -> Mobile -> Small Mobile)
   ========================================================================== */

/* Prevent CSS Grid & Flex intrinsic width blowout globally inside the app preview */
.win-window-frame,
.app-container,
.sidebar,
.main-wrapper,
.top,
.page-container,
.page-view,
.hero,
.hero-main,
.mini,
.dash-cols,
.canvas-card,
.rec,
.rec-list,
.rc,
.rc-left,
.history-card-item,
.stats-summary-grid,
.chart-card,
.chart-content-area,
.chart-plot-wrap,
.stats-bottom-grid,
.settings-layout,
.settings-sections,
.settings-section-card {
  min-width: 0;
  max-width: 100%;
}

/* Fix modal backdrop to always cover full viewport outside header */
.mobile-nav-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 99999 !important;
}

@media (max-width: 1040px) {
  .app-container {
    grid-template-columns: 196px minmax(0, 1fr);
    height: auto;
    min-height: 640px;
  }
  .hero {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .mini {
    grid-column: 1 / -1;
    width: 100%;
  }
  .mt {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  .dash-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-pillar-card,
  .lp-pillar-card.span-3 {
    grid-column: span 1;
  }
  .lp-features-grid,
  .lp-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  

/* ================= AFFILIATE PROGRAM PAGE STYLES ================= */
.aff-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.aff-hero-visual-card {
  background: var(--surface);
  border: 1.5px solid rgba(242, 107, 29, 0.28);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.aff-floating-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: 12px;
}

.aff-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.aff-metric-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.aff-metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.aff-metric-val {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.aff-metric-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.aff-metric-sub {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.aff-calc-card {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.aff-slider-group {
  margin-bottom: 22px;
}

.aff-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}

.aff-range-input {
  width: 100%;
  accent-color: var(--accent);
  height: 8px;
  border-radius: 999px;
  cursor: pointer;
}

.aff-calc-result-box {
  background: linear-gradient(145deg, rgba(242, 107, 29, 0.1) 0%, var(--bg) 100%);
  border: 1px solid rgba(242, 107, 29, 0.3);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
}

.aff-calc-big {
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 8px 0;
}

.aff-commission-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

@media (max-width: 960px) {
  .aff-hero-grid,
  .aff-calc-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .aff-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .aff-metrics-grid,
  .aff-commission-tiers {
    grid-template-columns: minmax(0, 1fr);
  }
  .aff-calc-card {
    padding: 24px 18px;
  }
}

/* 2-Plan Pricing System: Personal ($99) & Pro ($199) */
.lp-pricing-grid-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto 36px;
  align-items: stretch;
}

.lp-pricing-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.lp-pricing-card.lp-pricing-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 32px rgba(242, 107, 29, 0.16);
  background: linear-gradient(180deg, rgba(242, 107, 29, 0.03) 0%, var(--surface) 100%);
}

.lp-pricing-badge.neutral {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line-2);
}

.lp-pricing-device-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 14px;
  width: fit-content;
  border: 1px solid var(--line-2);
}

.lp-pricing-device-chip.highlight {
  background: rgba(242, 107, 29, 0.12);
  color: var(--accent);
  border-color: rgba(242, 107, 29, 0.3);
}

.lp-cta-outline {
  background: var(--surface-2);
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}

.lp-cta-outline:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.lp-pricing-guarantee-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.lp-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lp-guarantee-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.lp-guarantee-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.lp-guarantee-item p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.45;
}

/* ========================================================
   EARLY BIRD LAUNCH STYLING
   ======================================================== */
.lp-earlybird-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 107, 29, 0.12);
  color: var(--accent);
  border: 1px solid rgba(242, 107, 29, 0.3);
  font-weight: 800;
}

.lp-earlybird-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(242, 107, 29, 0.7);
  animation: ebPulse 1.8s infinite;
}

@keyframes ebPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 107, 29, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(242, 107, 29, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 107, 29, 0);
  }
}

.lp-earlybird-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(242, 107, 29, 0.08) 0%, rgba(255, 140, 0, 0.12) 100%);
  border: 1.5px solid rgba(242, 107, 29, 0.32);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(242, 107, 29, 0.08);
  text-align: center;
}

.lp-earlybird-banner-icon {
  font-size: 22px;
  line-height: 1;
}

.lp-earlybird-banner-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.lp-earlybird-banner-text strong {
  color: var(--accent);
  font-weight: 800;
}

.lp-earlybird-badge-pill {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(242, 107, 29, 0.35);
}

.lp-price-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.lp-price-original {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 2.5px;
  text-decoration-color: #ef4444;
  opacity: 0.8;
  line-height: 1;
}

.lp-price-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.lp-discount-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lp-discount-chip.pro {
  color: #ea580c;
  background: rgba(242, 107, 29, 0.14);
  border-color: rgba(242, 107, 29, 0.36);
}

[data-theme="dark"] .lp-discount-chip {
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.3);
}

[data-theme="dark"] .lp-discount-chip.pro {
  color: #fb923c;
  background: rgba(242, 107, 29, 0.22);
  border-color: rgba(242, 107, 29, 0.45);
}

.lp-eb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  margin-right: 5px;
}

.lp-eb-dot.pro {
  background: #ffffff;
}

@media (max-width: 860px) {
  .lp-pricing-grid-plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-pricing-guarantee-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .lp-earlybird-banner {
    border-radius: 16px;
    padding: 12px 16px;
  }
  .lp-pricing-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.lp-pricing-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .lp-nav-links {
    display: none;
  }
  .lp-mobile-menu-btn {
    display: inline-flex;
  }
  .app-container {
    display: flex;
    flex-direction: column;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
    width: 100%;
    overflow-x: hidden;
  }
  .sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
  }
  .brand-header {
    padding: 0 2px 10px;
  }
  .nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
  }
  .nav-item {
    flex: 1 1 auto;
    justify-content: center;
    white-space: nowrap;
    padding: 8px 11px;
    font-size: 12.5px;
    gap: 7px;
  }
  .main-wrapper {
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .top {
    flex-wrap: wrap;
    padding: 14px 16px 10px;
    gap: 10px;
    width: 100%;
  }
  .top-tools {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-container {
    padding: 6px 16px 24px;
    overflow-y: visible;
    width: 100%;
  }
  .stats-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-bottom-grid,
  .settings-layout,
  .lp-pillars-grid,
  .lp-features-grid,
  .lp-workflow-grid,
  .lp-audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .settings-subnav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    position: static;
    gap: 6px;
  }
  .subnav-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .lp-container {
    padding: 0 16px;
  }
  .lp-hero {
    padding: 44px 0 28px;
  }
  .lp-hero-h1 {
    font-size: clamp(28px, 8vw, 40px);
  }
  .lp-hero-lead {
    font-size: 15px;
  }
  .lp-hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .lp-hero-ctas a {
    width: 100%;
  }
  .lp-hero-pills {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-value-pill {
    justify-content: center;
  }
  .lp-showcase-bar {
    padding: 12px 14px;
    gap: 10px;
  }
  .lp-showcase-bar-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .lp-showcase-bar-actions .lp-mini-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Interactive App Replica Mobile Layout */
  .win-titlebar {
    padding: 0 12px;
    height: 34px;
  }
  .win-titlebar-left {
    font-size: 11.5px;
    min-width: 0;
  }
  .win-titlebar-left span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 14px 10px;
  }
  .top h2.app-page-title {
    font-size: 18px;
  }
  .top p {
    font-size: 12px;
  }
  .top-tools {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .chip {
    font-size: 11.5px;
    padding: 5px 10px;
  }
  .btn-start {
    padding: 7px 12px;
    font-size: 12px;
  }
  .page-container {
    padding: 4px 12px 20px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 14px;
    gap: 14px;
  }
  .orb {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }
  .hero-main {
    width: 100%;
  }
  .hero-main h2 {
    font-size: 18px;
  }
  .hero-main p {
    font-size: 12.5px;
  }
  .keys {
    justify-content: center;
    font-size: 11.5px;
  }
  .mini {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  .mt {
    width: 100%;
    padding: 10px;
    gap: 6px;
    align-items: flex-start;
    text-align: left;
  }
  .mt-h {
    gap: 5px;
  }
  .mt-h small {
    font-size: 11px;
  }
  .mi {
    width: 22px;
    height: 22px;
  }
  .mt strong {
    font-size: 17px;
  }
  .mt strong em {
    font-size: 10px;
    margin-left: 2px;
  }
  .canvas-card {
    padding: 14px;
    min-height: auto;
  }
  .canvas-header {
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
  }
  .canvas-status-pill {
    font-size: 10.5px;
    padding: 3px 8px;
  }
  .canvas-body {
    padding: 18px 8px;
  }
  .canvas-h2 {
    font-size: 16px;
  }
  .canvas-p {
    font-size: 12.5px;
    margin-bottom: 14px;
  }
  .canvas-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
  }
  .rec {
    min-height: auto;
  }
  .rec .card-h {
    padding: 14px 14px 10px;
  }
  .rc {
    padding: 10px;
    gap: 8px;
  }
  .rc p {
    font-size: 12.5px;
  }

  /* History Tab Mobile */
  .history-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .btn-clear-all {
    width: 100%;
    justify-content: center;
    height: 38px;
  }
  .history-card-item {
    padding: 14px;
  }
  .history-text-full {
    font-size: 13.5px;
  }
  .history-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .history-actions-right {
    width: 100%;
    justify-content: flex-end;
  }

  /* Statistics Tab Mobile */
  .stats-top-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .stats-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .summary-card {
    padding: 12px;
  }
  .summary-val {
    font-size: 18px;
    margin-top: 6px;
  }
  .chart-card {
    padding: 14px;
  }
  .chart-header {
    flex-wrap: wrap;
    gap: 6px;
  }
  .chart-content-area {
    gap: 8px;
    height: 170px;
  }
  .chart-y-axis {
    height: 140px;
    font-size: 10px;
    min-width: 26px;
  }
  .chart-plot-wrap {
    height: 140px;
  }
  .bar-chart-wrap {
    gap: 6px;
  }
  .bar-fill {
    width: 68%;
    min-width: 8px;
  }
  .bar-label {
    font-size: 10px;
    bottom: -20px;
  }
  .heatmap-blocks {
    gap: 2px;
  }
  .heat-box {
    height: 22px;
  }

  /* Settings Tab Mobile */
  .setting-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    gap: 10px;
  }
  .segment-ctrl {
    width: 100%;
    display: flex;
  }
  .seg-btn {
    flex: 1;
    text-align: center;
    padding: 6px 6px;
    font-size: 11.5px;
  }
  .select-dropdown {
    width: 100%;
  }

  /* About Tab Mobile */
  .about-hero-card {
    padding: 16px;
    gap: 14px;
  }
  .about-content-card {
    padding: 18px 16px;
  }
  .tagline-box {
    width: 100%;
    justify-content: center;
    font-size: 12.5px;
  }

  /* Marketing Sections Mobile */
  .lp-pricing-card {
    padding: 26px 20px;
  }
  .lp-price-amount {
    font-size: 46px;
  }
  .lp-price-term {
    font-size: 13px;
  }
  .lp-hotkey-showcase {
    padding: 20px;
  }
  .lp-final-banner {
    padding: 36px 20px;
  }
  .subpage-hero {
    padding: 38px 0 28px;
  }
  .subpage-title {
    font-size: 28px;
  }
  .contact-form-card,
  .legal-card,
  .docs-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .docs-card-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .lp-header .lp-cta-btn {
    display: none;
  }
  .lp-theme-btn {
    padding: 0 10px;
    height: 38px;
  }
  .lp-theme-btn span {
    display: none;
  }
  .win-titlebar-controls {
    display: none;
  }
  .mini {
    grid-template-columns: 1fr;
  }
  .mt {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
  }
  .theme-options-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .lp-hero-h1 {
    font-size: 25px;
  }
  .lp-section-h2 {
    font-size: 22px;
  }
  .lp-brand-sub {
    display: none;
  }
  .top-tools {
    flex-direction: column;
    align-items: stretch;
  }
  .top-tools .chip,
  .top-tools .btn-start {
    justify-content: center;
    width: 100%;
  }
}

/* ================= CUSTOM BRANDED DROPDOWN & MODALS (LATEST APP UI) ================= */
.barta-dropdown {
  position: relative;
  display: inline-block;
}

.barta-dropdown-btn {
  height: 32px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid rgba(242, 107, 29, 0.35);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(242, 107, 29, 0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.15s ease;
  user-select: none;
}

.barta-dropdown-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.barta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  padding: 1.5px 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.barta-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
}

.barta-dropdown-menu.drop-down {
  bottom: auto;
  top: calc(100% + 6px);
  left: auto;
  right: 0;
}

.barta-dropdown-menu.show {
  display: flex;
  animation: bartaDropAnim 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bartaDropAnim {
  from { opacity: 0; transform: translateY(4px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.barta-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s ease;
  user-select: none;
}

.barta-dropdown-item:hover {
  background: rgba(242, 107, 29, 0.08);
}

.barta-dropdown-item.active {
  background: var(--accent-soft);
  border: 1px solid rgba(242, 107, 29, 0.35);
  color: var(--accent-ink);
  font-weight: 800;
}

.barta-dropdown-item .item-icon {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--ink-3);
}

.barta-dropdown-item.active .item-icon {
  color: var(--accent);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(3px);
  display: none;
  place-items: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.show {
  display: grid;
  animation: modalFade 0.2s ease;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  width: 100%;
  max-width: 480px;
  padding: 26px;
  position: relative;
  animation: dialogPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dialogPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink-3);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: var(--ink-3);
  background: transparent;
  cursor: pointer;
  border: 0;
  transition: all 0.15s ease;
}

.icon-btn:hover {
  background: var(--fill-1);
  color: var(--ink);
}


.ico-btn.copied,
.rc:hover .ico-btn.copied,
.ico-btn.copied:hover {
  background: var(--good-soft) !important;
  color: var(--good) !important;
  box-shadow: inset 0 0 0 1px rgba(16, 153, 106, 0.35) !important;
}


/* ================= DOWNLOAD PAGE STYLES ================= */
.dl-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}

.dl-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 12px;
}

.dl-package-card {
  background: var(--surface);
  border: 1.5px solid var(--line-2);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.dl-package-card.primary-pkg {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(242, 107, 29, 0.04) 0%, var(--surface) 100%);
  box-shadow: 0 12px 32px rgba(242, 107, 29, 0.14);
}

.dl-checksum-box {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: monospace;
  font-size: 11.5px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0 22px;
  overflow-x: auto;
}

.dl-reqs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dl-req-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
}

.dl-support-bridge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.dl-bridge-card {
  background: var(--surface);
  border: 1.5px solid var(--line-2);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dl-bridge-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 960px) {
  .dl-hero-grid,
  .dl-packages-grid,
  .dl-support-bridge-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dl-reqs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dl-reqs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dl-package-card,
  .dl-bridge-card {
    padding: 24px 20px;
  }
}


/* ================= DOCUMENTATION SCREENSHOTS & FULLSCREEN LIGHTBOX MODAL ================= */
.docs-screenshot-card {
  margin: 18px 0 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--line-2);
  background: #0E1014;
  box-shadow: 0 10px 28px rgba(14, 16, 20, 0.12);
  cursor: zoom-in;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.docs-screenshot-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(242, 107, 29, 0.2);
}

.docs-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.docs-screenshot-card:hover .docs-screenshot-img {
  transform: scale(1.015);
}

.docs-screenshot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--surface-2);
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.docs-zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.docs-screenshot-card:hover .docs-zoom-pill {
  background: var(--accent);
  color: #FFFFFF;
}

.docs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

@media (max-width: 720px) {
  .docs-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Fullscreen Lightbox Modal — Clean Full-Screen Image + Arrows Only */
.docs-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 15, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  user-select: none;
}

.docs-lightbox-backdrop.open {
  display: flex;
  animation: modalFade 0.18s ease;
}

.docs-lightbox-stage {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2vh 5vw;
}

.docs-lightbox-img {
  width: 90vw;
  height: 92vh;
  max-width: 1760px;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  filter: drop-shadow(0 24px 64px rgba(0, 0, 0, 0.75));
  cursor: default;
}

.docs-lb-close-floating {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(22, 25, 32, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
}

.docs-lb-close-floating:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
}

.docs-lb-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(22, 25, 32, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.docs-lb-nav-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.docs-lb-nav-arrow.prev { left: 22px; }
.docs-lb-nav-arrow.next { right: 22px; }

@media (max-width: 768px) {
  .docs-lightbox-stage {
    padding: 1vh 2vw;
  }
  .docs-lightbox-img {
    width: 96vw;
    height: 86vh;
  }
  .docs-lb-nav-arrow {
    width: 44px;
    height: 44px;
  }
  .docs-lb-nav-arrow.prev { left: 10px; }
  .docs-lb-nav-arrow.next { right: 10px; }
}


/* ================= PRICING CARD & BADGE & PRICE PILL ALIGNMENT FIX ================= */
.lp-pricing-card {
  background: var(--surface) !important;
  border: 1.5px solid var(--line) !important;
  border-radius: 24px !important;
  padding: 36px 32px !important;
  box-shadow: var(--shadow-card) !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lp-pricing-card.lp-pricing-card-featured {
  border: 2px solid var(--accent) !important;
  box-shadow: 0 12px 32px rgba(242, 107, 29, 0.16) !important;
  background: linear-gradient(180deg, rgba(242, 107, 29, 0.03) 0%, var(--surface) 100%) !important;
}

.lp-pricing-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: 100%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.lp-pricing-badge.neutral {
  background: var(--surface-2) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
}

.lp-pricing-price-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px 12px !important;
  margin: 12px 0 14px !important;
  width: 100%;
}

.lp-price-amount {
  font-size: 52px !important;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.lp-price-term {
  display: inline-flex !important;
  align-items: center;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  font-weight: 700;
  color: var(--good);
  background: var(--good-soft);
  border: 1px solid rgba(16, 153, 106, 0.22);
  padding: 6px 13px !important;
  border-radius: 999px;
  line-height: 1.2;
}

.lp-pricing-checklist,
.lp-pricing-cta-full {
  width: 100%;
}

@media (max-width: 520px) {
  .lp-pricing-card {
    padding: 26px 20px !important;
  }
  .lp-price-amount {
    font-size: 44px !important;
  }
  .lp-price-term {
    font-size: 12px !important;
    padding: 5px 11px !important;
  }
}