/* ==========================================================================
   FinFlow / BotHub Mobile Application - Design System & Stylesheet
   ========================================================================== */

:root {
  /* Core FinTech Tokens - B-Magnet High Contrast Theme */
  --bg-app: #d8ebfa;
  --bg-frame: #edf5fd;
  --surface-card: #ffffff;
  --surface-elevated: #ffffff;
  --surface-highlight: #f8fafc;
  
  --border-subtle: rgba(203, 213, 225, 0.85);
  --border-medium: rgba(2, 132, 199, 0.35);
  --border-active: #00a896;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  /* iOS 27 Liquid Glass Design Tokens (Refined & High Contrast) */
  --glass-surface-ultra: rgba(255, 255, 255, 0.88);
  --glass-surface-subtle: rgba(255, 255, 255, 0.70);
  --glass-surface-elevated: rgba(255, 255, 255, 0.95);
  --glass-border-specular: 1px solid rgba(255, 255, 255, 0.95);
  --glass-border-subtle: 1px solid rgba(203, 213, 225, 0.8);
  --glass-blur-deep: blur(28px) saturate(190%) brightness(104%);
  --glass-blur-medium: blur(20px) saturate(180%);
  --glass-blur-light: blur(14px) saturate(150%);
  --glass-shadow-depth: 0 16px 40px rgba(25, 39, 80, 0.08), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95), inset 0 -1px 1px rgba(255, 255, 255, 0.4);
  --glass-shadow-card: 0 8px 24px rgba(25, 39, 80, 0.06), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
  --glass-shadow-button: 0 8px 24px rgba(2, 132, 199, 0.28), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.7);

  /* Semantic Brand Colors (B-Magnet Light Palette) */
  --brand-navy: #192750;
  --brand-navy-dark: #0f172a;
  --brand-cyan: #0284c7;
  --brand-teal: #00a896;
  --brand-teal-light: #00c9a7;
  --brand-blue: #0284c7;
  --brand-indigo: #4338ca;
  
  --color-success: #059669;
  --color-success-bg: rgba(5, 150, 105, 0.12);
  --color-danger: #e11d48;
  --color-danger-bg: rgba(225, 29, 72, 0.12);
  --color-warning: #d97706;
  --font-logo: 'Impact', 'Raleway', sans-serif;
  --font-heading: 'Raleway', 'Impact', sans-serif;
  --font-arabic: 'GE Flow', 'Cairo', sans-serif;
  --font-sans: 'Raleway', 'GE Flow', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(25, 39, 80, 0.05);
  --shadow-md: 0 8px 24px rgba(25, 39, 80, 0.08);
  --shadow-lg: 0 16px 40px rgba(25, 39, 80, 0.12);
  --shadow-glow-cyan: 0 0 24px rgba(2, 132, 199, 0.2);
  --shadow-glow-teal: 0 0 24px rgba(0, 168, 150, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: #d8ebfa;
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* Arabic (RTL) Typography & Direction Styling */
[dir="rtl"], body.lang-ar {
  font-family: 'Cairo', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0px !important;
}

[dir="rtl"] .bot-title,
[dir="rtl"] .panel-title,
[dir="rtl"] .brand-title,
[dir="rtl"] .pwa-title,
[dir="rtl"] .modal-title {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

[dir="rtl"] .ticker-marquee {
  direction: ltr;
}

[dir="rtl"] .font-mono {
  direction: ltr;
  display: inline-block;
}

/* ==========================================================================
   RESPONSIVE VIEWPORT & SHELL SYSTEM (MOBILE APP VIEW + DESKTOP FULL SCREEN)
   ========================================================================== */
.app-viewport-wrapper {
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  background: 
    radial-gradient(circle at 10% 10%, rgba(0, 168, 150, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(2, 132, 199, 0.12) 0%, transparent 45%),
    #d8ebfa;
  transition: background 0.3s ease;
}

/* App Shell: Responsive full width across all devices */
.mobile-frame {
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  background: 
    radial-gradient(circle at 10% 0%, rgba(0, 201, 167, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 25%, rgba(59, 130, 246, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 30% 65%, rgba(216, 235, 250, 0.6) 0%, transparent 55%),
    linear-gradient(180deg, #d8ebfa 0%, #b8dcfa 50%, #edf5fd 100%);
  border: none;
  box-shadow: none;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------
   DESKTOP PROFESSIONAL WEBSITE LAYOUT (Computers, Mac, PC, Monitors)
   ------------------------------------------------------------- */
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.desktop-nav-menu {
  display: none;
}

.desktop-status-pill {
  display: none;
}

@media (min-width: 769px) {
  .app-viewport-wrapper {
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
  }

  .mobile-frame {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .app-header {
    width: 100% !important;
    height: 68px !important;
    padding: 0 !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
  }

  .header-inner {
    max-width: 1360px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Top Navigation Menu Bar Hidden (Using macOS Bottom Floating Dock Exclusively) */
  .desktop-nav-menu {
    display: none !important;
  }

  .desktop-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
  }

  body.theme-dark .desktop-nav-link {
    color: #94a3b8;
  }

  .desktop-nav-link .material-symbols-rounded {
    font-size: 18px;
  }

  .desktop-nav-link:hover {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
  }

  .desktop-nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #00a896 0%, #0284c7 100%) !important;
    box-shadow: 0 4px 14px rgba(0, 168, 150, 0.35);
  }

  .desktop-nav-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1.2;
    min-width: 16px;
    text-align: center;
  }

  .desktop-status-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #059669;
    margin-right: 6px;
    letter-spacing: 0.3px;
  }

  body.theme-dark .desktop-status-pill {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.35);
  }

  /* Live Ticker Centered on Desktop */
  .live-ticker-container {
    max-width: 1360px !important;
    margin: 10px auto 0 auto !important;
    width: 100% !important;
    border-radius: 14px;
    box-sizing: border-box;
  }

  /* Main Content Centered & Well-Proportioned */
  .app-content {
    max-width: 1360px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 24px 80px 24px !important;
    box-sizing: border-box;
    overflow-y: auto;
  }

  /* Explore: Exactly 4 Bots in a Beautiful Desk Grid */
  .bots-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    align-items: stretch;
  }

  .bot-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
  }

  /* Subscriptions: Multi-Column Cards */
  .subscriptions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    width: 100%;
  }

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

  /* Creator Market: Multi-Column Dashboard */
  .creator-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
  }

  .creator-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
  }

  /* Admin Database: Full Width Dashboard Grid & Tables */
  .db-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
  }

  .db-table-card {
    width: 100%;
  }

  /* Settings Page: Balanced 2-Column Desktop Grid */
  .settings-desktop-grid {
    display: grid !important;
    grid-template-columns: 380px 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    align-items: start !important;
  }

  /* Bottom Dock Hidden on Desktop */
  .bottom-nav {
    display: none !important;
  }

  /* Centered Desktop Modals */
  .modal-sheet {
    max-width: 540px !important;
    border-radius: 28px !important;
    margin: auto !important;
    max-height: 88vh !important;
  }

  .auth-screen-clean {
    max-width: 460px;
    height: min(90vh, 760px);
    margin: auto;
    border-radius: 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15);
  }
}

/* Medium Tablets (769px - 1080px) */
@media (min-width: 769px) and (max-width: 1080px) {
  .bots-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .creator-kpi-grid,
  .db-stats-grid,
  .sub-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .settings-desktop-grid {
    grid-template-columns: 1fr !important;
  }
}

/* -------------------------------------------------------------
   MOBILE APP VIEW (< 768px Phones, iPhone, Android)
   ------------------------------------------------------------- */
@media (max-width: 768px) {
  html, body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }

  .mobile-frame {
    max-width: 100vw !important;
    width: 100vw !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  .desktop-company-landing {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  .landing-scroll-body {
    flex: 1 0 auto !important;
    width: 100% !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 100px !important;
  }

  .landing-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  }

  .landing-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center !important;
  }

  .landing-hero-actions {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .desktop-nav-menu,
  .desktop-status-pill {
    display: none !important;
  }

  .bots-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .settings-desktop-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
}

/* Narrow Mobile & iPhone Safari Screen Calibration (< 420px) */
@media (max-width: 420px) {
  .app-header {
    padding-left: max(10px, env(safe-area-inset-left, 10px));
    padding-right: max(10px, env(safe-area-inset-right, 10px));
    gap: 6px;
  }
  .brand-title {
    font-size: 14.5px;
    gap: 4px;
  }
  .header-bmagnet-logo {
    width: 26px;
    height: 26px;
  }
  .header-left {
    gap: 6px;
  }
  .header-right {
    gap: 4px;
  }
  .header-icon-pill-btn {
    height: 26px;
    min-width: 26px;
    padding: 0 5px;
    font-size: 10px;
  }
  .wallet-compact-corner-btn {
    padding: 2.5px 6px 2.5px 4px;
    gap: 4px;
  }
  .wallet-user-title {
    max-width: 46px;
  }
  .wallet-user-amt {
    font-size: 10px;
  }
  .bottom-nav {
    padding-left: max(4px, env(safe-area-inset-left, 4px));
    padding-right: max(4px, env(safe-area-inset-right, 4px));
  }
  .nav-item {
    padding: 2px 2px;
  }
  .nav-label {
    font-size: 9.5px;
  }
  .nav-icon {
    font-size: 20px;
  }
}

/* Platform-Specific: Windows / Desktop Slim Smooth Scrollbar */
.platform-windows *,
.mode-desktop * {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}

.platform-windows *::-webkit-scrollbar,
.mode-desktop *::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.platform-windows *::-webkit-scrollbar-thumb,
.mode-desktop *::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 10px;
}

.platform-windows *::-webkit-scrollbar-thumb:hover,
.mode-desktop *::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.6);
}

/* Platform-Specific: iOS WebKit Kinetic Momentum, Viewport & Notch Tuning */
.platform-ios {
  -webkit-touch-callout: none;
  -webkit-text-size-adjust: 100%;
}

.platform-ios .app-content {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.platform-ios .modal-backdrop {
  -webkit-overflow-scrolling: touch;
}

.platform-ios .app-header,
.platform-ios .bottom-nav {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.platform-ios input,
.platform-ios button,
.platform-ios select,
.platform-ios textarea {
  font-size: 16px;
  -webkit-appearance: none;
}

/* Platform-Specific: Android Font Rendering & Touch Optimization */
.platform-android {
  -webkit-font-smoothing: antialiased;
}

.icon-sm {
  font-size: 15px !important;
}

/* ==========================================================================
   FROZEN STABLE HEADER (NOTCH & DYNAMIC ISLAND SAFE - ZERO FLICKER)
   ========================================================================== */
.app-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  min-height: 56px !important;
  padding-top: max(12px, env(safe-area-inset-top, 12px)) !important;
  padding-bottom: 10px !important;
  padding-left: max(16px, env(safe-area-inset-left, 16px)) !important;
  padding-right: max(16px, env(safe-area-inset-right, 16px)) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(40px) saturate(220%) brightness(108%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(108%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  flex-shrink: 0 !important;
  z-index: 100 !important;
  box-sizing: border-box !important;
}

body.theme-dark .app-header {
  background: rgba(14, 20, 27, 0.88) !important;
  backdrop-filter: blur(40px) saturate(220%) brightness(108%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(108%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 -1px 1px rgba(255, 255, 255, 0.08) !important;
}

/* MOBILE ONLY: FROZEN TOP HEADER SAFE AREA CLEARANCE FOR IPHONE NOTCH & DYNAMIC ISLAND */
@media (max-width: 767px) {
  .app-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-height: 56px !important;
    padding-top: max(env(safe-area-inset-top, 14px), 14px) !important;
    padding-bottom: 10px !important;
    z-index: 100 !important;
  }

  #appMain,
  .view-panel {
    padding-top: 8px !important;
  }
}

.platform-ios .app-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-height: calc(68px + env(safe-area-inset-top, 48px)) !important;
  padding-top: max(env(safe-area-inset-top, 48px), 48px) !important;
  z-index: 10005 !important;
}

.platform-ios #appMain,
.platform-ios .view-panel,
.platform-ios .desktop-company-landing {
  padding-top: calc(76px + env(safe-area-inset-top, 48px)) !important;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo-prominent {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.header-bmagnet-logo-prominent {
  height: 38px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 168, 150, 0.28));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-bmagnet-logo-prominent:hover {
  transform: scale(1.06);
}

.header-brand-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}

.header-brand-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-brand-title {
  font-family: var(--font-logo) !important;
  font-size: 15.5px;
  font-weight: 800;
  color: #192750;
  letter-spacing: -0.3px;
  line-height: 1.15;
  white-space: nowrap;
}

body.theme-dark .header-brand-title {
  color: #ffffff !important;
}

.header-brand-badge {
  font-family: var(--font-logo) !important;
  font-size: 8.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #00a896, #0284c7);
  color: #ffffff;
  padding: 1.5px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1;
  display: inline-block;
}

.header-brand-sub {
  font-family: var(--font-logo) !important;
  font-size: 9.5px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: 0.1px;
}

body.theme-dark .header-brand-sub {
  color: #94a3b8 !important;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wallet-compact-corner-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 3px 8px 3px 5px;
  border-radius: var(--radius-full);
  color: #192750;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), inset 0 1px 1px #ffffff;
}

body.theme-dark .wallet-compact-corner-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
}

body.header-minimized .wallet-compact-corner-btn {
  padding: 2px 6px 2px 4px;
  gap: 4px;
}

.wallet-compact-corner-btn:hover {
  border-color: #00a896;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.18);
  transform: translateY(-1px);
}

.user-avatar-mini {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 168, 150, 0.12);
  border: 1px solid rgba(0, 168, 150, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-user-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
  line-height: 1.15;
}

.wallet-user-title {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  max-width: 65px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.wallet-user-amt {
  font-size: 11px;
  font-weight: 800;
  color: #00a896;
  line-height: 1.1;
  display: block;
}

.wallet-badge-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.wallet-badge-btn:hover {
  border-color: var(--brand-cyan);
  background: var(--surface-elevated);
}

.wallet-icon {
  font-size: 16px;
  color: var(--color-success);
}

.icon-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #475569;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(25, 39, 80, 0.04);
}

.icon-btn:hover {
  background: #ffffff;
  color: #192750;
}

/* Live Ticker Bar - Green Live Session Telemetry */
.live-ticker-container {
  height: 36px;
  max-height: 36px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14) 0%, rgba(6, 78, 59, 0.09) 50%, rgba(16, 185, 129, 0.14) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.28);
  display: flex;
  align-items: center;
  padding: 0 14px;
  overflow: hidden;
  font-size: 11px;
  flex-shrink: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              border-bottom-color 0.35s ease;
  will-change: max-height, opacity, transform;
  transform-origin: top center;
  transform: translateZ(0);
}

/* Ultra-Smooth, non-jumping slide & fade for Live Green Session Bar */
body.scrolled-hide-live .live-ticker-container {
  max-height: 0 !important;
  opacity: 0 !important;
  border-bottom-color: transparent !important;
  transform: translateY(-8px) scaleY(0.92);
  pointer-events: none !important;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #047857;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 12px;
  flex-shrink: 0;
  letter-spacing: 0.6px;
  font-size: 10px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.ticker-marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: marquee 40s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-weight: 500;
}

.ticker-pill-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.tpt-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.tpt-equity {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.tpt-session {
  background: rgba(14, 165, 233, 0.15);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.35);
}

.tpt-signal {
  background: rgba(99, 102, 241, 0.15);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.ticker-item .highlight {
  color: #0f172a;
  font-weight: 700;
}

.profit {
  color: #059669;
  font-weight: 800;
}

.price-up {
  color: #059669;
  font-weight: 800;
}

.price-down {
  color: #dc2626;
  font-weight: 800;
}

/* Main Scrollable Container (Scrolls middle content smoothly while header and bottom dock remain locked) */
.app-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.app-content::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* View Panels (Scroll clearance for modern iOS floating glass dock) */
.view-panel {
  display: none;
  padding: 14px 16px calc(118px + env(safe-area-inset-bottom, 16px));
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-panel.active {
  display: block;
}

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

/* Search Bar */
.search-bar-wrapper {
  position: relative;
  margin-bottom: 14px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 20px;
}

.search-input {
  width: 100%;
  height: 44px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 40px 0 42px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.2);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

/* Filter Chips Scroll */
.filter-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 14px;
  scrollbar-width: none;
}

.filter-chips-scroll::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-full);
  color: #192750;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(25, 39, 80, 0.04), inset 0 1px 1px #fff;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-dark .filter-chip {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.filter-chip.active {
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.9) 0%, rgba(2, 132, 199, 0.9) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.75);
}

/* Hero Bot Banner (iOS 27 Liquid Glass) */
.hero-bot-banner {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(32px) saturate(210%) brightness(105%);
  -webkit-backdrop-filter: blur(32px) saturate(210%) brightness(105%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 14px 40px rgba(25, 39, 80, 0.07), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
}

body.theme-dark .hero-bot-banner {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.15);
}

.hero-bg-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.18) 0%, rgba(2, 132, 199, 0.1) 40%, transparent 70%);
  pointer-events: none;
}

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

.badge-featured {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero-rating {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #192750;
}

.star {
  font-size: 15px;
  color: #f59e0b;
}

.hero-body {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 168, 150, 0.12);
  border: 1.5px solid rgba(0, 168, 150, 0.25);
  color: #00a896;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #192750;
}

.hero-desc {
  font-size: 12px;
  color: #475569;
  margin-top: 2px;
  line-height: 1.4;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: rgba(216, 235, 250, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.metric-card {
  text-align: center;
}

.metric-val {
  display: block;
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #192750;
}

.metric-lbl {
  font-size: 10px;
  color: #64748b;
}

.text-success { color: var(--color-success) !important; }
.text-cyan { color: var(--brand-cyan) !important; }
.text-amber { color: var(--color-warning) !important; }
.text-danger { color: var(--color-danger) !important; }

.hero-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-from {
  font-size: 11px;
  color: #64748b;
}

.price-amount {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #192750;
}

.price-amount small {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.trial-pill {
  font-size: 9.5px;
  font-weight: 700;
  background: rgba(0, 168, 150, 0.12);
  color: #00a896;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 168, 150, 0.25);
}

.hero-actions-long {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(216, 235, 250, 0.8);
  margin-top: 4px;
}

.hero-price-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #00a896;
  background: rgba(0, 168, 150, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 168, 150, 0.2);
}

.hero-verified-tag .material-symbols-rounded {
  font-size: 14px;
}

/* Section Title Row */
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: 15px;
  font-weight: 800;
  color: #192750;
}

.section-count {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

/* Bots Grid & Cards - Pixel Perfect Alignment */
.bots-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bot-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(25, 39, 80, 0.06), inset 0 1px 1px #ffffff;
}

.bot-card:hover {
  border-color: #00a896;
  background: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 168, 150, 0.16);
}

.bot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.bot-card-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.bot-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.bot-card-identity > div {
  min-width: 0;
}

.bot-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #192750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.bot-creator {
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
  display: block;
}

.bot-badge-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.bot-tagline {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

.bot-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(216, 235, 250, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 8px 6px;
  border-radius: 10px;
}

.bot-metric-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bot-metric-num {
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1.2;
  color: #192750;
}

.bot-metric-label {
  font-size: 9.5px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-top: 3px;
  font-weight: 600;
}

.bot-card-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(216, 235, 250, 0.85);
  margin-top: 2px;
}

body.theme-dark .bot-card-pricing-row {
  border-color: rgba(255, 255, 255, 0.08);
}

.bot-price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bot-price-val {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #0f172a;
}

body.theme-dark .bot-price-val {
  color: #f8fafc;
}

.bot-price-sub {
  font-size: 11px;
  color: #0284c7;
  font-weight: 700;
}

.bot-rating-pill {
  font-size: 11px;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.bot-rating-pill .star-icon {
  font-size: 13px;
  color: #f59e0b;
}

/* ==========================================================================
   SINGLE-SCREEN 4-PLAN EXPLORE ARCHITECTURE (DETAILS OUTSIDE PLAN BOX)
   ========================================================================== */

.explore-single-screen-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* 1. 4-Plan Compact Selector Tabs (Single Screen Fit - No Scroll) */
.explore-plans-tabs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

@media (max-width: 768px) {
  .explore-plans-tabs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.explore-plan-tab-card {
  background: #ffffff;
  border: 1.5px solid rgba(203, 213, 225, 0.85);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

body.theme-dark .explore-plan-tab-card {
  background: #0f172a;
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.explore-plan-tab-card:hover {
  border-color: #0284c7;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
}

.explore-plan-tab-card.active {
  border-color: #00a896;
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 8px 24px rgba(0, 168, 150, 0.18), 0 0 0 1px #00a896;
}

body.theme-dark .explore-plan-tab-card.active {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.15) 0%, #0f172a 100%);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.2), 0 0 0 1px #00f2fe;
  border-color: #00f2fe;
}

.ept-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ept-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ept-radio-icon {
  font-size: 18px;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.explore-plan-tab-card.active .ept-radio-icon {
  color: #00a896;
}

body.theme-dark .explore-plan-tab-card.active .ept-radio-icon {
  color: #00f2fe;
}

.ept-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

body.theme-dark .ept-title {
  color: #f8fafc;
}

.ept-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ept-price-amt {
  font-size: 16px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #00a896;
}

body.theme-dark .ept-price-amt {
  color: #00f2fe;
}

.ept-price-period {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

/* 2. Selected Plan Full Breakdown & Explained Details Panel (OUTSIDE THE PLAN BOX) */
.explore-selected-plan-panel {
  background: #ffffff;
  border: 1.5px solid rgba(203, 213, 225, 0.9);
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  animation: fadeIn 0.25s ease;
}

body.theme-dark .explore-selected-plan-panel {
  background: #0f172a;
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.espp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

body.theme-dark .espp-header-row {
  border-color: rgba(255, 255, 255, 0.08);
}

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

.espp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.espp-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

body.theme-dark .espp-title {
  color: #f8fafc;
}

.espp-sub {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.espp-price-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.espp-price-big {
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #00a896;
}

body.theme-dark .espp-price-big {
  color: #00f2fe;
}

.espp-savings-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Explained Details Feature List (Outside Plan Box) */
.espp-details-block {
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

body.theme-dark .espp-details-block {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.espp-details-headline {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

body.theme-dark .espp-details-headline {
  color: #38bdf8;
}

.espp-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .espp-features-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

.espp-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #1e293b;
}

body.theme-dark .espp-feature-item {
  color: #cbd5e1;
}

.espp-feature-item .material-symbols-rounded {
  font-size: 16px;
  color: #00a896;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Action Button Row */
.espp-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.btn-espp-subscribe {
  flex: 1;
  height: 48px;
  background: linear-gradient(135deg, #192750 0%, #0f172a 100%);
  color: #ffffff;
  border: 1.5px solid rgba(0, 168, 150, 0.4);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 8px 24px rgba(25, 39, 80, 0.2);
}

.btn-espp-subscribe:hover {
  background: linear-gradient(135deg, #101c3d 0%, #09122a 100%);
  border-color: #00a896;
  transform: translateY(-1.5px);
  box-shadow: 0 12px 28px rgba(0, 168, 150, 0.25);
}

.btn-espp-secondary {
  height: 48px;
  padding: 0 18px;
  background: rgba(241, 245, 249, 0.8);
  color: #1e293b;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

body.theme-dark .btn-espp-secondary {
  background: rgba(30, 41, 59, 0.7);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-espp-secondary:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.btn-subscribe-long:active {
  transform: scale(0.99);
}

.btn-subscribed-active {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: none;
}

.btn-subscribed-active:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: #059669;
  color: #047857;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.btn-subscribed-active .material-symbols-rounded {
  color: #059669;
}

/* Subscriptions Panel */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.panel-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.panel-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.sub-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.sub-stat-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.sub-stat-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.sub-stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
}

/* My Subscriptions & Active Licenses (iOS 27 Liquid Glass) */
.subscription-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(25, 39, 80, 0.05), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.subscription-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 168, 150, 0.45);
}

body.theme-dark .subscription-card {
  background: rgba(15, 23, 42, 0.48) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.12) !important;
}

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

.sub-name {
  font-size: 16px;
  font-weight: 800;
  color: #192750;
}

body.theme-dark .sub-name {
  color: #ffffff;
}

.sub-status-active {
  background: rgba(16, 185, 129, 0.14);
  backdrop-filter: blur(12px);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

body.theme-dark .sub-status-active {
  color: #34d399;
}

.license-box {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

body.theme-dark .license-box {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

.license-key-text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #00a896;
  font-weight: 800;
  letter-spacing: 0.5px;
}

body.theme-dark .license-key-text {
  color: #00f2fe;
}

.btn-copy-license {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.btn-copy-license:hover {
  color: var(--brand-cyan);
}

.sub-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

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

/* Creator Studio Banner (iOS 27 Liquid Glass) */
.creator-revenue-card {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.65) 0%, rgba(19, 18, 43, 0.75) 100%);
  backdrop-filter: blur(32px) saturate(210%) brightness(105%);
  -webkit-backdrop-filter: blur(32px) saturate(210%) brightness(105%);
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 14px 40px rgba(30, 27, 75, 0.25), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.25);
}

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

.rev-label {
  font-size: 12px;
  color: #c7d2fe;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.rev-badge {
  font-size: 10px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.rev-amount {
  font-size: 34px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #ffffff;
  margin: 10px 0 18px;
  letter-spacing: -0.5px;
}

.rev-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.rev-metric-val {
  display: block;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.rev-metric-lbl {
  font-size: 10.5px;
  color: #a5b4fc;
  font-weight: 600;
}

.btn-payout {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.9) 100%);
  backdrop-filter: blur(16px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.7);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-payout:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.45);
}

/* Affiliate Card (iOS 27 Liquid Glass) */
.affiliate-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(25, 39, 80, 0.05), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9);
}

body.theme-dark .affiliate-card {
  background: rgba(15, 23, 42, 0.48) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.12) !important;
}

.affiliate-header {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.affiliate-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 201, 167, 0.14);
  color: #00a896;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.affiliate-title {
  font-size: 16px;
  font-weight: 800;
  color: #192750;
  margin: 0 0 3px 0;
}

body.theme-dark .affiliate-title {
  color: #ffffff;
}

.affiliate-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

body.theme-dark .affiliate-desc {
  color: #94a3b8;
}

.ref-input-wrapper {
  display: flex;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

body.theme-dark .ref-input-wrapper {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

.ref-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 14px;
  color: #00a896;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  outline: none;
}

body.theme-dark .ref-input {
  color: #00f2fe;
}

.copy-ref-btn {
  background: rgba(0, 168, 150, 0.12);
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  color: #00a896;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-ref-btn:hover {
  background: #00a896;
  color: #ffffff;
}

.affiliate-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.aff-num {
  display: block;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.aff-lbl {
  font-size: 10px;
  color: var(--text-muted);
}

/* Payment Methods & Invoices */
.payment-methods-list, .invoices-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pm-item, .inv-item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pm-left, .inv-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pm-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
}

.pm-title, .inv-title {
  font-size: 14px;
  font-weight: 700;
}

.pm-sub, .inv-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Settings */
/* Settings Profile Hero Master Card */
.profile-card,
.profile-card-master {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  background: var(--surface-card) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  border-radius: var(--radius-lg) !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 10px 28px rgba(25, 39, 80, 0.05), inset 0 1px 1px #fff !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

body.theme-dark .profile-card,
body.theme-dark .profile-card-master {
  background: rgba(14, 20, 27, 0.75) !important;
  border-color: rgba(45, 155, 136, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}

/* Master Top Row: Large Avatar + Meta Information */
.pcm-top-row {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin-bottom: 14px !important;
}

.pcm-avatar-wrapper {
  position: relative !important;
  width: 76px !important;
  height: 76px !important;
  flex-shrink: 0 !important;
}

.pcm-avatar-circle,
.profile-avatar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #0284c7 0%, #00a896 100%) !important;
  border: 2px solid rgba(45, 155, 136, 0.35) !important;
  box-shadow: 0 8px 24px rgba(0, 168, 150, 0.3) !important;
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.pcm-online-pulse {
  position: absolute !important;
  bottom: -2px !important;
  right: -2px !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  border: 2.5px solid #0e141b !important;
  box-shadow: 0 0 10px #10b981 !important;
}

body.theme-light .pcm-online-pulse {
  border-color: #ffffff !important;
}

.pcm-meta-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.pcm-name-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.pcm-name,
.profile-name {
  font-size: clamp(16px, 1.2vw, 19px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

body.theme-light .pcm-name,
body.theme-light .profile-name {
  color: #0f172a !important;
}

.pcm-auth-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #10b981 !important;
  padding: 1.5px 7px !important;
  border-radius: 9999px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.pcm-email-text,
.profile-email {
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.theme-light .pcm-email-text,
body.theme-light .profile-email {
  color: #64748b !important;
}

.pcm-badges-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 2px !important;
}

.profile-uid-pill {
  font-size: 10px !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  background: rgba(2, 132, 199, 0.14) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.28) !important;
  padding: 1.5px 6px !important;
  border-radius: 6px !important;
  letter-spacing: 0.2px !important;
}

body.theme-dark .profile-uid-pill {
  background: rgba(56, 189, 248, 0.16) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.32) !important;
}

.pcm-tier-tag,
.profile-tier-badge {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  background: rgba(45, 155, 136, 0.14) !important;
  color: #34b39d !important;
  border: 1px solid rgba(45, 155, 136, 0.25) !important;
  padding: 1.5px 7px !important;
  border-radius: 6px !important;
}

body.theme-light .pcm-tier-tag,
body.theme-light .profile-tier-badge {
  color: #1e6b5e !important;
}

/* Master Account Telemetry Grid Filling the Panel */
.pcm-telemetry-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 10px 12px !important;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(45, 155, 136, 0.16) !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

body.theme-light .pcm-telemetry-grid {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.pcm-telemetry-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.pcm-t-lbl {
  font-size: 8.5px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 2px !important;
}

body.theme-light .pcm-t-lbl {
  color: #64748b !important;
}

.pcm-t-val {
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

/* Profile Details Modal Components */
.profile-detail-sheet {
  max-width: 480px;
}

.header-modal-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.14);
  border: 1px solid rgba(2, 132, 199, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-modal-capsule {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(25, 39, 80, 0.06), inset 0 1px 1px #fff;
  margin-bottom: 20px;
}

body.theme-dark .profile-modal-capsule {
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}

.pmc-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.pmc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 168, 150, 0.28);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease;
}

.pmc-avatar:hover {
  transform: scale(1.04);
}

.pmc-avatar img,
.profile-avatar img,
.user-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pmc-avatar-edit-btn {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  z-index: 3;
}

.pmc-avatar-edit-btn:hover {
  background: #00a896;
  transform: scale(1.12);
}

.pmc-avatar-edit-btn .material-symbols-rounded {
  font-size: 13px;
}

.pmc-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  z-index: 2;
}

.pmc-verified-badge .material-symbols-rounded {
  font-size: 13px;
}

/* Quick Avatar Actions Bar */
.profile-avatar-actions-bar {
  display: flex;
  gap: 8px;
  margin-top: -12px;
  margin-bottom: 18px;
}

.btn-avatar-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  color: #192750;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(25, 39, 80, 0.04);
}

body.theme-dark .btn-avatar-action {
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

.btn-avatar-action:hover {
  background: rgba(0, 168, 150, 0.15);
  border-color: #00a896;
  color: #00a896;
  transform: translateY(-1px);
}

.btn-avatar-action .material-symbols-rounded {
  font-size: 15px;
}

.btn-avatar-danger:hover {
  background: rgba(225, 29, 72, 0.12);
  border-color: #e11d48;
  color: #e11d48;
}

/* Preset Avatar Tray */
.preset-avatar-tray {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
  animation: fadeInDown 0.22s ease-out;
}

body.theme-dark .preset-avatar-tray {
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.pat-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.pat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
  gap: 8px;
}

.pat-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

body.theme-dark .pat-item {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

.pat-item:hover {
  transform: scale(1.15);
  background: rgba(0, 168, 150, 0.2);
  border-color: #00a896;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pmc-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pmc-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pmc-name {
  font-size: 17px;
  font-weight: 800;
  color: #192750;
  margin: 0;
}

body.theme-dark .pmc-name {
  color: #ffffff !important;
}

.pmc-tier-pill {
  font-size: 9px;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  padding: 1.5px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pmc-id-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
}

.pmc-id-label {
  color: #64748b;
  font-weight: 600;
}

.pmc-id-val {
  color: #0284c7;
  font-weight: 800;
  background: rgba(2, 132, 199, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

body.theme-dark .pmc-id-val {
  color: #38bdf8 !important;
}

.btn-copy-mini {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-copy-mini:hover {
  color: #00a896;
  transform: scale(1.15);
}

.btn-copy-mini .material-symbols-rounded {
  font-size: 14px;
}

.pmc-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #059669;
  font-weight: 600;
}

/* Profile Form Elements */
.profile-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.profile-form-section-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.profile-field-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(25, 39, 80, 0.03);
}

body.theme-dark .profile-field-card {
  background: rgba(15, 23, 42, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.pfc-icon-col {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 168, 150, 0.12);
  color: #00a896;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pfc-icon-col .material-symbols-rounded {
  font-size: 18px;
}

.pfc-content-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pfc-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pfc-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 800;
  color: #059669;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
}

.pfc-verified-tag .material-symbols-rounded {
  font-size: 11px;
}

.pfc-broker-tag {
  font-size: 9px;
  font-weight: 800;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
}

.pfc-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pfc-input {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #192750;
  outline: none;
  font-family: inherit;
  padding: 0;
}

body.theme-dark .pfc-input {
  color: #ffffff !important;
}

.pfc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(0, 168, 150, 0.14);
  border: 1px solid rgba(0, 168, 150, 0.3);
  border-radius: 6px;
  color: #00a896;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pfc-action-btn:hover {
  background: #00a896;
  color: #ffffff;
}

.pfc-action-btn .material-symbols-rounded {
  font-size: 13px;
}

/* Security & Device Info Box */
.profile-security-box {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 20px;
}

body.theme-dark .profile-security-box {
  background: rgba(15, 23, 42, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.psb-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #192750;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

body.theme-dark .psb-header {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.psb-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.psb-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}

.psb-k {
  color: #64748b;
  font-weight: 600;
}

.psb-v {
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.btn-save-profile {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-save-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 168, 150, 0.35);
}

.settings-group {
  margin-bottom: 20px;
}

.settings-group-title {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.setting-item {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(25, 39, 80, 0.03), inset 0 1px 1px #fff;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.setting-item:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 168, 150, 0.45);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(0, 168, 150, 0.1);
}

.setting-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 168, 150, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00a896;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.setting-info {
  flex: 1;
}

.setting-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #192750;
}

body.theme-dark .setting-name {
  color: #ffffff;
}

.setting-sub {
  font-size: 11.5px;
  color: #64748b;
}

.chevron {
  color: #94a3b8;
  font-size: 18px;
}

/* Account Session & Log Out Badge Card (iOS 27 Liquid Glass) */
.settings-logout-card {
  margin: 28px 0 24px 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 28px rgba(25, 39, 80, 0.04), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9);
}

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

.slc-user-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.slc-device-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  border-radius: 6px;
}

.btn-logout-full {
  width: 100%;
  height: 46px;
  background: rgba(225, 29, 72, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #e11d48;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-logout-full:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.35);
}

.logout-hint-text {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  margin: 0;
}

.dialog-badge-chip {
  font-size: 10px;
  font-weight: 800;
  color: #e11d48;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.25);
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* ==========================================================================
   MACOS-STYLE FLOATING BOTTOM DOCK (AFTER LOGGED IN)
   ========================================================================== */
/* ==========================================================================
   FINTECH CAPSULE BOTTOM DOCK (CROSS-PLATFORM SPACIOUS & AUTO-SIZING ENGINE)
   ========================================================================== */
/* ==========================================================================
   NEW IOS FULLY TRANSPARENT LIQUID GLASS FLOATING BOTTOM DOCK
   ========================================================================== */
.bottom-nav {
  display: none !important;
  position: fixed !important;
  bottom: max(20px, env(safe-area-inset-bottom, 20px)) !important;
  left: 50% !important;
  transform: translateX(-50%) translateZ(0) !important;
  -webkit-transform: translateX(-50%) translateZ(0) !important;
  width: auto !important;
  min-width: 440px !important;
  max-width: 92vw !important;
  height: 68px !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(40px) saturate(220%) brightness(112%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(112%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 999px !important;
  justify-content: space-evenly !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 6px 20px !important;
  z-index: 1000 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.15), inset 0 1.5px 2px rgba(255, 255, 255, 0.65), inset 0 -1px 1px rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.logged-in .bottom-nav {
  display: flex !important;
}

body.theme-dark .bottom-nav {
  background: rgba(14, 20, 27, 0.38) !important;
  backdrop-filter: blur(45px) saturate(220%) brightness(115%) !important;
  -webkit-backdrop-filter: blur(45px) saturate(220%) brightness(115%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.25), inset 0 -1px 1px rgba(255, 255, 255, 0.05) !important;
}

.nav-item {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex: 1 !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}

.nav-item:hover {
  transform: translateY(-2px) scale(1.04) !important;
}

/* Inactive Icon Badge: Frosted Glass Squircle */
.nav-icon-badge {
  position: relative !important;
  width: 42px !important;
  height: 32px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

body.theme-dark .nav-icon-badge {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
}

.nav-icon {
  font-size: 20px !important;
  color: #1e293b !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-dark .nav-icon {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Inactive Text Label */
.nav-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin-top: 3px !important;
  transition: all 0.25s ease !important;
  letter-spacing: 0.1px !important;
}

body.theme-dark .nav-label {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* ACTIVE DOCK ITEM: Glowing Liquid Glass Specular Capsule */
.nav-item.active .nav-icon-badge {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.32) 0%, rgba(45, 155, 136, 0.45) 100%) !important;
  border: 1px solid rgba(0, 242, 254, 0.75) !important;
  width: 48px !important;
  height: 32px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.45), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.8) !important;
}

body.theme-dark .nav-item.active .nav-icon-badge {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.35) 0%, rgba(45, 155, 136, 0.5) 100%) !important;
  border-color: rgba(0, 242, 254, 0.8) !important;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.5), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.7) !important;
}

.nav-item.active .nav-icon {
  color: #00f2fe !important;
  font-weight: 800 !important;
  transform: scale(1.08) !important;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6)) !important;
}

body.theme-dark .nav-item.active .nav-icon {
  color: #00f2fe !important;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.75)) !important;
}

.nav-item.active .nav-label {
  color: #0f766e !important;
  font-weight: 800 !important;
}

body.theme-dark .nav-item.active .nav-label {
  color: #00f2fe !important;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.nav-item.active::after {
  display: none !important;
}

.nav-icon {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item.active .nav-icon {
  transform: translateY(-1px) scale(1.08);
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 2px;
  max-height: 14px;
  opacity: 0.95;
  transition: all 0.2s ease;
  overflow: hidden;
  white-space: nowrap;
  display: block;
}

.nav-item.active .nav-label {
  font-weight: 800;
  opacity: 1;
}

.nav-badge {
  position: absolute;
  top: 1px;
  right: 14px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45);
}

.nav-item-cta {
  margin-top: -22px;
}

.cta-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-indigo));
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-cyan);
  font-weight: 800;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  color: #07090e;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-lg {
  padding: 14px 20px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

