@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

/* ==========================================================================
   HYPESTATUS — OFFICIAL WEBSITE COLOR IDENTITY & DESIGN SYSTEM
   Black (#080808 / #0D0D0D / #111111 / #18151F) • White (#FFFFFF) • Electric Purple (#8B5CF6 / #A855F7 / #C084FC)
   ========================================================================== */

:root,
[data-theme="dark"] {
  /* Official Brand Backgrounds & Liquid Glass Surfaces (Dark) */
  --bg-base: #07070b;
  --bg-secondary: #0c0b13;
  --bg-mesh:
    radial-gradient(ellipse 85% 48% at 50% -14%, rgba(139, 92, 246, 0.18), rgba(168, 85, 247, 0.05) 52%, transparent 78%),
    radial-gradient(ellipse 58% 44% at 88% 16%, rgba(192, 132, 252, 0.08), transparent 68%),
    radial-gradient(ellipse 50% 42% at 10% 82%, rgba(99, 102, 241, 0.06), transparent 70%);
  --bg-surface: rgba(19, 16, 28, 0.68);
  --bg-surface-solid: #12101a;
  --bg-elevated: rgba(28, 23, 42, 0.62);
  --bg-hover: rgba(40, 33, 60, 0.72);
  --bg-nav: rgba(15, 13, 24, 0.68);
  --bg-input: rgba(14, 12, 22, 0.72);

  /* True Liquid Glass Multi-Layer Tokens */
  --glass-bg: linear-gradient(155deg, rgba(28, 23, 43, 0.68) 0%, rgba(14, 12, 22, 0.62) 100%);
  --glass-bg-elevated: linear-gradient(155deg, rgba(36, 29, 54, 0.72) 0%, rgba(19, 16, 30, 0.66) 100%);
  --glass-bg-subtle: rgba(255, 255, 255, 0.035);
  --glass-border-light: rgba(255, 255, 255, 0.11);
  --glass-border-highlight: rgba(192, 132, 252, 0.36);

  /* Official Brand Typography Hierarchy */
  --text-primary: #FFFFFF;
  --text-secondary: #B4B4C2;
  --text-muted: #7C7C8C;
  --text-pure: #FFFFFF;

  /* Specular Glass Borders */
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-control: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(192, 132, 252, 0.36);
  --border-focus: #8B5CF6;
  --border: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-surface-subtle: rgba(28, 23, 42, 0.56);
  --surface-subtle: rgba(28, 23, 42, 0.56);

  /* Crisp Frosted Glass Blur & Specular Depth */
  --glass-blur: blur(26px) saturate(185%);
  --glass-blur-soft: blur(18px) saturate(165%);
  --glass-rim:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.03),
    inset 0 0 28px -14px rgba(192, 132, 252, 0.16);
  --shadow-card:
    0 24px 56px -14px rgba(0, 0, 0, 0.78),
    0 6px 18px -4px rgba(0, 0, 0, 0.48),
    var(--glass-rim);
  --shadow-elevated:
    0 16px 36px -10px rgba(0, 0, 0, 0.66),
    0 4px 12px -2px rgba(0, 0, 0, 0.42),
    var(--glass-rim);
  --shadow-button:
    0 10px 26px -4px rgba(139, 92, 246, 0.45),
    0 3px 8px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.32);
  --shadow-glow:
    0 0 28px -4px rgba(139, 92, 246, 0.38);

  /* Official Electric Purple Accent System */
  --accent: #8B5CF6;
  --accent-secondary: #A855F7;
  --accent-highlight: #C084FC;
  --accent-hover: #A855F7;
  --accent-fg: #FFFFFF;
  --accent-text: #C084FC;
  --accent-light: #C084FC;
  --accent-gradient: linear-gradient(135deg, #8B5CF6 0%, #A855F7 52%, #C084FC 100%);
  --accent-tint: rgba(139, 92, 246, 0.14);
  --accent-border: rgba(192, 132, 252, 0.38);

  /* Brand-Aligned Status Tokens */
  --danger: #F43F5E;
  --danger-text: #FDA4AF;
  --danger-tint: rgba(244, 63, 94, 0.12);
  --danger-border: rgba(244, 63, 94, 0.38);

  --warning: #C084FC;
  --warning-text: #E9D5FF;
  --warning-tint: rgba(139, 92, 246, 0.12);
  --warning-border: rgba(168, 85, 247, 0.36);

  /* Radius Scale */
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Font Stacks */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Smooth Spring Transitions */
  --spring-ios: cubic-bezier(0.22, 1, 0.36, 1);
  --spring-bounce: cubic-bezier(0.34, 1.35, 0.64, 1);
  --transition-fast: 220ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  /* Frosted Light Liquid Glass Palette */
  --bg-base: #F6F4FF;
  --bg-secondary: #ECE8FA;
  --bg-mesh:
    radial-gradient(ellipse 85% 48% at 50% -14%, rgba(139, 92, 246, 0.18), rgba(192, 132, 252, 0.08) 52%, transparent 78%),
    radial-gradient(ellipse 58% 44% at 88% 16%, rgba(168, 85, 247, 0.12), transparent 68%),
    radial-gradient(ellipse 50% 42% at 10% 82%, rgba(99, 102, 241, 0.08), transparent 70%);
  --bg-surface: rgba(255, 255, 255, 0.78);
  --bg-surface-solid: #FFFFFF;
  --bg-elevated: rgba(244, 240, 255, 0.86);
  --bg-hover: rgba(235, 229, 255, 0.96);
  --bg-nav: rgba(255, 255, 255, 0.80);
  --bg-input: rgba(255, 255, 255, 0.92);

  /* Crisp Light Frosted Glass Multi-Layer Tokens */
  --glass-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.88) 0%, rgba(245, 242, 255, 0.76) 100%);
  --glass-bg-elevated: linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 235, 255, 0.88) 100%);
  --glass-bg-subtle: rgba(124, 58, 237, 0.05);
  --glass-border-light: rgba(124, 58, 237, 0.14);
  --glass-border-highlight: rgba(124, 58, 237, 0.42);

  /* High-Contrast Slate Typography on Light Glass */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-pure: #0F172A;

  /* Crisp Specular Light Borders */
  --border-subtle: rgba(15, 23, 42, 0.10);
  --border-control: rgba(15, 23, 42, 0.14);
  --border-hover: rgba(124, 58, 237, 0.42);
  --border-focus: #7C3AED;
  --border: rgba(15, 23, 42, 0.10);
  --glass-border: rgba(124, 58, 237, 0.14);
  --glass-surface-subtle: rgba(243, 240, 255, 0.84);
  --surface-subtle: rgba(243, 240, 255, 0.84);

  --glass-blur: blur(24px) saturate(180%);
  --glass-blur-soft: blur(16px) saturate(160%);
  --glass-rim:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 0 rgba(124, 58, 237, 0.06),
    inset 0 0 24px -14px rgba(139, 92, 246, 0.10);
  --shadow-card:
    0 20px 44px -14px rgba(91, 56, 179, 0.14),
    0 4px 14px -2px rgba(15, 23, 42, 0.06),
    var(--glass-rim);
  --shadow-elevated:
    0 12px 28px -8px rgba(91, 56, 179, 0.12),
    0 3px 10px -2px rgba(15, 23, 42, 0.05),
    var(--glass-rim);
  --shadow-button:
    0 10px 24px -4px rgba(124, 58, 237, 0.34),
    0 3px 8px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.45);
  --shadow-glow:
    0 0 24px -4px rgba(124, 58, 237, 0.28);

  --accent: #7C3AED;
  --accent-secondary: #8B5CF6;
  --accent-highlight: #6D28D9;
  --accent-hover: #6D28D9;
  --accent-fg: #FFFFFF;
  --accent-text: #6D28D9;
  --accent-light: #7C3AED;
  --accent-gradient: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 52%, #A855F7 100%);
  --accent-tint: rgba(124, 58, 237, 0.10);
  --accent-border: rgba(124, 58, 237, 0.30);

  --danger: #E11D48;
  --danger-text: #BE123C;
  --danger-tint: rgba(225, 29, 72, 0.08);
  --danger-border: rgba(225, 29, 72, 0.28);

  --warning: #7C3AED;
  --warning-text: #5B21B6;
  --warning-tint: rgba(124, 58, 237, 0.09);
  --warning-border: rgba(124, 58, 237, 0.28);
}

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

html {
  width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--bg-base);
  background-image: var(--bg-mesh);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  position: relative;
}

::selection {
  background: rgba(139, 92, 246, 0.38);
  color: #FFFFFF;
}

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

@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;
  }
}

.brand-accent-word {
  color: var(--accent-light);
}

.telemetry-value.telemetry-beta-status {
  color: #FCD34D;
  font-weight: 700;
}

.footer-brand-mark {
  width: 26px;
  height: 26px;
  padding: 3px;
  border-radius: 8px;
}

