/* ==========================================================================
   MEDIA VISION — UNSLOPPED LIVING-ROOM OLED DESIGN SYSTEM
   Crafted following unslop principles by Damir Sokolovsky
   Character: Calm, cinematic, exact
   World: Dark Living-Room Cinema (Deep charcoal & aluminum with warm amber signal)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Web Guidelines Theming */
  color-scheme: dark;

  /* Living-Room Cinema Neutral Ramp */
  --mv-bg: #0b0d12;
  --mv-surface: #12151d;
  --mv-surface-raised: #181c26;
  --mv-surface-hover: #1f2432;
  --mv-surface-active: #252b3c;
  --mv-border: rgba(255, 255, 255, 0.08);
  --mv-border-hover: rgba(255, 255, 255, 0.16);
  --mv-border-focus: rgba(229, 169, 60, 0.6);

  /* Three Distinct Text Roles */
  --mv-text: #f0f2f5;           /* Primary */
  --mv-muted: #9ba3b2;          /* Secondary */
  --mv-dim: #6b7385;            /* Muted / Meta / Hairline details */

  /* Singular Accent: Living-Room Projector Amber */
  --mv-accent: #e5a93c;
  --mv-accent-hover: #f0b54d;
  --mv-accent-dark: #0b0d12;    /* Dark text on accent for >8:1 AAA contrast */

  /* Semantic Colors (Calibrated, not neon) */
  --mv-green: #4cc38a;
  --mv-red: #e5484d;

  /* Typography */
  --font-sans: var(--brand-font, system-ui, sans-serif);
  --font-display: var(--font-sans);
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* 4px-Grid Radius Scale */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Quiet Depth & Motion */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-tv: 0 32px 80px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 150ms var(--ease);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background-color: var(--mv-bg);
  color: var(--mv-text);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--mv-bg);
  color: var(--mv-text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
}

html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .hero-kicker-label,
html[dir="rtl"] .mv-btn,
html[dir="rtl"] .nav-link,
html[dir="rtl"] .hero-trial-note {
  font-family: var(--brand-arabic-font, 'Cairo', system-ui, sans-serif);
}

::selection {
  background: rgba(229, 169, 60, 0.25);
  color: var(--mv-text);
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}

select {
  background-color: var(--mv-surface-raised);
  color: var(--mv-text);
}

[id] {
  scroll-margin-top: 80px;
}

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

/* Accessible Skip Link (Web Design Guidelines) */
.mv-skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 99999;
  background: var(--mv-accent);
  color: var(--mv-accent-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: top 0.15s var(--ease), opacity 0.15s var(--ease);
}

.mv-skip-link:focus,
.mv-skip-link:focus-visible {
  top: 16px;
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

code, kbd, samp, pre, .tabular-nums, [data-tabular] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   2. COMMON LAYOUT & TYPOGRAPHY
   -------------------------------------------------------------------------- */
.mv-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-green { color: var(--mv-green); }
.text-red { color: var(--mv-red); }
.text-amber { color: var(--mv-accent); }
.full-w { width: 100%; }

.mv-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mv-accent);
  margin-bottom: 8px;
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .mv-intro h1 {
  letter-spacing: normal;
  line-height: 1.2;
}

/* OLED Floating Display Hardware Showcase */

/* Authentic TV Broadcast Overlay Badge */

/* Chin & Pedestal Removed for Pure Borderless Display */

/* Tactile Remote Screen Switcher (Segmented Bar) */

/* Direct MAC Activation Input Form */

/* Two License Cards */

/* --------------------------------------------------------------------------
   9. HIGH-CONVERSION ACTIVATION & CHECKOUT (html.mv-activation)
   -------------------------------------------------------------------------- */
.mv-act-main {
  position: relative;
  padding: 48px 0 80px;
}

.mv-act-ambient {
  display: none; /* Purged multi-color slop glow */
}

.mv-act-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.act-trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.act-live-pill,
.act-trial-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  color: var(--mv-muted);
}

.act-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mv-accent);
}

.mv-act-hero-copy h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.mv-act-hero-copy p {
  font-size: 15px;
  color: var(--mv-muted);
  max-width: 580px;
  margin: 0;
  line-height: 1.55;
}

.mv-act-tv-helper {
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 280px;
  flex-shrink: 0;
}

.tv-helper-screen {
  background: #08090d;
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.tv-helper-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mv-dim);
  margin-bottom: 8px;
}

.tv-helper-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tv-helper-credentials small {
  display: block;
  font-size: 11px;
  color: var(--mv-muted);
}

.tv-helper-credentials code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mv-accent);
}