/* Modals & Bottom Sheets */
.modal-backdrop,
.web3-modal-backdrop,
.modal-backdrop.modal-dialog-mode {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100% !important;
  height: 100dvh !important;
  min-height: -webkit-fill-available !important;
  background: rgba(8, 12, 18, 0.82) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  display: none;
  justify-content: center !important;
  align-items: center !important;
  z-index: 99999999 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.modal-backdrop.active,
.web3-modal-backdrop.active,
.modal-backdrop.modal-dialog-mode.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Uniform Modal Sheets (Profile, Checkout, Topup, Web3 Vault, Details, etc.) */
.modal-sheet,
.web3-modal-container {
  width: 100% !important;
  max-width: 520px !important;
  max-height: calc(90dvh - env(safe-area-inset-top, 0px)) !important;
  background: rgba(20, 29, 41, 0.94) !important;
  backdrop-filter: blur(36px) saturate(210%) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) !important;
  border: 1.5px solid rgba(45, 155, 136, 0.3) !important;
  border-radius: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 30px rgba(45, 155, 136, 0.15) !important;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: auto !important;
  position: relative !important;
  z-index: 100000000 !important;
  box-sizing: border-box !important;
}

body.theme-light .modal-sheet,
body:not(.theme-dark) .modal-sheet,
body.theme-light .web3-modal-container,
body:not(.theme-dark) .web3-modal-container {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1.5px solid rgba(45, 155, 136, 0.25) !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15), 0 0 25px rgba(45, 155, 136, 0.1) !important;
  color: #0f172a !important;
}

@media (max-width: 600px) {
  .modal-backdrop {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .modal-sheet,
  .web3-modal-container {
    max-width: 100% !important;
    border-radius: 28px 28px 0 0 !important;
    animation: slideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin: 0 !important;
    max-height: 88dvh !important;
  }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0.8; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes popIn {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.sheet-handle {
  width: 40px;
  height: 4.5px;
  background: rgba(100, 116, 139, 0.35);
  border-radius: 4px;
  margin: 12px auto 6px;
  flex-shrink: 0;
}

.modal-header {
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(45, 155, 136, 0.2);
  background: rgba(14, 20, 27, 0.6);
  backdrop-filter: blur(20px);
  flex-shrink: 0;
}

body.theme-light .modal-header,
body:not(.theme-dark) .modal-header {
  background: rgba(248, 250, 252, 0.8) !important;
  border-bottom-color: rgba(45, 155, 136, 0.15) !important;
}

.modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: rgba(100, 116, 139, 0.25);
  color: var(--text-primary);
}

.modal-body {
  padding: 20px 22px calc(28px + env(safe-area-inset-bottom, 16px));
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  flex: 1 1 auto;
}

/* Dedicated Dialog / Alert / Confirmation Popups (Bind MT5, Logout, PIN, etc.) */
.modal-dialog-card {
  width: 100% !important;
  max-width: 480px !important;
  background: rgba(20, 29, 41, 0.96) !important;
  backdrop-filter: blur(36px) saturate(210%) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) !important;
  border: 1.5px solid rgba(45, 155, 136, 0.35) !important;
  border-radius: 24px !important;
  padding: 28px 24px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(45, 155, 136, 0.18) !important;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: auto !important;
  position: relative !important;
  z-index: 100000000 !important;
  box-sizing: border-box !important;
}

body.theme-light .modal-dialog-card,
body:not(.theme-dark) .modal-dialog-card {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(45, 155, 136, 0.25) !important;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.15) !important;
}

body.theme-dark .modal-dialog-card {
  background: rgba(20, 29, 41, 0.96) !important;
  border: 1.5px solid rgba(45, 155, 136, 0.35) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.08) !important;
}

.dialog-icon-wrapper {
  width: 68px !important;
  height: 68px !important;
  border-radius: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
  flex-shrink: 0 !important;
}

.dialog-icon-danger {
  background: rgba(225, 29, 72, 0.14) !important;
  color: #e11d48 !important;
  border: 1.5px solid rgba(225, 29, 72, 0.35) !important;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

.dialog-icon-danger .material-symbols-rounded {
  font-size: 34px !important;
  color: #e11d48 !important;
}

body.theme-dark .dialog-icon-danger {
  background: rgba(225, 29, 72, 0.2) !important;
  border-color: rgba(225, 29, 72, 0.5) !important;
  color: #fb7185 !important;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

body.theme-dark .dialog-icon-danger .material-symbols-rounded {
  color: #fb7185 !important;
}

.dialog-icon-warning {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #d97706 !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

.dialog-icon-success {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #059669 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

.dialog-badge-chip {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  color: #e11d48 !important;
  background: rgba(225, 29, 72, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(225, 29, 72, 0.3) !important;
  padding: 3px 12px !important;
  border-radius: 999px !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 12px !important;
  text-transform: uppercase !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

body.theme-dark .dialog-badge-chip {
  color: #fb7185 !important;
  background: rgba(225, 29, 72, 0.2) !important;
  border-color: rgba(225, 29, 72, 0.4) !important;
}

.dialog-title {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.4px !important;
}

body.theme-dark .dialog-title {
  color: #ffffff !important;
}

.dialog-desc {
  font-size: 14px !important;
  color: #334155 !important;
  line-height: 1.55 !important;
  margin: 0 0 26px 0 !important;
  font-weight: 500 !important;
}

body.theme-dark .dialog-desc {
  color: #cbd5e1 !important;
}

.dialog-actions-row {
  display: flex !important;
  gap: 12px !important;
  width: 100% !important;
}

.dialog-btn-cancel {
  flex: 1 !important;
  padding: 13px 18px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  color: #192750 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(25, 39, 80, 0.05), inset 0 1px 1px #fff !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dialog-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 8px 20px rgba(25, 39, 80, 0.1) !important;
}

body.theme-dark .dialog-btn-cancel {
  background: rgba(30, 41, 59, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}

body.theme-dark .dialog-btn-cancel:hover {
  background: rgba(51, 65, 85, 0.9) !important;
  color: #ffffff !important;
}

.dialog-btn-danger {
  flex: 1.2 !important;
  padding: 13px 18px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
  backdrop-filter: blur(20px) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.45), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.6) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dialog-btn-danger:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.55), inset 0 1.5px 1.5px #fff !important;
}

/* ======================================================== */
/* ADMIN CRM PIN LOCK SECURITY GATE STYLES (PIN: 9633)      */
/* ======================================================== */
.admin-lock-card {
  max-width: 360px !important;
}

.admin-lock-shield-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(244, 63, 94, 0.2));
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.18);
}

.admin-lock-shield-icon .material-symbols-rounded {
  font-size: 32px;
  color: #ef4444;
}

.admin-pin-wrapper {
  width: 100%;
  margin: 14px 0 12px 0;
}

.admin-pin-input {
  width: 100%;
  height: 48px;
  text-align: center;
  font-size: 24px;
  letter-spacing: 12px;
  font-weight: 800;
  color: #0f172a;
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.admin-pin-input:focus {
  border-color: #ef4444;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

body.theme-dark .admin-pin-input {
  background: #162444;
  border-color: rgba(51, 65, 85, 0.8);
  color: #f8fafc;
}

body.theme-dark .admin-pin-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35);
}

.admin-numpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.num-btn {
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #192750;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(25, 39, 80, 0.04);
}

.num-btn:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.num-btn:active {
  transform: scale(0.95);
  background: #cbd5e1;
}

.num-btn-action {
  font-size: 14px;
  color: #64748b;
  font-weight: 800;
}

body.theme-dark .num-btn {
  background: #162444;
  border-color: rgba(51, 65, 85, 0.8);
  color: #f8fafc;
}

body.theme-dark .num-btn:hover {
  background: #1e293b;
}

body.theme-dark .num-btn:active {
  background: #0f172a;
}

.btn-lock-crm-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-lock-crm-pill:hover {
  background: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.btn-admin-unlock {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35) !important;
}

.btn-admin-unlock:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
}

/* Checkout Plan Selector - Perfectly Aligned Rows (iOS 27 Liquid Glass) */
.plan-options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.plan-card-option {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(25, 39, 80, 0.03), inset 0 1px 1px #fff;
}

.plan-card-option:hover {
  border-color: rgba(0, 168, 150, 0.45);
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1.5px);
}

.plan-card-option.selected {
  border-color: #00a896;
  background: rgba(0, 168, 150, 0.12);
  box-shadow: 0 4px 16px rgba(0, 168, 150, 0.2), inset 0 1px 1px #fff;
}

.plan-option-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.plan-card-option.selected .plan-radio-dot {
  border-color: var(--brand-cyan);
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
}

.plan-radio-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #07090e;
  opacity: 0;
}

.plan-card-option.selected .plan-radio-dot::after {
  opacity: 1;
}

.plan-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-name {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--color-success);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

.plan-subtext {
  font-size: 10.5px;
  color: var(--text-muted);
}

.plan-price-tag {
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--brand-cyan);
  white-space: nowrap;
}

.payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pay-tab {
  flex: 1;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.pay-tab.active {
  border-color: var(--brand-cyan);
  background: var(--surface-elevated);
  color: var(--text-primary);
  font-weight: 700;
}

.pay-tab-content {
  display: none;
}

.pay-tab-content.active {
  display: block;
}

/* 3D Card Preview */
.card-preview {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 18px;
  color: #fff;
  position: relative;
  box-shadow: var(--shadow-md);
  margin-bottom: 18px;
  overflow: hidden;
}

.card-chip {
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  border-radius: 6px;
  margin-bottom: 16px;
}

.card-brand {
  position: absolute;
  top: 18px;
  right: 18px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  font-style: italic;
}

.card-number-display {
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.card-footer-row {
  display: flex;
  justify-content: space-between;
}

.card-lbl {
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.card-val {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Forms */
.form-group {
  margin-bottom: 14px;
}

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

.col-half { flex: 1; }
.col-third { flex: 1; }

.form-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.label-hint {
  color: var(--brand-cyan);
  font-weight: 500;
  font-size: 11px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-cyan);
}

.font-mono { font-family: var(--font-mono) !important; }
.font-xs { font-size: 11px !important; }

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
}

.input-with-icon input {
  padding-left: 38px;
}

.copy-inside-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Crypto QR Container */
.crypto-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #080b12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin: 12px 0;
}

.qr-code-box {
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.qr-pulse-badge {
  font-size: 11px;
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.crypto-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 8px;
}

/* Digital Wallet Box */
.digital-wallet-box {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}

.wallet-hero-icon {
  font-size: 40px;
  color: var(--brand-cyan);
  margin-bottom: 8px;
}

.checkout-summary-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 18px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.summary-row.total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: 8px;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--text-primary);
}

.summary-total {
  font-size: 18px;
  font-family: var(--font-mono);
  color: var(--brand-cyan);
}

/* Toast Container (Ultra High Priority Floating HUD - iOS 27 Liquid Glass) */
.toast-container {
  position: fixed !important;
  top: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 999999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  pointer-events: none !important;
  width: 90% !important;
  max-width: 460px !important;
}

.toast {
  pointer-events: auto !important;
  width: auto !important;
  max-width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 13px 22px !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(36px) saturate(220%) brightness(108%) !important;
  -webkit-backdrop-filter: blur(36px) saturate(220%) brightness(108%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.22), inset 0 1.5px 1.5px #ffffff, inset 0 -1px 1px rgba(255, 255, 255, 0.4) !important;
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.35s cubic-bezier(0.16, 1, 0.3, 1) 3.6s forwards !important;
}

body.theme-dark .toast {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  color: #f8fafc !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.18) !important;
}

.toast.toast-success {
  border-color: rgba(16, 185, 129, 0.7) !important;
  box-shadow: 0 16px 45px rgba(16, 185, 129, 0.28), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9) !important;
}

.toast.toast-danger {
  border-color: rgba(225, 29, 72, 0.7) !important;
  box-shadow: 0 16px 45px rgba(225, 29, 72, 0.28), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9) !important;
}

.toast.toast-info {
  border-color: rgba(2, 132, 199, 0.7) !important;
  box-shadow: 0 16px 45px rgba(2, 132, 199, 0.25), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9) !important;
}

.toast.toast-warning {
  border-color: rgba(245, 158, 11, 0.7) !important;
  box-shadow: 0 16px 45px rgba(245, 158, 11, 0.25), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9) !important;
}

.toast-icon-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-16px) scale(0.92); }
}

/* ======================================================== */
/* WALLET & TOP-UP SYSTEM STYLES                            */
/* ======================================================== */
.topup-plus-pill {
  background: var(--brand-gradient);
  color: #030816;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.wallet-hero-card {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(79, 172, 254, 0.03) 100%), #0c101a;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.wallet-hero-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

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

.wallet-hero-lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.wallet-hero-amount {
  font-size: 26px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #ffffff;
  margin-top: 2px;
}

.btn-topup-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-gradient);
  color: #030816;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-topup-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 242, 254, 0.4);
}

.wallet-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.wallet-hero-note .note-icon {
  font-size: 15px;
  color: var(--color-success);
}

/* Topup Modal Elements */
.wallet-balance-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.wb-lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}

.wb-amount {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--brand-cyan);
}

.wb-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.amount-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.3);
  color: #fff;
}

.preset-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.topup-tab-content {
  display: none;
  margin-top: 14px;
}

.topup-tab-content.active {
  display: block;
}

/* Wallet Payment Breakdown inside Checkout Modal */
.wallet-payment-summary-card {
  background: #0b0f19;
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.wps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.wps-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.wps-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-success);
}

.wps-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.wps-total-row {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  margin-top: 8px;
  font-weight: 800;
  color: #fff;
}

.shortfall-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  margin-top: 10px;
}

.shortfall-alert .alert-icon {
  font-size: 18px;
  color: #ef4444;
}

/* ======================================================== */
/* BEP-20 (BNB SMART CHAIN) CRYPTO SYSTEM STYLES           */
/* ======================================================== */
.bsc-coin-badge {
  background: #F0B90B;
  color: #000;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.bsc-badge-chip {
  background: rgba(240, 185, 11, 0.15);
  border: 1px solid rgba(240, 185, 11, 0.35);
  color: #F0B90B;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.bep20-banner {
  border-color: rgba(240, 185, 11, 0.3);
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.bep20-deposit-box {
  background: #090c14;
  border: 1px solid rgba(240, 185, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 12px;
}

.bep20-network-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.25);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #ffffff;
}

.bep20-hero-card {
  border-color: rgba(240, 185, 11, 0.3);
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.08) 0%, rgba(0, 242, 254, 0.02) 100%), #0c101a;
}

.bep20-summary-card {
  border-color: rgba(240, 185, 11, 0.25);
}

/* ======================================================== */
/* PAYMENT SUCCESS & GTCFX WHATSAPP MODAL STYLES            */
/* ======================================================== */
.success-sheet {
  max-width: 480px;
}

.success-hero-header {
  text-align: center;
  padding: 10px 0 16px 0;
}