.admin-vault-emblem {
  background: radial-gradient(circle at 30% 24%, rgba(168, 85, 247, 0.28), rgba(18, 12, 38, 0.96) 76%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(139, 92, 246, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* 3-Mode Liquid Glass Theme Switcher (Gelap / Terang / Sistem) */
.theme-segmented {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 11px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theme-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.theme-seg-btn:hover {
  color: var(--text-primary);
  background: var(--glass-bg-subtle);
}

.theme-seg-btn.active {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 3px 10px -2px rgba(139, 92, 246, 0.4);
}

.theme-segmented-compact .theme-seg-btn {
  padding: 4px 7px;
  min-height: 28px;
}

.theme-segmented-compact .theme-seg-label {
  display: none;
}

.drawer-theme-box .theme-segmented {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
}

.drawer-theme-box .theme-seg-btn {
  min-height: 36px;
  width: 100%;
  font-size: 0.76rem;
}

.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-theme-toggle:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.auth-theme-slot {
  flex-shrink: 0;
}

/* Smooth GPU-Accelerated Liquid Glass Ambient Backdrop */
.ambient-bg-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}

.ambient-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(88px);
  will-change: transform;
  opacity: 0.55;
}

.ambient-orb-1 {
  width: min(56vw, 560px);
  height: min(56vw, 560px);
  top: -14%;
  left: -8%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32) 0%, rgba(168, 85, 247, 0.08) 55%, transparent 75%);
  animation: lgOrbFloatA 18s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  top: 28%;
  right: -12%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.22) 0%, rgba(139, 92, 246, 0.06) 55%, transparent 75%);
  animation: lgOrbFloatB 22s ease-in-out infinite alternate;
}

.ambient-orb-3 {
  width: min(44vw, 440px);
  height: min(44vw, 440px);
  bottom: -14%;
  left: 26%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(168, 85, 247, 0.04) 55%, transparent 75%);
  animation: lgOrbFloatA 26s ease-in-out infinite alternate-reverse;
}

.minimal-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, #000 35%, transparent 100%);
}

[data-theme="light"] .minimal-grid-bg {
  background-image:
    linear-gradient(to right, rgba(124, 58, 237, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 58, 237, 0.055) 1px, transparent 1px);
}

[data-theme="light"] .ambient-orb {
  opacity: 0.42;
}

@keyframes lgOrbFloatA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(38px, 26px, 0) scale(1.06); }
  100% { transform: translate3d(-20px, 48px, 0) scale(0.96); }
}

@keyframes lgOrbFloatB {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-44px, -22px, 0) scale(1.08); }
  100% { transform: translate3d(20px, -42px, 0) scale(0.95); }
}

@keyframes lgRevealUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes lgFadeSlideIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes lgProgressShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes lgPulseBeacon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 132, 252, 0.65); }
  60% { box-shadow: 0 0 0 7px rgba(192, 132, 252, 0); }
}

/* ==========================================================================
   NAVIGATION BAR (DARK TRANSPARENT + PURPLE ACTIVE INDICATORS)
   ========================================================================== */
.app-nav-wrapper {
  position: sticky;
  top: 12px;
  z-index: 1000;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 20px);
}

.app-navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(145deg, rgba(24, 20, 38, 0.72) 0%, rgba(13, 11, 22, 0.64) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  min-height: 58px;
  box-shadow: var(--shadow-elevated);
  animation: lgRevealUp 420ms var(--spring-ios) both;
}

.app-navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), rgba(192, 132, 252, 0.45), rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.025em;
  min-height: 42px;
  padding: 0 2px;
  flex-shrink: 0;
  min-width: 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

.app-brand-mark {
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 11px;
  background: radial-gradient(circle at 32% 28%, rgba(168, 85, 247, 0.24), rgba(11, 9, 22, 0.94) 74%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.app-brand:hover .app-brand-mark {
  transform: scale(1.04);
  border-color: rgba(192, 132, 252, 0.48);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.app-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.app-brand-mark svg {
  width: 17px;
  height: 17px;
  color: #FFFFFF;
}

.auth-logo-hero {
  width: 92px;
  height: 92px;
  padding: 9px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 30% 24%, rgba(168, 85, 247, 0.24), rgba(11, 9, 22, 0.95) 72%);
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
}

.bot-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
  flex-shrink: 0;
}

.bot-status-dot.online {
  background: var(--accent-highlight);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.85);
  animation: lgPulseBeacon 2.4s ease-out infinite;
}

.bot-status-dot.offline {
  background: #52525B;
}

/* Segmented Navigation Pills */
.app-nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--bg-elevated);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 0.785rem;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0.84;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link svg {
  width: 15px;
  height: 15px;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  opacity: 1;
  background: var(--bg-hover);
}

.nav-link.active {
  opacity: 1;
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: rgba(192, 132, 252, 0.35);
  box-shadow: 0 4px 16px -2px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-link.active svg {
  color: #FFFFFF;
}

/* Right Action Cluster */
.app-user-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.user-quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.user-quota-pill:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.user-quota-pill .quota-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.65);
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-logout:hover {
  background: var(--bg-elevated);
  border-color: var(--accent);
  color: var(--text-primary);
}

/* Mobile Menu Trigger & Responsive Collapse (<= 1080px keeps tablets/mobile spacious) */
.btn-mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 11px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-theme-mobile-cycle {
  display: none;
  min-height: 38px;
  padding: 6px 10px;
}

@media (min-width: 1081px) {
  .btn-mobile-menu,
  .btn-theme-mobile-cycle,
  .mobile-drawer-overlay,
  .mobile-drawer {
    display: none !important;
  }
}

@media (max-width: 1080px) {
  .app-nav-links,
  .btn-logout-desktop,
  .app-theme-desktop {
    display: none !important;
  }

  .btn-mobile-menu,
  .btn-theme-mobile-cycle {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .app-navbar {
    padding: 7px 10px;
    gap: 6px;
  }

  .app-brand {
    font-size: 0.875rem;
    gap: 6px;
  }

  .app-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .app-user-actions {
    gap: 5px;
  }

  .user-quota-pill {
    padding: 4px 8px;
    font-size: 0.69rem;
    min-height: 34px;
  }

  .quota-vip-suffix {
    display: none;
  }

  .btn-theme-mobile-cycle {
    padding: 5px 8px;
    min-height: 34px;
    font-size: 0.7rem;
  }

  .btn-theme-mobile-cycle span[data-theme-cycle-label],
  .btn-mobile-menu span {
    display: none;
  }

  .btn-mobile-menu {
    padding: 5px 9px;
    min-height: 34px;
  }
}

@media (max-width: 360px) {
  .app-nav-wrapper {
    padding: 0 8px;
  }

  .app-navbar {
    padding: 6px 8px;
    gap: 4px;
  }

  .app-brand {
    font-size: 0.78rem;
    gap: 4px;
    flex-shrink: 1;
  }

  .app-brand-mark {
    width: 26px;
    height: 26px;
  }

  .app-user-actions {
    gap: 4px;
  }

  .user-quota-pill {
    gap: 5px;
    padding: 4px 6px;
    font-size: 0.65rem;
  }

  .btn-theme-mobile-cycle,
  .btn-mobile-menu {
    padding: 5px 7px;
  }

  .quota-unit-suffix {
    display: none;
  }
}

/* ==========================================================================
   MOBILE SLIDE-OVER DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--spring-ios);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: linear-gradient(165deg, rgba(22, 18, 34, 0.92) 0%, rgba(10, 9, 16, 0.96) 100%);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 320ms var(--spring-ios), visibility 320ms linear;
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.78), inset 1px 0 0 rgba(255, 255, 255, 0.1);
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

[data-theme="light"] .mobile-drawer-overlay {
  background: rgba(15, 23, 42, 0.36);
}

[data-theme="light"] .mobile-drawer {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 240, 255, 0.94) 100%);
  border-left: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: -18px 0 48px rgba(76, 46, 150, 0.18), inset 1px 0 0 rgba(255, 255, 255, 0.9);
}

.drawer-header {
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.drawer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-mono);
}

.drawer-user-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-user-tier {
  font-size: 0.75rem;
  color: var(--accent-highlight);
  font-weight: 600;
  font-family: var(--font-mono);
}

.drawer-close-btn {
  min-width: 40px;
  min-height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-drawer-login,
.btn-drawer-register {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-drawer-login {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-drawer-register {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-button);
}

.badge-beta-warm {
  background: rgba(245, 158, 11, 0.16) !important;
  color: #F59E0B !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

[data-theme="dark"] .badge-beta-warm {
  color: #FCD34D !important;
}

.badge-lapor-purple {
  background: var(--accent-tint) !important;
  color: var(--accent-text) !important;
  border-color: var(--accent-border) !important;
}

.drawer-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.drawer-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  opacity: 0.86;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.drawer-menu-item:hover {
  opacity: 1;
  background: var(--bg-elevated);
}

.drawer-menu-item.active {
  opacity: 1;
  background: var(--accent-gradient);
  border-color: rgba(192, 132, 252, 0.35);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.32);
}

.drawer-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-item-left svg {
  width: 17px;
  height: 17px;
  color: var(--text-primary);
}

.drawer-menu-item.active .drawer-item-left svg {
  color: #FFFFFF;
}

.drawer-item-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.drawer-menu-item.active .drawer-item-badge {
  background: rgba(8, 8, 8, 0.35);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

.drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-drawer-logout {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-drawer-logout:hover {
  border-color: var(--accent);
}

/* ==========================================================================
   STUDIO WORKBENCH & CARDS (#111111 SURFACE + #27212F BORDER)
   ========================================================================== */
.studio-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px) clamp(12px, 2vw, 20px) 56px;
  flex: 1;
}