.tv-helper-caption {
  display: block;
  font-size: 11px;
  color: var(--mv-dim);
  margin-top: 8px;
  text-align: center;
}

/* 2-Column Checkout Grid */
.mv-act-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}

.mv-act-left-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.mv-act-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.act-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mv-surface-raised);
  border: 1px solid var(--mv-border);
  color: var(--mv-text);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.act-step-num.gold {
  color: var(--mv-accent);
  border-color: rgba(229, 169, 60, 0.3);
}

.mv-act-step-head h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 2px;
}

.mv-act-step-head p {
  font-size: 13px;
  color: var(--mv-muted);
  margin: 0;
}

.mv-act-fields {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.mv-act-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--mv-text);
}

.field-label-row small {
  font-size: 11px;
  color: var(--mv-dim);
}

.mv-act-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mv-bg);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  height: 44px;
}

.mv-act-input-wrap:focus-within {
  border-color: var(--mv-accent);
  box-shadow: 0 0 0 1px var(--mv-accent);
}

.mv-act-input-wrap svg {
  color: var(--mv-dim);
  flex-shrink: 0;
}

.mv-act-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--mv-text);
  font-family: var(--font-mono);
  font-size: 14px;
}

/* Plan Selection Cards */
.mv-act-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mv-plan-tile {
  position: relative;
  background: var(--mv-bg);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  cursor: pointer;
  transition: transform 0.15s var(--ease), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.mv-plan-tile input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mv-plan-tile:hover {
  border-color: rgba(229, 169, 60, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.mv-plan-tile:focus-within {
  outline: 2px solid var(--mv-accent);
  outline-offset: 2px;
}

.mv-plan-tile:has(input:checked) {
  border-color: var(--mv-accent);
  background: var(--mv-surface-raised);
  box-shadow: 0 0 0 1px var(--mv-accent), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mv-plan-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mv-plan-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--mv-muted);
}

.mv-plan-ribbon {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--mv-accent);
  margin-bottom: 6px;
}

.mv-plan-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--mv-text);
  margin-bottom: 6px;
}

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

.mv-plan-price {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--mv-text);
}

.mv-plan-sub {
  font-size: 12px;
  color: var(--mv-muted);
}

.mv-plan-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--mv-muted);
}

/* Order Summary Box */
.mv-act-summary {
  position: sticky;
  top: 84px;
}

.mv-summary-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mv-summary-device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--mv-bg);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.mv-summary-device-bar code {
  color: var(--mv-accent);
  font-weight: 600;
}

.mv-summary-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mv-border);
}

.summary-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--mv-surface-raised);
  border: 1px solid var(--mv-border);
  color: var(--mv-muted);
}

.summary-badge.gold {
  color: var(--mv-accent);
  border-color: rgba(229, 169, 60, 0.3);
}

.summary-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.summary-meta-list div {
  display: flex;
  justify-content: space-between;
  color: var(--mv-muted);
}

.summary-meta-list strong,
.summary-meta-list span:last-child {
  color: var(--mv-text);
}

.summary-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--mv-border);
  font-size: 16px;
  font-weight: 600;
}

.summary-total-price {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--mv-text);
}

.mv-pay-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.mv-pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--mv-bg);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition);
}

.mv-pay-option:has(input:checked) {
  border-color: var(--mv-accent);
}

.mv-bank-box {
  display: none;
  background: var(--mv-bg);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  margin: 12px 0;
}

.mv-bank-box.active {
  display: flex;
}

.mv-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mv-bank-row span {
  color: var(--mv-muted);
}

.mv-bank-row code,
.mv-bank-row strong {
  color: var(--mv-text);
  font-family: var(--font-mono);
}

.status-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--mv-surface-raised);
  border: 1px solid var(--mv-border);
  color: var(--mv-text);
  margin-top: 12px;
}

.status-box.error {
  border-color: rgba(229, 72, 77, 0.4);
  color: var(--mv-red);
  background: rgba(229, 72, 77, 0.08);
}

.status-box.success {
  border-color: rgba(76, 195, 138, 0.4);
  color: var(--mv-green);
  background: rgba(76, 195, 138, 0.08);
}

.hidden {
  display: none !important;
}

.pay-info strong {
  display: block;
  font-size: 13px;
  color: var(--mv-text);
}

.pay-info small {
  font-size: 11px;
  color: var(--mv-muted);
}

.pay-badges {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

.pay-badge {
  font-size: 10px;
  background: var(--mv-surface-raised);
  border: 1px solid var(--mv-border);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  color: var(--mv-muted);
}

.mv-act-submit-btn {
  width: 100%;
  height: 48px;
  background: var(--mv-accent);
  color: var(--mv-accent-dark);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition);
}