.success-check-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10B981;
  font-size: 32px;
  animation: scaleBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleBounce {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.success-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.success-receipt-card {
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

.src-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.src-bot-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.src-plan-name {
  font-size: 11px;
  color: var(--brand-cyan);
  display: block;
  margin-top: 2px;
}

.src-status-pill {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.src-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.src-item {
  display: flex;
  flex-direction: column;
}

.src-lbl {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.src-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.success-license-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(240, 185, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.license-copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.license-code {
  font-size: 13px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
}

.btn-copy-code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* GTCfx Section */
.gtcfx-step-card {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(12, 16, 26, 0.9) 100%);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

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

.gtcfx-logo-badge {
  background: #EAB308;
  color: #000;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.8px;
}

.gtcfx-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.gtcfx-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* WhatsApp CTA */
.whatsapp-action-box {
  margin-top: 8px;
}

.wa-target-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.wa-icon {
  flex-shrink: 0;
}

/* ======================================================== */
/* CLEAN MINIMALIST DUAL-SCREEN AUTH (MATCHING EXACT IMAGE) */
/* ======================================================== */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background: transparent !important;
  background-attachment: fixed !important;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.35s ease;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  padding: 0;
  box-sizing: border-box;
}

body.theme-dark .auth-overlay,
.theme-dark .auth-overlay {
  background: transparent !important;
  background-attachment: fixed !important;
}

.auth-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Full-Screen Faded Trading Chart Removal */
.auth-fullscreen-faded-chart {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   UNIVERSAL COMPANY LANDING WEBSITE & HERO EXPLANATIONS (Mobile, PC, 2K, 4K)
   ========================================================================== */
.desktop-company-landing {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 100dvh;
  min-height: calc(var(--vh, 1vh) * 100);
  overflow-x: hidden;
  overflow-y: visible !important;
  position: relative;
  z-index: 10;
  background: transparent !important;
  color: #192750;
  box-sizing: border-box;
}

body.theme-dark .desktop-company-landing {
  background: transparent !important;
  color: #f8fafc;
}

.desktop-login-modal-backdrop {
  display: none;
}

/* Universal Base Landing Page Component Styles */
.mobile-auth-only {
  display: none !important;
}

  /* Landing Header (Executive Royal Emerald & Obsidian FinTech) */
  .landing-header {
    width: 100%;
    height: 72px;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04) !important;
  }

  body.theme-dark .landing-header {
    background: rgba(11, 19, 41, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5) !important;
  }

  .landing-header-inner {
    max-width: 1360px;
    margin: 0 auto;
    width: 100%;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }

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

  .landing-brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 168, 150, 0.3));
  }

  .landing-brand-title {
    font-family: var(--font-logo) !important;
    font-size: 17px;
    font-weight: 800;
    color: #192750;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  body.theme-dark .landing-brand-title {
    color: #ffffff;
  }

  .landing-brand-badge {
    background: linear-gradient(135deg, #00a896, #0284c7);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 168, 150, 0.3);
  }

  .landing-brand-sub {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
  }

  body.theme-dark .landing-brand-sub {
    color: #94a3b8;
  }

  .landing-nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .landing-nav-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 6px 12px;
    border-radius: 999px;
  }

  body.theme-dark .landing-nav-link {
    color: #cbd5e1;
  }

  .landing-nav-link:hover {
    color: #00a896;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
  }

  body.theme-dark .landing-nav-link:hover {
    color: #00f2fe;
    background: rgba(255, 255, 255, 0.08);
  }

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

  .btn-landing-corner-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(0, 168, 150, 0.88) 0%, rgba(2, 132, 199, 0.88) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 168, 150, 0.3), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.75);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .btn-landing-corner-login:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(0, 168, 150, 0.45), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.9);
  }

  .btn-landing-corner-login .material-symbols-rounded {
    font-size: 18px;
  }

  /* Landing Scroll Body */
  .landing-scroll-body {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
  }

  /* HERO SECTION */
  .landing-hero-section {
    padding: 60px 28px 80px 28px;
    max-width: 1360px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .landing-hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }

  .landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #059669;
    margin-bottom: 18px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
  }

  body.theme-dark .landing-hero-badge {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
  }

  .landing-hero-title {
    font-family: var(--font-heading) !important;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 18px 0;
  }

  body.theme-dark .landing-hero-title {
    color: #ffffff;
  }

  .landing-text-highlight {
    background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  body.theme-dark .landing-text-highlight {
    background: linear-gradient(135deg, #10b981 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .landing-hero-desc {
    font-family: var(--font-sans) !important;
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 28px 0;
    max-width: 580px;
  }

  body.theme-dark .landing-hero-desc {
    color: #94a3b8;
  }

  .landing-hero-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(135deg, rgba(0, 168, 150, 0.90) 0%, rgba(2, 132, 199, 0.90) 100%);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.85);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(2, 132, 199, 0.45), inset 0 1.5px 1.5px #fff;
  }

  .btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #0284c7;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(25, 39, 80, 0.05), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9);
    transition: all 0.22s ease;
  }

  body.theme-dark .btn-hero-secondary {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(255, 255, 255, 0.16);
    color: #38bdf8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  }

  .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
  }

  /* Metrics Grid (iOS 27 Liquid Glass) */
  .landing-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .landing-metric-card {
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 8px 24px rgba(25, 39, 80, 0.04), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.85);
  }

  body.theme-dark .landing-metric-card {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  }

  .lmc-val {
    display: block;
    font-family: var(--font-logo) !important;
    font-size: 22px;
    font-weight: 900;
    color: #192750;
    margin-bottom: 2px;
  }

  body.theme-dark .lmc-val {
    color: #00f2fe;
  }

  .lmc-lbl {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    line-height: 1.3;
  }

  body.theme-dark .lmc-lbl {
    color: #94a3b8;
  }

  /* Showcase Card (Right Col) (iOS 27 Translucent Glass) */
  .landing-showcase-card {
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(36px) saturate(210%) brightness(105%);
    -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(105%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 26px;
    box-shadow: 0 20px 60px rgba(25, 39, 80, 0.08), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
  }

  body.theme-dark .landing-showcase-card {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.16);
  }

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

  .lsc-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .lsc-bot-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #192750;
  }

  body.theme-dark .lsc-bot-tag {
    color: #cbd5e1;
  }

  .lsc-badge-live {
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
  }

  .lsc-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  /* Welcome Screen FinTech Chips Grid */
  .welcome-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 14px 0 18px 0;
    width: 100%;
  }

  .welcome-metric-chip {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px;
    padding: 8px 6px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  }

  body.theme-dark .welcome-metric-chip {
    background: rgba(17, 27, 49, 0.95) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .wmc-val {
    display: block;
    font-family: var(--font-logo) !important;
    font-size: 14px;
    font-weight: 900;
    color: #059669;
  }

  body.theme-dark .wmc-val {
    color: #10b981;
  }

  .wmc-lbl {
    font-size: 9.5px;
    font-weight: 700;
    color: #64748b;
  }

  body.theme-dark .wmc-lbl {
    color: #94a3b8;
  }

  .lsc-asset {
    font-size: 18px;
    font-weight: 800;
    color: #192750;
  }

  body.theme-dark .lsc-asset {
    color: #ffffff;
  }

  .lsc-asset .sub-text {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-left: 4px;
  }

  .lsc-price {
    font-size: 24px;
    font-weight: 900;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .profit-chip {
    font-size: 12px;
    font-weight: 800;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    padding: 2px 6px;
    border-radius: 6px;
  }

  .lsc-signal-box {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    padding: 14px 16px;
    margin-bottom: 16px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.85);
  }

  body.theme-dark .lsc-signal-box {
    background: rgba(30, 41, 59, 0.45);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .lsc-sb-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 10px;
    letter-spacing: 0.4px;
  }

  .lsc-trade-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
  }

  body.theme-dark .lsc-trade-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  .lsc-trade-item:last-child {
    border-bottom: none;
  }

  .trade-side.buy {
    background: #10b981;
    color: #fff;
    font-size: 9.5px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
  }

  .trade-info {
    font-weight: 600;
    color: #334155;
  }

  body.theme-dark .trade-info {
    color: #cbd5e1;
  }

  .trade-profit {
    color: #059669;
    font-weight: 800;
  }

  body.theme-dark .trade-profit {
    color: #34d399;
  }

  .lsc-bottom-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .lsc-chip {
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #192750;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: inset 0 1px 1px #fff;
  }

  body.theme-dark .lsc-chip {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
  }

  /* SECTIONS */
  .landing-section {
    padding: 70px 28px;
    max-width: 1360px;
    margin: 0 auto;
    box-sizing: border-box;
  }

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

  .landing-section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(2, 132, 199, 0.3);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
  }

  .landing-section-title {
    font-family: var(--font-logo) !important;
    font-size: 36px;
    font-weight: 900;
    color: #192750;
    margin: 0 0 12px 0;
    letter-spacing: -0.8px;
  }

  body.theme-dark .landing-section-title {
    color: #ffffff;
  }

  .landing-section-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
  }

  body.theme-dark .landing-section-desc {
    color: #94a3b8;
  }

  /* Features Grid - Institutional Order Flow Architecture (iOS 27 Liquid Glass) */
  .landing-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 24px;
  }

  .landing-feature-card {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(0, 168, 150, 0.25);
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 10px 30px rgba(25, 39, 80, 0.05), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.85);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
  }

  body.theme-dark .landing-feature-card {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(0, 201, 167, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  }

  .landing-feature-card:hover {
    transform: translateY(-4px);
    border-color: #00a896;
    box-shadow: 0 18px 42px rgba(0, 168, 150, 0.18), inset 0 1.5px 1.5px #fff;
  }

  body.theme-dark .landing-feature-card:hover {
    border-color: #00c9a7;
    box-shadow: 0 18px 42px rgba(0, 201, 167, 0.24);
  }

  .lfc-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(0, 168, 150, 0.12);
    color: #00a896;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
  }

  body.theme-dark .lfc-icon-box {
    background: rgba(0, 201, 167, 0.18);
    color: #00c9a7;
  }

  .lfc-icon-box .material-symbols-rounded {
    font-size: 28px;
  }

  .lfc-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.3;
  }

  body.theme-dark .lfc-title {
    color: #f8fafc;
  }

  .lfc-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    flex: 1;
  }

  body.theme-dark .lfc-desc {
    color: #94a3b8;
  }

  .lfc-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
  }

  body.theme-dark .lfc-desc {
    color: #94a3b8;
  }

  /* Plans Grid (iOS 27 Liquid Glass 4 Plan Cards) */
  .landing-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
  }

  .landing-plan-card {
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(32px) saturate(210%);
    -webkit-backdrop-filter: blur(32px) saturate(210%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 12px 36px rgba(25, 39, 80, 0.06), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.theme-dark .landing-plan-card {
    background: rgba(15, 23, 42, 0.48);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.15);
  }

  .landing-plan-card.popular {
    border-color: #00a896;
    box-shadow: 0 16px 48px rgba(0, 168, 150, 0.2), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
    transform: scale(1.02);
  }

  .lpc-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00a896, #0284c7);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: 999px;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 14px rgba(0, 168, 150, 0.35);
  }

  .lpc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .lpc-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 1px #fff;
  }

  body.theme-dark .lpc-icon-circle {
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .lpc-name {
    font-size: 16.5px;
    font-weight: 800;
    color: #192750;
    margin: 0;
  }

  body.theme-dark .lpc-name {
    color: #ffffff;
  }

  .lpc-period {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
  }

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

  .lpc-price {
    font-size: 32px;
    font-weight: 900;
    color: #192750;
  }

  body.theme-dark .lpc-price {
    color: #ffffff;
  }

  .lpc-duration {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
  }

  .save-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 4px;
  }

  .lpc-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .lpc-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
  }

  body.theme-dark .lpc-features-list li {
    color: #cbd5e1;
  }

  .lpc-features-list li .check {
    font-size: 16px;
    color: #10b981;
  }

  .btn-plan-select {
    width: 100%;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #192750;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(25, 39, 80, 0.04), inset 0 1px 1px #fff;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.theme-dark .btn-plan-select {
    background: rgba(30, 41, 59, 0.55);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  }

  .btn-plan-select.btn-popular,
  .btn-plan-select:hover {
    background: linear-gradient(135deg, rgba(0, 168, 150, 0.88) 0%, rgba(2, 132, 199, 0.88) 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(0, 168, 150, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.75);
    transform: translateY(-2px);
  }

  /* GTCfx Banner (iOS 27 Liquid Glass) */
  .landing-gtcfx-banner {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.18) 0%, rgba(0, 201, 167, 0.16) 100%);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-sizing: border-box;
    box-shadow: 0 16px 48px rgba(2, 132, 199, 0.10), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9);
  }

  body.theme-dark .landing-gtcfx-banner {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.16) 0%, rgba(0, 201, 167, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.15);
  }

  .lgb-left {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 780px;
  }

  .lgb-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0284c7, #00f2fe);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.7);
  }

  .lgb-icon-box .material-symbols-rounded {
    font-size: 32px;
  }

  .lgb-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #0284c7;
    letter-spacing: 0.6px;
  }

  .lgb-title {
    font-size: 22px;
    font-weight: 900;
    color: #192750;
    margin: 4px 0 6px 0;
  }

  body.theme-dark .lgb-title {
    color: #ffffff;
  }

  .lgb-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
  }

  body.theme-dark .lgb-desc {
    color: #cbd5e1;
  }

  .btn-gtcfx-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.9) 0%, rgba(0, 168, 150, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.75);
    transition: all 0.22s ease;
  }

  .btn-gtcfx-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(2, 132, 199, 0.45), inset 0 1.5px 1.5px #fff;
  }

  /* Landing Footer */
  .landing-footer {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.75);
    padding: 28px 28px;
    box-sizing: border-box;
  }

  body.theme-dark .landing-footer {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.1);
  }

  body.theme-dark .landing-footer {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .landing-footer-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .lfi-brand {
    font-family: var(--font-logo) !important;
    font-size: 15px;
    font-weight: 900;
    color: #192750;
    margin-bottom: 4px;
  }

  body.theme-dark .lfi-brand {
    color: #ffffff;
  }

  .lfi-copy {
    font-size: 12px;
    color: #64748b;
    margin: 0;
  }

  .lfi-right {
    display: flex;
    gap: 12px;
  }

  .lfi-badge {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  body.theme-dark .lfi-badge {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
  }

  /* Universal Sign-In Modal (Guaranteed High-Visibility) */
  .desktop-login-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.68) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    z-index: 99999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease !important;
  }

  .desktop-login-modal-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .desktop-login-modal-card {
    background: #ffffff !important;
    border-radius: 32px !important;
    padding: 36px 32px 30px 32px !important;
    max-width: 430px !important;
    width: 100% !important;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.9) !important;
    position: relative !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    animation: modalPopIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
  }

  body.theme-dark .desktop-login-modal-card {
    background: #0f1c36 !important;
    border-color: rgba(51, 65, 85, 0.8) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  }

  .btn-close-desktop-login {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
  }

  body.theme-dark .btn-close-desktop-login {
    background: #1e293b;
    color: #cbd5e1;
  }

  .btn-close-desktop-login:hover {
    background: #e2e8f0;
    color: #192750;
    transform: scale(1.06);
  }

  .dlm-header {
    text-align: center;
    margin-bottom: 24px;
  }

  .dlm-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .dlm-logo {
    height: 28px;
    width: auto;
  }

  .dlm-brand {
    font-size: 13px;
    color: #64748b;
  }

  .dlm-title {
    font-family: var(--font-logo) !important;
    font-size: 22px;
    font-weight: 900;
    color: #192750;
    margin: 0 0 6px 0;
  }

  body.theme-dark .dlm-title {
    color: #ffffff;
  }

  .dlm-sub {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
  }

/* Back to Website Buttons on Auth Screens */
.btn-top-back-landing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #192750;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(25, 39, 80, 0.08);
  transition: all 0.2s;
}

body.theme-dark .btn-top-back-landing {
  background: rgba(17, 29, 53, 0.85);
  border-color: rgba(51, 65, 85, 0.8);
  color: #f8fafc;
}

.btn-top-back-landing:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(25, 39, 80, 0.15);
}

.welcome-top-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.signin-top-actions-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.signin-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #192750;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(25, 39, 80, 0.06);
}

body.theme-dark .signin-back-btn {
  background: rgba(17, 29, 53, 0.85);
  border-color: rgba(51, 65, 85, 0.8);
  color: #f8fafc;
}

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

/* ==========================================================================
   DESKTOP MONITOR SPLIT-SCREEN AUTH VIEW (AI PICS & BOT DETAILS LEFT, LOGIN RIGHT)
   ========================================================================== */
.auth-split-container {
  display: none;
}

.auth-mobile-slides-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.auth-screens-viewport {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 20;
  box-sizing: border-box;
}

/* ==========================================================================
   UNIVERSAL HOME PAGE FIRST ENGINE (Android / iPhone / Chrome / Safari / 2K / 4K)
   ========================================================================== */
.auth-overlay:not(.signin-active) .desktop-company-landing,
.auth-overlay.landing-active .desktop-company-landing {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-height: 100dvh !important;
  min-height: calc(var(--vh, 1vh) * 100) !important;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  position: relative !important;
  z-index: 10 !important;
  flex: 1 0 auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.auth-overlay:not(.signin-active) .auth-screens-viewport,
.auth-overlay.landing-active .auth-screens-viewport {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.auth-overlay.signin-active .desktop-company-landing {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.auth-overlay.signin-active .auth-screens-viewport {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100dvh !important;
  min-height: calc(var(--vh, 1vh) * 100) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  z-index: 10000 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: #f8fafc !important;
}

body.theme-dark .auth-overlay.signin-active .auth-screens-viewport {
  background: #080e1a !important;
}

/* Universal Mobile Phone & Tablet (< 768px & Automatic Mobile Device Detection) */
@media (max-width: 768px), body.mode-mobile, body.device-mobile, body.is-mobile-viewport {
  .auth-overlay {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .auth-overlay.signin-active .auth-split-container {
    display: none !important;
  }

  .auth-overlay.signin-active .auth-mobile-slides-wrapper {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .auth-overlay:not(.signin-active) .desktop-company-landing,
  .auth-overlay.landing-active .desktop-company-landing {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    min-height: calc(var(--vh, 1vh) * 100) !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    box-sizing: border-box !important;
  }

  .auth-overlay.signin-active .desktop-company-landing {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .landing-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10002 !important;
    width: 100% !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  }

  .landing-header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    gap: 8px !important;
  }

  .landing-nav-links {
    display: none !important;
  }

  .landing-brand-col {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .landing-brand-logo {
    height: 30px !important;
    width: auto !important;
  }

  .landing-brand-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .landing-brand-sub {
    display: none !important;
  }

  .landing-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .lang-switch-pill {
    padding: 2px !important;
  }

  .lang-btn {
    padding: 3px 7px !important;
    font-size: 11px !important;
  }

  .btn-landing-corner-login {
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 99px !important;
    min-height: 36px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .landing-scroll-body {
    flex: 1 1 auto !important;
    width: 100% !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    padding: 12px 12px 140px 12px !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .b-magnet-company-profile-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px auto 20px auto !important;
    padding: 18px 14px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  .cmp-header-tag {
    font-size: 10.5px !important;
    padding: 4px 10px !important;
  }

  .cmp-title {
    font-size: 19px !important;
    line-height: 1.35 !important;
  }

  .cmp-lead {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }

  .cmp-features-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 18px !important;
    width: 100% !important;
  }

  .cmp-card {
    padding: 14px 14px !important;
    border-radius: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .landing-hero-section {
    padding: 20px 14px 32px 14px !important;
  }

  .landing-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .landing-hero-title {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .landing-hero-desc {
    font-size: 13.5px !important;
  }

  .landing-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .landing-plans-grid,
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .plan-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .landing-gtcfx-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px 16px !important;
    gap: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .lgb-left {
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* Desktop Monitor View (min-width: 769px) */
@media (min-width: 769px) {


  /* Sign-In Dedicated Full Page Active (Left AI Showcase & Right Dedicated Login Page) */
  .auth-overlay.signin-active .desktop-company-landing {
    display: none !important;
  }
  .auth-overlay.signin-active .auth-screens-viewport {
    display: flex !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100dvh !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .auth-overlay.signin-active .auth-mobile-slides-wrapper {
    display: none !important;
  }

  .auth-overlay.signin-active .auth-split-container {
    display: flex !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    min-height: 100dvh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    gap: 28px !important;
    padding: 24px 36px !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
    animation: fadeIn 0.3s ease;
  }
}

/* Left Area: Bot Details & AI Pics (High Contrast Clean Glass) */
.auth-split-left-area {
  flex: 1.45 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(36px) saturate(210%) brightness(105%) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(105%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 32px !important;
  padding: 26px 30px !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.09), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95) !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

body.theme-dark .auth-split-left-area {
  background: rgba(15, 23, 42, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.16) !important;
}

  .asl-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .asl-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
  }

  body.theme-dark .asl-top-bar {
    border-color: rgba(255, 255, 255, 0.08);
  }

  .asl-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  }

  /* Centered Maximum Size Logo Banner (No Crop, Full Fit) */
  .asl-center-logo-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0 10px 0;
  }

  .asl-main-hero-logo {
    width: 100%;
    max-width: 440px;
    height: auto;
    max-height: 115px;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0, 168, 150, 0.22));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .asl-main-hero-logo:hover {
    transform: scale(1.02);
  }

  .asl-hero-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .asl-badge-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  }

  .asl-badge-text {
    font-size: 11.5px;
    font-weight: 800;
    color: #059669;
    letter-spacing: 0.5px;
  }

  body.theme-dark .asl-badge-text {
    color: #34d399;
  }

  .asl-hero-title {
    font-family: var(--font-logo) !important;
    font-size: 23px;
    font-weight: 900;
    color: #192750;
    margin: 0;
    line-height: 1.25;
  }

  body.theme-dark .asl-hero-title {
    color: #ffffff;
  }

  .asl-hero-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
  }

  body.theme-dark .asl-hero-desc {
    color: #94a3b8;
  }

  /* 🤖 AI Picture Showcase Card (iOS 27 Translucent Glass) */
  .asl-ai-showcase-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    padding: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.85);
  }

  body.theme-dark .asl-ai-showcase-card {
    background: rgba(17, 29, 53, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  }

  .asl-ai-img-wrapper {
    position: relative;
    width: 100%;
    height: 230px;
    border-radius: 16px;
    overflow: hidden;
    background: #0b1329;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .asl-ai-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(115%) brightness(108%) drop-shadow(0 12px 30px rgba(0, 168, 150, 0.45));
    transition: transform 0.4s ease, filter 0.4s ease;
  }

  .asl-ai-img-wrapper:hover .asl-ai-main-img {
    transform: scale(1.03);
    filter: contrast(120%) brightness(115%) drop-shadow(0 16px 36px rgba(0, 201, 167, 0.6));
  }

  .asl-ai-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 168, 150, 0.28) 0%, rgba(2, 132, 199, 0.22) 50%, rgba(14, 20, 34, 0.85) 100%);
    mix-blend-mode: color-dodge;
    pointer-events: none;
  }

  /* Floating Live HUD Chips */
  .asl-floating-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    z-index: 2;
  }

  .chip-top-left { top: 10px; left: 10px; }
  .chip-top-right { top: 10px; right: 10px; }
  .chip-bottom-left { bottom: 10px; left: 10px; }
  .chip-bottom-right { bottom: 10px; right: 10px; }

  .afc-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    line-height: 1;
    margin-bottom: 2px;
  }

  .afc-val {
    font-size: 11.5px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
  }

  .icon-teal { color: #2dd4bf; font-size: 17px; }
  .icon-gold { color: #facc15; font-size: 17px; }
  .icon-blue { color: #60a5fa; font-size: 17px; }
  .icon-emerald { color: #34d399; font-size: 17px; }

  /* Gallery Switcher */
  .asl-gallery-switcher {
    display: flex;
    gap: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
  }

  body.theme-dark .asl-gallery-switcher {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .asl-switch-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .asl-switch-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #192750;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(25, 39, 80, 0.08), inset 0 1px 1px #fff;
  }

  body.theme-dark .asl-switch-btn.active {
    background: rgba(30, 41, 59, 0.85);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  }

  /* 4 Pillars Grid */
  .asl-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .asl-feat-card {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(25, 39, 80, 0.03), inset 0 1px 1px rgba(255, 255, 255, 0.85);
    transition: transform 0.2s ease;
  }

  .asl-feat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 168, 150, 0.45);
  }

  body.theme-dark .asl-feat-card {
    background: rgba(17, 29, 53, 0.55);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  }

  .afc-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0, 201, 167, 0.14);
    color: #00a896;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  }

  .afc-icon-circle .material-symbols-rounded {
    font-size: 18px;
  }

  .afc-info h5 {
    font-size: 12.5px;
    font-weight: 800;
    color: #192750;
    margin: 0 0 2px 0;
  }

  body.theme-dark .afc-info h5 {
    color: #f8fafc;
  }

  .afc-info p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
  }

  body.theme-dark .afc-info p {
    color: #94a3b8;
  }

  /* Right Area: Dedicated Login Card (Symmetrical Equal Length) */
  .auth-split-right-login {
    flex: 0.95 !important;
    min-width: 390px !important;
    max-width: 460px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    box-sizing: border-box !important;
  }

  .asr-login-card {
    height: 100% !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(40px) saturate(220%) brightness(106%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(106%) !important;
    border-radius: 32px !important;
    padding: 28px 26px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95), inset 0 -1px 1px rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  body.theme-dark .asr-login-card {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.16), inset 0 -1px 1px rgba(0, 0, 0, 0.4) !important;
  }

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

  .asr-login-header {
    text-align: center;
    margin-top: 4px;
    margin-bottom: auto;
  }

  .asr-login-card .signin-clean-form {
    margin-top: auto;
  }

  .asr-login-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 12px rgba(0, 168, 150, 0.3));
  }

  .asr-login-title {
    font-family: var(--font-logo) !important;
    font-size: 21px;
    font-weight: 900;
    color: #192750;
    margin: 0 0 4px 0;
  }

  body.theme-dark .asr-login-title {
    color: #ffffff;
  }

  .asr-login-sub {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
  }

  body.theme-dark .asr-login-sub {
    color: #94a3b8;
  }

  .asr-security-badge {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  body.theme-dark .asr-security-badge {
    color: #94a3b8;
  }

.auth-screen-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.auth-screen-slide.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.auth-screen-slide.slide-left {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

/* SCREEN 1: WELCOME SCREEN (LEFT IMAGE) */
.welcome-screen-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(20px + env(safe-area-inset-top, 10px)) 24px 28px 24px;
  box-sizing: border-box;
  text-align: center;
}

/* Welcome Top Utility Bar (Language & Theme Toggles) */
.welcome-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
  z-index: 10;
  position: relative;
}

.lang-switch-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 4px;
  border-radius: 24px;
  box-shadow: 0 4px 14px rgba(25, 39, 80, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 11.5px;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.85);
  color: #192750;
  box-shadow: 0 2px 8px rgba(25, 39, 80, 0.1), inset 0 1px 1px #fff;
}

.theme-toggle-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 168, 150, 0.3);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-dark .theme-toggle-pill {
  background: rgba(14, 20, 34, 0.7);
  border-color: rgba(0, 201, 167, 0.4);
  color: #f8fafc;
}

.theme-toggle-pill:hover {
  background: rgba(0, 168, 150, 0.15);
  border-color: #00a896;
  transform: translateY(-1px);
}

.theme-icon {
  font-size: 20px;
  color: #00a896;
  transition: transform 0.3s ease, color 0.3s ease;
}

body.theme-dark .theme-icon {
  color: #f59e0b; /* Golden warm Sun color in Dark Mode */
}

.welcome-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 4px;
  position: relative;
  z-index: 2;
}

.welcome-title {
  font-family: var(--font-logo) !important;
  font-size: 38px;
  font-weight: 900;
  color: #192750;
  letter-spacing: -1.2px;
  margin: 0 0 4px 0;
  line-height: 1;
  text-align: center;
}

.welcome-subtitle {
  font-family: var(--font-logo) !important;
  font-size: 13.5px;
  color: #475569;
  font-weight: 500;
  margin: 0 auto;
  line-height: 1.4;
  max-width: 300px;
  text-align: center;
}

/* CENTERED OFFICIAL B-MAGNET LOGO (FRAMELESS & LARGE) */
.welcome-logo-center-wrapper {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
  position: relative;
  z-index: 2;
  min-height: 160px;
}

.bmagnet-hero-logo-img {
  max-width: 250px;
  max-height: 270px;
  width: 85%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 14px 30px rgba(25, 39, 80, 0.18));
  animation: floatBrandLogo 4.5s ease-in-out infinite;
}

@keyframes floatBrandLogo {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

.welcome-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}

/* SHARED CLEAN BUTTONS (iOS 27 Liquid Glass) */
.btn-clean-navy {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, rgba(25, 39, 80, 0.90) 0%, rgba(15, 23, 42, 0.95) 100%);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 26px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 28px rgba(25, 39, 80, 0.25), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.7), inset 0 -1px 1px rgba(0, 0, 0, 0.3);
}

.btn-clean-navy:hover {
  background: linear-gradient(135deg, rgba(30, 48, 96, 0.94) 0%, rgba(20, 31, 54, 0.98) 100%);
  transform: translateY(-1.5px);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 34px rgba(25, 39, 80, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.85);
}

.btn-clean-navy:active {
  transform: scale(0.98);
}

.btn-clean-white {
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  color: #192750;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(25, 39, 80, 0.06), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
}

.btn-clean-white:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1.5px);
  box-shadow: 0 10px 26px rgba(25, 39, 80, 0.1), inset 0 1.5px 1.5px rgba(255, 255, 255, 1);
}

.btn-clean-white:active {
  transform: scale(0.98);
}

/* SCREEN 2: SIGN IN SCREEN (AUTO-ALIGNED FOR ALL RESOLUTIONS & 2K / 4K) */
.signin-screen-inner {
  width: 100%;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
}

.signin-top-hero {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 24px;
  padding-bottom: 16px;
  box-sizing: border-box;
}

.signin-sheet-footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  width: 100%;
}

.signin-card-home-btn {
  height: 42px;
  width: 100%;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(0, 168, 150, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 168, 150, 0.25);
  color: #00a896;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 168, 150, 0.08);
}

body.theme-dark .signin-card-home-btn {
  background: rgba(0, 201, 167, 0.12);
  border-color: rgba(0, 201, 167, 0.35);
  color: #00c9a7;
}

.signin-card-home-btn:hover {
  background: #00a896;
  border-color: #00a896;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.25);
}

.signin-top-actions-row {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  box-sizing: border-box;
}

.signin-back-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 168, 150, 0.3);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 10;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(25, 39, 80, 0.05), inset 0 1px 1px #fff;
}

.signin-back-btn.icon-only-home-btn {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 168, 150, 0.3);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  color: #00a896;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-dark .signin-back-btn.icon-only-home-btn {
  background: rgba(14, 20, 34, 0.7);
  border-color: rgba(0, 201, 167, 0.4);
  color: #00c9a7;
}

.signin-back-btn.icon-only-home-btn:hover {
  background: rgba(0, 168, 150, 0.15);
  border-color: #00a896;
  transform: translateY(-1px);
}

.signin-back-btn:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

.signin-bot-details-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-radius: 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 36px rgba(25, 39, 80, 0.08), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9);
  max-width: 330px;
  width: 90%;
  text-align: center;
}

.signin-bot-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.bot-status-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseLive 2s infinite ease-in-out;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.bot-badge-label {
  font-size: 10.5px;
  font-weight: 800;
  color: #192750;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.signin-bot-title {
  font-size: 13px;
  font-weight: 800;
  color: #192750;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.signin-bot-tags-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.signin-bot-chip {
  font-size: 10px;
  font-weight: 800;
  color: #192750;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 3px 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 1px 1px #fff;
}

.signin-top-artwork {
  width: 100%;
  height: 140px;
}

.signin-svg-scene {
  width: 100%;
  height: 100%;
  display: block;
}

/* Bottom Curved Pure-White Sheet (iOS 27 Translucent Glass) */
.signin-white-sheet {
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(36px) saturate(210%) brightness(105%);
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(105%);
  border-radius: 36px 36px 0 0;
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  padding: 32px 24px 28px 24px;
  box-shadow: 0 -16px 48px rgba(25, 39, 80, 0.08), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  margin-top: auto;
}

body.theme-dark .signin-white-sheet {
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.6), inset 0 1px 1.5px rgba(255, 255, 255, 0.15) !important;
}

.signin-clean-form {
  display: flex;
  flex-direction: column;
}

.signin-input-wrapper {
  margin-bottom: 14px;
}

.signin-clean-input {
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  padding: 0 22px;
  font-size: 14px;
  color: #192750;
  font-family: inherit;
  outline: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 2px rgba(25, 39, 80, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
}

body.theme-dark .signin-clean-input {
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #f8fafc !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}

.signin-clean-input::placeholder {
  color: #64748b;
  font-weight: 500;
}

.signin-clean-input:focus {
  background: rgba(255, 255, 255, 0.7);
  border-color: #00a896;
  box-shadow: 0 0 0 3.5px rgba(0, 168, 150, 0.22), inset 0 1.5px 1.5px #fff;
}

body.theme-dark .signin-clean-input:focus {
  background: rgba(20, 31, 54, 0.7) !important;
  border-color: #00f2fe !important;
  box-shadow: 0 0 0 3.5px rgba(0, 242, 254, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
}

.secure-auth-input {
  -webkit-text-security: disc !important;
  text-security: disc !important;
  letter-spacing: 2.5px;
}

.btn-signin-block {
  margin-top: 4px;
}

.signin-forgot-row {
  text-align: center;
  margin: 14px 0 18px 0;
}

.signin-forgot-link {
  font-size: 12.5px;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.signin-forgot-link:hover {
  color: #0284c7;
  text-decoration: underline;
}

.signin-social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.signin-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 700;
  color: #192750;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(25, 39, 80, 0.04), inset 0 1px 1px #fff;
}

body.theme-dark .signin-social-btn {
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
}

.btn-google-single {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  font-size: 13.5px;
  font-weight: 800;
  color: #192750;
  gap: 10px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(25, 39, 80, 0.05), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
}

body.theme-dark .btn-google-single {
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.btn-google-single:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: #0284c7;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.signin-footer-row {
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

.signin-signup-link {
  color: #192750;
  font-weight: 800;
  text-decoration: none;
}

.signin-signup-link:hover {
  text-decoration: underline;
}

.af-item .material-symbols-rounded {
  font-size: 13px;
  color: var(--brand-cyan);
}

/* OTP Specifics */
.otp-sent-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.edit-phone-btn {
  background: none;
  border: none;
  color: var(--brand-cyan);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.otp-input-wrapper {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.otp-input {
  width: 180px;
  height: 48px;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--brand-cyan);
  border-radius: var(--radius-md);
  color: #fff;
  outline: none;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.demo-otp-badge {
  text-align: center;
  font-size: 11px;
  color: #fbbf24;
  margin-top: 6px;
}

/* Header User Pill */
.user-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-top: 2px;
  cursor: pointer;
}

/* Onboarding Top-Up Guide Banner */
.onboarding-topup-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.12) 0%, rgba(13, 18, 31, 0.9) 100%);
  border: 1px solid rgba(240, 185, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(240, 185, 11, 0.1);
}

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

.otb-icon-box {
  width: 36px;
  height: 36px;
  background: rgba(240, 185, 11, 0.2);
  border: 1px solid rgba(240, 185, 11, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F0B90B;
  font-size: 20px;
  flex-shrink: 0;
}

.otb-title {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.otb-sub {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}

.otb-btn {
  flex-shrink: 0;
  font-size: 11px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #F0B90B 0%, #D97706 100%);
  color: #000;
  font-weight: 800;
}

/* ======================================================== */
/* GOOGLE ACCOUNT CRM & DATABASE PANEL STYLES               */
/* ======================================================== */
.notif-btn {
  position: relative;
}

.notif-badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #EF4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0d14;
}

/* ==========================================================================
   ULTRA-PROFESSIONAL SIMPLE CRM DESIGN SYSTEM
   ========================================================================== */
.db-header-banner {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
}

body.theme-dark .db-header-banner {
  background: rgba(14, 20, 34, 0.6);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.15);
}

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

.db-header-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.db-brand-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 168, 150, 0.12);
  border: 1px solid rgba(0, 168, 150, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00a896;
  font-size: 26px;
  flex-shrink: 0;
}

.db-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #00a896;
  background: rgba(0, 168, 150, 0.12);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 4px;
}

.db-title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

body.theme-dark .db-title {
  color: #ffffff;
}

.google-sync-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 168, 150, 0.25);
  border-radius: 16px;
  padding: 14px 18px;
}

body.theme-dark .google-sync-card {
  background: rgba(17, 28, 56, 0.5);
  border-color: rgba(0, 201, 167, 0.3);
}

.gsc-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

body.theme-dark .gsc-logo {
  color: #ffffff;
}

.btn-sync-sheets {
  border-radius: 99px !important;
  font-weight: 800 !important;
}

.db-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .db-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .db-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.kpi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.kpi-icon {
  font-size: 20px;
  color: #00a896;
}