.studio-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 959px) {
  .studio-workbench {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .studio-inspector .inspector-full-span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .studio-inspector {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

/* Official Liquid Glass Card Styling: Frosted glass backdrop + specular refraction rim */
.studio-deck,
.minimal-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
  animation: lgRevealUp 480ms var(--spring-ios) 60ms both;
}

.studio-deck:hover,
.minimal-card:hover {
  border-color: rgba(192, 132, 252, 0.34);
  box-shadow:
    0 28px 64px -14px rgba(0, 0, 0, 0.84),
    0 0 36px -10px rgba(139, 92, 246, 0.22),
    var(--glass-rim);
}

.studio-deck::before,
.minimal-card::before,
.inspector-panel::before,
.auth-card::before,
.gate-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), rgba(192, 132, 252, 0.72), rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.studio-inspector {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 960px) {
  .studio-inspector {
    position: sticky;
    top: 86px;
  }
}

@media (min-width: 640px) and (max-width: 959px) {
  .studio-inspector {
    display: grid;
  }
}

.inspector-panel {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.5vw, 20px);
  box-shadow: var(--shadow-elevated);
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
  animation: lgRevealUp 520ms var(--spring-ios) 120ms both;
}

.inspector-panel:hover {
  border-color: rgba(192, 132, 252, 0.44);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -10px rgba(0, 0, 0, 0.78), 0 0 26px -6px rgba(139, 92, 246, 0.24), var(--glass-rim);
}

.inspector-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.inspector-panel-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.inspector-panel-title svg {
  width: 16px;
  height: 16px;
  color: var(--accent-text);
  flex-shrink: 0;
}

.inspector-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-highlight);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

/* Studio Card Header */
.studio-card-header {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.studio-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.studio-card-title {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.025em;
}

.studio-card-title svg {
  color: var(--accent-text);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.studio-card-cost-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #FFFFFF;
  background: var(--accent-gradient);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: 0 4px 14px -2px rgba(139, 92, 246, 0.38);
  white-space: nowrap;
}

.studio-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FORM CONTROLS & INPUTS (#111111 BACKGROUND + #27212F BORDER + PURPLE FOCUS RING)
   ========================================================================== */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-label-desc {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-link-inline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-highlight);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.form-link-inline:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.phone-input-wrap {
  display: flex;
  align-items: stretch;
  background: var(--bg-input);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  border: 1px solid var(--border-control);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 46px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.phone-input-wrap:focus-within {
  border-color: var(--border-focus);
  background: var(--bg-surface-solid);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-prefix {
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-highlight);
  background: var(--bg-elevated);
  border-right: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.phone-input {
  flex: 1;
  background: var(--bg-input);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  border: 1px solid var(--border-control);
  border-radius: var(--radius-md);
  min-height: 46px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text-primary);
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.phone-input:focus {
  outline: none;
  border-color: var(--border-focus);
  background: var(--bg-surface-solid);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-input-wrap .phone-input {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  min-height: 44px;
}

.phone-input-wrap .phone-input:focus {
  box-shadow: none;
}

@media (max-width: 768px) {
  .phone-input {
    font-size: 1rem;
  }
}

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

/* Checkbox Row */
.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 4px 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #8B5CF6;
  border-radius: 5px;
  cursor: pointer;
}

/* ==========================================================================
   4-DIGIT SEGMENTED OTP INPUT BOXES
   ========================================================================== */
.otp-digit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 280px;
  margin: 8px auto 18px auto;
}

.otp-digit-box {
  width: 100%;
  height: 60px;
  background: #111111;
  border: 1.5px solid #27212F;
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
  transition: all var(--transition-fast);
}

.otp-digit-box:focus {
  outline: none;
  border-color: #8B5CF6;
  background: #18151F;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25), 0 0 18px rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

.otp-digit-box.filled {
  border-color: #A855F7;
  background: #18151F;
  color: #C084FC;
}

.otp-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.otp-timer-badge {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--accent-highlight);
  background: #18151F;
  border: 1px solid #27212F;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   VIDEO DROPZONE & PREVIEW CARD
   ========================================================================== */
.minimal-dropzone {
  position: relative;
  overflow: hidden;
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px) 18px;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(24, 20, 38, 0.52) 0%, rgba(12, 10, 19, 0.44) 100%);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-fast);
}

.minimal-dropzone:hover,
.minimal-dropzone.dragover {
  border-color: rgba(192, 132, 252, 0.65);
  background: linear-gradient(160deg, rgba(38, 30, 62, 0.65) 0%, rgba(19, 15, 32, 0.58) 100%);
  box-shadow: 0 14px 36px -10px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.dropzone-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px auto;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
  transition: all var(--transition-fast);
}

.minimal-dropzone:hover .dropzone-icon {
  background: var(--accent-gradient);
  border-color: rgba(192, 132, 252, 0.4);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}

.dropzone-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dropzone-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.preview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg-elevated);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: lgFadeSlideIn 280ms var(--spring-ios) both;
}

@media (max-width: 460px) {
  .preview-card .btn-change-file {
    width: 100%;
  }
}

.preview-info {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.preview-thumb {
  width: 68px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: #080808;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #27212F;
}

.preview-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-details {
  overflow: hidden;
  min-width: 0;
}

.preview-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.preview-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.btn-change-file {
  background: #111111;
  border: 1px solid #27212F;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-change-file:hover {
  background: #18151F;
  border-color: #8B5CF6;
}

/* ==========================================================================
   TELEMETRY & INSPECTOR READOUTS
   ========================================================================== */
.empty-state-box {
  background: #0D0D0D;
  border: 1px dashed #27212F;
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
}

.empty-state-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.empty-state-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.telemetry-row:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(192, 132, 252, 0.24);
}

.telemetry-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.telemetry-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #FFFFFF;
  text-align: right;
}

.telemetry-value.highlight {
  color: #C084FC;
  font-weight: 700;
}

/* ==========================================================================
   BUTTONS & STATES (OFFICIAL HYPESTATUS PURPLE GRADIENT)
   ========================================================================== */
.btn-primary {
  width: 100%;
  min-height: 48px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: var(--shadow-button);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-primary svg {
  color: #FFFFFF;
}

.btn-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px -4px rgba(168, 85, 247, 0.52),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.985);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  min-height: 46px;
  background: #18151F;
  color: #FFFFFF;
  border: 1px solid #27212F;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-secondary:hover:not(:disabled) {
  background: #211C2B;
  border-color: #8B5CF6;
  box-shadow: 0 0 18px -4px rgba(139, 92, 246, 0.25);
}

.btn-secondary:active:not(:disabled) {
  transform: scale(0.985);
}

.btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Error State Card */
.error-state-card {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(244, 63, 94, 0.10);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  border: 1px solid rgba(244, 63, 94, 0.36);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.8125rem;
  display: none;
  animation: lgFadeSlideIn 260ms var(--spring-ios) both;
}

.error-state-header {
  font-weight: 700;
  color: #FDA4AF;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Progress Tracking Card */
.progress-card {
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(155deg, rgba(32, 26, 52, 0.78) 0%, rgba(16, 13, 28, 0.72) 100%);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  border: 1px solid rgba(192, 132, 252, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 30px -10px rgba(0, 0, 0, 0.65);
  display: none;
  animation: lgFadeSlideIn 280ms var(--spring-ios) both;
}

.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.8125rem;
}

.progress-status-text {
  color: #FFFFFF;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-pct {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #C084FC;
}

.progress-track {
  width: 100%;
  height: 9px;
  background: rgba(8, 7, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #8B5CF6, #A855F7, #E9D5FF, #A855F7, #8B5CF6);
  background-size: 200% 100%;
  animation: lgProgressShimmer 2.1s linear infinite;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.55);
  border-radius: 99px;
  transition: width 320ms var(--spring-ios);
}

/* Success Card */
.success-card {
  margin-top: 20px;
  background: linear-gradient(155deg, rgba(36, 28, 60, 0.78) 0%, rgba(16, 13, 28, 0.74) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(192, 132, 252, 0.42);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.75), 0 0 32px -6px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  padding: 22px;
  text-align: center;
  display: none;
  animation: lgRevealUp 360ms var(--spring-ios) both;
}

.success-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-button);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.success-title {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.success-msg {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-open-wa {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: var(--shadow-button);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-open-wa:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ==========================================================================
   WHATSAPP TELEMETRY CHANNEL BANNER
   ========================================================================== */
.wa-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-fast);
  animation: lgRevealUp 540ms var(--spring-ios) 160ms both;
}

.wa-channel-card:hover {
  background: var(--glass-bg-elevated);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 18px 36px -8px rgba(0, 0, 0, 0.72), 0 0 26px -6px rgba(139, 92, 246, 0.28), var(--glass-rim);
  transform: translateY(-2px);
}

.wa-channel-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #18151F;
  border: 1px solid #27212F;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C084FC;
  flex-shrink: 0;
}

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

.wa-channel-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.wa-channel-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
}

.wa-channel-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: #18151F;
  border: 1px solid rgba(139, 92, 246, 0.38);
  color: #C084FC;
}

.wa-channel-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.wa-channel-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  background: #18151F;
  border: 1px solid #27212F;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.wa-channel-card:hover .wa-channel-action {
  background: var(--accent-gradient);
  border-color: rgba(192, 132, 252, 0.35);
}

@media (max-width: 520px) {
  .wa-channel-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .wa-channel-action {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }
}

/* ==========================================================================
   AUTHENTICATION & OTP PAGES
   ========================================================================== */
.auth-top-bar {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-container {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) 16px 64px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 32px);
  box-shadow: var(--shadow-card);
  animation: lgRevealUp 460ms var(--spring-ios) both;
}

.auth-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #27212F;
}