.mv-act-submit-btn:hover {
  background: var(--mv-accent-hover);
}

.mv-act-trust-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  color: var(--mv-dim);
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   10. PLAYLIST MANAGER (html.mv-playlist)
   -------------------------------------------------------------------------- */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 64px;
  border-bottom: 1px solid var(--mv-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.brand-copy .brand-label {
  display: block;
  font-size: 11px;
  color: var(--mv-dim);
}

.brand-copy .brand-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--mv-text);
}

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

.nav-link {
  font-size: 13px;
  color: var(--mv-muted);
}

.nav-pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: var(--mv-surface-raised);
  border: 1px solid var(--mv-border);
  color: var(--mv-text);
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.login-wrap {
  width: 100%;
  max-width: 440px;
}

.hero-card {
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.card-badge {
  display: inline-block;
  font-size: 11px;
  color: var(--mv-accent);
  margin-bottom: 8px;
}

.hero-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
}

.card-subtitle {
  font-size: 14px;
  color: var(--mv-muted);
  margin: 0 0 24px;
}

.login-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mv-text);
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="password"],
.field input[type="search"] {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: var(--mv-bg);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-sm);
  color: var(--mv-text);
  font-size: 14px;
  font-family: var(--font-mono);
}

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

.field input:focus-visible {
  border-color: var(--mv-accent);
  box-shadow: 0 0 0 1px var(--mv-accent);
}

.captcha-row {
  display: flex;
  gap: 10px;
}

.captcha-box {
  width: 100px;
  height: 44px;
  background: var(--mv-surface-raised);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--mv-accent);
  user-select: none;
}

.hint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mv-dim);
  margin-top: 6px;
}

.hint-link {
  background: none;
  border: none;
  color: var(--mv-muted);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.primary-btn.login-btn {
  height: 44px;
  background: var(--mv-accent);
  color: var(--mv-accent-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background var(--transition);
}

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

/* Playlist Dashboard Interior */
.dashboard {
  display: none;
  min-height: 100vh;
}

.dashboard.active {
  display: block;
}

.dashboard-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: #090b0f;
  border-right: 1px solid var(--mv-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.menu-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--mv-dim);
  padding: 0 8px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--mv-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.menu-item:hover {
  background: var(--mv-surface-hover);
  color: var(--mv-text);
}

.menu-item.active {
  background: var(--mv-surface-raised);
  color: var(--mv-text);
  font-weight: 500;
}

.menu-item.logout {
  margin-top: auto;
  color: var(--mv-red);
}

.content {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-header h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 4px;
}

.dashboard-header p {
  font-size: 14px;
  color: var(--mv-muted);
  margin: 0;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.ghost-btn,
.secondary-btn,
.danger-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--mv-border);
}

.ghost-btn {
  background: transparent;
  color: var(--mv-muted);
}

.secondary-btn {
  background: var(--mv-surface-raised);
  color: var(--mv-text);
}

.danger-btn {
  background: rgba(229, 72, 77, 0.1);
  border-color: rgba(229, 72, 77, 0.3);
  color: var(--mv-red);
}

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

.stat-card {
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.stat-label {
  font-size: 12px;
  color: var(--mv-muted);
  margin-bottom: 6px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--mv-text);
}

.panel-card {
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.panel-head h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
}

.panel-head p {
  font-size: 13px;
  color: var(--mv-muted);
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
}

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

th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--mv-border);
  color: var(--mv-muted);
  font-weight: 500;
}

td {
  padding: 14px;
  border-bottom: 1px solid var(--mv-border);
  color: var(--mv-text);
}

/* Modal Dialog */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.overlay.active {
  display: flex;
}

.modal {
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--mv-dim);
  font-size: 20px;
  cursor: pointer;
}

/* Toast Notifications */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--mv-surface-raised);
  border: 1px solid var(--mv-border);
  color: var(--mv-text);
  font-size: 13px;
  box-shadow: var(--shadow-md);
}

.toast.error {
  border-color: rgba(229, 72, 77, 0.4);
  color: var(--mv-red);
}

.toast.success {
  border-color: rgba(76, 195, 138, 0.4);
  color: var(--mv-green);
}

/* --------------------------------------------------------------------------
   Payment Result Pages (.mv-payment-result)
   -------------------------------------------------------------------------- */