.crm-pro-card {
  border-radius: 24px !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.crm-table th {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

body.theme-dark .crm-table th {
  background: rgba(15, 23, 42, 0.45);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.crm-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #192750;
  white-space: nowrap;
}

body.theme-dark .crm-table td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
}

.crm-table tr:hover td {
  background: rgba(255, 255, 255, 0.35);
}

body.theme-dark .crm-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.badge-days-left {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.badge-days-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.badge-days-expired {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

/* ==========================================================================
   ADMIN CRM HOSTED KEY GENERATOR PROGRAM (MATCHING SITE THEME)
   ========================================================================== */

.admin-keygen-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(2, 132, 199, 0.28);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(25, 39, 80, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.admin-keygen-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00a896 0%, #0284c7 50%, #f59e0b 100%);
}

body.theme-dark .admin-keygen-card {
  background: #0f172a;
  border-color: rgba(0, 229, 255, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.06);
}

.akg-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.akg-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.15) 0%, rgba(2, 132, 199, 0.15) 100%);
  border: 1.5px solid rgba(0, 168, 150, 0.35);
  color: #00a896;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.15);
}

body.theme-dark .akg-icon-badge {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(2, 132, 199, 0.15) 100%);
  border-color: rgba(0, 242, 254, 0.4);
  color: #00f2fe;
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.2);
}

.akg-sub {
  font-size: 12px;
  color: #64748b;
  margin: 3px 0 0 0;
  font-weight: 600;
}

body.theme-dark .akg-sub {
  color: #94a3b8;
}

.akg-body {
  padding: 22px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.akg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .akg-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.akg-field-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.akg-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

body.theme-dark .akg-label {
  color: #e2e8f0;
}

.akg-label-hint {
  font-size: 10.5px;
  font-weight: 800;
  color: #00a896;
  text-transform: none;
}

body.theme-dark .akg-label-hint {
  color: #00f2fe;
}

.akg-input-with-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.akg-input {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid rgba(203, 213, 225, 0.9);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

body.theme-dark .akg-input {
  background: #090d16;
  border-color: rgba(51, 65, 85, 0.85);
  color: #ffffff;
}

.akg-input:focus {
  border-color: #00a896;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.18);
}

body.theme-dark .akg-input:focus {
  border-color: #00f2fe;
  background: #0d1424;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.akg-select {
  width: 100%;
  background: rgba(241, 248, 255, 0.9);
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-dark .akg-select {
  background: #131a29;
  border-color: rgba(0, 229, 255, 0.25);
  color: #38bdf8;
}

.akg-select:hover {
  border-color: #00a896;
}

/* Presets Grid inside Admin Generator */
.akg-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 500px) {
  .akg-presets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.akg-preset-btn {
  background: #f8fafc;
  border: 1.5px solid rgba(203, 213, 225, 0.85);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

body.theme-dark .akg-preset-btn {
  background: #111622;
  border-color: rgba(51, 65, 85, 0.8);
}

.akg-preset-btn:hover {
  border-color: #0284c7;
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

body.theme-dark .akg-preset-btn:hover {
  background: #1a2234;
  border-color: #00f2fe;
}

.akg-preset-btn.active {
  border-color: #00a896;
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.2), 0 0 0 1px #00a896;
}

body.theme-dark .akg-preset-btn.active {
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.15) 0%, #0f172a 100%);
  border-color: #00f2fe;
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.22), 0 0 0 1px #00f2fe;
}

.akg-p-name {
  font-size: 11.5px;
  font-weight: 800;
  color: #1e293b;
}

body.theme-dark .akg-p-name {
  color: #f1f5f9;
}

.akg-preset-btn.active .akg-p-name {
  color: #00a896;
}

body.theme-dark .akg-preset-btn.active .akg-p-name {
  color: #00f2fe;
}

.akg-p-price {
  font-size: 10px;
  font-weight: 800;
  color: #f59e0b;
}

/* Result Box - High Impact Cyber Console */
.akg-result-box {
  background: linear-gradient(180deg, #0d1527 0%, #080d1a 100%);
  border: 1.5px solid #00a896;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
}

body.theme-dark .akg-result-box {
  background: linear-gradient(180deg, #090e1b 0%, #03060c 100%);
  border-color: #00f2fe;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 242, 254, 0.15);
}

.akg-res-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.akg-res-badge {
  font-size: 11px;
  font-weight: 800;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.akg-dur-pill {
  font-size: 11px;
  font-weight: 800;
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.14);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.akg-key-display-box {
  background: #04070f;
  border: 1.5px dashed #00a896;
  border-radius: 12px;
  padding: 15px 18px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: #00f2fe;
  text-align: center;
  letter-spacing: 1.5px;
  word-break: break-all;
  user-select: all;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 168, 150, 0.2);
}

body.theme-dark .akg-key-display-box {
  background: #020408;
  border-color: #00f2fe;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 242, 254, 0.2);
}

.akg-key-display-box:hover {
  background: #0a1124;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.35);
}

.akg-details-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
}

@media (max-width: 600px) {
  .akg-details-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.akg-det-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.akg-det-lbl {
  font-size: 9.5px;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.akg-det-val {
  font-size: 12px;
  color: #ffffff;
  font-weight: 700;
}

/* Actions Grid */
.akg-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .akg-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.btn-akg-action {
  height: 42px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-akg-action .material-symbols-rounded {
  font-size: 17px;
}

.btn-akg-copy {
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.25);
}

.btn-akg-copy:hover {
  background: linear-gradient(135deg, #008f80 0%, #0274af 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(0, 168, 150, 0.35);
}

.btn-akg-wa-msg {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-akg-wa-msg:hover {
  background: linear-gradient(135deg, #20ba59 0%, #0e7065 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-akg-wa-send {
  background: linear-gradient(135deg, #128c7e 0%, #0b6b60 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-akg-wa-send:hover {
  background: linear-gradient(135deg, #0e7065 0%, #084d45 100%);
  transform: translateY(-1.5px);
}

.btn-akg-save-crm {
  background: linear-gradient(135deg, #192750 0%, #0f172a 100%);
  color: #ffffff;
  border: 1.5px solid rgba(0, 168, 150, 0.4);
  box-shadow: 0 4px 14px rgba(25, 39, 80, 0.2);
}

.btn-akg-save-crm:hover {
  background: linear-gradient(135deg, #101c3d 0%, #09122a 100%);
  border-color: #00a896;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(0, 168, 150, 0.35);
}

/* Timeline & Notifications */
.activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-item {
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.tl-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tl-icon.login {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.tl-icon.sub {
  background: rgba(240, 185, 11, 0.2);
  color: #F0B90B;
}

.tl-icon.topup {
  background: rgba(0, 242, 254, 0.2);
  color: #00F2FE;
}

.tl-content {
  flex: 1;
}

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

.tl-title {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}

.tl-time {
  font-size: 9.5px;
  color: var(--text-muted);
}

.tl-body {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Cute & Simple Add Bot Button */
.btn-add-bot-cute {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 8px;
  background: rgba(0, 168, 150, 0.12);
  color: #00796b;
  border: 1.5px solid rgba(0, 168, 150, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 168, 150, 0.08);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-add-bot-cute:hover {
  background: rgba(0, 168, 150, 0.2);
  border-color: #00a896;
  color: #004d40;
  transform: translateY(-1.5px) scale(1.04);
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.22);
}

.btn-add-bot-cute:active {
  transform: scale(0.96);
}

.cute-plus-pill {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c9a7, #00a896);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0, 168, 150, 0.3);
}

/* GTCfx Official Referral & Account Registration Card */
.gtcfx-referral-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.96));
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  border-radius: 20px;
  padding: 20px;
  margin: 18px 0;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
  position: relative;
  overflow: hidden;
}

.gtcfx-referral-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.gtcfx-brand-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gtcfx-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.gtcfx-title {
  font-size: 15px;
  font-weight: 800;
  color: #192750;
  margin: 0;
}

.gtcfx-subtitle {
  font-size: 11px;
  color: #64748b;
  display: block;
}

.gtcfx-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.gtcfx-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 14px;
}

.gtcfx-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.gtcfx-url-text {
  font-size: 11px;
  color: #0f172a;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-cute-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #0284c7;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cute-copy:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.btn-gtcfx-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(135deg, #192750 0%, #0c4a6e 100%);
  color: #ffffff !important;
  border: 1.5px solid rgba(2, 132, 199, 0.4);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(25, 39, 80, 0.2);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-gtcfx-action:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
}

/* Localhost MT5 Key Generator Modal Styles */
.key-gen-sheet {
  max-width: 540px;
  width: 100%;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

@media (max-width: 600px) {
  .key-gen-sheet {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
  }
}

.gen-result-card {
  background: #0f172a;
  border: 1.5px solid #334155;
  border-radius: 16px;
  padding: 16px;
  margin-top: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gen-result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.gen-key-tag {
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
}

.gen-duration-pill {
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 168, 150, 0.2);
  color: #5eead4;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.3);
}

.gen-key-display {
  background: #020617;
  border: 1.5px dashed #00a896;
  border-radius: 10px;
  padding: 12px 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: #38bdf8;
  text-align: center;
  letter-spacing: 0.8px;
  word-break: break-all;
  user-select: all;
  margin-bottom: 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.gen-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 11px;
  margin-bottom: 12px;
}

.gen-meta-item span {
  display: block;
  font-size: 10px;
  color: #94a3b8;
}

.gen-meta-item strong {
  color: #f8fafc;
  font-size: 11.5px;
}

.gen-actions-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
}

.btn-gen-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: #38bdf8;
  color: #0f172a;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-gen-copy:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
}

.btn-gen-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-gen-whatsapp:hover {
  background: #22c55e;
  transform: translateY(-1px);
}

.auto-detected-plan-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.adp-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.adp-lbl {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}

.adp-val {
  font-size: 13px;
  color: #0f172a;
  font-weight: 700;
}

.adp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.adp-item {
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gen-instructions-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
  font-size: 11.5px;
}

.gen-inst-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.gen-inst-steps {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  line-height: 1.6;
}

.key-gen-locked-state {
  text-align: center;
  padding: 24px 14px;
}

.locked-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #ef4444;
}

.locked-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.locked-desc {
  font-size: 12px;
  color: #64748b;
  max-width: 340px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.btn-key-gen-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 12px;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706 !important;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-key-gen-small:hover {
  background: #f59e0b;
  color: #ffffff !important;
  border-color: #f59e0b;
  transform: translateY(-1px);
}

.key-locked-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 12px;
  font-size: 11.5px;
  color: #0369a1;
  line-height: 1.4;
}

.key-locked-notice .material-symbols-rounded {
  font-size: 16px;
  color: #0284c7;
  flex-shrink: 0;
  margin-top: 1px;
}

.custom-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 36px;
  cursor: pointer;
}

.mt5-binding-notice-card {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
  font-size: 11.5px;
}

.mbn-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 4px;
}

.mbn-desc {
  color: #78350f;
  margin: 0 0 8px 0;
  line-height: 1.45;
}

.mbn-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px dashed rgba(245, 158, 11, 0.25);
  font-size: 11px;
  color: #92400e;
}

.gtcfx-reg-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.gtcfx-reg-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

.bot-gtcfx-attached-banner {
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.1) 0%, rgba(2, 132, 199, 0.08) 100%);
  border: 1.5px solid rgba(0, 168, 150, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.bga-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #00a896;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bga-label {
  font-size: 9.5px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  display: block;
}

.bga-account-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.bga-account {
  font-size: 14px;
  color: #0284c7;
  font-weight: 800;
}

.bga-lock-tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
}

.mt5-conflict-alert {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
  font-size: 11.5px;
}

.mca-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b91c1c;
  font-weight: 800;
  margin-bottom: 4px;
}

.mca-content {
  color: #7f1d1d;
  line-height: 1.45;
}

.mca-content strong {
  color: #991b1b;
}

.mca-tag {
  display: inline-block;
  background: rgba(239, 68, 68, 0.15);
  color: #991b1b;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 700;
  margin-top: 4px;
}

/* ==========================================================================
   CLEAN & SIMPLE GTCFX BROKER REGISTRATION CARDS
   ========================================================================== */
.gtcfx-broker-banner {
  margin-top: 22px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7fe 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.3);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
  transition: all 0.25s ease;
}

.gtcfx-broker-banner .gbb-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gtcfx-broker-banner .gbb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gtcfx-broker-banner .gbb-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.3);
}

.gtcfx-broker-banner .gbb-headline {
  font-size: 13.5px;
  font-weight: 800;
  color: #192750;
  margin: 0;
}

.gtcfx-broker-banner .gbb-sub-clean {
  font-size: 11px;
  color: #64748b;
  margin: 2px 0 0 0;
}

.gbb-btn-simple {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 168, 150, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.gbb-btn-simple:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 168, 150, 0.45);
}

/* Account Page GTCfx Card (Simple & Compact) */
.gtcfx-referral-card {
  background: #ffffff;
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  border-radius: 16px;
  padding: 12px 16px;
  margin: 14px 0;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.06);
  transition: all 0.25s ease;
}

.gtcfx-simple-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gtcfx-simple-row .gtcfx-brand-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gtcfx-simple-row .gtcfx-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gtcfx-simple-row .gtcfx-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #192750;
  margin: 0;
}

.gtcfx-simple-row .gtcfx-subtitle {
  font-size: 11px;
  color: #64748b;
  display: block;
  margin-top: 2px;
}

.btn-gtcfx-simple-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: #192750;
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(25, 39, 80, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-gtcfx-simple-pill:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER UTILITY CONTROLS (THEME & LANG)
   ========================================================================== */
.header-controls-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-icon-pill-btn {
  height: 28px;
  min-width: 28px;
  padding: 0 7px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.85);
  color: #192750;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(25, 39, 80, 0.04);
}

.header-icon-pill-btn:hover {
  background: #ffffff;
  border-color: #00a896;
  color: #00a896;
  transform: translateY(-1px);
}

body.theme-dark .header-icon-pill-btn {
  background: rgba(17, 29, 53, 0.9);
  border-color: rgba(51, 65, 85, 0.8);
  color: #f8fafc;
}

body.theme-dark .header-icon-pill-btn:hover {
  border-color: #00f2fe;
  color: #00f2fe;
}

/* ==========================================================================
   PWA WEB APP HOME SCREEN FLOATING BOTTOM BADGE
   ========================================================================== */
.pwa-install-banner {
  position: absolute;
  bottom: calc(82px + env(safe-area-inset-bottom, 14px));
  left: 14px;
  right: 14px;
  max-width: 440px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(16, 28, 54, 0.97) 0%, rgba(30, 41, 59, 0.97) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(0, 242, 254, 0.45);
  border-radius: 20px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 254, 0.16);
  animation: slideUpBadge 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 105;
  transition: bottom 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
}

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

body.dock-minimized .pwa-install-banner {
  bottom: calc(66px + env(safe-area-inset-bottom, 12px));
}

.pwa-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pwa-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.pwa-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pwa-text-col {
  min-width: 0;
}

.pwa-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pwa-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-chip {
  font-size: 9px;
  font-weight: 800;
  background: linear-gradient(135deg, #00a896, #0284c7);
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.pwa-subtitle {
  font-size: 10.5px;
  color: #94a3b8;
  margin: 2px 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.btn-pwa-install {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #00f2fe 0%, #00a896 100%);
  color: #061124 !important;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 242, 254, 0.35);
  transition: all 0.2s ease;
}

.btn-pwa-install:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 242, 254, 0.5);
}

.btn-pwa-dismiss {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-pwa-dismiss:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-pwa-dismiss .material-symbols-rounded {
  font-size: 15px;
}

/* iOS Guide Modal */
.pwa-guide-card {
  max-width: 380px !important;
}

.pwa-guide-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(0, 242, 254, 0.2));
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pwa-guide-icon-box .material-symbols-rounded {
  font-size: 32px;
  color: #0284c7;
}

.ios-install-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  text-align: left;
}

.ios-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}

body.theme-dark .ios-step-item {
  background: #141f36;
  border-color: rgba(51, 65, 85, 0.8);
}

.ios-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ios-step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ios-step-info strong {
  font-size: 12px;
  color: #0f172a;
}

body.theme-dark .ios-step-info strong {
  color: #ffffff;
}

.ios-step-info span {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

body.theme-dark .ios-step-info span {
  color: #94a3b8;
}

/* ==========================================================================
   DARK THEME SYSTEM & COMPREHENSIVE ALL-PAGE TOKENS
   ========================================================================== */
body.theme-dark {
  --bg-app: #060b14;
  --bg-frame: #0a1120;
  --surface-card: #0f172a;
  --surface-elevated: #1e293b;
  --surface-highlight: #1e293b;
  
  --border-subtle: rgba(51, 65, 85, 0.7);
  --border-medium: rgba(0, 168, 150, 0.45);
  --border-active: #00f2fe;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* iOS 27 Dark Liquid Glass Tokens */
  --glass-surface-ultra: rgba(15, 23, 42, 0.88);
  --glass-surface-subtle: rgba(15, 23, 42, 0.70);
  --glass-surface-elevated: rgba(20, 31, 54, 0.92);
  --glass-border-specular: 1px solid rgba(255, 255, 255, 0.16);
  --glass-border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow-depth: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.16), inset 0 -1px 1px rgba(0, 0, 0, 0.4);
  --glass-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  --glass-shadow-button: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.2);

  background-color: #060b14;
  color: #f8fafc;
}

body.theme-dark .app-viewport-wrapper {
  background: 
    radial-gradient(circle at 10% 10%, rgba(0, 168, 150, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(2, 132, 199, 0.15) 0%, transparent 45%),
    #060b14;
}

body.theme-dark .mobile-frame {
  background: 
    radial-gradient(circle at 10% 0%, rgba(0, 201, 167, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 90% 25%, rgba(59, 130, 246, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 30% 65%, rgba(10, 17, 32, 0.95) 0%, transparent 55%),
    linear-gradient(180deg, #09101f 0%, #0d172e 50%, #080e1b 100%);
  border: none;
}

body.theme-dark .brand-title,
body.theme-dark .section-title,
body.theme-dark .bot-card-title,
body.theme-dark .modal-title,
body.theme-dark .dialog-title,
body.theme-dark .setting-name,
body.theme-dark .metric-val,
body.theme-dark .creator-name,
body.theme-dark .wallet-balance-amt,
body.theme-dark .invoice-item-title,
body.theme-dark .db-brand-title {
  color: #f8fafc !important;
}

body.theme-dark .section-count {
  background: rgba(51, 65, 85, 0.6);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

body.theme-dark .bot-card,
body.theme-dark .stat-card,
body.theme-dark .setting-item,
body.theme-dark .settings-group,
body.theme-dark .settings-card,
body.theme-dark .settings-logout-card,
body.theme-dark .db-card,
body.theme-dark .db-table-card,
body.theme-dark .quick-stats-row,
body.theme-dark .creator-profile-card,
body.theme-dark .license-hero-card,
body.theme-dark .subscription-card,
body.theme-dark .wallet-balance-card,
body.theme-dark .wallet-activity-item,
body.theme-dark .invoice-card,
body.theme-dark .plan-card-option {
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}

/* Explore Page Bot Cards: Ultra-Clear Liquid Glass Dark Mode */
body.theme-dark .bot-card {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}

body.theme-dark .bot-card:hover {
  border-color: #00f2fe !important;
  background: rgba(20, 31, 54, 0.65) !important;
  box-shadow: 0 14px 38px rgba(0, 242, 254, 0.22) !important;
}

body.theme-dark .bot-title {
  color: #ffffff !important;
  font-weight: 800 !important;
}

body.theme-dark .bot-creator {
  color: #94a3b8 !important;
  font-weight: 600 !important;
}

body.theme-dark .bot-tagline {
  color: #e2e8f0 !important;
  font-weight: 450 !important;
  line-height: 1.5 !important;
}

body.theme-dark .bot-metrics-row {
  background: #141f36 !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
}

body.theme-dark .bot-metric-num {
  font-weight: 800 !important;
  color: #f8fafc !important;
}

body.theme-dark .bot-metric-num.text-success {
  color: #34d399 !important;
}

body.theme-dark .bot-metric-num.text-cyan {
  color: #38bdf8 !important;
}

body.theme-dark .bot-metric-num.text-amber {
  color: #fbbf24 !important;
}

body.theme-dark .bot-metric-label {
  color: #94a3b8 !important;
  font-weight: 700 !important;
}

body.theme-dark .bot-card-pricing-row {
  border-top: 1px solid rgba(51, 65, 85, 0.7) !important;
}

body.theme-dark .bot-price-val {
  color: #ffffff !important;
  font-weight: 900 !important;
}

body.theme-dark .bot-price-sub {
  color: #38bdf8 !important;
  font-weight: 700 !important;
}

body.theme-dark .bot-rating-pill {
  background: rgba(245, 158, 11, 0.2) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #fbbf24 !important;
}

body.theme-dark .bot-rating-pill small {
  color: #e2e8f0 !important;
}

body.theme-dark .section-title {
  color: #ffffff !important;
  font-weight: 800 !important;
}

body.theme-dark .section-sub {
  color: #94a3b8 !important;
}

body.theme-dark .bot-description,
body.theme-dark .dialog-desc,
body.theme-dark .modal-subtitle,
body.theme-dark .setting-sub,
body.theme-dark .stat-label,
body.theme-dark .invoice-date,
body.theme-dark .logout-hint-text {
  color: #94a3b8 !important;
}

body.theme-dark .filter-chip {
  background: #131f36 !important;
  border: 1px solid rgba(51, 65, 85, 0.85) !important;
  color: #e2e8f0 !important;
  font-weight: 700 !important;
}

body.theme-dark .filter-chip.active {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
}

body.theme-dark .btn-subscribe-long {
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(0, 168, 150, 0.4) !important;
}

body.theme-dark .btn-subscribed-active {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4) !important;
}

body.theme-dark .search-input-box,
body.theme-dark .input-control,
body.theme-dark .custom-topup-input,
body.theme-dark .qr-input-group {
  background: #162444 !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
  color: #f8fafc !important;
}

body.theme-dark .search-input-box input {
  color: #f8fafc !important;
}

body.theme-dark .modal-sheet {
  background: #0d1527 !important;
  border-color: rgba(51, 65, 85, 0.7) !important;
  color: #f8fafc !important;
}

body.theme-dark .modal-header {
  background: rgba(13, 21, 39, 0.85) !important;
  border-bottom-color: rgba(51, 65, 85, 0.6) !important;
}

body.theme-dark .modal-dialog-card {
  background: #0f172a !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
  color: #f8fafc !important;
}

body.theme-dark .dialog-btn-cancel {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

body.theme-dark .dialog-btn-cancel:hover {
  background: #334155 !important;
  color: #f8fafc !important;
}

body.theme-dark .bottom-nav {
  background: rgba(10, 17, 32, 0.95) !important;
  border-top-color: rgba(51, 65, 85, 0.6) !important;
}

body.theme-dark .nav-item {
  color: #64748b !important;
}

body.theme-dark .nav-item.active {
  color: #38bdf8 !important;
}

body.theme-dark .wallet-compact-corner-btn {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(51, 65, 85, 0.7) !important;
}

body.theme-dark .wallet-user-title {
  color: #cbd5e1 !important;
}

body.theme-dark .auth-overlay {
  background: 
    radial-gradient(circle at 10% 0%, rgba(0, 201, 167, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 90% 25%, rgba(59, 130, 246, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 30% 65%, rgba(10, 17, 32, 0.95) 0%, transparent 55%),
    linear-gradient(180deg, #09101f 0%, #0d172e 50%, #080e1b 100%) !important;
}

body.theme-dark .welcome-header .welcome-title {
  color: #ffffff !important;
}

body.theme-dark .welcome-header .welcome-subtitle {
  color: #94a3b8 !important;
}

body.theme-dark .bmagnet-hero-logo-img {
  filter: drop-shadow(0 14px 34px rgba(0, 242, 254, 0.2)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)) !important;
}

body.theme-dark .lang-switch-pill,
body.theme-dark .theme-toggle-pill {
  background: rgba(17, 29, 53, 0.85);
  border-color: rgba(51, 65, 85, 0.8);
  color: #f8fafc;
}

body.theme-dark .lang-btn.active {
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%);
  color: #ffffff;
}

body.theme-dark .theme-icon {
  color: #f59e0b;
}

/* Sign In Button in Dark Mode: Sleek Vibrant Cyan-Teal Gradient */
body.theme-dark .btn-clean-navy {
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 168, 150, 0.35) !important;
  border: 1px solid rgba(0, 242, 254, 0.3) !important;
}

body.theme-dark .btn-clean-navy:hover {
  background: linear-gradient(135deg, #00c9a7 0%, #0369a1 100%) !important;
  box-shadow: 0 10px 28px rgba(0, 168, 150, 0.5) !important;
  transform: translateY(-1.5px);
}

/* Sign Up Button in Dark Mode: Refined Slate Glass */
body.theme-dark .btn-clean-white {
  background: rgba(17, 29, 53, 0.9) !important;
  color: #f8fafc !important;
  border: 1.5px solid rgba(51, 65, 85, 0.8) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

body.theme-dark .btn-clean-white:hover {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: rgba(0, 242, 254, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-1.5px);
}

body.theme-dark .signin-white-sheet {
  background: #0f1c36;
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.35);
}

body.theme-dark .signin-clean-input {
  background: #162444;
  color: #f8fafc;
  border-color: rgba(51, 65, 85, 0.5);
}

body.theme-dark .signin-clean-input::placeholder {
  color: #64748b;
}

body.theme-dark .signin-social-btn {
  background: #162444;
  border-color: #334155;
  color: #f8fafc;
}

body.theme-dark .signin-bot-details-card {
  background: rgba(15, 28, 54, 0.85);
  border-color: rgba(51, 65, 85, 0.6);
}

body.theme-dark .signin-bot-title {
  color: #f8fafc;
}

body.theme-dark .signin-bot-chip {
  background: #111d35;
  color: #e2e8f0;
  border-color: rgba(0, 168, 150, 0.35);
}

body.theme-dark .signin-back-btn {
  background: rgba(17, 29, 53, 0.85);
  color: #f8fafc;
  border-color: rgba(51, 65, 85, 0.6);
}

/* Dark Theme Overrides for GTCfx Registration on Explore & Account Pages */
body.theme-dark .gtcfx-broker-banner {
  background: linear-gradient(145deg, #070e1b 0%, #0f1c36 55%, #0a1324 100%) !important;
  border-color: rgba(0, 242, 254, 0.35) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
  color: #ffffff !important;
}

body.theme-dark .gtcfx-broker-banner .gbb-headline {
  color: #ffffff !important;
}

body.theme-dark .gtcfx-broker-banner .gbb-description {
  color: #94a3b8 !important;
}

body.theme-dark .gtcfx-broker-banner .gbb-description strong {
  color: #e2e8f0 !important;
}

body.theme-dark .gtcfx-broker-banner .gbb-feat-item {
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.theme-dark .gtcfx-broker-banner .gbb-feat-icon {
  color: #2dd4bf !important;
}

body.theme-dark .gtcfx-referral-card {
  background: #0f172a !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

body.theme-dark .gtcfx-referral-card .gtcfx-title {
  color: #f8fafc !important;
}

body.theme-dark .gtcfx-referral-card .gtcfx-desc {
  color: #94a3b8 !important;
}

body.theme-dark .gtcfx-referral-card .gtcfx-desc strong {
  color: #38bdf8 !important;
}

body.theme-dark .gtcfx-referral-card .gtcfx-subtitle {
  color: #94a3b8 !important;
}

body.theme-dark .gtcfx-referral-card .gtcfx-tag {
  background: rgba(2, 132, 199, 0.2) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

body.theme-dark .gtcfx-referral-card .gtcfx-link-box {
  background: #162444 !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
}

body.theme-dark .gtcfx-referral-card .gtcfx-url-text {
  color: #f8fafc !important;
}

body.theme-dark .gtcfx-referral-card .btn-gtcfx-action {
  background: linear-gradient(135deg, #0284c7 0%, #00a896 100%) !important;
  color: #ffffff !important;
  border-color: #00a896 !important;
}

/* Dark Theme Overrides for Live Green Session Marquee */
body.theme-dark .live-ticker-container {
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.35) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(6, 78, 59, 0.35) 100%) !important;
  border-bottom-color: rgba(16, 185, 129, 0.3) !important;
}

body.theme-dark .ticker-item {
  color: #cbd5e1 !important;
}

body.theme-dark .ticker-item .highlight {
  color: #38bdf8 !important;
}

body.theme-dark .ticker-label {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
}

/* ==========================================================================
   ARABIC LANGUAGE (RTL) STYLES
   ========================================================================== */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', 'Inter', -apple-system, sans-serif;
}

[dir="rtl"] .welcome-header,
[dir="rtl"] .welcome-title,
[dir="rtl"] .welcome-subtitle {
  text-align: center;
}

[dir="rtl"] .welcome-actions,
[dir="rtl"] .signin-clean-form {
  direction: rtl;
}

[dir="rtl"] .signin-input-wrapper {
  text-align: right;
}

[dir="rtl"] .signin-clean-input {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .signin-social-btn {
  flex-direction: row-reverse;
}

[dir="rtl"] .signin-bot-details-card {
  text-align: center;
}

/* ==========================================================================
   ADMIN PANEL ENTRY CARD (ACCOUNT SETTINGS)
   ========================================================================== */
.admin-panel-entry-item {
  border-left: 3px solid #10b981 !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(2, 132, 199, 0.04) 100%) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.admin-panel-entry-item:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(2, 132, 199, 0.08) 100%) !important;
  transform: translateX(3px);
}

[dir="rtl"] .admin-panel-entry-item {
  border-left: none !important;
  border-right: 3px solid #10b981 !important;
}

[dir="rtl"] .admin-panel-entry-item:hover {
  transform: translateX(-3px);
}

.text-emerald {
  color: #10b981 !important;
}

.badge-lock-code {
  font-size: 8.5px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1.5px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  font-family: monospace;
}

body.theme-dark .admin-panel-entry-item {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
  border-color: rgba(51, 65, 85, 0.9) !important;
  border-left-color: #10b981 !important;
}

body.theme-dark .badge-lock-code {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.45);
}

/* ======================================================== */
/* CROSS-PLATFORM & FULL-VISIBILITY ALIGNMENT ENGINE        */
/* (Zero clipped content on Mobile / iOS / Android / Web)   */
/* ======================================================== */
html, body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  width: 100%;
}

body {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Ensure no elements or cards are ever hidden behind bottom bars */
.app-scroll-viewport,
.view-container,
.landing-scroll-body,
.view-panel,
#viewExplore,
#viewSubscriptions,
#viewCreator,
#viewSettings,
#viewDatabase {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px) !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

/* Modal Bottom Sheets: Full scrollability on any screen height */
.modal-sheet {
  max-height: 92dvh !important;
  display: flex !important;
  flex-direction: column !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.modal-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px) !important;
}

/* Institutional Security Badges */
.institutional-trust-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
}

.itb-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
}

.top-security-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
}

.security-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulseSecurityDot 2s infinite ease-in-out;
}

@keyframes pulseSecurityDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Dark Theme Modal High-Contrast Override */
body.theme-dark .modal-sheet,
.theme-dark .modal-sheet {
  background: #0e1422 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(0, 168, 150, 0.35) !important;
}

body.theme-dark .modal-header,
.theme-dark .modal-header {
  background: #0e1422 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.theme-dark .modal-title,
.theme-dark .modal-title {
  color: #ffffff !important;
}

body.theme-dark .modal-body,
.theme-dark .modal-body {
  background: #0e1422 !important;
  color: #f8fafc !important;
}

/* ==========================================================================
   TOP 3D MOUSE GRAVITY LOGO PANEL & EXPLAINED COMPANY PROFILE BOX
   ========================================================================== */
.top-brand-profile-hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 24px auto 32px auto;
  height: 260px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 255, 0.92));
  border: 1px solid rgba(0, 168, 150, 0.25);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  overflow: hidden;
}

body.theme-dark .top-brand-profile-hero {
  background: linear-gradient(135deg, rgba(14, 20, 34, 0.95), rgba(8, 14, 26, 0.92));
  border-color: rgba(0, 201, 167, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.tbph-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px;
  height: 1400px;
  max-width: 150vw;
  max-height: 150vh;
  background: radial-gradient(circle, 
    rgba(16, 185, 129, 0.28) 0%, 
    rgba(2, 132, 199, 0.20) 35%, 
    rgba(245, 158, 11, 0.10) 60%, 
    transparent 78%
  );
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.6;
  animation: pulseMovingCircle 10s ease-in-out infinite alternate;
}

@keyframes pulseMovingCircle {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.75; }
}

.tbph-moving-circle-ring {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.tbph-logo-pivot {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 0.05s linear;
  will-change: transform;
}

.tbph-big-logo {
  height: 96px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 168, 150, 0.3));
}