.auth-brand {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C084FC;
  background: #18151F;
  border: 1px solid #27212F;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.auth-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Segmented Control Tabs */
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  background: #0D0D0D;
  border: 1px solid #27212F;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.auth-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.auth-tab-btn:hover {
  color: #FFFFFF;
}

.auth-tab-btn.active {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: rgba(192, 132, 252, 0.35);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.auth-alert {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin-bottom: 16px;
  display: none;
  font-weight: 600;
}

.auth-alert.error {
  background: #18151F;
  border: 1px solid #8B5CF6;
  color: #FFFFFF;
}

.auth-alert.success {
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(192, 132, 252, 0.45);
  color: #C084FC;
}

.auth-footer {
  text-align: center;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #27212F;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: #C084FC;
  text-decoration: none;
  font-weight: 700;
  padding: 4px;
  display: inline-block;
  transition: color var(--transition-fast);
}

.auth-footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================================================================
   WHATSAPP GROUP GATE STEPPER & PROFILE CARDS
   ========================================================================== */
.gate-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.gate-step {
  background: #0D0D0D;
  border: 1px solid #27212F;
  border-radius: var(--radius-md);
  padding: 10px 8px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gate-step.completed {
  border-color: rgba(139, 92, 246, 0.45);
  color: #C084FC;
  background: #18151F;
}

.gate-step.active {
  background: var(--accent-gradient);
  border-color: rgba(192, 132, 252, 0.4);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.32);
  font-weight: 700;
}

.group-preview-card {
  background: #18151F;
  border: 1px solid #27212F;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.group-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #111111;
  border: 1px solid #27212F;
  color: #C084FC;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.group-info-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.group-info-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

@media (max-width: 560px) {
  .profile-meta-grid {
    grid-template-columns: 1fr;
  }
}

.profile-meta-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.profile-meta-card:hover {
  border-color: rgba(192, 132, 252, 0.34);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-1px);
}

.profile-meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.profile-meta-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  word-break: break-word;
}

/* ==========================================================================
   GLOBAL STATUS BAR FOOTER (#0D0D0D SECONDARY BG + #27212F BORDER)
   ========================================================================== */
.unified-global-footer {
  background: linear-gradient(180deg, rgba(13, 11, 20, 0.65) 0%, rgba(8, 7, 13, 0.88) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 20px clamp(12px, 2vw, 20px);
  margin-top: auto;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-brand-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.footer-bot-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: #18151F;
  border: 1px solid #27212F;
  font-size: 0.75rem;
  font-weight: 600;
  color: #C084FC;
}

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

.footer-nav-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.footer-nav-links a:hover {
  color: #FFFFFF;
  background: #18151F;
}

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

.footer-server-time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

/* ==========================================================================
   COMMUNITY GATE MODAL
   ========================================================================== */
.gate-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.gate-modal-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(155deg, rgba(28, 22, 44, 0.88) 0%, rgba(13, 11, 20, 0.84) 100%);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: clamp(18px, 3vw, 24px);
  box-shadow: var(--shadow-card);
  animation: lgRevealUp 320ms var(--spring-ios) both;
}

.gate-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.gate-modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.gate-modal-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.gate-modal-subtitle {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.gate-modal-alert {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gate-modal-alert.alert-error {
  background: #18151F;
  border: 1px solid #8B5CF6;
  color: #FFFFFF;
}

.gate-modal-alert.alert-success {
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid #A855F7;
  color: #C084FC;
}

.gate-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.gate-step-card {
  background: #18151F;
  border: 1px solid #27212F;
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.gate-step-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.gate-step-num {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: #111111;
  border: 1px solid #27212F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #C084FC;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.gate-step-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.gate-step-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gate-step-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gate-status-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.gate-status-pill.pill-pending {
  background: #111111;
  border: 1px solid #27212F;
  color: var(--text-secondary);
}

.gate-status-pill.pill-verified {
  background: var(--accent-gradient);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: #FFFFFF;
}

.btn-step-action {
  background: #111111;
  border: 1px solid #27212F;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-step-action:hover {
  background: #18151F;
  border-color: #8B5CF6;
}

.gate-modal-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.45;
}

/* ==========================================================================
   ADMIN CONTROL ROOM — HYPESTATUS BLACK, WHITE & ELECTRIC PURPLE IDENTITY
   Strictly overrides any legacy emerald / cyan / amber / rose classes
   ========================================================================== */
body.admin-liquid-theme {
  background-color: #07070b !important;
  background-image:
    radial-gradient(ellipse 85% 44% at 50% -12%, rgba(139, 92, 246, 0.18), rgba(168, 85, 247, 0.05) 50%, transparent 78%) !important;
  color: #FFFFFF !important;
}

/* Liquid Glass Cards in Admin */
body.admin-liquid-theme .bg-zinc-950,
body.admin-liquid-theme .lg-card {
  position: relative;
  background: var(--glass-bg) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
  box-shadow: var(--shadow-card) !important;
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

body.admin-liquid-theme .lg-card:hover {
  border-color: rgba(192, 132, 252, 0.36) !important;
  transform: translateY(-1px);
}

body.admin-liquid-theme .lg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.45), rgba(192, 132, 252, 0.65), rgba(139, 92, 246, 0.45), transparent);
  pointer-events: none;
}

body.admin-liquid-theme .bg-zinc-900,
body.admin-liquid-theme .bg-zinc-900\/80,
body.admin-liquid-theme .bg-zinc-900\/70,
body.admin-liquid-theme .bg-zinc-900\/60 {
  background: #18151F !important;
  border-color: #27212F !important;
}

/* Inputs: #111111 background, #27212F border, Purple focus ring */
body.admin-liquid-theme input:not([type="checkbox"]),
body.admin-liquid-theme select,
body.admin-liquid-theme textarea {
  background: #111111 !important;
  border-color: #27212F !important;
  color: #FFFFFF !important;
  transition: all 180ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.admin-liquid-theme input:not([type="checkbox"]):focus,
body.admin-liquid-theme select:focus,
body.admin-liquid-theme textarea:focus {
  border-color: #8B5CF6 !important;
  background: #18151F !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22) !important;
  outline: none !important;
}

/* Unify legacy non-purple utility classes in Admin to HypeStatus Electric Purple & Neutral Gray */
body.admin-liquid-theme [class*="text-emerald-"],
body.admin-liquid-theme [class*="text-teal-"],
body.admin-liquid-theme [class*="text-cyan-"],
body.admin-liquid-theme [class*="text-amber-"],
body.admin-liquid-theme [class*="text-indigo-"],
body.admin-liquid-theme [class*="text-pink-"],
body.admin-liquid-theme [class*="text-rose-"] {
  color: #C084FC !important;
}

body.admin-liquid-theme [class*="bg-emerald-9"],
body.admin-liquid-theme [class*="bg-teal-9"],
body.admin-liquid-theme [class*="bg-cyan-9"],
body.admin-liquid-theme [class*="bg-amber-9"],
body.admin-liquid-theme [class*="bg-indigo-9"],
body.admin-liquid-theme [class*="bg-rose-9"],
body.admin-liquid-theme [class*="bg-emerald-500/"],
body.admin-liquid-theme [class*="bg-cyan-500/"],
body.admin-liquid-theme [class*="bg-amber-500/"],
body.admin-liquid-theme [class*="bg-rose-500/"] {
  background-color: #18151F !important;
}

body.admin-liquid-theme [class*="border-emerald-"],
body.admin-liquid-theme [class*="border-teal-"],
body.admin-liquid-theme [class*="border-cyan-"],
body.admin-liquid-theme [class*="border-amber-"],
body.admin-liquid-theme [class*="border-indigo-"],
body.admin-liquid-theme [class*="border-rose-"],
body.admin-liquid-theme .border-zinc-800,
body.admin-liquid-theme .border-zinc-850,
body.admin-liquid-theme .border-zinc-700 {
  border-color: #27212F !important;
}

body.admin-liquid-theme .bg-emerald-500,
body.admin-liquid-theme .bg-emerald-600,
body.admin-liquid-theme .bg-amber-500,
body.admin-liquid-theme .bg-rose-600,
body.admin-liquid-theme [class*="from-emerald-"],
body.admin-liquid-theme [class*="from-cyan-"],
body.admin-liquid-theme [class*="from-amber-"],
body.admin-liquid-theme [class*="from-indigo-"] {
  background: var(--accent-gradient) !important;
  color: #FFFFFF !important;
}

body.admin-liquid-theme .peer:checked ~ div {
  background: var(--accent-gradient) !important;
}

/* Segmented Navigation Dock in Admin */
.lg-nav-dock {
  background: #0D0D0D;
  border: 1px solid #27212F;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.65);
  padding: 6px;
  border-radius: 14px;
}

.lg-tab-pill {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  opacity: 0.78;
  background: transparent;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-tab-pill svg {
  color: #FFFFFF !important;
}

.lg-tab-pill:hover {
  opacity: 1;
  background: #18151F;
  border-color: #27212F;
}

.lg-tab-pill.active {
  opacity: 1;
  background: var(--accent-gradient) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: 1px solid rgba(192, 132, 252, 0.4) !important;
  box-shadow:
    0 6px 20px -4px rgba(139, 92, 246, 0.45),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25) !important;
}

/* QR Pedestal & Viewfinder Frame (Electric Purple Accents) */
.lg-qr-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 26px;
  background: #18151F;
  border: 1px solid #27212F;
  box-shadow:
    0 20px 44px -12px rgba(0, 0, 0, 0.78),
    0 0 36px -8px rgba(139, 92, 246, 0.24);
}