.activation-site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-header {
  height: 64px;
  border-bottom: 1px solid var(--mv-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header .brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}
.site-header .brand strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--mv-text);
}
.site-header .brand small {
  display: block;
  font-size: 11px;
  color: var(--mv-dim);
}
.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--mv-muted);
}
.header-cta {
  height: 36px;
  padding: 0 16px;
  background: var(--mv-accent);
  color: var(--mv-accent-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
}
.activation-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.result-shell {
  width: 100%;
  max-width: 480px;
}
.result-card {
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.result-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
}
.result-icon.success {
  background: rgba(76, 195, 138, 0.12);
  color: var(--mv-green);
  border: 1px solid rgba(76, 195, 138, 0.3);
}
.result-icon.failed,
.result-icon.error {
  background: rgba(229, 72, 77, 0.12);
  color: var(--mv-red);
  border: 1px solid rgba(229, 72, 77, 0.3);
}
.result-card h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}
.result-card p {
  font-size: 14px;
  color: var(--mv-muted);
  line-height: 1.55;
  margin: 0;
}
.result-message {
  font-size: 13px;
  color: var(--mv-text);
  background: var(--mv-surface-raised);
  border: 1px solid var(--mv-border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  width: 100%;
}
.result-actions {
  width: 100%;
  margin-top: 8px;
}
.result-actions .primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  width: 100%;
  background: var(--mv-accent);
  color: var(--mv-accent-dark);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}
.result-note {
  font-size: 12px;
  color: var(--mv-dim);
}
.bg-glow {
  display: none;
}

/* --------------------------------------------------------------------------
   11. LEGAL & SUPPORT SUBPAGES (html.mv-legal)
   -------------------------------------------------------------------------- */
.mv-legal .legal-header {
  height: 64px;
  border-bottom: 1px solid var(--mv-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 960px;
  margin: 0 auto;
}

.mv-legal .legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.mv-legal .legal-brand img {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
}

.mv-legal .legal-header-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--mv-muted);
}

.mv-legal main {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 24px;
}

.mv-legal h1 {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 8px;
}

.mv-legal .legal-meta {
  font-size: 13px;
  color: var(--mv-dim);
  margin-bottom: 24px;
}

.mv-legal .legal-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--mv-muted);
  margin-bottom: 36px;
}

.mv-legal section {
  margin-bottom: 32px;
}

.mv-legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}

.mv-legal main :is(p, li) {
  font-size: 15px;
  line-height: 1.65;
  color: var(--mv-muted);
}

.mv-legal main a {
  color: var(--mv-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mv-legal .legal-action {
  display: inline-block;
  padding: 10px 18px;
  background: var(--mv-surface-raised);
  border: 1px solid var(--mv-border);
  border-radius: var(--radius-sm);
  color: var(--mv-text);
  text-decoration: none;
  font-weight: 500;
  margin: 12px 0;
}

.mv-footer {
  border-top: 1px solid var(--mv-border);
  padding: 32px 24px;
  max-width: 960px;
  margin: 64px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--mv-dim);
}

.mv-footer nav {
  display: flex;
  gap: 16px;
}

/* Pre-Footer Action & Status Strip */

/* 4-Column Master Grid */

/* Legal Disclaimer Box */

/* Bottom Bar */

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .mv-act-grid {
    grid-template-columns: 1fr;
  }
  .mv-act-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .mv-wrap {
    padding: 0 16px;
  }
  .mv-act-hero {
    flex-direction: column;
  }
  .mv-act-tv-helper {
    width: 100%;
  }
  .mv-act-fields {
    grid-template-columns: 1fr;
  }
  .mv-act-plans {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-shell {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--mv-border);
  }
  
  /* Mobile Bottom Dock */
  .dock-btn-secondary,
  .dock-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    padding: 0 10px;
    white-space: nowrap;
  }
  .dock-btn-secondary {
    background: var(--mv-surface-raised);
    border: 1px solid var(--mv-border);
    color: var(--mv-text);
  }
  .dock-btn-primary {
    background: var(--mv-accent);
    color: var(--mv-accent-dark);
  }
  body {
    padding-bottom: 64px;
  }
}

/* Human 3-Step Setup Timeline */

/* Hero Badge & Trust Strip */

/* Proof Strip */

/* Section Header */

/* Living Room Feature Bento Grid */

/* Homepage setup & features */

/* FAQ Accordion Section */

/* Bottom Conversion Banner */

/* Wide screens use the extra width for composition, with bounded type sizes. */

/* --------------------------------------------------------------------------
   12. ACCESSIBILITY & PREFERS-REDUCED-MOTION (Web Design Guidelines)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .act-dot,
  .chin-led {
    animation: none !important;
  }
}