.cluster-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(0, 168, 150, 0.3);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  animation: orbitFloat 4s ease-in-out infinite alternate;
}

body.theme-dark .cluster-chip {
  background: #0e1422;
  border-color: rgba(0, 201, 167, 0.4);
  color: #f8fafc;
}

.chip-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
}

.chip-left { top: -18px; left: -24px; animation-delay: 0s; }
.chip-right-top { bottom: -18px; right: -24px; animation-delay: 1.2s; }
.chip-right-bottom { top: 35%; right: -60px; animation-delay: 2.4s; }

@keyframes orbitFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

.top-brand-profile-hero.bg-embedded,
#topBrandProfileHero {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1.0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.desktop-company-landing,
.auth-card-container {
  position: relative;
  z-index: 10001 !important;
}

/* LOGGED-IN DASHBOARD ELEMENTS MUST BE 100% HIDDEN UNLESS LOGGED IN */
body:not(.logged-in) .app-header,
body:not(.logged-in) #appMain,
body:not(.logged-in) .bottom-nav,
body:not(.logged-in) .view-panel {
  display: none !important;
}

body.logged-in .app-header {
  display: flex !important;
  position: relative !important;
  top: auto !important;
  z-index: 100 !important;
}

/* AFTER LOGGED IN, STRICTLY HIDE ALL GREEN LIVE BADGES, STATUS PILLS & TICKERS */
body.logged-in .desktop-status-pill,
body.logged-in .live-ticker-container,
body.logged-in .xauusd-moving-badge-container,
body.logged-in .cmp-header-tag,
body.logged-in .landing-hero-badge,
body.logged-in .live-green-bar {
  display: none !important;
}

body.logged-in .bottom-nav {
  display: flex !important;
  z-index: 10001 !important;
}

body.logged-in #appMain,
body.logged-in .view-panel {
  position: relative;
  z-index: 10001 !important;
}

/* BIG SCREEN / DESKTOP (Vivid, Responsive 3D Mouse Gravity Logo in Safari/Chrome) */
@media (min-width: 769px) {
  .top-brand-profile-hero.bg-embedded .tbph-big-logo {
    height: 480px !important;
    max-height: 55vh !important;
    width: auto !important;
    max-width: 580px !important;
    object-fit: contain !important;
    opacity: 0.35 !important;
    filter: drop-shadow(0 20px 48px rgba(16, 185, 129, 0.45)) drop-shadow(0 6px 20px rgba(2, 132, 199, 0.35)) !important;
    transition: opacity 0.3s ease !important;
  }

  body.theme-dark .top-brand-profile-hero.bg-embedded .tbph-big-logo {
    opacity: 0.42 !important;
    filter: drop-shadow(0 24px 60px rgba(16, 185, 129, 0.55)) drop-shadow(0 8px 24px rgba(56, 189, 248, 0.4)) !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-ambient-glow {
    display: block !important;
    visibility: visible !important;
    width: 800px !important;
    height: 800px !important;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(2, 132, 199, 0.16) 45%, transparent 70%) !important;
    filter: blur(80px) !important;
    opacity: 0.35 !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-moving-circle-ring {
    display: block !important;
    visibility: visible !important;
    width: 620px !important;
    height: 620px !important;
    border: 1.5px dashed rgba(16, 185, 129, 0.3) !important;
    opacity: 0.3 !important;
  }
}

/* MOBILE SCREEN (Tamed, Subtle Watermark - Non-Intrusive) */
@media (max-width: 768px) {
  .top-brand-profile-hero.bg-embedded .tbph-big-logo {
    height: 160px !important;
    max-height: 20vh !important;
    width: auto !important;
    max-width: 65vw !important;
    object-fit: contain !important;
    opacity: 0.08 !important;
    filter: drop-shadow(0 8px 20px rgba(16, 185, 129, 0.2)) !important;
  }

  body.theme-dark .top-brand-profile-hero.bg-embedded .tbph-big-logo {
    opacity: 0.12 !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-ambient-glow {
    display: block !important;
    visibility: visible !important;
    width: 280px !important;
    height: 280px !important;
    filter: blur(40px) !important;
    opacity: 0.1 !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-moving-circle-ring {
    display: block !important;
    visibility: visible !important;
    width: 220px !important;
    height: 220px !important;
    border: 1px dashed rgba(16, 185, 129, 0.2) !important;
    opacity: 0.12 !important;
  }
}

/* EXPLAINED COMPANY PROFILE BOX WITH IOS 27 LIQUID GLASS LOOK */
.b-magnet-company-profile-box {
  width: 100%;
  max-width: 1280px;
  margin: 32px auto 48px auto;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border: 1.5px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 28px !important;
  padding: 44px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95) !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.theme-dark .b-magnet-company-profile-box {
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.15) !important;
}

.cmp-foreground-content {
  position: relative;
  z-index: 2;
}

/* IOS 27 LIQUID GLASS CARDS & BUTTONS GLOBAL STYLES */
.cmp-card,
.feature-box,
.pricing-card,
.faq-card,
.metric-card,
.gtcfx-banner-card {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

body.theme-dark .cmp-card,
body.theme-dark .feature-box,
body.theme-dark .pricing-card,
body.theme-dark .faq-card,
body.theme-dark .metric-card,
body.theme-dark .gtcfx-banner-card {
  background: rgba(17, 28, 56, 0.55) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.12) !important;
}

.cmp-card:hover,
.feature-box:hover,
.pricing-card:hover,
.faq-card:hover {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 20px 45px rgba(0, 168, 150, 0.16), inset 0 1.5px 1.5px rgba(255, 255, 255, 1) !important;
  border-color: rgba(0, 168, 150, 0.45) !important;
}

/* IOS 27 LIQUID GLASS BUTTONS */
.btn-yellow-login,
.btn-yellow-hero,
.btn-yellow-card,
.btn-card-buy,
.btn-gtcfx-wa,
.btn-secondary-outline,
.ctrl-pill-btn {
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.8) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
}

.btn-yellow-login:hover,
.btn-yellow-hero:hover,
.btn-yellow-card:hover,
.btn-gtcfx-wa:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 14px 32px rgba(217, 119, 6, 0.5), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95) !important;
}

.b-magnet-company-profile-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00a896 0%, #f59e0b 50%, #0284c7 100%);
  z-index: 3;
}

.cmp-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00a896;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

body.theme-dark .cmp-header-tag {
  color: #00c9a7;
}

/* GREEN LIVE MOVING BADGE FOR XAUUSD NEWS, RUNNING POSITION & TREND */
.xauusd-moving-badge-container {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  max-width: 100% !important;
  overflow: hidden !important;
  background: rgba(16, 185, 129, 0.09) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12) !important;
  border-radius: 99px !important;
  padding: 6px 16px !important;
  margin-bottom: 14px !important;
}

body.theme-dark .xauusd-moving-badge-container {
  background: rgba(6, 78, 59, 0.25) !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
}

.xauusd-marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.xauusd-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  animation: xauusdMarqueeScroll 28s linear infinite;
  will-change: transform;
}

.xauusd-marquee-track:hover {
  animation-play-state: paused;
}

.xauusd-badge-item {
  font-size: 12px;
  font-weight: 700;
  color: #065f46;
  letter-spacing: 0.2px;
}

body.theme-dark .xauusd-badge-item {
  color: #34d399;
}

.xauusd-badge-item strong {
  color: #047857;
  font-weight: 800;
}

body.theme-dark .xauusd-badge-item strong {
  color: #a7f3d0;
}

.badge-separator {
  color: rgba(16, 185, 129, 0.4);
  font-weight: 300;
  font-size: 12px;
}

@keyframes xauusdMarqueeScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cmp-title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: #0f172a;
}

body.theme-dark .cmp-title {
  color: #ffffff;
}

.cmp-title span {
  background: linear-gradient(135deg, #d97706 0%, #00a896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.theme-dark .cmp-title span {
  background: linear-gradient(135deg, #f59e0b 0%, #00c9a7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cmp-lead {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 28px 0;
}

body.theme-dark .cmp-lead {
  color: #94a3b8;
}

/* AUTOMATIC RESOLUTION & DEVICE DETECTION FOR THE 4 B-MAGNET EA PROGRAM PANELS */
.cmp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 24px;
}

.cmp-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(0, 168, 150, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  border-radius: 18px;
  padding: 22px 18px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

body.theme-dark .cmp-card {
  background: rgba(14, 20, 34, 0.85);
  border-color: rgba(0, 201, 167, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cmp-card:hover {
  transform: translateY(-4px);
  border-color: #00a896;
  box-shadow: 0 16px 36px rgba(0, 168, 150, 0.16);
}

body.theme-dark .cmp-card:hover {
  border-color: #00c9a7;
  box-shadow: 0 16px 36px rgba(0, 201, 167, 0.22);
}

.cmp-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 168, 150, 0.1);
}

body.theme-dark .cmp-card-icon {
  background: rgba(0, 201, 167, 0.15);
}

.cmp-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

body.theme-dark .cmp-card h4 {
  color: #f8fafc;
}

.cmp-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

body.theme-dark .cmp-card p {
  color: #94a3b8;
}

/* ==========================================================================
   MOBILE VIEW UI ENHANCEMENTS & BUTTON OPTIMIZATIONS (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Landing Grids & Metrics Mobile Stacking */
  .landing-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .landing-hero-section {
    padding: 32px 18px 48px 18px !important;
  }

  /* Landing Header Actions for Mobile */
  .landing-header-inner {
    padding: 10px 16px !important;
    gap: 10px !important;
  }
  
  .landing-header-actions {
    gap: 8px !important;
  }

  .btn-landing-corner-login {
    padding: 8px 14px !important;
    font-size: 12px !important;
    border-radius: 99px !important;
  }

  /* B-Magnet Company Profile Box Mobile Padding */
  .b-magnet-company-profile-box {
    padding: 24px 18px !important;
    border-radius: 22px !important;
    margin: 16px auto 28px auto !important;
  }

  .cmp-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
  }

  .cmp-lead {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  /* FinTech Capsule Dock Mobile Responsiveness (< 768px) */
  body.logged-in .bottom-nav {
    width: calc(100% - 24px) !important;
    min-width: unset !important;
    max-width: 430px !important;
    height: 64px !important;
    padding: 5px 14px !important;
    justify-content: space-evenly !important;
    gap: 8px !important;
    bottom: max(14px, env(safe-area-inset-bottom, 14px)) !important;
  }

  .bottom-nav .nav-item {
    padding: 3px 6px !important;
    border-radius: 14px !important;
  }

  .bottom-nav .nav-icon-badge {
    width: 38px !important;
    height: 30px !important;
    border-radius: 10px !important;
  }

  .bottom-nav .nav-item.active .nav-icon-badge {
    width: 44px !important;
    height: 30px !important;
    border-radius: 10px !important;
  }

  .bottom-nav .nav-icon {
    font-size: 19.5px !important;
  }

  .bottom-nav .nav-label {
    font-size: 10px !important;
    margin-top: 2px !important;
  }

  /* Mobile Button Touch Targets */
  .btn-yellow-hero,
  .btn-yellow-card,
  .btn-card-buy,
  .btn-clean-navy,
  .btn-gtcfx-cta {
    min-height: 46px !important;
    font-size: 13.5px !important;
    padding: 10px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 99px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  body.logged-in .bottom-nav {
    width: calc(100% - 16px) !important;
    max-width: 390px !important;
    height: 62px !important;
    padding: 4px 10px !important;
    justify-content: space-evenly !important;
    gap: 6px !important;
    bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important;
  }

  .bottom-nav .nav-item {
    padding: 3px 4px !important;
  }

  .bottom-nav .nav-icon-badge {
    width: 36px !important;
    height: 28px !important;
  }

  .bottom-nav .nav-item.active .nav-icon-badge {
    width: 42px !important;
    height: 28px !important;
  }

  .bottom-nav .nav-icon {
    font-size: 18.5px !important;
  }

  .bottom-nav .nav-label {
    font-size: 9.5px !important;
  }

  .cmp-card {
    padding: 16px !important;
    border-radius: 16px !important;
  }
}

/* ==========================================================================
   2K & 4K HIGH-RESOLUTION MONITOR CALIBRATION (1440p / 2560px & 2160p / 3840px)
   ========================================================================== */
@media (min-width: 1600px) {
  .landing-header-inner,
  .b-magnet-company-profile-box,
  .landing-section-inner,
  .header-inner {
    max-width: 1480px !important;
  }

  .cmp-title {
    font-size: 32px !important;
  }

  .cmp-lead {
    font-size: 16.5px !important;
    line-height: 1.65 !important;
  }

  body.logged-in .bottom-nav {
    min-width: 440px !important;
    height: 72px !important;
    padding: 8px 30px !important;
    gap: 20px !important;
    bottom: 28px !important;
  }

  .bottom-nav .nav-icon {
    font-size: 28px !important;
  }

  .bottom-nav .nav-label {
    font-size: 12px !important;
  }
}

.pwa-install-banner {
  display: none !important;
}

/* ==========================================================================
   ONE-BY-ONE CRM MODULAR PANEL DESIGN SYSTEM
   ========================================================================== */
.crm-panel-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.theme-dark .crm-panel-card {
  background: rgba(14, 20, 34, 0.6);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.15);
}

.crm-panel-card:hover {
  box-shadow: 0 20px 50px rgba(0, 168, 150, 0.12), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95);
}

.crm-panel-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 168, 150, 0.15);
}

.panel-num-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: #00a896;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
}

.panel-title-chip {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #00a896;
}

body.theme-dark .panel-title-chip {
  color: #00c9a7;
}

/* CRM ACCESS SECURITY GATE MODAL */
.crm-access-card {
  border-radius: 32px !important;
  padding: 30px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(36px) saturate(210%) !important;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95) !important;
}

body.theme-dark .crm-access-card {
  background: rgba(15, 23, 42, 0.92) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.16) !important;
}

/* UNIVERSAL CROSS-PLATFORM OVERFLOW & TOUCH SAFETY */
html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden !important;
  touch-action: manipulation;
}

/* ======================================================== */
/* AUTOMATIC CROSS-PLATFORM DEVICE SMOOTHNESS ENGINE       */
/* (Android / iOS / Safari / Chrome / Web / 2K / 4K)       */
/* ======================================================== */

/* 1. iOS Safari Dynamic Height & Momentum Touch Engine */
.platform-ios,
.browser-safari {
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
}

.platform-ios .auth-overlay,
.browser-safari .auth-overlay,
.platform-ios .desktop-company-landing,
.browser-safari .desktop-company-landing {
  min-height: -webkit-fill-available !important;
}

/* 2. Android Chrome GPU Hardware Acceleration Engine */
.platform-android,
.browser-chrome {
  will-change: transform, scroll-position;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.platform-android .landing-scroll-body,
.browser-chrome .landing-scroll-body,
.platform-android .view-container,
.browser-chrome .view-container {
  transform: translateZ(0);
}

/* 3. Touch Button Target Minimum 44px Guarantee */
.touch-device button,
.touch-device a,
.platform-mobile button,
.platform-mobile a {
  min-height: 44px;
  touch-action: manipulation;
}

/* 4. Global Smooth Touch Scroll Guarantee */
.landing-scroll-body,
.view-container,
.app-scroll-viewport,
.desktop-company-landing {
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: contain !important;
  touch-action: pan-y !important;
}

/* ==========================================================================
   GLOBE ICON LANGUAGE SELECTOR DROPDOWN & PANEL AUTO-ALIGNMENT ENGINE
   ========================================================================== */
.lang-globe-dropdown-wrapper {
  position: relative;
  display: inline-block;
  z-index: 10005;
}

.lang-globe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 168, 150, 0.3);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-dark .lang-globe-btn {
  background: rgba(14, 20, 34, 0.7);
  border-color: rgba(0, 201, 167, 0.4);
  color: #f8fafc;
}

.lang-globe-btn:hover, .lang-globe-btn.active {
  background: rgba(0, 168, 150, 0.15);
  border-color: #00a896;
  transform: translateY(-1px);
}

.lang-globe-btn .globe-icon {
  font-size: 20px;
  color: #00a896;
  transition: transform 0.3s ease;
}

body.theme-dark .lang-globe-btn .globe-icon {
  color: #00c9a7;
}

.lang-globe-btn .dropdown-arrow {
  font-size: 16px;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.lang-globe-dropdown-wrapper.open .dropdown-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(0, 168, 150, 0.25);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  border-radius: 16px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 10010;
  animation: dropdownFadeIn 0.2s ease-out forwards;
}

body.theme-dark .lang-dropdown-menu {
  background: rgba(14, 20, 34, 0.96);
  border-color: rgba(0, 201, 167, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.lang-globe-dropdown-wrapper.open .lang-dropdown-menu {
  display: flex;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-option-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.theme-dark .lang-option-item {
  color: #f1f5f9;
}

.lang-option-item:hover {
  background: rgba(0, 168, 150, 0.1);
  color: #00a896;
}

.lang-option-item.active {
  background: rgba(0, 168, 150, 0.15);
  color: #00a896;
  font-weight: 700;
}

.lang-option-item .check-icon {
  margin-left: auto;
  font-size: 16px;
  opacity: 0;
}

.lang-option-item.active .check-icon {
  opacity: 1;
}

/* AUTOMATIC PANEL & SCREEN ALIGNMENT ENGINE (4K / 2K / DESKTOP / TABLET / MOBILE) */
.b-magnet-company-profile-box,
.view-panel,
.crm-panel-card,
.auth-card-container,
.landing-hero-inner,
.landing-section,
.landing-header-inner,
#companyProfileBox,
#heroSection,
#aboutProgramSection,
#plansSection,
#faqSection {
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 4K / 2K Ultra-Wide Monitors (> 1600px) */
@media (min-width: 1600px) {
  .b-magnet-company-profile-box,
  .landing-header-inner,
  .view-panel,
  .landing-hero-inner,
  #aboutProgramSection,
  #plansSection,
  #faqSection {
    max-width: 1480px !important;
  }

  .cmp-features-grid,
  .landing-features-grid,
  .landing-plans-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }

  .signin-screen-inner {
    max-width: 520px !important;
  }
  .signin-bot-details-card {
    max-width: 440px !important;
    padding: 22px 26px !important;
  }
  .signin-white-sheet {
    max-width: 500px !important;
    padding: 36px 32px 32px 32px !important;
    border-radius: 36px !important;
  }
  .signin-clean-input,
  .btn-signin-block,
  .btn-google-single {
    height: 54px !important;
    font-size: 15px !important;
  }
}

/* Standard Desktop / Laptops (992px - 1599px) */
@media (min-width: 992px) and (max-width: 1599px) {
  .b-magnet-company-profile-box,
  .landing-header-inner,
  .view-panel,
  .landing-hero-inner,
  #aboutProgramSection,
  #plansSection,
  #faqSection {
    max-width: 1200px !important;
  }

  .landing-features-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }

  .signin-screen-inner {
    max-width: 460px !important;
  }
  .signin-white-sheet {
    max-width: 440px !important;
    padding: 30px 26px 26px 26px !important;
  }
}

/* Tablets & iPads (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .b-magnet-company-profile-box,
  .view-panel,
  .landing-hero-inner,
  #aboutProgramSection,
  #plansSection,
  #faqSection {
    max-width: 92vw !important;
    padding: 24px 20px !important;
  }

  .cmp-features-grid,
  .landing-features-grid,
  .landing-plans-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .signin-screen-inner {
    max-width: 420px !important;
  }
  .signin-white-sheet {
    max-width: 400px !important;
    padding: 26px 22px 22px 22px !important;
  }
}

/* Small Screen Devices & Mobile Phones (< 767px) */
@media (max-width: 767px) {
  .b-magnet-company-profile-box,
  .view-panel,
  .landing-hero-inner,
  #aboutProgramSection,
  #plansSection,
  #faqSection {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 12px !important;
    box-sizing: border-box !important;
  }

  .cmp-features-grid,
  .landing-features-grid,
  .landing-plans-grid,
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .landing-feature-card,
  .cmp-card {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Sign In Screen Small Screen Mobile Alignment */
  .auth-overlay.signin-active .auth-screens-viewport {
    padding: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .signin-screen-inner {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
  }

  .signin-top-actions-row {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 12px 16px 8px 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
    z-index: 30 !important;
  }

  .signin-back-btn,
  .lang-globe-btn {
    height: 38px !important;
    min-height: 38px !important;
    flex-shrink: 0 !important;
  }

  /* MOBILE PLATFORM SAFE ZONE CLEARANCE FOR SIGN IN PAGE (NOTCH & DYNAMIC ISLAND) */
  .auth-mobile-slides-wrapper,
  #authSignInScreen,
  .signin-screen-inner,
  #authWelcomeScreen,
  .welcome-screen-inner {
    padding-top: max(env(safe-area-inset-top, 40px), 38px) !important;
    box-sizing: border-box !important;
  }

  .welcome-top-bar,
  .signin-header-bar {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    padding-top: max(env(safe-area-inset-top, 16px), 12px) !important;
  }

  .signin-top-hero {
    padding-top: max(env(safe-area-inset-top, 16px), 12px) !important;
    padding-bottom: 12px !important;
    min-height: auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .signin-bot-details-card {
    width: 92% !important;
    max-width: 360px !important;
    padding: 12px 14px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }

  .signin-white-sheet {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 16px 24px 16px !important;
    border-radius: 28px 28px 0 0 !important;
    box-sizing: border-box !important;
  }

  .signin-clean-form {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  .signin-input-wrapper {
    width: 100% !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
  }

  .signin-clean-input {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 13.5px !important;
    border-radius: 18px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .btn-signin-block,
  .btn-google-single {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 18px !important;
    font-size: 13.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .signin-forgot-row {
    margin: 10px 0 12px 0 !important;
  }

  .signin-forgot-link {
    font-size: 11.5px !important;
  }
}

/* VERIFIED ORGANIZATION SSL SECURITY CERTIFICATE & BADGES SUITE */
.org-security-cert-banner {
  margin-top: 24px;
  background: rgba(16, 185, 129, 0.08);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.08);
  border-radius: 20px;
  padding: 20px 24px;
  box-sizing: border-box;
}

body.theme-dark .org-security-cert-banner {
  background: rgba(6, 78, 59, 0.25);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.org-cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.3);
}

.org-cert-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.org-cert-badge-pulse .cert-shield-icon {
  font-size: 22px;
  color: #10b981;
}

body.theme-dark .org-cert-badge-pulse .cert-shield-icon {
  color: #34d399;
}

.cert-status-tag {
  font-size: 13px;
  font-weight: 800;
  color: #065f46;
  letter-spacing: 0.5px;
}

body.theme-dark .cert-status-tag {
  color: #a7f3d0;
}

.org-cert-issuer {
  font-size: 12px;
  color: #047857;
  font-weight: 600;
}

body.theme-dark .org-cert-issuer {
  color: #6ee7b7;
}

.org-cert-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 991px) {
  .org-cert-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 539px) {
  .org-cert-badges-grid {
    grid-template-columns: 1fr;
  }
}

.org-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

body.theme-dark .org-badge-item {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(52, 211, 153, 0.25);
}

.org-badge-icon {
  font-size: 22px;
}

.org-badge-text {
  display: flex;
  flex-direction: column;
}

.org-badge-text strong {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
}

body.theme-dark .org-badge-text strong {
  color: #f8fafc;
}

.org-badge-text span {
  font-size: 11px;
  color: #64748b;
}

body.theme-dark .org-badge-text span {
  color: #94a3b8;
}

/* PROFESSIONAL WEB3 WALLET POPUP MODAL STYLING */
.web3-modal-backdrop {
  z-index: 20000 !important;
}

.web3-modal-container {
  position: relative;
  width: 95%;
  max-width: 520px;
  max-height: 90vh;
  margin: auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(36px) saturate(210%);
  -webkit-backdrop-filter: blur(36px) saturate(210%);
  border: 1.5px solid rgba(0, 242, 254, 0.35);
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18), 0 0 40px rgba(0, 168, 150, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  animation: web3ModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-dark .web3-modal-container {
  background: rgba(14, 20, 34, 0.92);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 201, 167, 0.2);
}

@keyframes web3ModalPop {
  0% { opacity: 0; transform: scale(0.92) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.web3-modal-top-glow {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #00f2fe 0%, #00a896 50%, #f59e0b 100%);
}

.web3-modal-header {
  padding: 20px 24px 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 168, 150, 0.15);
}

.web3-modal-header-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.web3-app-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.web3-shield-icon {
  font-size: 24px;
  color: #00a896;
}

body.theme-dark .web3-shield-icon {
  color: #00c9a7;
}

.web3-title-text {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

body.theme-dark .web3-title-text {
  color: #f8fafc;
}

.web3-chain-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #d97706;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 99px;
  padding: 2px 10px;
  width: fit-content;
}

body.theme-dark .web3-chain-chip {
  color: #fbbf24;
}

.web3-modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-dark .web3-modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.web3-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.web3-modal-tabs {
  display: flex;
  padding: 12px 24px 0 24px;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 168, 150, 0.12);
}

.web3-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-bottom: 2.5px solid transparent;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-dark .web3-tab-btn {
  color: #94a3b8;
}

.web3-tab-btn:hover {
  color: #00a896;
}

.web3-tab-btn.active {
  color: #00a896;
  border-bottom-color: #00a896;
}

body.theme-dark .web3-tab-btn.active {
  color: #00c9a7;
  border-bottom-color: #00c9a7;
}

.web3-modal-body {
  padding: 20px 24px 24px 24px;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Balance Hero Card */
.web3-balance-card {
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.15) 0%, rgba(2, 132, 199, 0.15) 100%);
  border: 1px solid rgba(0, 168, 150, 0.3);
  border-radius: 22px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

body.theme-dark .web3-balance-card {
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
  border-color: rgba(0, 201, 167, 0.35);
}

.web3-balance-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.web3-balance-lbl {
  font-size: 10.5px;
  font-weight: 800;
  color: #00a896;
  letter-spacing: 0.6px;
}

body.theme-dark .web3-balance-lbl {
  color: #00c9a7;
}

.web3-verified-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
}

.web3-balance-amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.web3-amount-val {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

body.theme-dark .web3-amount-val {
  color: #f8fafc;
}

.web3-amount-currency {
  font-size: 16px;
  font-weight: 800;
  color: #00a896;
}

.web3-balance-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748b;
  border-top: 1px dashed rgba(0, 168, 150, 0.2);
  padding-top: 8px;
}

body.theme-dark .web3-balance-footer {
  color: #94a3b8;
}

.web3-section-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

body.theme-dark .web3-section-title {
  color: #f8fafc;
}

.web3-presets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

@media (max-width: 539px) {
  .web3-presets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.web3-preset-btn {
  padding: 8px 0;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 168, 150, 0.25);
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-dark .web3-preset-btn {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(0, 201, 167, 0.25);
  color: #f8fafc;
}

.web3-preset-btn:hover, .web3-preset-btn.active {
  background: #00a896;
  border-color: #00a896;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.25);
}

.web3-deposit-address-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 168, 150, 0.25);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.theme-dark .web3-deposit-address-card {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(0, 201, 167, 0.25);
}

.web3-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.web3-qr-canvas {
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 8px;
  background: #ffffff;
}

.web3-qr-hint {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

body.theme-dark .web3-qr-hint {
  color: #94a3b8;
}

.web3-address-field-group {
  width: 100%;
}

.web3-field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

body.theme-dark .web3-field-label {
  color: #f8fafc;
}

.web3-required-tag {
  font-size: 10.5px;
  color: #f59e0b;
  font-weight: 800;
}

.web3-address-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 168, 150, 0.3);
  border-radius: 14px;
  padding: 4px 6px 4px 14px;
}

body.theme-dark .web3-address-input-wrapper {
  background: rgba(14, 20, 34, 0.8);
  border-color: rgba(0, 201, 167, 0.35);
}

.web3-address-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #0f172a;
  outline: none;
}

body.theme-dark .web3-address-input {
  color: #f8fafc;
}

.web3-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #00a896;
  border: none;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.web3-copy-btn:hover {
  background: #008f80;
}

.web3-txhash-group {
  margin-bottom: 18px;
}

.web3-txhash-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(0, 168, 150, 0.35);
  border-radius: 16px;
  padding: 0 14px;
  height: 48px;
}