.lg-qr-pedestal {
  position: relative;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 12px;
  width: min(260px, 100%);
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.lg-qr-pedestal #adminQrLoadingState,
.lg-qr-pedestal #adminQrSvgContainer,
.lg-qr-pedestal #adminQrImage {
  width: min(232px, 100%) !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
  max-width: 100% !important;
}

.lg-qr-pedestal #adminQrSvgContainer svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lg-qr-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #8B5CF6;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

.lg-qr-corner.tl {
  top: 7px;
  left: 7px;
  border-top: 3px solid #8B5CF6;
  border-left: 3px solid #8B5CF6;
  border-top-left-radius: 12px;
}

.lg-qr-corner.tr {
  top: 7px;
  right: 7px;
  border-top: 3px solid #A855F7;
  border-right: 3px solid #A855F7;
  border-top-right-radius: 12px;
}

.lg-qr-corner.bl {
  bottom: 7px;
  left: 7px;
  border-bottom: 3px solid #A855F7;
  border-left: 3px solid #A855F7;
  border-bottom-left-radius: 12px;
}

.lg-qr-corner.br {
  bottom: 7px;
  right: 7px;
  border-bottom: 3px solid #C084FC;
  border-right: 3px solid #C084FC;
  border-bottom-right-radius: 12px;
}

.lg-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #FFFFFF;
  background: #18151F;
  border: 1px solid #27212F;
}

.lg-pairing-vault {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 20px 18px;
  background: #18151F;
  border: 1px solid rgba(139, 92, 246, 0.45);
  box-shadow:
    0 16px 36px -10px rgba(0, 0, 0, 0.7),
    0 0 28px -8px rgba(139, 92, 246, 0.25);
}

.lg-btn-emerald {
  background: var(--accent-gradient);
  color: #FFFFFF !important;
  font-weight: 700;
  border: 1px solid rgba(192, 132, 252, 0.4);
  box-shadow:
    0 8px 24px -4px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.28);
  transition: all 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-btn-emerald:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px -4px rgba(168, 85, 247, 0.52),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.36);
}

.lg-btn-glass {
  background: #18151F;
  color: #FFFFFF;
  border: 1px solid #27212F;
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5);
  transition: all 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-btn-glass:hover:not(:disabled) {
  background: #211C2B;
  border-color: #8B5CF6;
  transform: translateY(-1px);
}


/* ==========================================================================
   LIQUID GLASS STUDIO ENHANCEMENTS, PRESET CARDS, PIPELINE & RESPONSIVE POLISH
   ========================================================================== */

/* Compact Studio Top Status Strip */
.studio-hero-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(32, 24, 52, 0.65) 0%, rgba(15, 12, 24, 0.58) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-elevated);
  animation: lgRevealUp 400ms var(--spring-ios) both;
}

.studio-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), rgba(192, 132, 252, 0.65), rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
}

.studio-hero-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 280px;
}

.studio-hero-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -4px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.studio-hero-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.studio-hero-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.studio-feature-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-text);
  white-space: nowrap;
}

/* Preset Quality Selector Cards */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.preset-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  text-align: left;
  padding: 12px 13px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.preset-option-card:hover {
  background: rgba(139, 92, 246, 0.09);
  border-color: rgba(192, 132, 252, 0.36);
  transform: translateY(-1px);
}

.preset-option-card.active {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.24) 0%, rgba(168, 85, 247, 0.12) 100%);
  border-color: rgba(192, 132, 252, 0.72);
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.preset-option-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.preset-option-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
}

.preset-option-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #C084FC;
  border: 1px solid rgba(192, 132, 252, 0.22);
}

.preset-option-card.active .preset-option-tag {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.26);
}

.preset-option-desc {
  font-size: 0.73rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Segmented Toggle Row (Segment Split Duration / Quick Options) */
.studio-options-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 560px) {
  .studio-options-split {
    grid-template-columns: 1fr;
  }
}

.segment-toggle-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-md);
  background: rgba(10, 9, 18, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.segment-toggle-btn {
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.segment-toggle-btn:hover {
  color: #FFFFFF;
}

.segment-toggle-btn.active {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.36);
}

/* Optional Caption Textarea */
.caption-textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  background: rgba(12, 11, 20, 0.66);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.84rem;
  line-height: 1.5;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.caption-textarea::placeholder {
  color: var(--text-muted);
}

.caption-textarea:focus {
  outline: none;
  border-color: rgba(192, 132, 252, 0.7);
  background: rgba(24, 20, 38, 0.78);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.24);
}

.caption-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Live Interactive Video & Image Preview Player */
.preview-thumb.preview-thumb-lg {
  width: 88px;
  height: 64px;
}

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

.preview-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.preview-mini-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.28);
  color: #E9D5FF;
}

/* Pipeline Stage Pills Inside Progress Card */
.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.pipeline-step {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: all var(--transition-fast);
}

.pipeline-step.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(192, 132, 252, 0.55);
  color: #FFFFFF;
  box-shadow: 0 0 14px -4px rgba(139, 92, 246, 0.45);
}

.pipeline-step.done {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(192, 132, 252, 0.34);
  color: #C084FC;
}

/* Recent Studio History Panel */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.history-item:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(192, 132, 252, 0.28);
}

.history-item-meta {
  min-width: 0;
  flex: 1;
}

.history-item-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-item-sub {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--text-muted);
}

.history-item-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: #E9D5FF;
  flex-shrink: 0;
}

.btn-text-mini {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.btn-text-mini:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

/* Liquid Glass Toast Notification Stack */
.studio-toast-stack {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(360px, calc(100vw - 24px));
  pointer-events: none;
}

.studio-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(30, 23, 46, 0.88) 0%, rgba(14, 11, 22, 0.86) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(192, 132, 252, 0.36);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  animation: lgFadeSlideIn 260ms var(--spring-ios) both;
}

.studio-toast.toast-error {
  border-color: rgba(244, 63, 94, 0.5);
}

/* Cloudflare Turnstile Mobile Responsive Fit (<= 360px screens) */
.turnstile-wrap {
  margin: 10px 0 14px;
  display: flex;
  justify-content: center;
  min-height: 65px;
  overflow: hidden;
}

@media (max-width: 370px) {
  .turnstile-wrap > div {
    transform: scale(0.86);
    transform-origin: center center;
  }
}

/* Smooth Mobile Scrollbar Hide for Admin Nav Dock */
.lg-nav-dock {
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: rgba(15, 13, 24, 0.68) !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
  scrollbar-width: none;
}

.lg-nav-dock::-webkit-scrollbar {
  display: none;
}

@media (max-width: 480px) {
  .studio-hero-banner {
    padding: 12px 14px;
    gap: 10px;
  }

  .studio-card-title-row {
    gap: 8px;
  }

  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .otp-digit-grid {
    gap: 8px;
    max-width: 240px;
  }

  .otp-digit-box {
    height: 52px;
    font-size: 1.25rem;
  }
}

/* ============================================================================
   BETA BADGE, GRANULAR MAINTENANCE GATE & HD GAMBAR PAGE STYLES
   ============================================================================ */
.nav-beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #FCD34D;
  line-height: 1.1;
  margin-left: 2px;
}

.maint-gate-wrapper {
  max-width: 640px;
  margin: 40px auto 64px;
  padding: 0 18px;
  animation: lgRevealUp 460ms var(--spring-ios) both;
}

.maint-glass-card {
  background: linear-gradient(155deg, rgba(28, 20, 42, 0.84) 0%, rgba(14, 11, 24, 0.86) 100%);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid rgba(244, 63, 94, 0.34);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.maint-icon-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.38);
  color: #FDA4AF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.maint-pill-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.34);
  color: #FDA4AF;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.maint-title {
  margin: 0 0 10px;
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-primary);
}

.maint-desc {
  margin: 0 auto 20px;
  max-width: 460px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.maint-countdown-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(10, 9, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.maint-countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.maint-countdown-clock {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FDE68A;
  letter-spacing: 0.06em;
}

.maint-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn-primary-glass,
.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary-glass {
  background: linear-gradient(135deg, #8B5CF6, #A855F7);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

.btn-primary-glass:hover,
.btn-secondary-glass:hover {
  transform: translateY(-1px);
}

.maint-scheduled-banner {
  max-width: 1120px;
  margin: 12px auto 0;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(18, 15, 30, 0.8));
  backdrop-filter: blur(18px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FDE68A;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.maint-scheduled-timer {
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Dedicated HD Gambar (BETA) Page Styles */
.beta-dev-banner {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.12) 0%, rgba(22, 18, 36, 0.72) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(245, 158, 11, 0.34);
  box-shadow: var(--shadow-elevated);
  animation: lgRevealUp 400ms var(--spring-ios) both;
}

.beta-dev-content {
  flex: 1 1 220px;
  min-width: 0;
}

.beta-dev-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #FDE68A;
  margin-bottom: 3px;
}

.beta-feedback-link {
  color: #FCD34D;
  font-weight: 700;
  text-decoration: underline;
}

[data-theme="light"] .beta-dev-banner {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.12) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(217, 119, 6, 0.35);
}

[data-theme="light"] .beta-dev-title {
  color: #92400E;
}

[data-theme="light"] .beta-feedback-link {
  color: #B45309;
}

[data-theme="light"] .beta-dev-pill {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(217, 119, 6, 0.42);
  color: #B45309;
}

.beta-dev-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FCD34D;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.scale-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.scale-option-card {
  text-align: left;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.scale-option-card:hover {
  transform: translateY(-1px);
  border-color: rgba(192, 132, 252, 0.4);
  background: rgba(168, 85, 247, 0.08);
}

.scale-option-card.active {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.2), rgba(20, 16, 36, 0.85));
  border-color: rgba(192, 132, 252, 0.72);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.compare-stage {
  margin-top: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 7, 15, 0.85);
  padding: 14px;
  animation: lgFadeSlideIn 340ms var(--spring-ios) both;
}

.compare-slider-wrap {
  position: relative;
  width: 100%;
  max-height: 460px;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #06050b;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-slider-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.compare-before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}

.compare-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.9);
  pointer-events: none;
}

.compare-divider-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.92);
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.compare-tag-left,
.compare-tag-right {
  position: absolute;
  top: 10px;
  z-index: 4;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.compare-tag-left {
  left: 10px;
  background: rgba(15, 15, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E4E4E7;
}

.compare-tag-right {
  right: 10px;
  background: rgba(139, 92, 246, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.compare-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
  margin: 0;
}

.image-result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 560px) {
  .scale-option-grid,
  .image-result-actions {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   UNIVERSAL LIGHT LIQUID GLASS OVERRIDES & RESPONSIVE POLISH (320px+)
   ========================================================================== */

/* Universal Surface & Contrast Adaptation for Light Theme */
[data-theme="light"] .studio-deck,
[data-theme="light"] .minimal-card,
[data-theme="light"] .card,
[data-theme="light"] .inspector-panel,
[data-theme="light"] .profile-meta-card,
[data-theme="light"] .feedback-card,
[data-theme="light"] .auth-card,
[data-theme="light"] .studio-hero-banner,
[data-theme="light"] .image-result-card,
[data-theme="light"] .image-source-card,
[data-theme="light"] .maint-gate-card,
[data-theme="light"] .group-preview-card {
  background: var(--glass-bg);
  border-color: var(--glass-border-light);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .minimal-dropzone {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85) 0%, rgba(238, 232, 255, 0.74) 100%);
  border-color: rgba(124, 58, 237, 0.34);
  color: var(--text-primary);
}

[data-theme="light"] .minimal-dropzone:hover,
[data-theme="light"] .minimal-dropzone.dragover {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(229, 220, 255, 0.88) 100%);
  border-color: var(--accent);
}

[data-theme="light"] .dropzone-icon,
[data-theme="light"] .wa-channel-icon-wrap,
[data-theme="light"] .group-avatar,
[data-theme="light"] .otp-timer-badge,
[data-theme="light"] .wa-channel-badge,
[data-theme="light"] .empty-state-box {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
  color: var(--accent-text);
}

[data-theme="light"] .btn-secondary,
[data-theme="light"] .btn-change-file,
[data-theme="light"] .wa-channel-action,
[data-theme="light"] .auth-tabs,
[data-theme="light"] .otp-digit-box,
[data-theme="light"] .gate-step.completed {
  background: var(--bg-surface);
  border-color: var(--border-control);
  color: var(--text-primary);
}

[data-theme="light"] .btn-secondary:hover:not(:disabled),
[data-theme="light"] .btn-change-file:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
}

[data-theme="light"] .auth-brand,
[data-theme="light"] .feedback-hero-badge {
  background: var(--accent-tint);
  border-color: var(--accent-border);
  color: var(--accent-text);
}

[data-theme="light"] .empty-state-title,
[data-theme="light"] .wa-channel-title,
[data-theme="light"] .group-info-name,
[data-theme="light"] .preset-option-title,
[data-theme="light"] .studio-deck h1,
[data-theme="light"] .studio-deck h2,
[data-theme="light"] .studio-deck h3,
[data-theme="light"] .studio-deck strong,
[data-theme="light"] .dropzone-title,
[data-theme="light"] .toggle-title,
[data-theme="light"] .history-item-title,
[data-theme="light"] .result-title,
[data-theme="light"] .progress-title,
[data-theme="light"] .auth-title,
[data-theme="light"] .studio-hero-title {
  color: var(--text-primary);
}

[data-theme="light"] .toggle-card,
[data-theme="light"] .studio-toggle-box,
[data-theme="light"] .progress-track {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}

[data-theme="light"] .telemetry-value.highlight,
[data-theme="light"] .preset-option-tag,
[data-theme="light"] .preview-mini-pill,
[data-theme="light"] .pipeline-step.done {
  color: var(--accent-text);
  background: var(--accent-tint);
  border-color: var(--accent-border);
}

[data-theme="light"] .compare-stage {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}

[data-theme="light"] .app-navbar {
  background: var(--bg-nav);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-elevated);
}

[data-theme="light"] .app-brand,
[data-theme="light"] .studio-hero-title h1,
[data-theme="light"] .card-title,
[data-theme="light"] .profile-meta-value,
[data-theme="light"] .feedback-hero h1,
[data-theme="light"] .auth-title,
[data-theme="light"] .auth-header h1,
[data-theme="light"] .telemetry-value,
[data-theme="light"] .history-title,
[data-theme="light"] .inspector-panel-title,
[data-theme="light"] .preview-meta-title,
[data-theme="light"] .footer-brand-title,
[data-theme="light"] .maint-gate-title {
  color: var(--text-primary);
}

[data-theme="light"] .phone-input,
[data-theme="light"] .feedback-input,
[data-theme="light"] .feedback-textarea,
[data-theme="light"] .feedback-select,
[data-theme="light"] .form-input,
[data-theme="light"] .otp-digit-input {
  background: var(--bg-input);
  border-color: var(--border-control);
  color: var(--text-primary);
}

[data-theme="light"] .phone-input::placeholder,
[data-theme="light"] .feedback-input::placeholder,
[data-theme="light"] .feedback-textarea::placeholder {
  color: var(--text-muted);
}

[data-theme="light"] .phone-prefix,
[data-theme="light"] .dropzone,
[data-theme="light"] .scale-option-card,
[data-theme="light"] .wa-channel-card,
[data-theme="light"] .telemetry-row,
[data-theme="light"] .history-item,
[data-theme="light"] .drawer-menu-item,
[data-theme="light"] .drawer-close-btn,
[data-theme="light"] .auth-tab-btn,
[data-theme="light"] .gate-step,
[data-theme="light"] .preview-card,
[data-theme="light"] .result-card,
[data-theme="light"] .progress-card {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

[data-theme="light"] .auth-tab-btn.active {
  background: var(--accent-gradient);
  color: #FFFFFF;
}

[data-theme="light"] .unified-global-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(238, 233, 255, 0.90) 100%);
  border-top-color: rgba(124, 58, 237, 0.14);
  color: var(--text-secondary);
}

[data-theme="light"] .footer-nav-links a {
  color: var(--text-secondary);
}

[data-theme="light"] .footer-nav-links a:hover {
  color: var(--accent-text);
}

[data-theme="light"] .img-beta-pill {
  background: rgba(245, 158, 11, 0.14);
  color: #B45309;
  border-color: rgba(217, 119, 6, 0.35);
}

[data-theme="light"] .nav-beta-badge {
  color: #B45309;
  background: rgba(245, 158, 11, 0.16);
}

[data-theme="light"] .hero-badge-pill,
[data-theme="light"] .inspector-tag,
[data-theme="light"] .drawer-item-badge {
  background: var(--accent-tint);
  color: var(--accent-text);
  border-color: var(--accent-border);
}

[data-theme="light"] .compare-slider-wrap,
[data-theme="light"] .image-preview-stage {
  background: #EDE9FE;
  border-color: rgba(124, 58, 237, 0.22);
}

[data-theme="light"] .maint-gate-overlay {
  background: rgba(244, 240, 255, 0.86);
}

[data-theme="light"] .maint-countdown-box {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.24);
  color: var(--accent-text);
}

/* Light Liquid Glass Admin Overrides */
[data-theme="light"] body.admin-liquid-theme {
  background-color: var(--bg-base) !important;
  background-image: var(--bg-mesh) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] body.admin-liquid-theme header {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(124, 58, 237, 0.14) !important;
}

[data-theme="light"] body.admin-liquid-theme .bg-zinc-950,
[data-theme="light"] body.admin-liquid-theme .lg-card,
[data-theme="light"] body.admin-liquid-theme .lg-pairing-vault {
  background: var(--glass-bg) !important;
  border-color: rgba(124, 58, 237, 0.16) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-card) !important;
}

[data-theme="light"] body.admin-liquid-theme .bg-zinc-900,
[data-theme="light"] body.admin-liquid-theme .bg-zinc-900\/80,
[data-theme="light"] body.admin-liquid-theme .bg-zinc-900\/70,
[data-theme="light"] body.admin-liquid-theme .bg-zinc-900\/60,
[data-theme="light"] body.admin-liquid-theme .bg-zinc-950\/90,
[data-theme="light"] body.admin-liquid-theme .bg-zinc-950\/60,
[data-theme="light"] body.admin-liquid-theme .bg-black\/45,
[data-theme="light"] body.admin-liquid-theme .lg-qr-stage,
[data-theme="light"] body.admin-liquid-theme .lg-step-chip,
[data-theme="light"] body.admin-liquid-theme .lg-btn-glass {
  background: rgba(244, 240, 255, 0.88) !important;
  border-color: rgba(124, 58, 237, 0.18) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] body.admin-liquid-theme .lg-nav-dock {
  background: rgba(255, 255, 255, 0.84) !important;
  border-color: rgba(124, 58, 237, 0.16) !important;
  box-shadow: var(--shadow-elevated) !important;
}