body.theme-dark .web3-txhash-input-wrapper {
  background: rgba(14, 20, 34, 0.8);
  border-color: rgba(0, 201, 167, 0.4);
}

.web3-input-icon {
  color: #00a896;
  font-size: 20px;
}

.web3-txhash-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12.5px;
  color: #0f172a;
  outline: none;
}

body.theme-dark .web3-txhash-input {
  color: #f8fafc;
}

.web3-hint-text {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
}

body.theme-dark .web3-hint-text {
  color: #94a3b8;
}

.web3-submit-btn {
  width: 100%;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%);
  border: none;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 168, 150, 0.3);
  transition: all 0.22s ease;
}

.web3-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 168, 150, 0.4);
}

/* Web3 Providers Grid */
.web3-providers-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.web3-provider-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 168, 150, 0.25);
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-dark .web3-provider-card {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(0, 201, 167, 0.25);
}

.web3-provider-card:hover {
  transform: translateY(-2px);
  border-color: #00a896;
  box-shadow: 0 8px 20px rgba(0, 168, 150, 0.15);
}

.web3-provider-icon {
  font-size: 28px;
}

.web3-provider-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.web3-provider-info strong {
  font-size: 14px;
  color: #0f172a;
}

body.theme-dark .web3-provider-info strong {
  color: #f8fafc;
}

.web3-provider-info span {
  font-size: 11.5px;
  color: #64748b;
}

body.theme-dark .web3-provider-info span {
  color: #94a3b8;
}

.web3-provider-status {
  font-size: 12px;
  font-weight: 700;
  color: #00a896;
  background: rgba(0, 168, 150, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
}

/* Web3 Ledger List */
.web3-ledger-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.web3-ledger-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 168, 150, 0.2);
  border-radius: 16px;
  padding: 12px 16px;
}

body.theme-dark .web3-ledger-item {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(0, 201, 167, 0.2);
}

.web3-ledger-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.web3-ledger-icon {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 8px;
  border-radius: 50%;
}

.web3-ledger-title {
  font-size: 13px;
  color: #0f172a;
  display: block;
}

body.theme-dark .web3-ledger-title {
  color: #f8fafc;
}

.web3-ledger-date {
  font-size: 11px;
  color: #64748b;
}

.web3-ledger-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.web3-ledger-amount {
  font-size: 13.5px;
  color: #10b981;
  font-weight: 800;
}

.web3-ledger-badge {
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ==========================================================================
   EXECUTIVE PROFESSIONAL THEME & HIGH-TRUST FINTECH COLOR ARCHITECTURE
   ========================================================================== */

/* 1. EXECUTIVE BACKGROUND CANVAS & CONTAINER ELEVATION */
body {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  color: #0f172a !important;
}

.mobile-frame {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

body.theme-dark {
  background: linear-gradient(180deg, #0b1329 0%, #060b18 100%) !important;
  color: #f8fafc !important;
}

body.theme-dark .mobile-frame {
  background: linear-gradient(180deg, #0b1329 0%, #060b18 100%) !important;
}

/* 2. INSTITUTIONAL EXECUTIVE PANELS & CARDS */
.b-magnet-company-profile-box {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(32px) saturate(210%) brightness(104%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(210%) brightness(104%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95) !important;
  border-radius: 28px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-dark .b-magnet-company-profile-box {
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(32px) saturate(210%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(210%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.16) !important;
  border-radius: 28px !important;
}

.cmp-card,
.plan-card,
.bot-card,
.espp-card,
.web3-wallet-modal-card,
.admin-crm-panel-card,
.creator-hub-card,
.subscription-card,
.profile-card,
.affiliate-card,
.org-security-cert-banner,
.landing-metric-card,
.gtcfx-banner-card {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(226, 232, 240, 0.88) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), inset 0 1px 1px rgba(255, 255, 255, 1) !important;
  border-radius: 20px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-dark .cmp-card,
body.theme-dark .plan-card,
body.theme-dark .bot-card,
body.theme-dark .espp-card,
body.theme-dark .web3-wallet-modal-card,
body.theme-dark .admin-crm-panel-card,
body.theme-dark .creator-hub-card,
body.theme-dark .subscription-card,
body.theme-dark .profile-card,
body.theme-dark .affiliate-card,
body.theme-dark .org-security-cert-banner,
body.theme-dark .landing-metric-card,
body.theme-dark .gtcfx-banner-card {
  background: rgba(17, 28, 52, 0.82) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
}

.plan-card.popular,
.cmp-card.highlight-card {
  border: 2px solid rgba(16, 185, 129, 0.85) !important;
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.22), inset 0 1.5px 1.5px rgba(255, 255, 255, 1) !important;
}

body.theme-dark .plan-card.popular,
body.theme-dark .cmp-card.highlight-card {
  border: 2px solid rgba(52, 211, 153, 0.85) !important;
  box-shadow: 0 16px 45px rgba(16, 185, 129, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.2) !important;
}

/* 3. PROFESSIONAL EXECUTIVE PRIMARY BUTTONS (TEAL & EMERALD GRADIENT) */
.btn-primary,
.btn-hero-primary,
.btn-plan-select,
.btn-espp-subscribe,
.btn-topup-hero,
.web3-tab-btn.active,
.btn-save-profile,
.btn-save-mt5-account {
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 99px !important;
  box-shadow: 0 8px 24px rgba(0, 168, 150, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.75) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
}

.btn-primary:hover,
.btn-hero-primary:hover,
.btn-plan-select:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(0, 168, 150, 0.48), inset 0 1.5px 1.5px #ffffff !important;
}

.btn-primary:hover,
.btn-hero-primary:hover,
.btn-plan-select:hover,
.btn-espp-subscribe:hover,
.btn-topup-hero:hover,
.btn-save-profile:hover,
.btn-save-mt5-account:hover {
  transform: translateY(-1.5px) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 8px 26px rgba(2, 132, 199, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
  filter: brightness(106%) !important;
}

.btn-primary:active,
.btn-hero-primary:active,
.btn-plan-select:active,
.btn-espp-subscribe:active,
.btn-topup-hero:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.2) !important;
}

/* 4. FEATURED POPULAR PLAN EXECUTIVE BUTTONS (BRUSHED SATIN AMBER) */
.btn-gold-iconic,
.plan-card.popular .btn-plan-select,
.btn-cta-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

.btn-gold-iconic:hover,
.plan-card.popular .btn-plan-select:hover,
.btn-cta-gold:hover {
  transform: translateY(-1.5px) !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 8px 26px rgba(217, 119, 6, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
  filter: brightness(108%) !important;
}

/* 5. SECONDARY EXECUTIVE LIQUID GLASS BUTTONS */
.btn-outline,
.btn-hero-secondary,
.btn-espp-secondary,
.btn-clean-navy,
.signin-card-home-btn {
  background: rgba(30, 41, 59, 0.6) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 700 !important;
}

body:not(.theme-dark) .btn-outline,
body:not(.theme-dark) .btn-hero-secondary,
body:not(.theme-dark) .btn-espp-secondary,
body:not(.theme-dark) .btn-clean-navy,
body:not(.theme-dark) .signin-card-home-btn {
  background: rgba(241, 245, 249, 0.9) !important;
  color: #0f172a !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
}

.btn-outline:hover,
.btn-hero-secondary:hover,
.btn-espp-secondary:hover,
.btn-clean-navy:hover,
.signin-card-home-btn:hover {
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25) !important;
  transform: translateY(-1px) !important;
}

/* 6. AUTOMATIC CROSS-PLATFORM BUTTON SHAPE & SIZE ORGANIZER */

/* MOBILE PLATFORMS (iOS / Android Phones <= 767px) */
@media (max-width: 767px) {
  button,
  .btn-primary,
  .btn-outline,
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-plan-select,
  .btn-espp-subscribe,
  .btn-topup-hero,
  .signin-card-home-btn,
  .web3-tab-btn {
    min-height: 46px !important;
    padding: 11px 18px !important;
    font-size: 13.5px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .btn-sm,
  .header-icon-pill-btn,
  .btn-copy-mini {
    min-height: 36px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  .btn-block,
  .btn-plan-select,
  .signin-card-home-btn {
    width: 100% !important;
  }
}

/* TABLET PLATFORMS (iPads, Tablets 768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  button,
  .btn-primary,
  .btn-outline,
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-plan-select,
  .btn-espp-subscribe,
  .btn-topup-hero,
  .signin-card-home-btn {
    min-height: 42px !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
    gap: 8px !important;
  }
}

/* DESKTOP PLATFORMS (PC, Mac, Workstations > 1024px) */
@media (min-width: 1025px) {
  button,
  .btn-primary,
  .btn-outline,
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-plan-select,
  .btn-espp-subscribe,
  .btn-topup-hero,
  .signin-card-home-btn {
    min-height: 40px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    gap: 8px !important;
  }
}

/* PLATFORM SPECIFIC TYPOGRAPHY & SAFE ZONE AUTO-ADJUSTMENTS */
.platform-ios button {
  font-weight: 700 !important;
  letter-spacing: -0.1px !important;
}

.platform-ios .auth-mobile-slides-wrapper,
.platform-ios #authSignInScreen,
.platform-ios .signin-screen-inner,
.platform-ios #authWelcomeScreen,
.platform-ios .welcome-screen-inner {
  padding-top: max(env(safe-area-inset-top, 44px), 42px) !important;
}

.platform-ios .signin-header-bar,
.platform-ios .welcome-top-bar {
  padding-top: max(env(safe-area-inset-top, 24px), 20px) !important;
}

.platform-android button {
  letter-spacing: 0.2px !important;
}

.platform-windows button {
  font-feature-settings: "cv02", "cv03", "cv04" !important;
}

/* ==========================================================================
   UNIFIED EXECUTIVE CONTROL BUTTON ARCHITECTURE (HEADER CONTROLS & UTILITIES)
   ========================================================================== */

/* 1. ICON-ONLY CONTROLS (GLOBE LANGUAGE SWITCH & DARK MODE TOGGLE) */
.lang-globe-btn,
.theme-toggle-pill,
#welcomeThemeToggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(203, 213, 225, 0.85) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
}

body.theme-dark .lang-globe-btn,
body.theme-dark .theme-toggle-pill,
body.theme-dark #welcomeThemeToggle {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
}

.lang-globe-btn:hover,
.theme-toggle-pill:hover,
#welcomeThemeToggle:hover {
  transform: translateY(-1.5px) scale(1.02) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 8px 22px rgba(56, 189, 248, 0.25) !important;
}

.lang-globe-btn .globe-icon,
.theme-toggle-pill .theme-icon,
#welcomeThemeToggle .theme-icon {
  font-size: 20px !important;
  color: #0284c7 !important;
  transition: all 0.25s ease !important;
}

body.theme-dark .lang-globe-btn .globe-icon,
body.theme-dark .theme-toggle-pill .theme-icon,
body.theme-dark #welcomeThemeToggle .theme-icon {
  color: #00f2fe !important;
}

/* 2. TEXT + ICON CONTROLS (CORNER ACCESS & HOME NAVIGATION BUTTONS) */
.btn-landing-corner-login,
.btn-top-back-landing {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  gap: 6px !important;
}

.btn-top-back-landing {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(203, 213, 225, 0.85) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
}

body.theme-dark .btn-top-back-landing {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
}

.btn-top-back-landing:hover {
  transform: translateY(-1.5px) scale(1.02) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  box-shadow: 0 8px 22px rgba(56, 189, 248, 0.25) !important;
}

/* ACCESS BUTTON (EXECUTIVE SAPPHIRE GRADIENT) */
.btn-landing-corner-login {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0f172a 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

.btn-landing-corner-login:hover {
  transform: translateY(-1.5px) scale(1.02) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 8px 26px rgba(2, 132, 199, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

.btn-landing-corner-login .material-symbols-rounded,
.btn-top-back-landing .material-symbols-rounded {
  font-size: 18px !important;
}

/* ==========================================================================
   CROSS-PLATFORM NOTCH & DYNAMIC ISLAND FROZEN HEADER ENGINE
   ========================================================================== */

/* 1. TOP HEADER (UNFROZEN NATURAL SCROLL IN DASHBOARD) */
.landing-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  z-index: 100 !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04) !important;
  padding-top: max(14px, env(safe-area-inset-top, 14px)) !important;
  padding-left: env(safe-area-inset-left, 0px) !important;
  padding-right: env(safe-area-inset-right, 0px) !important;
  padding-bottom: 0 !important;
  height: auto !important;
  margin: 0 !important;
}

.app-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  z-index: 100 !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  margin: 0 !important;
}

body.theme-dark .app-header,
body.theme-dark .landing-header {
  background: rgba(14, 20, 27, 0.92) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.4) !important;
}

/* 2. INNER HEADER BAR (Vertically Centered Content) */
.landing-header-inner,
.header-inner {
  max-width: 1320px !important;
  margin: 0 auto !important;
  width: 100% !important;
  height: 60px !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

/* 3. DESKTOP BODY OFFSET FOR FROZEN HEADER (> 768px) */
@media (min-width: 769px) {
  #appMain,
  .view-panel {
    padding-top: 12px !important;
  }
  .landing-scroll-body,
  .desktop-company-landing,
  #authWelcomeScreen,
  #authSignInScreen {
    padding-top: 0 !important;
  }
}

/* 4. MOBILE / NOTCH / DYNAMIC ISLAND RESPONSIVE SCALING (<= 768px) */
@media (max-width: 768px) {
  .landing-header,
  .app-header {
    padding-top: max(44px, env(safe-area-inset-top, 44px)) !important;
  }

  .landing-header-inner,
  .header-inner {
    height: 56px !important;
    padding: 0 16px !important;
  }

  #appMain,
  .view-panel {
    padding-top: 10px !important;
  }
  .landing-scroll-body,
  .desktop-company-landing,
  #authWelcomeScreen,
  #authSignInScreen {
    padding-top: 0 !important;
  }
}

/* ==========================================================================
   WIDESCREEN & BIG FONT AUTO-SIZING ENGINE (MACOS / WINDOWS / MOBILE / TABLET)
   ========================================================================== */

/* 1. WIDESCREEN LAYOUT EXPANSION (UP TO 1600PX FOR MACBOOK PRO, 4K & DESKTOP MONITORS) */
@media (min-width: 1200px) {
  .app-content,
  .landing-header-inner,
  .landing-hero-section,
  .b-magnet-company-profile-box,
  .landing-section,
  .live-ticker-container,
  .desktop-company-landing {
    max-width: 1600px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .bots-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }
}

/* ==========================================================================
   HARMONIZED FULL-SCREEN CONTENT & NORMAL FONT SIZING ENGINE
   ========================================================================== */

/* 1. FULL-SCREEN FILL WITHOUT OVERSIZED MARGINS ACROSS ALL PAGES */
html, body {
  width: 100% !important;
  min-height: 100% !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth !important;
}