[data-theme="light"] body.admin-liquid-theme .lg-tab-pill {
  color: var(--text-secondary) !important;
}

[data-theme="light"] body.admin-liquid-theme .lg-tab-pill svg {
  color: var(--accent-text) !important;
}

[data-theme="light"] body.admin-liquid-theme .lg-tab-pill:hover {
  background: var(--bg-hover) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] body.admin-liquid-theme .lg-tab-pill.active,
[data-theme="light"] body.admin-liquid-theme .lg-tab-pill.active svg {
  color: #FFFFFF !important;
}

[data-theme="light"] body.admin-liquid-theme input:not([type="checkbox"]),
[data-theme="light"] body.admin-liquid-theme select,
[data-theme="light"] body.admin-liquid-theme textarea {
  background: #FFFFFF !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #0F172A !important;
}

[data-theme="light"] body.admin-liquid-theme input::placeholder,
[data-theme="light"] body.admin-liquid-theme textarea::placeholder {
  color: #64748B !important;
}

[data-theme="light"] body.admin-liquid-theme .text-white,
[data-theme="light"] body.admin-liquid-theme .text-zinc-100,
[data-theme="light"] body.admin-liquid-theme .text-zinc-200 {
  color: #0F172A !important;
}

[data-theme="light"] body.admin-liquid-theme .lg-btn-emerald,
[data-theme="light"] body.admin-liquid-theme .lg-btn-emerald .text-white,
[data-theme="light"] body.admin-liquid-theme .bg-emerald-600,
[data-theme="light"] body.admin-liquid-theme .bg-purple-600,
[data-theme="light"] body.admin-liquid-theme .bg-rose-600 {
  color: #FFFFFF !important;
}

[data-theme="light"] body.admin-liquid-theme .text-zinc-300,
[data-theme="light"] body.admin-liquid-theme .text-zinc-400,
[data-theme="light"] body.admin-liquid-theme .text-zinc-500 {
  color: #475569 !important;
}

[data-theme="light"] body.admin-liquid-theme [class*="text-emerald-"],
[data-theme="light"] body.admin-liquid-theme [class*="text-teal-"],
[data-theme="light"] body.admin-liquid-theme [class*="text-cyan-"],
[data-theme="light"] body.admin-liquid-theme [class*="text-amber-"],
[data-theme="light"] body.admin-liquid-theme [class*="text-indigo-"],
[data-theme="light"] body.admin-liquid-theme [class*="text-pink-"],
[data-theme="light"] body.admin-liquid-theme [class*="text-rose-"] {
  color: #6D28D9 !important;
}

[data-theme="light"] body.admin-liquid-theme [class*="bg-emerald-9"],
[data-theme="light"] body.admin-liquid-theme [class*="bg-teal-9"],
[data-theme="light"] body.admin-liquid-theme [class*="bg-cyan-9"],
[data-theme="light"] body.admin-liquid-theme [class*="bg-amber-9"],
[data-theme="light"] body.admin-liquid-theme [class*="bg-indigo-9"],
[data-theme="light"] body.admin-liquid-theme [class*="bg-rose-9"],
[data-theme="light"] body.admin-liquid-theme [class*="bg-emerald-500/"],
[data-theme="light"] body.admin-liquid-theme [class*="bg-cyan-500/"],
[data-theme="light"] body.admin-liquid-theme [class*="bg-amber-500/"],
[data-theme="light"] body.admin-liquid-theme [class*="bg-rose-500/"] {
  background-color: rgba(124, 58, 237, 0.10) !important;
}

[data-theme="light"] body.admin-liquid-theme [class*="border-emerald-"],
[data-theme="light"] body.admin-liquid-theme [class*="border-teal-"],
[data-theme="light"] body.admin-liquid-theme [class*="border-cyan-"],
[data-theme="light"] body.admin-liquid-theme [class*="border-amber-"],
[data-theme="light"] body.admin-liquid-theme [class*="border-indigo-"],
[data-theme="light"] body.admin-liquid-theme [class*="border-rose-"],
[data-theme="light"] body.admin-liquid-theme .border-zinc-800,
[data-theme="light"] body.admin-liquid-theme .border-zinc-800\/50,
[data-theme="light"] body.admin-liquid-theme .border-zinc-800\/80,
[data-theme="light"] body.admin-liquid-theme .border-zinc-800\/90,
[data-theme="light"] body.admin-liquid-theme .border-zinc-850,
[data-theme="light"] body.admin-liquid-theme .border-zinc-850\/80,
[data-theme="light"] body.admin-liquid-theme .border-zinc-700,
[data-theme="light"] body.admin-liquid-theme .border-\[\#27212F\],
[data-theme="light"] body.admin-liquid-theme .border-white\/10,
[data-theme="light"] body.admin-liquid-theme .border-white\/15 {
  border-color: rgba(15, 23, 42, 0.10) !important;
}

/* Additional Light Mode Coverage: Studio Components, History, Auth, Modals, Footer & Admin Arbitrary Utilities */
[data-theme="light"] .glass-card,
[data-theme="light"] .landing-hero-card,
[data-theme="light"] .landing-feature-card,
[data-theme="light"] .landing-step-card,
[data-theme="light"] .stat-glass-pill,
[data-theme="light"] .studio-hero-banner,
[data-theme="light"] .auth-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.90) 0%, rgba(248, 245, 255, 0.78) 100%);
  border-color: rgba(124, 58, 237, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 42px -20px rgba(15, 23, 42, 0.12),
    0 8px 24px -14px rgba(124, 58, 237, 0.14);
}

[data-theme="light"] .metric-row {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .telemetry-value.telemetry-beta-status {
  color: #B45309;
}

[data-theme="light"] .btn-secondary-glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.84));
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0F172A;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 6px 16px -8px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .btn-secondary-glass:hover:not(:disabled) {
  background: #FFFFFF;
  border-color: rgba(124, 58, 237, 0.42);
  color: #5B21B6;
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 10px 22px -10px rgba(124, 58, 237, 0.22);
}

[data-theme="light"] .btn-text-mini:hover {
  color: #0F172A;
  background: rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .scale-option-card,
[data-theme="light"] .preset-option-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.09);
  color: #0F172A;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 4px 12px -8px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .scale-option-card:hover,
[data-theme="light"] .preset-option-card:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(124, 58, 237, 0.34);
}

[data-theme="light"] .scale-option-card.active,
[data-theme="light"] .preset-option-card.active {
  background: linear-gradient(145deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.86) 100%) !important;
  border-color: rgba(124, 58, 237, 0.58) !important;
  box-shadow:
    0 0 0 2px rgba(124, 58, 237, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 22px -12px rgba(124, 58, 237, 0.30) !important;
}

[data-theme="light"] .preset-option-title,
[data-theme="light"] .scale-option-title {
  color: #0F172A;
}

[data-theme="light"] .preset-option-desc,
[data-theme="light"] .scale-option-desc {
  color: #475569;
}

[data-theme="light"] .preset-option-card.active .preset-option-tag,
[data-theme="light"] .scale-option-card.active .preset-option-tag,
[data-theme="light"] .scale-option-card.active .scale-option-tag {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.35);
  color: #5B21B6;
}

[data-theme="light"] .segment-toggle-group {
  background: rgba(241, 245, 249, 0.88);
  border-color: rgba(15, 23, 42, 0.09);
}

[data-theme="light"] .segment-toggle-btn {
  color: #475569;
}

[data-theme="light"] .segment-toggle-btn:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .caption-textarea {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0F172A;
}

[data-theme="light"] .caption-textarea:focus {
  background: #FFFFFF;
  border-color: rgba(124, 58, 237, 0.52);
}

[data-theme="light"] .history-item {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .history-item:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(124, 58, 237, 0.28);
}

[data-theme="light"] .history-item-name {
  color: #0F172A;
}

[data-theme="light"] .history-item-meta {
  color: #475569;
}

[data-theme="light"] .history-item-badge {
  background: rgba(124, 58, 237, 0.11);
  border-color: rgba(124, 58, 237, 0.28);
  color: #5B21B6;
}

[data-theme="light"] .preview-mini-pill {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.10);
  color: #334155;
}

[data-theme="light"] .preview-thumb {
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(15, 23, 42, 0.10);
}

[data-theme="light"] .progress-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 243, 255, 0.86));
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 20px -10px rgba(124, 58, 237, 0.18);
}

[data-theme="light"] .progress-status-text {
  color: #0F172A;
}

[data-theme="light"] .progress-pct {
  color: var(--accent-text);
}

[data-theme="light"] .pipeline-step {
  color: #475569;
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .pipeline-step.active {
  color: #5B21B6;
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.34);
}

[data-theme="light"] .success-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 243, 255, 0.88));
  border-color: rgba(124, 58, 237, 0.28);
}

[data-theme="light"] .success-title {
  color: #0F172A;
}

[data-theme="light"] .error-state-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 241, 242, 0.88));
  border-color: rgba(225, 29, 72, 0.28);
  color: #0F172A;
}

[data-theme="light"] .error-state-header {
  color: #BE123C;
}

[data-theme="light"] .studio-toast {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0F172A;
  box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .compare-tag-left {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(15, 23, 42, 0.16);
  color: #0F172A;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .compare-divider-line {
  background: rgba(124, 58, 237, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.78);
}

/* Light Mode: Auth, OTP, Stepper, Community Gate Modal, Maintenance & Footer */
[data-theme="light"] .auth-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .auth-footer {
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .auth-footer a {
  color: var(--accent-text);
}

[data-theme="light"] .auth-footer a:hover {
  color: #4C1D95;
}

[data-theme="light"] .auth-tab-btn:hover {
  color: #0F172A;
}

[data-theme="light"] .auth-alert.error {
  background: rgba(225, 29, 72, 0.09);
  border-color: rgba(225, 29, 72, 0.26);
  color: #9F1239;
}

[data-theme="light"] .auth-alert.success {
  background: rgba(124, 58, 237, 0.10);
  border-color: rgba(124, 58, 237, 0.28);
  color: #5B21B6;
}

[data-theme="light"] .otp-digit-box {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(15, 23, 42, 0.14);
  color: #0F172A;
}

[data-theme="light"] .otp-digit-box:focus {
  background: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .otp-digit-box.filled {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.45);
  color: #5B21B6;
}

[data-theme="light"] .gate-step {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(15, 23, 42, 0.09);
  color: #475569;
}

[data-theme="light"] .gate-step.completed {
  background: rgba(124, 58, 237, 0.07);
  border-color: rgba(124, 58, 237, 0.24);
  color: #4C1D95;
}

[data-theme="light"] .gate-step.active {
  background: linear-gradient(145deg, rgba(245, 243, 255, 0.98), rgba(237, 233, 254, 0.88));
  border-color: rgba(124, 58, 237, 0.56);
  color: #5B21B6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 16px -8px rgba(124, 58, 237, 0.26);
}

[data-theme="light"] .gate-step-card {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(15, 23, 42, 0.09);
}

[data-theme="light"] .gate-step-num {
  background: rgba(124, 58, 237, 0.10);
  border-color: rgba(124, 58, 237, 0.24);
  color: #5B21B6;
}

[data-theme="light"] .gate-step-name {
  color: #0F172A;
}

[data-theme="light"] .gate-status-pill.pill-pending {
  background: rgba(100, 116, 139, 0.10);
  border-color: rgba(100, 116, 139, 0.22);
  color: #475569;
}

[data-theme="light"] .btn-step-action {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(124, 58, 237, 0.28);
  color: #5B21B6;
}

[data-theme="light"] .btn-step-action:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.45);
  color: #4C1D95;
}

[data-theme="light"] .gate-modal-backdrop {
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(12px);
}

[data-theme="light"] .gate-modal-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 255, 0.92));
  border-color: rgba(124, 58, 237, 0.22);
  color: #0F172A;
  box-shadow: 0 28px 60px -18px rgba(15, 23, 42, 0.22);
}

[data-theme="light"] .gate-modal-title {
  color: #0F172A;
}

[data-theme="light"] .gate-modal-alert.alert-error {
  background: rgba(225, 29, 72, 0.09);
  border-color: rgba(225, 29, 72, 0.25);
  color: #9F1239;
}

[data-theme="light"] .gate-modal-alert.alert-success {
  background: rgba(124, 58, 237, 0.10);
  border-color: rgba(124, 58, 237, 0.25);
  color: #5B21B6;
}

[data-theme="light"] .maint-glass-card {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(124, 58, 237, 0.22);
  color: #0F172A;
  box-shadow: 0 24px 52px -18px rgba(124, 58, 237, 0.20);
}

[data-theme="light"] .maint-pill-badge {
  background: rgba(124, 58, 237, 0.10);
  border-color: rgba(124, 58, 237, 0.28);
  color: #5B21B6;
}

[data-theme="light"] .maint-countdown-clock {
  color: #5B21B6;
}

[data-theme="light"] .maint-scheduled-banner {
  background: rgba(254, 243, 199, 0.76);
  border-color: rgba(217, 119, 6, 0.30);
  color: #92400E;
}

[data-theme="light"] .maint-scheduled-timer {
  color: #B45309;
}

[data-theme="light"] .footer-bot-status {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(124, 58, 237, 0.24);
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 4px 12px -4px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .footer-nav-links a:hover {
  color: var(--accent-text);
}

[data-theme="light"] .footer-bottom-row {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: var(--text-muted);
}

/* Light Mode: Admin Control Room Complete Parity */
[data-theme="light"] .admin-grid-overlay {
  background-image:
    linear-gradient(to right, rgba(124, 58, 237, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 58, 237, 0.055) 1px, transparent 1px) !important;
}

[data-theme="light"] .admin-sticky-header,
[data-theme="light"] body.admin-liquid-theme .bg-\[\#0D0D0D\]\/85 {
  background: rgba(255, 255, 255, 0.84) !important;
  border-bottom-color: rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.10) !important;
}

[data-theme="light"] .admin-control-pill,
[data-theme="light"] body.admin-liquid-theme .bg-\[\#18151F\] {
  background: rgba(124, 58, 237, 0.10) !important;
  border-color: rgba(124, 58, 237, 0.26) !important;
  color: #5B21B6 !important;
}

[data-theme="light"] body.admin-liquid-theme .text-\[\#C084FC\] {
  color: #6D28D9 !important;
}

[data-theme="light"] body.admin-liquid-theme .bg-\[\#C084FC\] {
  background-color: #7C3AED !important;
}

[data-theme="light"] .admin-vault-emblem {
  background: radial-gradient(circle at 30% 24%, rgba(168, 85, 247, 0.32), rgba(24, 16, 48, 0.96) 76%);
  border: 1px solid rgba(124, 58, 237, 0.32);
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

[data-theme="light"] body.admin-liquid-theme .bg-zinc-950\/95,
[data-theme="light"] body.admin-liquid-theme .bg-zinc-950\/80 {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0F172A !important;
}

[data-theme="light"] body.admin-liquid-theme .bg-zinc-900\/40,
[data-theme="light"] body.admin-liquid-theme .bg-zinc-900\/30,
[data-theme="light"] body.admin-liquid-theme .bg-zinc-800,
[data-theme="light"] body.admin-liquid-theme .bg-zinc-700 {
  background: rgba(241, 245, 249, 0.88) !important;
  color: #0F172A !important;
}

[data-theme="light"] body.admin-liquid-theme .hover\:bg-zinc-900\/60:hover,
[data-theme="light"] body.admin-liquid-theme .hover\:bg-zinc-800:hover {
  background: rgba(237, 233, 254, 0.55) !important;
}

[data-theme="light"] body.admin-liquid-theme .text-zinc-600,
[data-theme="light"] body.admin-liquid-theme .text-zinc-700 {
  color: #64748B !important;
}

/* Mobile & Narrow Viewport Safeguards (320px - 640px) */
@media (max-width: 640px) {
  .studio-container,
  .feedback-page-wrapper,
  .landing-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .studio-hero-banner {
    padding: 16px;
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .studio-hero-metrics {
    width: 100%;
    justify-content: flex-start;
  }

  .card,
  .inspector-panel,
  .feedback-card,
  .auth-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .preview-info {
    flex-direction: column;
    align-items: stretch;
  }

  .dropzone {
    padding: 26px 14px;
  }

  .turnstile-wrap {
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 350px) {
  .turnstile-wrap > div,
  .turnstile-wrap iframe {
    transform: scale(0.9);
    transform-origin: center top;
  }
}

/* Admin Mobile & Tablet Responsiveness */
body.admin-liquid-theme .lg-nav-dock {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.admin-liquid-theme .lg-nav-dock::-webkit-scrollbar {
  display: none;
}

@media (max-width: 640px) {
  body.admin-liquid-theme .lg-tab-pill {
    padding: 7px 10px;
    font-size: 0.72rem;
    gap: 6px;
  }

  body.admin-liquid-theme .lg-qr-stage {
    padding: 12px;
    width: 100%;
    max-width: 284px;
  }

  body.admin-liquid-theme table th,
  body.admin-liquid-theme table td {
    white-space: nowrap;
  }

  #pairingCodeDisplay {
    font-size: 1.35rem !important;
    letter-spacing: 0.16em !important;
  }
}

/* ==========================================================================
   LANDING PAGE DESIGN SYSTEM (/) — LIQUID GLASS SHOWCASE
   ========================================================================== */
.landing-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 56px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 40px 36px;
  background: var(--glass-bg-elevated);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  animation: lgRevealUp 420ms var(--spring-ios) both;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.6), transparent);
  pointer-events: none;
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.landing-hero-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

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

.landing-hero-desc {
  font-size: clamp(0.94rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 60ch;
  margin-bottom: 24px;
}

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

.landing-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 13px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-button);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

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

.landing-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 13px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border-control);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.landing-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--bg-hover);
}

.landing-preview-deck {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-stat-card {
  border-radius: 18px;
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.landing-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
}

.landing-stat-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.landing-section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing-section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.landing-section-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.landing-feature-card {
  position: relative;
  border-radius: 22px;
  padding: 26px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.landing-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-highlight);
}

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

.landing-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-button);
}

.landing-feature-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 10px 0 8px;
}

.landing-feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.landing-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.landing-bullet-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.landing-bullet-list svg {
  width: 15px;
  height: 15px;
  color: var(--accent-text);
  flex-shrink: 0;
}

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

.landing-step-card {
  border-radius: 18px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
}

.landing-step-num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.landing-step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.landing-step-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .landing-hero {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 24px;
  }

  .landing-feature-grid,
  .landing-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .landing-hero {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .landing-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-btn-primary,
  .landing-btn-secondary {
    width: 100%;
  }

  .landing-feature-card {
    padding: 20px 16px;
  }
}