#appShell,
#appMain,
.landing-scroll-body,
.app-content {
  width: 100% !important;
  min-height: 100dvh !important;
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.auth-overlay:not(.signin-active) #desktopCompanyLanding,
.auth-overlay.landing-active #desktopCompanyLanding,
.auth-overlay:not(.signin-active) .desktop-company-landing,
.auth-overlay.landing-active .desktop-company-landing {
  width: 100% !important;
  min-height: 100dvh !important;
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.auth-overlay.signin-active #desktopCompanyLanding,
.auth-overlay.signin-active .desktop-company-landing {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.auth-overlay.signin-active .auth-screens-viewport {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  z-index: 100000 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: #f8fafc !important;
}

body.theme-dark .auth-overlay.signin-active .auth-screens-viewport {
  background: #080e1a !important;
}

/* 2. AUTO-SIZING INSTITUTIONAL PANELS & EVEN CARDS */
.cmp-card,
.plan-card,
.bot-card,
.espp-card,
.profile-card,
.subscription-card,
.web3-wallet-modal-card,
.asr-login-card {
  border-radius: 16px !important;
  padding: 20px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Panel Background & Outlines (Theme Harmonization) */
.cmp-card,
.plan-card,
.bot-card,
.espp-card,
.profile-card,
.subscription-card,
.web3-wallet-modal-card,
.asr-login-card {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

body.theme-dark .cmp-card,
body.theme-dark .plan-card,
body.theme-dark .bot-card,
body.theme-dark .espp-card,
body.theme-dark .profile-card,
body.theme-dark .subscription-card,
body.theme-dark .web3-wallet-modal-card,
body.theme-dark .asr-login-card {
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

/* 3. EXECUTIVE NORMAL TYPOGRAPHY SCALE (BALANCED & STYLISH ACROSS ALL PLATFORMS) */

/* Page Headlines & Main Titles */
.landing-hero-title,
.cmp-profile-title,
.welcome-title,
.signin-title,
body.logged-in h1,
body.logged-in h2,
body.logged-in .view-title {
  font-size: clamp(24px, 2.4vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
}

/* Panel & Card Headings */
.landing-section-title,
.cmp-title,
.bot-card-title,
.plan-title,
.asr-login-title,
.settings-section-title,
body.logged-in h3 {
  font-size: clamp(17px, 1.5vw, 20px) !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

/* Subtitles & Lead Paragraphs */
.landing-hero-subtitle,
.cmp-lead,
.welcome-subtitle,
.landing-section-sub,
.asr-login-sub,
.view-subtitle {
  font-size: clamp(13.5px, 1.2vw, 15.5px) !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}

/* General Body Copy, Paragraphs & Card Descriptions */
body,
p,
.cmp-para,
.bot-card-desc,
.plan-desc,
.faq-answer,
.landing-nav-link {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

/* Buttons & Touch Targets */
.btn,
.btn-yellow-hero,
.btn-yellow-card,
.btn-card-buy,
.btn-clean-navy,
.btn-gtcfx-cta,
.btn-landing-corner-login {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  min-height: 44px !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
}

/* Financial Figures & Monospace Badges */
.font-mono,
.wallet-user-amt,
.metric-num,
.stat-value,
.price-tag {
  font-size: clamp(16px, 1.5vw, 22px) !important;
  font-weight: 800 !important;
  font-family: var(--font-mono) !important;
}

/* 4. AUTO-ALIGNING RESPONSIVE GRID ENGINE */
@media (min-width: 1200px) {
  .bots-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .bots-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .bots-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
}

@media (max-width: 599px) {
  .bots-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: stretch !important;
  }
}



/* ==========================================================================
   MODERN & FRESH FINTECH DESIGN SYSTEM (THEME, COLOR PALETTE & FRAMES)
   ========================================================================== */

/* 1. Fresh Ambient Canvas Background */
body {
  font-family: 'Raleway', 'GE Flow', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: #F8FAFC !important;
  background-image: 
    radial-gradient(ellipse at 10% 0%, rgba(16, 185, 129, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(2, 132, 199, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(245, 158, 11, 0.04) 0%, transparent 65%) !important;
  background-attachment: fixed !important;
  color: #0F172A !important;
  -webkit-font-smoothing: antialiased;
}

[lang="ar"],
.lang-ar,
body[dir="rtl"] {
  font-family: 'GE Flow', 'Cairo', sans-serif !important;
}

body.theme-dark {
  background-color: #090E1A !important;
  background-image: 
    radial-gradient(ellipse at 10% 0%, rgba(16, 185, 129, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(2, 132, 199, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 65%) !important;
  color: #F8FAFC !important;
}

/* 2. Modern Floating Header Navbar */
.landing-header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.03) !important;
}

body.theme-dark .landing-header {
  background: rgba(9, 14, 26, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.4) !important;
}

.landing-brand-title {
  font-family: 'Impact', 'Raleway', sans-serif !important;
  color: #0F172A !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
}

body.theme-dark .landing-brand-title {
  color: #FFFFFF !important;
}

/* 3. Section Containers (Transparent Canvas Wrappers) */
.landing-section,
.landing-hero-section,
.b-magnet-company-profile-box,
#aboutProgramSection,
#plansSection,
#gtcfxSection {
  max-width: 1320px !important;
  margin: 36px auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 4. Modern Fresh Card Frames & Surfaces (Curved 24px) */
.cmp-card,
.landing-feature-card,
.landing-metric-card,
.landing-plan-card,
.landing-showcase-card,
.org-security-cert-banner,
.landing-gtcfx-banner,
.landing-footer,
.welcome-metric-chip {
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 24px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 24px -2px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-dark .cmp-card,
body.theme-dark .landing-feature-card,
body.theme-dark .landing-metric-card,
body.theme-dark .landing-plan-card,
body.theme-dark .landing-showcase-card,
body.theme-dark .org-security-cert-banner,
body.theme-dark .landing-gtcfx-banner,
body.theme-dark .landing-footer,
body.theme-dark .welcome-metric-chip {
  background: #111B2E !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.cmp-card:hover,
.landing-feature-card:hover,
.landing-metric-card:hover,
.landing-plan-card:hover,
.landing-showcase-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 20px 32px -4px rgba(16, 185, 129, 0.12), 0 8px 12px -4px rgba(0, 0, 0, 0.03) !important;
}

/* 5. Modern Hero Section & Showcase Terminal Frame */
.landing-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #047857 !important;
  letter-spacing: 0.2px !important;
}

body.theme-dark .landing-hero-badge {
  background: rgba(16, 185, 129, 0.16) !important;
  color: #34D399 !important;
}

.landing-hero-title {
  font-family: 'Raleway', sans-serif !important;
  font-size: 46px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: #0F172A !important;
  letter-spacing: -0.02em !important;
}

body.theme-dark .landing-hero-title {
  color: #FFFFFF !important;
}

.landing-text-highlight {
  background: linear-gradient(135deg, #059669 0%, #0284C7 50%, #2563EB 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.theme-dark .landing-text-highlight {
  background: linear-gradient(135deg, #10B981 0%, #38BDF8 50%, #60A5FA 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* 6. Modern Fresh Action Buttons */
.btn-hero-primary,
.btn-popular,
.btn-plan-select.btn-popular {
  background: linear-gradient(135deg, #10B981 0%, #0284C7 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-hero-primary:hover,
.btn-popular:hover,
.btn-plan-select.btn-popular:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 14px 30px -4px rgba(16, 185, 129, 0.5) !important;
}

.btn-hero-secondary,
.btn-plan-select {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 13px 26px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.btn-hero-secondary:hover,
.btn-plan-select:hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #059669 !important;
  transform: translateY(-2px) !important;
}

body.theme-dark .btn-hero-secondary,
body.theme-dark .btn-plan-select {
  background: #1E293B !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #F8FAFC !important;
}

body.theme-dark .btn-hero-secondary:hover,
body.theme-dark .btn-plan-select:hover {
  background: #334155 !important;
  color: #34D399 !important;
}

/* 7. Metric Cards in Hero */
.lmc-val {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #059669 !important;
}

.landing-metric-card:nth-child(2) .lmc-val { color: #0284C7 !important; }
.landing-metric-card:nth-child(3) .lmc-val { color: #D97706 !important; }
.landing-metric-card:nth-child(4) .lmc-val { color: #7C3AED !important; }

/* 8. Showcase Terminal Frame (Right Hero Card) */
.landing-showcase-card {
  padding: 24px !important;
}

.lsc-signal-box {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px !important;
}

body.theme-dark .lsc-signal-box {
  background: rgba(11, 19, 41, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.lsc-trade-item {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

body.theme-dark .lsc-trade-item {
  background: rgba(30, 41, 59, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* 9. Live XAUUSD News Ticker Frame */
.xauusd-moving-badge-container {
  background: #ECFDF5 !important;
  border: 1.5px solid #A7F3D0 !important;
  color: #065F46 !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
}

body.theme-dark .xauusd-moving-badge-container {
  background: rgba(6, 78, 59, 0.35) !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
  color: #6EE7B7 !important;
}

.xauusd-badge-item {
  color: #0F172A !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13.5px !important;
}

body.theme-dark .xauusd-badge-item {
  color: #F1F5F9 !important;
}

/* 10. Fresh Most Popular Plan Card */
.landing-plan-card.popular {
  border: 2px solid #10B981 !important;
  box-shadow: 0 16px 36px -4px rgba(16, 185, 129, 0.2), 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
  position: relative !important;
}

.lpc-popular-badge {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
}

/* 11. Fresh GTCfx Broker Partnership Banner */
.landing-gtcfx-banner {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 50%, #F0F9FF 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: 20px !important;
  padding: 36px 32px !important;
  box-shadow: 0 10px 30px -4px rgba(16, 185, 129, 0.08) !important;
}

body.theme-dark .landing-gtcfx-banner {
  background: linear-gradient(135deg, #111B2E 0%, #064E3B 50%, #0C4A6E 100%) !important;
  border-color: rgba(52, 211, 153, 0.3) !important;
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.4) !important;
}

.btn-gtcfx-cta {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
  padding: 14px 26px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.4) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.btn-gtcfx-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.5) !important;
}

/* 12. Verified Organization SSL Security Banner */
.org-security-cert-banner {
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 20px !important;
  padding: 28px !important;
  margin-top: 28px !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04) !important;
}

body.theme-dark .org-security-cert-banner {
  background: #111B2E !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.org-badge-item {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
}

body.theme-dark .org-badge-item {
  background: rgba(30, 41, 59, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.org-cert-badge-pulse {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #047857 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  font-weight: 800 !important;
}

body.theme-dark .org-cert-badge-pulse {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34D399 !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
}

/* 13. Fresh Corporate Curved Footer Panel (Matching All Panels) */
.landing-footer {
  max-width: 1320px !important;
  margin: 36px auto 48px auto !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 24px !important;
  padding: 44px 36px 32px 36px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 24px -2px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-dark .landing-footer {
  background: #111B2E !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.landing-footer-container {
  width: 100% !important;
  margin: 0 auto !important;
}

.landing-footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1.2fr 1.5fr !important;
  gap: 40px !important;
  margin-bottom: 36px !important;
}

@media (max-width: 900px) {
  .landing-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

.lfg-brand-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.lfg-logo-img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}

.lfg-brand-title {
  font-family: 'Impact', 'Raleway', sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  letter-spacing: 0.5px !important;
}

body.theme-dark .lfg-brand-title {
  color: #FFFFFF !important;
}

.lfg-brand-desc {
  font-family: 'Raleway', 'Cairo', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  margin: 0 0 16px 0 !important;
  max-width: 460px !important;
}

body.theme-dark .lfg-brand-desc {
  color: #94A3B8 !important;
}

.lfg-status-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #047857 !important;
}

body.theme-dark .lfg-status-pill {
  background: rgba(16, 185, 129, 0.16) !important;
  color: #34D399 !important;
}

.lfg-heading {
  font-family: 'Raleway', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 16px 0 !important;
}

body.theme-dark .lfg-heading {
  color: #FFFFFF !important;
}

.lfg-links-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.lfg-link {
  font-family: 'Raleway', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

body.theme-dark .lfg-link {
  color: #CBD5E1 !important;
}

.lfg-link:hover {
  color: #059669 !important;
  transform: translateX(4px) !important;
}

.lfg-badges-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.lfg-badge-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease !important;
}

.lfg-badge-chip.emerald {
  background: #F0FDF4 !important;
  border: 1.5px solid #BBF7D0 !important;
  color: #166534 !important;
}

body.theme-dark .lfg-badge-chip.emerald {
  background: rgba(6, 78, 59, 0.4) !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
  color: #6EE7B7 !important;
}

.lfg-badge-chip.cyan {
  background: #F0F9FF !important;
  border: 1.5px solid #BAE6FD !important;
  color: #075985 !important;
}

body.theme-dark .lfg-badge-chip.cyan {
  background: rgba(12, 74, 110, 0.4) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #7DD3FC !important;
}

.lfg-badge-chip.amber {
  background: #FFFBEB !important;
  border: 1.5px solid #FEF08A !important;
  color: #854D0E !important;
}

body.theme-dark .lfg-badge-chip.amber {
  background: rgba(120, 53, 15, 0.4) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
  color: #FDE047 !important;
}

.lfg-bottom-bar {
  border-top: 1px solid #E2E8F0 !important;
  padding-top: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

body.theme-dark .lfg-bottom-bar {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.lfg-copy {
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  color: #64748B !important;
  margin: 0 !important;
}

body.theme-dark .lfg-copy {
  color: #94A3B8 !important;
}

.lfg-bottom-badges {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.lfg-small-tag {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  background: #F1F5F9 !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
}

body.theme-dark .lfg-small-tag {
  background: #1E293B !important;
  color: #CBD5E1 !important;
}

/* ==========================================================================
   AUTHORITATIVE 3D MOUSE GRAVITY LOGO ENGINE (SAFARI & CHROME DESKTOP OPTIMIZED)
   ========================================================================== */
.top-brand-profile-hero.bg-embedded,
#topBrandProfileHero {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 1 !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  perspective: 1200px !important;
  overflow: hidden !important;
}

/* BIG SCREEN / DESKTOP (Faded Elegant 3D Mouse Gravity Logo & Spread Colors) */
@media (min-width: 769px) {
  .top-brand-profile-hero.bg-embedded,
  #topBrandProfileHero {
    z-index: 10 !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-big-logo {
    height: 520px !important;
    max-height: 62vh !important;
    width: auto !important;
    max-width: 650px !important;
    object-fit: contain !important;
    opacity: 0.20 !important;
    filter: drop-shadow(0 14px 36px rgba(16, 185, 129, 0.28)) drop-shadow(0 4px 14px rgba(2, 132, 199, 0.22)) !important;
    transition: opacity 0.3s ease !important;
  }

  body.theme-dark .top-brand-profile-hero.bg-embedded .tbph-big-logo {
    opacity: 0.26 !important;
    filter: drop-shadow(0 16px 40px rgba(16, 185, 129, 0.35)) drop-shadow(0 6px 18px rgba(56, 189, 248, 0.28)) !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-ambient-glow {
    display: block !important;
    visibility: visible !important;
    width: 1400px !important;
    height: 1400px !important;
    max-width: 150vw !important;
    max-height: 150vh !important;
    background: radial-gradient(circle, 
      rgba(16, 185, 129, 0.32) 0%, 
      rgba(2, 132, 199, 0.22) 35%, 
      rgba(245, 158, 11, 0.12) 60%, 
      transparent 78%
    ) !important;
    filter: blur(130px) !important;
    opacity: 0.65 !important;
    animation: pulseMovingCircle 10s ease-in-out infinite alternate !important;
  }

  body.theme-dark .top-brand-profile-hero.bg-embedded .tbph-ambient-glow {
    background: radial-gradient(circle, 
      rgba(16, 185, 129, 0.36) 0%, 
      rgba(56, 189, 248, 0.26) 35%, 
      rgba(251, 191, 36, 0.15) 60%, 
      transparent 78%
    ) !important;
    opacity: 0.75 !important;
    filter: blur(140px) !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-moving-circle-ring,
  .tbph-moving-circle-ring {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* MOBILE SCREEN (Subtle Faded Watermark & Soft Spread Color) */
@media (max-width: 768px) {
  .top-brand-profile-hero.bg-embedded,
  #topBrandProfileHero {
    z-index: 2 !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-big-logo {
    height: 160px !important;
    max-height: 20vh !important;
    width: auto !important;
    max-width: 65vw !important;
    object-fit: contain !important;
    opacity: 0.08 !important;
    filter: drop-shadow(0 6px 16px rgba(16, 185, 129, 0.15)) !important;
  }

  body.theme-dark .top-brand-profile-hero.bg-embedded .tbph-big-logo {
    opacity: 0.12 !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-ambient-glow {
    display: block !important;
    visibility: visible !important;
    width: 650px !important;
    height: 650px !important;
    background: radial-gradient(circle, 
      rgba(16, 185, 129, 0.25) 0%, 
      rgba(2, 132, 199, 0.16) 40%, 
      rgba(245, 158, 11, 0.08) 65%, 
      transparent 80%
    ) !important;
    filter: blur(70px) !important;
    opacity: 0.5 !important;
  }

  .top-brand-profile-hero.bg-embedded .tbph-moving-circle-ring,
  .tbph-moving-circle-ring {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* ==========================================================================
   AUTHORITATIVE MOBILE VIEWPORT AUTO-ALIGNMENT & RESPONSIVE ENGINE (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Global Viewport & Section Containers Auto-Centering */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .app-viewport-wrapper,
  .mobile-frame,
  .auth-overlay,
  .desktop-company-landing,
  .landing-scroll-body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .landing-section,
  .landing-hero-section,
  #companyProfileBox,
  #aboutProgramSection,
  #plansSection,
  #gtcfxSection {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
  }

  /* 2. Top Header Mobile Auto-Alignment */
  .landing-header {
    padding-top: env(safe-area-inset-top, 0px) !important;
  }

  .landing-header-inner {
    height: 56px !important;
    padding: 0 14px !important;
    gap: 8px !important;
  }

  .landing-brand-logo {
    height: 32px !important;
    width: 32px !important;
  }

  .landing-brand-title {
    font-size: 15px !important;
  }

  .landing-brand-sub,
  .landing-nav-links {
    display: none !important;
  }

  .landing-header-actions {
    gap: 6px !important;
  }

  .btn-landing-corner-login {
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
  }

  /* 3. Hero Section Vertical Stacking & Symmetry */
  .landing-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .landing-hero-left {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .landing-hero-badge {
    margin: 0 auto 14px auto !important;
    font-size: 12px !important;
    padding: 6px 14px !important;
  }

  .landing-hero-title {
    font-size: clamp(25px, 7vw, 32px) !important;
    line-height: 1.22 !important;
    text-align: center !important;
    margin: 0 0 14px 0 !important;
    word-break: break-word !important;
  }

  .landing-hero-desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin: 0 auto 20px auto !important;
    max-width: 100% !important;
  }

  .landing-hero-cta-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
  }

  .landing-metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  .landing-metric-card {
    padding: 14px 10px !important;
    text-align: center !important;
    border-radius: 16px !important;
  }

  .lmc-val {
    font-size: 22px !important;
  }

  .lmc-lbl {
    font-size: 11px !important;
  }

  .landing-hero-right {
    width: 100% !important;
    max-width: 100% !important;
  }

  .landing-showcase-card {
    width: 100% !important;
    padding: 20px 16px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }

  /* 4. Live Moving News Ticker Auto-Wrap */
  .xauusd-moving-badge-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    padding: 8px 12px !important;
    margin-bottom: 20px !important;
  }

  .xauusd-marquee-wrapper {
    overflow: hidden !important;
    width: 100% !important;
  }

  /* 5. Section Headers Auto-Centering */
  .landing-section-header {
    text-align: center !important;
    margin-bottom: 20px !important;
    padding: 0 4px !important;
  }

  .landing-section-badge {
    margin: 0 auto 10px auto !important;
    font-size: 12px !important;
    padding: 6px 14px !important;
  }

  .landing-section-title {
    font-size: clamp(21px, 5.5vw, 26px) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    margin: 0 0 10px 0 !important;
  }

  .landing-section-desc {
    font-size: 13px !important;
    line-height: 1.55 !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* 6. Cards & Grids Full Width Responsive Flow */
  .cmp-features-grid,
  .landing-features-grid,
  .landing-plans-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .cmp-card,
  .landing-feature-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  .landing-plan-card {
    padding: 24px 18px !important;
    border-radius: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-plan-select {
    width: 100% !important;
    padding: 12px 18px !important;
    justify-content: center !important;
  }

  /* 7. SSL Security Certificate Banner Mobile Stack */
  .org-security-cert-banner {
    padding: 20px 14px !important;
    border-radius: 20px !important;
    margin-top: 18px !important;
  }

  .org-cert-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  .org-cert-badge-pulse {
    font-size: 11px !important;
    padding: 5px 12px !important;
  }

  .org-cert-issuer {
    font-size: 11.5px !important;
    text-align: center !important;
  }

  .org-cert-badges-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .org-badge-item {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  /* 8. GTCfx Partnership Banner Mobile Alignment */
  .landing-gtcfx-banner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 18px !important;
    padding: 24px 16px !important;
    border-radius: 20px !important;
  }

  .lgb-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .lgb-icon-box {
    margin: 0 auto !important;
  }

  .lgb-title {
    font-size: 20px !important;
  }

  .lgb-desc {
    font-size: 13px !important;
    line-height: 1.55 !important;
    text-align: center !important;
  }

  .btn-gtcfx-cta {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
  }

  /* 9. Corporate Curved Footer Mobile Alignment */
  .landing-footer {
    margin: 20px 10px 32px 10px !important;
    padding: 28px 16px 20px 16px !important;
    border-radius: 20px !important;
  }

  .landing-footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    text-align: center !important;
  }

  .lfg-brand-header {
    justify-content: center !important;
  }

  .lfg-brand-desc {
    margin: 0 auto 14px auto !important;
    text-align: center !important;
  }

  .lfg-status-pill {
    margin: 0 auto !important;
  }

  .lfg-links-list {
    align-items: center !important;
  }

  .lfg-badges-grid {
    align-items: stretch !important;
  }

  .lfg-badge-chip {
    justify-content: center !important;
  }

  .lfg-bottom-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .lfg-bottom-badges {
    justify-content: center !important;
  }
}

/* ==========================================================================
   SATOSHI GEOMETRIC BRUTALIST & MINIMALIST DUAL-COLUMN AUTH SYSTEM
   ========================================================================== */

/* 1. Global Satoshi Typography & Reset for Auth View */
.satoshi-auth-split-container,
.satoshi-form-wrapper,
.satoshi-mobile-auth-inner {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #111827;
  box-sizing: border-box;
}

body.theme-dark .satoshi-auth-split-container,
body.theme-dark .satoshi-mobile-auth-inner {
  color: #F8FAFC;
}

/* 2. Desktop 50/50 Dual-Column Container */
@media (min-width: 769px) {
  .auth-overlay.signin-active .satoshi-auth-split-container {
    display: flex !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 10005 !important;
  }

  body.theme-dark .auth-overlay.signin-active .satoshi-auth-split-container {
    background: #0B0F17 !important;
  }

  /* Left 50%: Visual Branding & Characters */
  .satoshi-visual-brand-area {
    flex: 1 1 50% !important;
    width: 50% !important;
    height: 100vh !important;
    background: #F3F4F6 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 36px 44px !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.theme-dark .satoshi-visual-brand-area {
    background: #111827 !important;
    border-right: 1px solid #1E293B !important;
  }

  /* Right 50%: Minimalist Form Column */
  .satoshi-form-column {
    flex: 1 1 50% !important;
    width: 50% !important;
    height: 100vh !important;
    background: #FFFFFF !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 48px !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
  }

  body.theme-dark .satoshi-form-column {
    background: #0B0F17 !important;
  }
}

/* 3. Left Visual Brand Inner Elements */
.asl-brand-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.asl-brand-footer {
  text-align: center;
  padding-top: 14px;
}

.asl-brand-caption {
  font-family: 'Satoshi', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #94A3B8 !important;
  letter-spacing: 0.02em !important;
  margin: 0 !important;
}

/* 4. 🎭 WHIMSICAL ABSTRACT GEOMETRIC CHARACTERS COMPOSITION */
.geom-character-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  margin: 16px 0;
}

.geom-character-canvas {
  position: relative;
  width: 380px;
  height: 380px;
}

/* Floating Keyframe Motion (6s organic float loop) */
@keyframes floatChar {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.geom-char {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  animation: floatChar 6s ease-in-out infinite;
  user-select: none;
  cursor: grab;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.geom-char:hover {
  filter: brightness(1.05);
}

.geom-char:active {
  cursor: grabbing;
  transform: scale(0.95) !important;
}

/* Character 1: Purple Rectangle (#8B5CF6, 128x160px, delay 0s) */
.geom-purple-rect {
  width: 128px;
  height: 160px;
  background: #8B5CF6;
  border-radius: 28px;
  top: 15px;
  left: 20px;
  z-index: 3;
  animation-delay: 0s;
  box-shadow: 0 20px 35px -8px rgba(139, 92, 246, 0.42), 0 8px 16px -4px rgba(0, 0, 0, 0.05);
}

.geom-purple-rect .char-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.geom-purple-rect .char-eyes {
  display: flex;
  gap: 20px;
}

.char-eye {
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.char-pupil {
  width: 8px;
  height: 8px;
  background: #111827;
  border-radius: 50%;
  transform: translate(2px, 0);
  transition: transform 0.3s ease;
}

.char-cheeks {
  display: flex;
  gap: 40px;
}

.char-blush {
  width: 10px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 99px;
}

/* Character 2: Black Rounded Rectangle (#111827, 144x176px, delay 2s) */
.geom-black-rect {
  width: 144px;
  height: 176px;
  background: #111827;
  border-radius: 36px;
  top: 40px;
  right: 15px;
  z-index: 2;
  animation-delay: 2s;
  box-shadow: 0 25px 45px -10px rgba(17, 24, 39, 0.5), 0 10px 20px -4px rgba(0, 0, 0, 0.08);
}

.geom-black-rect .char-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.char-eyes-happy {
  display: flex;
  gap: 24px;
}

.char-eye-arch {
  width: 16px;
  height: 8px;
  border-top: 3.5px solid #FFFFFF;
  border-radius: 16px 16px 0 0;
}

.char-smile-curve {
  width: 24px;
  height: 12px;
  border-bottom: 3.5px solid #FFFFFF;
  border-radius: 0 0 24px 24px;
}

/* Character 3: Orange Semicircle (#F97316, 160x80px, delay 4s) */
.geom-orange-semi {
  width: 160px;
  height: 80px;
  background: #F97316;
  border-radius: 160px 160px 0 0;
  bottom: 25px;
  left: 15px;
  z-index: 4;
  animation-delay: 4s;
  box-shadow: 0 20px 35px -8px rgba(249, 115, 22, 0.42);
}

.geom-orange-semi .char-face {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
}

.char-eyes-blink {
  display: flex;
  gap: 28px;
}

.char-eye-dot {
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  border-radius: 50%;
  animation: charBlink 4s infinite;
}

@keyframes charBlink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

/* Character 4: Yellow Organic Blob (#FACC15, 144x144px, delay 1s) */
.geom-yellow-blob {
  width: 144px;
  height: 144px;
  background: #FACC15;
  border-radius: 46% 54% 68% 32% / 42% 48% 52% 58%;
  bottom: 20px;
  right: 25px;
  z-index: 5;
  animation-delay: 1s;
  box-shadow: 0 20px 35px -8px rgba(250, 204, 21, 0.45);
}

.geom-yellow-blob .char-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.char-eyes-wide {
  display: flex;
  gap: 18px;
}

.char-eye-round {
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.char-pupil-sparkle {
  width: 8px;
  height: 8px;
  background: #111827;
  border-radius: 50%;
}

.char-open-smile {
  width: 22px;
  height: 11px;
  background: #111827;
  border-radius: 0 0 22px 22px;
}

/* 5. Right Form Column & Satoshi Form Card */
.satoshi-form-card {
  width: 100%;
  max-width: 448px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}

.satoshi-form-header {
  margin-bottom: 32px;
  text-align: left;
}

.satoshi-heading {
  font-family: 'Satoshi', sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  color: #111827 !important;
  margin: 0 0 8px 0 !important;
}

body.theme-dark .satoshi-heading {
  color: #F8FAFC !important;
}

.satoshi-subtext {
  font-family: 'Satoshi', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #64748B !important;
  margin: 0 !important;
}

body.theme-dark .satoshi-subtext {
  color: #94A3B8 !important;
}

.satoshi-form-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

/* 6. Animated Underline Input Group */
.satoshi-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  position: relative;
}

.satoshi-label {
  font-family: 'Satoshi', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #475569 !important;
}

body.theme-dark .satoshi-label {
  color: #94A3B8 !important;
}

.satoshi-input-wrapper {
  position: relative;
  width: 100%;
}

.satoshi-input {
  width: 100% !important;
  border: none !important;
  border-bottom: 2px solid #F1F5F9 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 12px 0 10px 0 !important;
  font-family: 'Satoshi', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #111827 !important;
  outline: none !important;
  transition: border-color 0.2s ease !important;
  box-sizing: border-box !important;
}

.satoshi-input::placeholder {
  color: #94A3B8 !important;
  font-weight: 400 !important;
}

body.theme-dark .satoshi-input {
  border-bottom: 2px solid #1E293B !important;
  color: #F8FAFC !important;
}

/* Animated 2px Black Underline that Expands from 0% to 100% on Focus */
.satoshi-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #000000;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

body.theme-dark .satoshi-underline {
  background: #38BDF8;
}

.satoshi-input-wrapper:focus-within .satoshi-underline {
  width: 100% !important;
}

/* 7. Custom Styled Checkbox & Forgot Password Row */
.satoshi-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -6px;
}

.satoshi-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.satoshi-checkbox-hidden {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.satoshi-checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #CBD5E1;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

body.theme-dark .satoshi-checkbox-custom {
  border-color: #475569;
  background: #1E293B;
}

.satoshi-checkbox-hidden:checked + .satoshi-checkbox-custom {
  background: #000000 !important;
  border-color: #000000 !important;
}

body.theme-dark .satoshi-checkbox-hidden:checked + .satoshi-checkbox-custom {
  background: #38BDF8 !important;
  border-color: #38BDF8 !important;
}

.satoshi-check-svg {
  width: 13px;
  height: 13px;
  stroke: #FFFFFF;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.theme-dark .satoshi-check-svg {
  stroke: #0F172A;
}

.satoshi-checkbox-hidden:checked + .satoshi-checkbox-custom .satoshi-check-svg {
  transform: scale(1);
}

.satoshi-remember-text {
  font-family: 'Satoshi', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #334155 !important;
}

body.theme-dark .satoshi-remember-text {
  color: #CBD5E1 !important;
}

.satoshi-forgot-link {
  font-family: 'Satoshi', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #64748B !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.satoshi-forgot-link:hover {
  color: #000000 !important;
  text-decoration: underline !important;
}

body.theme-dark .satoshi-forgot-link:hover {
  color: #38BDF8 !important;
}

/* 8. Full-Width Black Login Button with Active Feedback */
.btn-satoshi-login {
  width: 100% !important;
  height: 52px !important;
  background: #000000 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: 'Satoshi', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.3) !important;
}

.btn-satoshi-login:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.4) !important;
}

.btn-satoshi-login:active {
  transform: scale(0.98) !important;
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.25) !important;
}

body.theme-dark .btn-satoshi-login {
  background: #F8FAFC !important;
  color: #0F172A !important;
  box-shadow: 0 10px 24px -6px rgba(255, 255, 255, 0.2) !important;
}

body.theme-dark .btn-satoshi-login:hover {
  background: #FFFFFF !important;
  box-shadow: 0 14px 28px -6px rgba(255, 255, 255, 0.28) !important;
}

.btn-satoshi-login .btn-arrow {
  font-size: 18px !important;
  transition: transform 0.2s ease !important;
}

.btn-satoshi-login:hover .btn-arrow {
  transform: translateX(3px) !important;
}

/* 9. Google OAuth Social Button */
.satoshi-social-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: -6px 0;
}

.satoshi-social-divider::before,
.satoshi-social-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}

body.theme-dark .satoshi-social-divider::before,
body.theme-dark .satoshi-social-divider::after {
  border-bottom-color: #1E293B;
}

.satoshi-social-divider span {
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-satoshi-google {
  width: 100% !important;
  height: 48px !important;
  background: #FFFFFF !important;
  color: #334155 !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  font-family: 'Satoshi', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}

.btn-satoshi-google:hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
}

.btn-satoshi-google:active {
  transform: scale(0.98) !important;
}

body.theme-dark .btn-satoshi-google {
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #F1F5F9 !important;
}

body.theme-dark .btn-satoshi-google:hover {
  background: #273549 !important;
}

/* 10. Secondary Navigation & Footer Actions */
.satoshi-footer-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
}

.satoshi-footer-text {
  font-family: 'Satoshi', sans-serif !important;
  color: #64748B !important;
  font-weight: 400 !important;
}

.satoshi-signup-link {
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 700 !important;
  color: #000000 !important;
  text-decoration: none !important;
  position: relative !important;
  transition: color 0.2s ease !important;
}

.satoshi-signup-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #000000;
  transition: width 0.25s ease;
}

.satoshi-signup-link:hover::after {
  width: 100%;
}

body.theme-dark .satoshi-signup-link {
  color: #F8FAFC !important;
}

body.theme-dark .satoshi-signup-link::after {
  background: #F8FAFC;
}

.satoshi-security-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Satoshi', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #94A3B8 !important;
  margin-top: 4px;
}

.satoshi-security-badge span.material-symbols-rounded {
  font-size: 15px !important;
  color: #10B981 !important;
}

/* 11. Mobile Auth Responsive Stack (< 768px) */
@media (max-width: 768px) {
  .satoshi-mobile-auth-inner {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    background: #F3F4F6 !important;
  }

  body.theme-dark .satoshi-mobile-auth-inner {
    background: #111827 !important;
  }

  .satoshi-mobile-hero {
    padding: 24px 20px 20px 20px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .mobile-geom-mini-stage {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .mini-char-purple {
    width: 38px;
    height: 48px;
    background: #8B5CF6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.4);
    animation: floatChar 4s ease-in-out infinite;
  }

  .mini-char-black {
    width: 44px;
    height: 54px;
    background: #111827;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.4);
    animation: floatChar 4s ease-in-out infinite;
    animation-delay: 1.5s;
  }

  .mini-char-yellow {
    width: 40px;
    height: 40px;
    background: #FACC15;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 8px 16px rgba(250, 204, 21, 0.4);
    animation: floatChar 4s ease-in-out infinite;
    animation-delay: 0.8s;
  }

  .mini-char-eye {
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
  }

  .mini-char-smile {
    width: 12px;
    height: 6px;
    border-bottom: 2px solid #FFFFFF;
    border-radius: 0 0 12px 12px;
  }

  .satoshi-mobile-title {
    font-family: 'Satoshi', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: #111827 !important;
    margin: 0 0 6px 0 !important;
  }

  body.theme-dark .satoshi-mobile-title {
    color: #F8FAFC !important;
  }

  .satoshi-mobile-sub {
    font-family: 'Satoshi', sans-serif !important;
    font-size: 13.5px !important;
    color: #64748B !important;
    margin: 0 !important;
  }

  .mobile-form-body {
    gap: 18px !important;
  }
}

/* ==========================================================================
   B-MAGNET HOME-THEMED FULL-DISPLAY BORDERLESS AUTH VIEWPORT & BOT GUIDE
   Theme: Cyan #0284c7 | Teal #00a896 | Navy #0f172a | Ice Blue #d8ebfa / Obsidian #070b14
   Typography: Raleway, Impact, Cairo, JetBrains Mono
   Full-Display, Edge-to-Edge Fluid Split, No Boundary Box, Interactive Bot Explainer
   ========================================================================== */

/* 1. Viewport & Canvas Background */
.auth-screens-viewport.bot-theme-auth-viewport {
  background: linear-gradient(135deg, #d8ebfa 0%, #edf5fd 50%, #f0f7fd 100%) !important;
  color: var(--text-primary, #0f172a) !important;
  font-family: var(--font-sans, 'Raleway', 'Cairo', sans-serif) !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: optimizeLegibility !important;
  position: relative !important;
  overflow-x: hidden !important;
  min-height: 100vh !important;
  width: 100% !important;
}

body.theme-dark .auth-screens-viewport.bot-theme-auth-viewport {
  background: radial-gradient(circle at 10% 20%, #0e1422 0%, #070b14 100%) !important;
  color: #f8fafc !important;
}

/* 2. Full Canvas (Edge-to-Edge, No Constrained Max-Width Side Boundaries) */
.bot-auth-full-canvas {
  width: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  z-index: 2 !important;
}

/* 3. Ambient Floating Glow Orbs (Soft Cyan, Teal, Navy) */
.bot-ambient-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
}

/* ==========================================================================
   B-MAGNET AESTHETIC LOGIN PAGE (NEW ARCHITECTURAL FINTECH LUXURY)
   ========================================================================== */

body.aesthetic-login-page {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh !important;
  background-color: #070a12 !important;
  color: #f8fafc !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: optimizeLegibility !important;
  overflow-x: hidden !important;
  position: relative !important;
}

body.aesthetic-login-page:not(.theme-dark),
body.aesthetic-login-page.theme-light {
  background-color: #f4f6fb !important;
  color: #0f172a !important;
}

/* Ethereal Ambient Canvas */
.aesthetic-ambient-canvas {
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  overflow: hidden !important;
}

.aesthetic-glow-orb {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(120px) !important;
  opacity: 0.65 !important;
  animation: ambientOrbFloat 18s ease-in-out infinite alternate !important;
}

.orb-cyan {
  width: 550px !important;
  height: 550px !important;
  top: -100px !important;
  left: 15% !important;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.28) 0%, rgba(0, 117, 235, 0) 70%) !important;
}

.orb-indigo {
  width: 600px !important;
  height: 600px !important;
  bottom: -120px !important;
  right: 10% !important;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.24) 0%, rgba(67, 56, 202, 0) 70%) !important;
  animation-delay: -6s !important;
}

.orb-emerald {
  width: 450px !important;
  height: 450px !important;
  top: 40% !important;
  right: 25% !important;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0) 70%) !important;
  animation-delay: -10s !important;
}

body.aesthetic-login-page:not(.theme-dark) .aesthetic-glow-orb,
body.aesthetic-login-page.theme-light .aesthetic-glow-orb {
  opacity: 0.4 !important;
  filter: blur(90px) !important;
}

@keyframes ambientOrbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

.aesthetic-mesh-grid {
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
  opacity: 0.8 !important;
}

body.aesthetic-login-page:not(.theme-dark) .aesthetic-mesh-grid,
body.aesthetic-login-page.theme-light .aesthetic-mesh-grid {
  background-image: radial-gradient(rgba(0, 50, 120, 0.06) 1px, transparent 1px) !important;
}

/* Viewport Layout */
.aesthetic-login-viewport {
  position: relative !important;
  z-index: 2 !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 24px 32px !important;
  box-sizing: border-box !important;
}

/* Top Floating Header */
.aesthetic-top-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 16px auto !important;
}

.btn-aesthetic-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(16px) !important;
  color: #f8fafc !important;
  border-radius: 9999px !important;
  padding: 7px 18px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

body.aesthetic-login-page:not(.theme-dark) .btn-aesthetic-back,
body.aesthetic-login-page.theme-light .btn-aesthetic-back {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.btn-aesthetic-back:hover {
  background: rgba(0, 117, 235, 0.2) !important;
  border-color: rgba(0, 117, 235, 0.5) !important;
  color: #ffffff !important;
  transform: translateX(-3px) !important;
  box-shadow: 0 0 16px rgba(0, 117, 235, 0.3) !important;
}

/* Live Telemetry Capsule */
.atn-telemetry-capsule {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: 9999px !important;
  padding: 6px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: #94a3b8 !important;
}

body.aesthetic-login-page:not(.theme-dark) .atn-telemetry-capsule,
body.aesthetic-login-page.theme-light .atn-telemetry-capsule {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

.atn-pulse-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  display: inline-block !important;
  animation: pulseDot 2s infinite !important;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.atn-capsule-label {
  color: #f8fafc !important;
}

body.aesthetic-login-page:not(.theme-dark) .atn-capsule-label,
body.aesthetic-login-page.theme-light .atn-capsule-label {
  color: #0f172a !important;
}

.atn-capsule-divider {
  color: rgba(255, 255, 255, 0.2) !important;
}

.atn-latency-tag {
  color: #38bdf8 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 800 !important;
}

.atn-algo-name {
  color: #10b981 !important;
  font-weight: 800 !important;
}

.atn-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.aesthetic-icon-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(16px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #f8fafc !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

body.aesthetic-login-page:not(.theme-dark) .aesthetic-icon-btn,
body.aesthetic-login-page.theme-light .aesthetic-icon-btn {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.aesthetic-icon-btn:hover {
  border-color: #0075eb !important;
  color: #0075eb !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   CENTERPIECE: The Aesthetic Glass Monolith
   ========================================================================== */
.aesthetic-monolith-stage {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: auto 0 !important;
  padding: 12px 0 !important;
}

/* ==========================================================================
   DUAL-PANE STAGE: Equal Length / Height Uniform Architectural Windows
   ========================================================================== */
.login-dual-split-stage {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: auto auto !important;
  gap: 24px !important;
  padding: 6px 0 !important;
}

/* 🧠 LEFT WINDOW: Big Bot Explanation Window Panel (Exact Same Length: 590px) */
.bot-explain-monolith-window {
  flex: 1.2 !important;
  min-width: 340px !important;
  height: 590px !important;
  min-height: 590px !important;
  max-height: 590px !important;
  background: rgba(20, 29, 41, 0.85) !important;
  backdrop-filter: blur(36px) saturate(180%) !important;
  border: 1px solid rgba(45, 155, 136, 0.25) !important;
  border-radius: 28px !important;
  padding: 28px 32px !important;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(45, 155, 136, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  box-sizing: border-box !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
}

body.aesthetic-login-page:not(.theme-dark) .bot-explain-monolith-window,
body.aesthetic-login-page.theme-light .bot-explain-monolith-window {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(45, 155, 136, 0.2) !important;
  box-shadow: 0 20px 60px -15px rgba(25, 39, 80, 0.08), 0 0 25px rgba(45, 155, 136, 0.1) !important;
  color: #1a1a1a !important;
}

.bew-brand-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
  flex-shrink: 0 !important;
}

.bew-logo-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.bew-brand-logo {
  height: 46px !important;
  max-width: 170px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 14px rgba(45, 155, 136, 0.35)) !important;
}

body.aesthetic-login-page:not(.theme-dark) .bew-brand-logo,
body.aesthetic-login-page.theme-light .bew-brand-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08)) !important;
}

.bew-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #34b39d !important;
  background: rgba(45, 155, 136, 0.12) !important;
  border: 1px solid rgba(45, 155, 136, 0.3) !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
}

body.aesthetic-login-page:not(.theme-dark) .bew-status-badge,
body.aesthetic-login-page.theme-light .bew-status-badge {
  color: #1e6b5e !important;
  background: rgba(45, 155, 136, 0.08) !important;
}

.bew-pulse-ring {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #2d9b88 !important;
  box-shadow: 0 0 8px #2d9b88 !important;
}

/* Hero Text in Zodiak Serif */
.bew-hero-text {
  margin-bottom: 14px !important;
  flex-shrink: 0 !important;
}

.bew-eyebrow {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: #2d9b88 !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.bew-heading {
  font-family: 'Zodiak', serif !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.015em !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
}

.bew-heading em {
  font-style: italic !important;
  color: #34b39d !important;
}

body.aesthetic-login-page:not(.theme-dark) .bew-heading,
body.aesthetic-login-page.theme-light .bew-heading {
  color: #1a1a1a !important;
}

body.aesthetic-login-page:not(.theme-dark) .bew-heading em,
body.aesthetic-login-page.theme-light .bew-heading em {
  color: #2d9b88 !important;
}

.bew-lead {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .bew-lead,
body.aesthetic-login-page.theme-light .bew-lead {
  color: #4b5563 !important;
}

/* 3 Core Bot Pillars */
.bew-pillars-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
  flex-shrink: 0 !important;
}

.bew-pillar-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: rgba(24, 34, 48, 0.6) !important;
  border: 1px solid rgba(45, 155, 136, 0.18) !important;
  border-radius: 14px !important;
  padding: 9px 14px !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

body.aesthetic-login-page:not(.theme-dark) .bew-pillar-card,
body.aesthetic-login-page.theme-light .bew-pillar-card {
  background: #f8fafc !important;
  border-color: rgba(45, 155, 136, 0.15) !important;
}

.bew-pillar-card:hover {
  border-color: #2d9b88 !important;
  transform: translateY(-2px) !important;
}

.bpc-icon-box {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  background: rgba(45, 155, 136, 0.15) !important;
  border: 1px solid rgba(45, 155, 136, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #34b39d !important;
  flex-shrink: 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .bpc-icon-box,
body.aesthetic-login-page.theme-light .bpc-icon-box {
  color: #1e6b5e !important;
  background: rgba(45, 155, 136, 0.1) !important;
}

.bpc-icon-box span {
  font-size: 18px !important;
}

.bpc-content h4 {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 2px 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .bpc-content h4,
body.aesthetic-login-page.theme-light .bpc-content h4 {
  color: #1a1a1a !important;
}

.bpc-content p {
  font-size: 11px !important;
  line-height: 1.38 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .bpc-content p,
body.aesthetic-login-page.theme-light .bpc-content p {
  color: #64748b !important;
}

/* Telemetry Footer Strip in Left Window */
.bew-metrics-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(14, 20, 27, 0.6) !important;
  border: 1px solid rgba(45, 155, 136, 0.2) !important;
  border-radius: 14px !important;
  padding: 10px 18px !important;
  flex-shrink: 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .bew-metrics-footer,
body.aesthetic-login-page.theme-light .bew-metrics-footer {
  background: #ffffff !important;
  border-color: rgba(45, 155, 136, 0.15) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
}

.bmf-stat {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.bmf-val {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #34b39d !important;
}

body.aesthetic-login-page:not(.theme-dark) .bmf-val,
body.aesthetic-login-page.theme-light .bmf-val {
  color: #2d9b88 !important;
}

.bmf-lbl {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  margin-top: 1px !important;
}

body.aesthetic-login-page:not(.theme-dark) .bmf-lbl,
body.aesthetic-login-page.theme-light .bmf-lbl {
  color: #64748b !important;
}

.bmf-divider {
  width: 1px !important;
  height: 22px !important;
  background: rgba(45, 155, 136, 0.2) !important;
}

/* 🔐 RIGHT WINDOW: Static-Sized Side Login Panel Window (Exact Same Length: 590px) */
.login-side-panel-window {
  flex: 0.95 !important;
  max-width: 440px !important;
  min-width: 330px !important;
  min-height: 590px !important;
  height: 590px !important;
  max-height: 590px !important;
  background: rgba(20, 29, 41, 0.9) !important;
  backdrop-filter: blur(36px) saturate(180%) !important;
  border: 1px solid rgba(45, 155, 136, 0.25) !important;
  border-radius: 28px !important;
  padding: 28px 28px 20px 28px !important;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(45, 155, 136, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  box-sizing: border-box !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
}

body.aesthetic-login-page:not(.theme-dark) .login-side-panel-window,
body.aesthetic-login-page.theme-light .login-side-panel-window {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(45, 155, 136, 0.2) !important;
  box-shadow: 0 20px 60px -15px rgba(25, 39, 80, 0.08), 0 0 25px rgba(45, 155, 136, 0.1) !important;
}

/* Side Panel Header */
.lspw-top-section {
  width: 100% !important;
  flex-shrink: 0 !important;
}

.lspw-header-text {
  text-align: center !important;
  margin-bottom: 12px !important;
}

.lspw-badge {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #34b39d !important;
  background: rgba(45, 155, 136, 0.12) !important;
  border: 1px solid rgba(45, 155, 136, 0.3) !important;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
  display: inline-block !important;
  margin-bottom: 6px !important;
}

body.aesthetic-login-page:not(.theme-dark) .lspw-badge,
body.aesthetic-login-page.theme-light .lspw-badge {
  color: #1e6b5e !important;
  background: rgba(45, 155, 136, 0.08) !important;
}

.lspw-title {
  font-family: 'Zodiak', serif !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  margin: 0 0 5px 0 !important;
}

.lspw-title em {
  font-style: italic !important;
  color: #34b39d !important;
  background: linear-gradient(135deg, #34b39d 0%, #5ce6d0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 24px rgba(45, 155, 136, 0.3) !important;
}

body.aesthetic-login-page:not(.theme-dark) .lspw-title,
body.aesthetic-login-page.theme-light .lspw-title {
  color: #0f172a !important;
}

body.aesthetic-login-page:not(.theme-dark) .lspw-title em,
body.aesthetic-login-page.theme-light .lspw-title em {
  color: #1e6b5e !important;
  background: linear-gradient(135deg, #1e6b5e 0%, #2d9b88 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

.lspw-sub {
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .lspw-sub,
body.aesthetic-login-page.theme-light .lspw-sub {
  color: #64748b !important;
}

/* Dedicated Google Auth Monolith Body */
.google-auth-monolith-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 !important;
  padding: 6px 0 0 0 !important;
}

.google-action-box {
  width: 100% !important;
}

.btn-aesthetic-google-hero {
  width: 100% !important;
  height: 60px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4), 0 0 20px rgba(45, 155, 136, 0.25) !important;
  box-sizing: border-box !important;
}

body.aesthetic-login-page:not(.theme-dark) .btn-aesthetic-google-hero,
body.aesthetic-login-page.theme-light .btn-aesthetic-google-hero {
  background: #ffffff !important;
  border: 1px solid rgba(45, 155, 136, 0.3) !important;
  box-shadow: 0 8px 24px -4px rgba(25, 39, 80, 0.12), 0 0 16px rgba(45, 155, 136, 0.15) !important;
}

.btn-aesthetic-google-hero:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 40px -5px rgba(0, 0, 0, 0.5), 0 0 32px rgba(45, 155, 136, 0.45) !important;
}

.gag-icon-circle {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.gag-text-wrap {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  flex: 1 !important;
  margin-left: 12px !important;
}

.gag-main-text {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
}

.gag-sub-text {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
}

.gag-badge {
  background: linear-gradient(135deg, #2d9b88 0%, #1e6b5e 100%) !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 0 10px rgba(45, 155, 136, 0.45) !important;
}

/* User Database Sync Strip */
.user-db-status-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #34b39d !important;
  background: rgba(45, 155, 136, 0.1) !important;
  border: 1px solid rgba(45, 155, 136, 0.22) !important;
  border-radius: 9999px !important;
  padding: 5px 12px !important;
  margin: 8px 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .user-db-status-strip,
body.aesthetic-login-page.theme-light .user-db-status-strip {
  background: rgba(45, 155, 136, 0.08) !important;
  color: #1e6b5e !important;
  border-color: rgba(45, 155, 136, 0.25) !important;
}

.udb-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #2d9b88 !important;
  box-shadow: 0 0 8px #2d9b88 !important;
}

/* Google Security Features */
.google-security-features {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.gsf-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: rgba(24, 34, 48, 0.55) !important;
  border: 1px solid rgba(45, 155, 136, 0.16) !important;
  border-radius: 14px !important;
  padding: 9px 12px !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

body.aesthetic-login-page:not(.theme-dark) .gsf-item,
body.aesthetic-login-page.theme-light .gsf-item {
  background: #f8fafc !important;
  border-color: rgba(45, 155, 136, 0.15) !important;
}

.gsf-item:hover {
  border-color: #2d9b88 !important;
  transform: translateY(-1px) !important;
}

.gsf-icon {
  font-size: 19px !important;
  color: #34b39d !important;
  margin-top: 1px !important;
  flex-shrink: 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .gsf-icon,
body.aesthetic-login-page.theme-light .gsf-icon {
  color: #2d9b88 !important;
}

.gsf-info {
  display: flex !important;
  flex-direction: column !important;
}

.gsf-info h4 {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 2px 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .gsf-info h4,
body.aesthetic-login-page.theme-light .gsf-info h4 {
  color: #0f172a !important;
}

.gsf-info p {
  font-size: 10.5px !important;
  line-height: 1.35 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

body.aesthetic-login-page:not(.theme-dark) .gsf-info p,
body.aesthetic-login-page.theme-light .gsf-info p {
  color: #64748b !important;
}

/* Side Panel Footer */
.lspw-footer {
  width: 100% !important;
  flex-shrink: 0 !important;
  margin-top: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: center !important;
}

.amc-security-strip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(45, 155, 136, 0.15) !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
}

body.aesthetic-login-page:not(.theme-dark) .amc-security-strip,
body.aesthetic-login-page.theme-light .amc-security-strip {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #64748b !important;
}

.amc-sec-icon {
  font-size: 13px !important;
  color: #2d9b88 !important;
}

.amc-links-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 11px !important;
}

.amc-link {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

body.aesthetic-login-page:not(.theme-dark) .amc-link,
body.aesthetic-login-page.theme-light .amc-link {
  color: #64748b !important;
}

.amc-link:hover {
  color: #2d9b88 !important;
}

.amc-dot {
  color: rgba(255, 255, 255, 0.2) !important;
}

/* Page Footer */
.aesthetic-page-footer {
  text-align: center !important;
  font-size: 11px !important;
  color: #64748b !important;
  padding-top: 12px !important;
}

/* Responsive Stacking */
@media (max-width: 960px) {
  .login-dual-split-stage {
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .bot-explain-monolith-window {
    width: 100% !important;
    max-width: 520px !important;
    padding: 28px 24px !important;
  }

  .login-side-panel-window {
    width: 100% !important;
    max-width: 520px !important;
  }

  .atn-center {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .aesthetic-login-viewport {
    padding: 16px 14px !important;
  }

  .bot-explain-monolith-window {
    padding: 24px 18px !important;
    border-radius: 22px !important;
  }

  .bew-heading {
    font-size: 24px !important;
  }

  .bew-metrics-footer {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .bmf-divider {
    display: none !important;
  }

  .login-side-panel-window {
    padding: 24px 18px 18px 18px !important;
    border-radius: 22px !important;
    min-height: 560px !important;
    height: 560px !important;
  }

  .aesthetic-tab-body-viewport {
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
  }
}

/* ==========================================================================
   UNIFIED LOGGED-IN WINDOW PANELS & DYNAMIC MULTI-PLATFORM CLARITY TYPOGRAPHY
   ========================================================================== */

/* 1. Global Fluid Typography Variables & Crisp Contrast Tokens */
:root {
  --fs-3xs: clamp(8.5px, 0.58rem + 0.04vw, 10px);
  --fs-2xs: clamp(9.5px, 0.65rem + 0.06vw, 11px);
  --fs-xs: clamp(11px, 0.72rem + 0.08vw, 12.5px);
  --fs-sm: clamp(12px, 0.8rem + 0.12vw, 13.5px);
  --fs-base: clamp(13.5px, 0.88rem + 0.16vw, 15px);
  --fs-md: clamp(15px, 0.98rem + 0.22vw, 17px);
  --fs-lg: clamp(17.5px, 1.12rem + 0.28vw, 20px);
  --fs-xl: clamp(20px, 1.3rem + 0.4vw, 24px);
  --fs-2xl: clamp(24px, 1.55rem + 0.6vw, 30px);
  --fs-3xl: clamp(28px, 1.85rem + 0.9vw, 38px);
}

/* 2. Platform-Specific Font Rendering & Subpixel Clarity */
html[data-platform="ios"],
html[data-platform="macos"],
body.platform-ios,
body.platform-mac {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

html[data-platform="windows"],
html[data-platform="linux"],
body.platform-windows,
body.platform-linux {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
}

html[data-platform="android"],
body.platform-android {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
}

/* High-DPI / Retina Micro-Contrast Calibration */
html[data-dpr="dpr-2"] body,
html[data-dpr="dpr-3"] body {
  font-weight: 450;
}

/* 3. Ultra-Wide & 4K Resolution Geometry (Prevents Stretched Ribbons) */
html[data-screen-size="ultrawide"] body.logged-in #mainContent,
html[data-screen-size="ultrawide"] body.logged-in .app-content,
html[data-screen-size="desktop"] body.logged-in #mainContent {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

html[data-screen-size="ultrawide"] .view-panel {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* 4. UNIFIED PANEL WINDOWS SIZING (Logged-In Hub & Dashboard) */
body.logged-in .view-panel {
  padding: clamp(16px, 2vw, 26px) !important;
  display: none;
  flex-direction: column !important;
  gap: 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.logged-in .view-panel.active {
  display: flex !important;
  animation: panelWindowFadeIn 0.25s ease-out !important;
}

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

/* Unified Panel Headers */
body.logged-in .panel-header,
body.logged-in .section-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 4px !important;
  margin-bottom: 2px !important;
  width: 100% !important;
}

body.logged-in .panel-title,
body.logged-in .section-title {
  font-size: clamp(18px, 1.4vw, 22px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  color: #ffffff !important;
  margin: 0 !important;
}

body.logged-in.theme-light .panel-title,
body.logged-in.theme-light .section-title {
  color: #0f172a !important;
}

body.logged-in .panel-subtitle,
body.logged-in .section-desc {
  font-size: clamp(11.5px, 0.85vw, 13px) !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
  margin-top: 2px !important;
}

body.logged-in.theme-light .panel-subtitle,
body.logged-in.theme-light .section-desc {
  color: #64748b !important;
}

/* Unified Card Panel Windows (Equal Radius, Glass Depth & Equal Height) */
body.logged-in .explore-selected-plan-panel,
body.logged-in .creator-revenue-card,
body.logged-in .affiliate-card,
body.logged-in .wallet-hero-card,
body.logged-in .profile-card,
body.logged-in .settings-group,
body.logged-in .gtcfx-broker-banner,
body.logged-in .gtcfx-referral-card,
body.logged-in .settings-logout-card,
body.logged-in .crm-panel-card,
body.logged-in .subscription-card,
body.logged-in .akg-card {
  border-radius: 20px !important;
  padding: clamp(16px, 1.8vw, 24px) !important;
  background: rgba(14, 20, 27, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(45, 155, 136, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
  box-sizing: border-box !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.logged-in.theme-light .explore-selected-plan-panel,
body.logged-in.theme-light .creator-revenue-card,
body.logged-in.theme-light .affiliate-card,
body.logged-in.theme-light .wallet-hero-card,
body.logged-in.theme-light .profile-card,
body.logged-in.theme-light .settings-group,
body.logged-in.theme-light .gtcfx-broker-banner,
body.logged-in.theme-light .gtcfx-referral-card,
body.logged-in.theme-light .settings-logout-card,
body.logged-in.theme-light .crm-panel-card,
body.logged-in.theme-light .subscription-card,
body.logged-in.theme-light .akg-card {
  background: #ffffff !important;
  border: 1px solid rgba(203, 213, 225, 0.85) !important;
  box-shadow: 0 6px 24px rgba(25, 39, 80, 0.06), inset 0 1px 1.5px rgba(255, 255, 255, 0.9) !important;
}

/* 5. VIEW 1 (EXPLORE / BOTS) UNIFORM WINDOWS */
.explore-plans-tabs-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  margin-bottom: 14px !important;
}

.explore-plan-tab-card {
  height: 100% !important;
  min-height: 88px !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: rgba(14, 20, 27, 0.6) !important;
  border: 1px solid rgba(45, 155, 136, 0.18) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

body.theme-light .explore-plan-tab-card {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.explore-plan-tab-card.active {
  border-color: #2d9b88 !important;
  background: rgba(45, 155, 136, 0.12) !important;
  box-shadow: 0 4px 16px rgba(45, 155, 136, 0.25) !important;
}

body.theme-light .explore-plan-tab-card.active {
  background: #ffffff !important;
  border-color: #2d9b88 !important;
  box-shadow: 0 4px 14px rgba(45, 155, 136, 0.18) !important;
}

/* 6. VIEW 2 (SUBSCRIPTIONS) UNIFORM STATS & CARDS */
.sub-stats-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  margin-bottom: 16px !important;
}

.sub-stat-card {
  height: 100% !important;
  min-height: 86px !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(14, 20, 27, 0.65) !important;
  border: 1px solid rgba(45, 155, 136, 0.2) !important;
  text-align: center !important;
}

body.theme-light .sub-stat-card {
  background: #ffffff !important;
  border-color: rgba(203, 213, 225, 0.8) !important;
  box-shadow: 0 2px 10px rgba(25, 39, 80, 0.04) !important;
}

.sub-stat-num {
  font-size: clamp(20px, 1.5vw, 26px) !important;
  font-weight: 800 !important;
  font-family: var(--font-mono) !important;
  line-height: 1.1 !important;
  color: #34b39d !important;
}

.sub-stat-lbl {
  font-size: clamp(10.5px, 0.75vw, 12px) !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  margin-top: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

/* 7. UNIFORM METRICS ROWS (4-Column & 3-Column Statistical Grids) */
.bot-metrics-row,
.rev-metrics-row,
.affiliate-stats-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 12px 0 !important;
}

.bot-metric-item,
.rev-metric,
.affiliate-stats-row > div {
  min-height: 68px !important;
  border-radius: 14px !important;
  padding: 10px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(45, 155, 136, 0.14) !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.theme-light .bot-metric-item,
body.theme-light .rev-metric,
body.theme-light .affiliate-stats-row > div {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.bot-metric-num,
.rev-metric-val,
.aff-num {
  font-size: clamp(15px, 1.15vw, 18px) !important;
  font-weight: 800 !important;
  font-family: var(--font-mono) !important;
  line-height: 1.15 !important;
}

.bot-metric-label,
.rev-metric-lbl,
.aff-lbl {
  font-size: clamp(9.5px, 0.7vw, 11px) !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  margin-top: 3px !important;
  letter-spacing: 0.02em !important;
}

/* 8. VIEW 5 (SETTINGS) UNIFORM TWO-COLUMN WINDOW GRID */
.settings-desktop-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  width: 100% !important;
  align-items: start !important;
}

.settings-col-left,
.settings-col-right {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
}

.settings-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.setting-item {
  min-height: 54px !important;
  border-radius: 14px !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(45, 155, 136, 0.12) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

body.theme-light .setting-item {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.setting-item:hover {
  background: rgba(45, 155, 136, 0.1) !important;
  border-color: rgba(45, 155, 136, 0.35) !important;
  transform: translateX(2px) !important;
}

.setting-name {
  font-size: clamp(12.5px, 0.9vw, 14px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

body.theme-light .setting-name {
  color: #0f172a !important;
}

.setting-sub {
  font-size: clamp(10.5px, 0.75vw, 11.5px) !important;
  color: #94a3b8 !important;
  line-height: 1.3 !important;
}

body.theme-light .setting-sub {
  color: #64748b !important;
}

/* 9. RESPONSIVE GEOMETRY ACROSS PLATFORMS (MOBILE & TABLET) */
@media (max-width: 860px) {
  .explore-plans-tabs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .settings-desktop-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .sub-stats-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
}

@media (max-width: 520px) {
  body.logged-in .view-panel {
    padding: 14px 12px 80px 12px !important;
    gap: 14px !important;
  }

  .sub-stats-row {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6px !important;
  }

  .sub-stat-card {
    padding: 10px 6px !important;
    min-height: 74px !important;
  }

  .sub-stat-num {
    font-size: 18px !important;
  }

  .sub-stat-lbl {
    font-size: 9.5px !important;
  }

  .explore-plans-tabs-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .explore-plan-tab-card {
    min-height: 78px !important;
    padding: 10px 10px !important;
  }
}

/* 10. IPHONE DYNAMIC ISLAND & NOTCH SAFE AREA CLEARANCE (LOGIN & HEADERS) */
.aesthetic-login-viewport {
  padding-top: max(calc(env(safe-area-inset-top, 0px) + 16px), 24px) !important;
  padding-bottom: max(calc(env(safe-area-inset-bottom, 0px) + 16px), 20px) !important;
  padding-left: max(calc(env(safe-area-inset-left, 0px) + 20px), 20px) !important;
  padding-right: max(calc(env(safe-area-inset-right, 0px) + 20px), 20px) !important;
}

@supports (-webkit-touch-callout: none) {
  .aesthetic-login-viewport {
    padding-top: max(calc(env(safe-area-inset-top, 48px) + 12px), 56px) !important;
  }
}

html[data-platform="ios"] .aesthetic-login-viewport,
body.platform-ios .aesthetic-login-viewport {
  padding-top: max(calc(env(safe-area-inset-top, 48px) + 12px), 56px) !important;
}

@media (max-width: 640px) {
  .aesthetic-login-viewport {
    padding-top: max(calc(env(safe-area-inset-top, 48px) + 12px), 54px) !important;
    padding-bottom: max(calc(env(safe-area-inset-bottom, 20px) + 12px), 20px) !important;
    padding-left: max(calc(env(safe-area-inset-left, 0px) + 14px), 14px) !important;
    padding-right: max(calc(env(safe-area-inset-right, 0px) + 14px), 14px) !important;
  }

  .aesthetic-top-nav {
    margin: 0 auto 16px auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .btn-aesthetic-back {
    padding: 8px 14px !important;
    font-size: 12px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .atn-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .aesthetic-icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
  }
}


/* ======================================================== */
/* GUARANTEE: USER DASHBOARD HEADER UNFROZEN (NATURAL SCROLL) */
/* ======================================================== */
.app-header,
body.logged-in .app-header,
.platform-ios .app-header,
.platform-android .app-header {
  position: relative !important;
  position: -webkit-relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  -webkit-transform: none !important;
  z-index: 100 !important;
}

body.logged-in #appMain,
body.logged-in .view-panel {
  padding-top: 8px !important;
}


/* ==========================================================================
   HEADER FREEZE/UNFREEZE ENGINE:
   - Welcome/Home/Landing Page: FROZEN (position: fixed)
   - Logged-in User Dashboard: UNFROZEN (position: relative, natural scroll)
   - Remove Live Green Badge from Header
   ========================================================================== */

/* 1. Landing Header (Welcome / Home Page) - FROZEN */
.landing-header,
#authScreenOverlay .landing-header,
.desktop-company-landing .landing-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 68px !important;
  z-index: 10005 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.theme-dark .landing-header,
body.theme-dark #authScreenOverlay .landing-header,
body.theme-dark .desktop-company-landing .landing-header {
  background: rgba(14, 20, 27, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5) !important;
}

.landing-header-inner {
  max-width: 1400px !important;
  margin: 0 auto !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

.landing-brand-col {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.landing-brand-identity {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  color: inherit !important;
}

.landing-brand-logo {
  height: 36px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 8px rgba(0, 168, 150, 0.25)) !important;
}

.landing-brand-text {
  display: flex !important;
  flex-direction: column !important;
}

.landing-brand-title {
  font-family: var(--font-logo), 'Space Grotesk', -apple-system, sans-serif !important;
  font-size: 16.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

body.theme-dark .landing-brand-title {
  color: #ffffff !important;
}

.landing-brand-badge {
  background: linear-gradient(135deg, #00a896, #0284c7) !important;
  color: #ffffff !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

.landing-brand-sub {
  font-size: 11px !important;
  color: #64748b !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

body.theme-dark .landing-brand-sub {
  color: #94a3b8 !important;
}

/* Center Nav Links */
.landing-nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.landing-nav-link {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  text-decoration: none !important;
  padding: 6px 14px !important;
  border-radius: 99px !important;
  transition: all 0.18s ease !important;
  white-space: nowrap !important;
}

body.theme-dark .landing-nav-link {
  color: #cbd5e1 !important;
}

.landing-nav-link:hover {
  color: #00a896 !important;
  background: rgba(0, 168, 150, 0.08) !important;
}

body.theme-dark .landing-nav-link:hover {
  color: #00f2fe !important;
  background: rgba(0, 242, 254, 0.1) !important;
}

/* Header Actions */
.landing-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.lang-globe-btn,
.theme-toggle-pill {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

body.theme-dark .lang-globe-btn,
body.theme-dark .theme-toggle-pill {
  background: rgba(30, 41, 59, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}

.lang-globe-btn:hover,
.theme-toggle-pill:hover {
  border-color: #00a896 !important;
  color: #00a896 !important;
  transform: translateY(-1px) !important;
}

body.theme-dark .lang-globe-btn:hover,
body.theme-dark .theme-toggle-pill:hover {
  border-color: #00f2fe !important;
  color: #00f2fe !important;
}

.btn-landing-corner-login {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 18px !important;
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 99px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}

.btn-landing-corner-login:hover {
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.45) !important;
}

/* Tablet & Mobile Adaptive Behavior (< 920px) */
@media (max-width: 920px) {
  .landing-nav-links {
    display: none !important;
  }
  .landing-brand-sub {
    display: none !important;
  }
}

/* Mobile Devices (< 640px) */
@media (max-width: 640px) {
  .landing-header,
  #authScreenOverlay .landing-header,
  .desktop-company-landing .landing-header {
    height: 58px !important;
  }

  .landing-header-inner {
    padding: 0 14px !important;
    gap: 8px !important;
  }

  .landing-brand-col {
    gap: 8px !important;
  }

  .landing-brand-logo {
    height: 30px !important;
  }

  .landing-brand-title {
    font-size: 15px !important;
  }

  .landing-brand-badge {
    font-size: 8.5px !important;
    padding: 1px 4px !important;
  }

  .landing-header-actions {
    gap: 6px !important;
  }

  .lang-globe-btn,
  .theme-toggle-pill {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .btn-landing-corner-login {
    padding: 6px 13px !important;
    font-size: 12px !important;
  }
}

/* Offset for Frozen Landing Header on Welcome/Landing */
.desktop-company-landing,
.landing-scroll-body,
#authWelcomeScreen,
#authSignInScreen {
  padding-top: calc(68px + env(safe-area-inset-top, 0px)) !important;
}

@media (max-width: 768px) {
  .desktop-company-landing,
  .landing-scroll-body,
  #authWelcomeScreen,
  #authSignInScreen {
    padding-top: calc(58px + env(safe-area-inset-top, 0px)) !important;
  }
}

/* ==========================================================================
   DEDICATED B-MAGNET POS & ZATCA GATEWAY EXPLAINED PANEL
   ========================================================================== */

.pos-gateway-panel {
  max-width: 1400px !important;
  margin: 16px auto 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.pos-gateway-inner {
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
  border: 1.5px solid rgba(0, 168, 150, 0.3) !important;
  border-radius: 20px !important;
  padding: 20px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  box-shadow: 0 10px 30px -5px rgba(0, 168, 150, 0.08), 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: all 0.25s ease !important;
}

body.theme-dark .pos-gateway-inner {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.3) 0%, rgba(15, 23, 42, 0.85) 100%) !important;
  border-color: rgba(0, 242, 254, 0.25) !important;
  box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.5) !important;
}

.pos-gateway-inner:hover {
  border-color: #00a896 !important;
  box-shadow: 0 12px 36px -4px rgba(0, 168, 150, 0.16) !important;
}

body.theme-dark .pos-gateway-inner:hover {
  border-color: #00f2fe !important;
  box-shadow: 0 12px 36px -4px rgba(0, 242, 254, 0.2) !important;
}

.pos-gateway-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.pos-gateway-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.pos-gateway-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(0, 168, 150, 0.12) !important;
  color: #00875a !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
}

body.theme-dark .pos-gateway-pill {
  background: rgba(0, 242, 254, 0.12) !important;
  color: #00f2fe !important;
}

.pulse-dot-emerald {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: pulsePulse 2s infinite !important;
}

@keyframes pulsePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #10b981; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pos-zatca-tag {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

body.theme-dark .pos-zatca-tag {
  color: #94a3b8 !important;
}

.pos-gateway-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

body.theme-dark .pos-gateway-title {
  color: #ffffff !important;
}

.pos-gateway-desc {
  font-size: 13px !important;
  color: #475569 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

body.theme-dark .pos-gateway-desc {
  color: #cbd5e1 !important;
}

.pos-gateway-cta-col {
  flex-shrink: 0 !important;
}

.btn-pos-gateway {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #00875a 0%, #00a896 100%) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 22px !important;
  border-radius: 12px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(0, 135, 90, 0.3) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.btn-pos-gateway:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 135, 90, 0.45) !important;
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%) !important;
}

@media (max-width: 860px) {
  .pos-gateway-panel {
    padding: 0 16px !important;
    margin-top: 12px !important;
  }

  .pos-gateway-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px !important;
    gap: 14px !important;
  }

  .pos-gateway-title {
    font-size: 15px !important;
  }

  .pos-gateway-desc {
    font-size: 12.5px !important;
  }

  .btn-pos-gateway {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 18px !important;
    font-size: 13px !important;
  }
}rtant;
  }
}

/* 2. User Dashboard Header (Logged-in) - STRICTLY UNFROZEN (NATURAL SCROLL) */
.app-header,
body.logged-in .app-header,
.platform-ios .app-header,
.platform-android .app-header {
  position: relative !important;
  position: -webkit-relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  -webkit-transform: none !important;
  z-index: 100 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

body.theme-dark .app-header,
body.theme-dark.logged-in .app-header {
  background: rgba(14, 20, 27, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Zero top gap for Dashboard content when header is unfrozen */
body.logged-in #appMain,
body.logged-in .view-panel,
body.logged-in .app-content,
#mainContent {
  padding-top: 6px !important;
}

/* 3. STRICTLY HIDE LIVE GREEN BADGES FROM HEADER */
.desktop-status-pill,
.app-header .pulse-dot,
.landing-header .pulse-dot {
  display: none !important;
}


/* ==========================================================================
   LOGGED-IN DASHBOARD HEADER: STRICT CLEAN-UP
   - Only Wallet Button & Brand Logo in Header
   - Strictly Hide Theme Icon & Language Selector in Dashboard Header
   ========================================================================== */
.app-header .theme-toggle-pill,
.app-header .lang-globe-dropdown-wrapper,
.app-header .lang-toggle,
.app-header .language-selector,
.app-header .header-theme-btn,
body.logged-in .app-header .theme-toggle-pill,
body.logged-in .app-header .lang-globe-dropdown-wrapper {
  display: none !important;
}


/* ==========================================================================
   STRICT OVERLAY & INTERACTION ISOLATION FOR LOGGED-IN DASHBOARD
   ========================================================================== */
body.logged-in #authScreenOverlay,
body.logged-in #desktopCompanyLanding,
body.logged-in .desktop-company-landing,
body.logged-in .landing-header,
body.logged-in .landing-header-actions,
body.logged-in .btn-landing-corner-login,
body.logged-in .theme-toggle-pill,
body.logged-in .lang-globe-dropdown-wrapper {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: static !important;
  z-index: -9999 !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.logged-in .app-header {
  display: flex !important;
  position: relative !important;
  z-index: 1000 !important;
  pointer-events: auto !important;
}

body.logged-in .wallet-compact-corner-btn,
body.logged-in #openTopupBtn {
  position: relative !important;
  z-index: 1005 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}


/* ==========================================================================
   UNIFORM WALLET MODAL WINDOW ENGINE (ZERO JUMP / FIXED HEIGHT ACROSS TABS)
   ========================================================================== */
#web3WalletModal .web3-modal-container,
.web3-modal-container,
#topupModal .modal-sheet {
  width: 100% !important;
  max-width: 520px !important;
  height: 640px !important;
  min-height: 640px !important;
  max-height: calc(100vh - 40px) !important;
  margin: auto !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: none !important;
}

#web3WalletModal .web3-modal-header,
.web3-modal-header {
  flex-shrink: 0 !important;
}

#web3WalletModal .web3-modal-tabs,
.web3-modal-tabs {
  flex-shrink: 0 !important;
}

#web3WalletModal .web3-modal-body,
.web3-modal-body {
  flex: 1 1 0% !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 20px 24px 24px 24px !important;
  box-sizing: border-box !important;
}

.web3-tab-content {
  box-sizing: border-box !important;
}

.web3-tab-content.active {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  animation: fadeInTab 0.18s ease-out !important;
}

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

@media (max-width: 600px) {
  #web3WalletModal .web3-modal-container,
  .web3-modal-container,
  #topupModal .modal-sheet {
    width: 100% !important;
    max-width: 100% !important;
    height: 85vh !important;
    min-height: 85vh !important;
    max-height: 85dvh !important;
    border-radius: 28px 28px 0 0 !important;
    margin: 0 !important;
  }
}
