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

/* 🎨 THEME SYSTEM - MATCHING REFERENCE SCREENSHOTS (DARK & LIGHT MODES) */
:root, [data-theme="dark"] {
  --bg-dark: #070b14;           /* Deep dark obsidian backdrop */
  --bg-container: transparent;
  --bg-card: rgba(18, 26, 43, 0.92);           /* Glassmorphic card */
  --bg-card-gradient: linear-gradient(145deg, rgba(20, 29, 49, 0.92) 0%, rgba(13, 20, 36, 0.98) 100%);
  --bg-card-border: rgba(255, 255, 255, 0.1);
  --bg-input: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.12);
  --text-main: #f8fafc;
  --text-dim: #8e9bb0;
  --primary: #2563eb;           /* Active tab & blue buttons */
  --primary-hover: #1d4ed8;

  --card-meta-bg: rgba(255, 255, 255, 0.03);
  --card-meta-border: rgba(255, 255, 255, 0.06);
  --header-bg: rgba(13, 20, 36, 0.88);
  --bottom-nav-bg: rgba(13, 20, 36, 0.92);
  --telemetry-bg: rgba(255, 255, 255, 0.04);
  --telemetry-border: rgba(255, 255, 255, 0.08);
  
  --progress-track-bg: rgba(255, 255, 255, 0.08);
  --vip-crown: #fbbf24;

  --buy-bg: rgba(16, 185, 129, 0.18);
  --buy-text: #10b981;
  --buy-border: rgba(16, 185, 129, 0.4);

  --sell-bg: rgba(239, 68, 68, 0.18);
  --sell-text: #ef4444;
  --sell-border: rgba(239, 68, 68, 0.4);

  --result-pending-bg: rgba(217, 119, 6, 0.2);
  --result-pending-text: #f59e0b;

  --result-profit-bg: rgba(16, 185, 129, 0.25);
  --result-profit-text: #10b981;

  --result-loss-bg: rgba(239, 68, 68, 0.25);
  --result-loss-text: #ef4444;

  --badge-free-bg: rgba(37, 99, 235, 0.2);
  --badge-free-text: #3b82f6;

  --badge-vip-bg: rgba(245, 158, 11, 0.2);
  --badge-vip-text: #fbbf24;

  --admin-notice-bg: #1c1538;
  --admin-notice-border: rgba(139, 92, 246, 0.3);
  --admin-bell-bg: rgba(245, 158, 11, 0.15);
  --admin-bell-icon: #f59e0b;

  --card-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --font: 'Outfit', 'Inter', sans-serif;
  --body-bg-overlay: linear-gradient(180deg, rgba(8, 13, 26, 0.90) 0%, rgba(8, 13, 26, 0.97) 100%);
}

[data-theme="light"] {
  --bg-dark: #f1f5f9;           /* Clean crisp light backdrop */
  --bg-container: transparent;
  --bg-card: #ffffff;           /* Pure white card */
  --bg-card-gradient: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --bg-card-border: rgba(0, 0, 0, 0.09);
  --bg-input: #f1f5f9;
  --border-color: rgba(0, 0, 0, 0.1);
  --text-main: #0f172a;         /* High-contrast deep slate/black */
  --text-dim: #64748b;          /* Crisp secondary slate */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;

  --card-meta-bg: #f8fafc;
  --card-meta-border: rgba(0, 0, 0, 0.06);
  --header-bg: rgba(255, 255, 255, 0.95);
  --bottom-nav-bg: rgba(255, 255, 255, 0.96);
  --telemetry-bg: #ffffff;
  --telemetry-border: rgba(0, 0, 0, 0.08);

  --progress-track-bg: #e2e8f0;
  --vip-crown: #d97706;

  --buy-bg: #e6f7f0;
  --buy-text: #059669;
  --buy-border: #a7f3d0;

  --sell-bg: #fef2f2;
  --sell-text: #dc2626;
  --sell-border: #fecaca;

  --result-pending-bg: #fef3c7;
  --result-pending-text: #d97706;

  --result-profit-bg: #d1fae5;
  --result-profit-text: #059669;

  --result-loss-bg: #fee2e2;
  --result-loss-text: #dc2626;

  --badge-free-bg: #dbeafe;
  --badge-free-text: #2563eb;

  --badge-vip-bg: #fef3c7;
  --badge-vip-text: #d97706;

  --admin-notice-bg: #271a47;   /* Sleek purple card */
  --admin-notice-border: rgba(139, 92, 246, 0.3);
  --admin-bell-bg: rgba(245, 158, 11, 0.15);
  --admin-bell-icon: #f59e0b;

  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --font: 'Outfit', 'Inter', sans-serif;
  --body-bg-overlay: linear-gradient(180deg, rgba(241, 245, 249, 0.92) 0%, rgba(248, 250, 252, 0.96) 100%);
}

/* Reset & Global Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #070b14;
  color-scheme: dark;
  scroll-behavior: smooth;
}

html[data-theme="dark"] {
  background-color: #070b14;
  color-scheme: dark;
}

html[data-theme="light"] {
  background-color: #f1f5f9;
  color-scheme: light;
}

/* Instant Theme Toggle (Instant 0ms switch without box-by-box or grid repainting delay) */
.theme-instant {
  transition: none !important;
}

/* Smooth Page Transitions (Opacity only to preserve viewport containing block for fixed dock) */
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  padding-bottom: 110px; /* space for bottom nav dock */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: pageFadeIn 0.18s ease forwards;
}

body.page-leaving {
  opacity: 0 !important;
  transition: opacity 0.14s ease !important;
}

/* Top Progress Bar for Seamless Nav */
#pageProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #10b981);
  z-index: 9999999;
  opacity: 0;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
  pointer-events: none;
}

html:not([data-theme="light"]) body,
html[data-theme="dark"] body {
  background-color: #070b14;
  background-image: 
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(37, 99, 235, 0.28) 0%, transparent 65%),
    radial-gradient(circle at 90% 18%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(168, 85, 247, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.4) 0%, transparent 80%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

html[data-theme="light"] body {
  background-color: #f1f5f9;
  background-image: 
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(37, 99, 235, 0.08) 0%, transparent 65%),
    radial-gradient(circle at 90% 18%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.centered-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px 16px;
}

.container {
  background: var(--bg-container);
  padding: 1rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* 🖥️ PRO DESKTOP & MOBILE DASHBOARD SHELL */
.dashboard-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 100px;
  position: relative;
}

@media (max-width: 768px) {
  .dashboard-shell {
    padding: 14px 12px 90px;
  }
}

/* 🔝 HEADER TOPBAR */
.header-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  margin-bottom: 22px;
  box-shadow: var(--card-shadow);
}

/* Live Header Telemetry on Desktop */
.header-telemetry {
  display: flex;
  align-items: center;
  gap: 12px;
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--telemetry-bg);
  border: 1px solid var(--telemetry-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.telemetry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

@media (max-width: 960px) {
  .header-telemetry {
    display: none;
  }
}

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

.header-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.app-title-box {
  display: flex;
  flex-direction: column;
}

.app-title-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--text-main);
}

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

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

.live-badge.is-offline {
  background: rgba(107, 114, 128, 0.16);
  color: #6b7280;
}

.live-badge.is-offline .pulse-dot {
  background-color: #6b7280;
  animation: none;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

.fast-badge {
  background: rgba(37, 99, 235, 0.18);
  color: #3b82f6;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.icon-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

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

/* 📢 ADMIN NOTICE CARD (Matching Reference Screenshot) */
.admin-notice-card {
  background: linear-gradient(135deg, rgba(46, 21, 89, 0.95) 0%, rgba(26, 12, 53, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 22px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  box-shadow: 0 8px 32px rgba(126, 34, 206, 0.25);
  backdrop-filter: blur(10px);
}

.admin-notice-bell-box {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #f59e0b;
  flex-shrink: 0;
}

.admin-notice-body {
  flex: 1;
  padding-right: 24px;
}

.admin-notice-header-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-notice-message-text {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.45;
  font-weight: 600;
  word-break: break-word;
}

.admin-notice-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.admin-notice-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* ⚡ ADMIN SIGNAL OUTCOME CARD & BUTTONS (Matching Image 2) */
.admin-signal-outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.outcome-action-btn {
  flex: 1;
  padding: 10px 6px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.outcome-btn-win {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid #10b981;
  color: #10b981;
}
.outcome-btn-win:hover {
  background: #10b981;
  color: #ffffff;
}

.outcome-btn-loss {
  background: rgba(239, 68, 68, 0.12);
  border: 1.5px solid #ef4444;
  color: #ef4444;
}
.outcome-btn-loss:hover {
  background: #ef4444;
  color: #ffffff;
}

.outcome-btn-tie {
  background: rgba(148, 163, 184, 0.12);
  border: 1.5px solid #94a3b8;
  color: #94a3b8;
}
.outcome-btn-tie:hover {
  background: #94a3b8;
  color: #ffffff;
}

.outcome-btn-del {
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  max-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outcome-btn-del:hover {
  background: #ef4444;
  color: #ffffff;
}

/* 📊 DASHBOARD TABS (Matching Screenshot) */
/* 📊 DASHBOARD KPI GRID */
.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

@media (max-width: 992px) {
  .dashboard-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .dashboard-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

.kpi-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--card-shadow), 0 0 16px rgba(37, 99, 235, 0.12);
}

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.kpi-content {
  display: flex;
  flex-direction: column;
}

.kpi-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.kpi-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* 📊 DASHBOARD STREAM BAR */
.dashboard-stream-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.stream-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 6px 14px;
  border-radius: 20px;
}

/* 📊 DASHBOARD TABS */
.dashboard-tabs {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 24px;
  gap: 4px;
  box-shadow: var(--card-shadow);
}

.tab-btn {
  flex: 1;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
}

/* 📇 SIGNAL CARDS (Responsive Multi-Column Desktop Grid) */
.signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  width: 100%;
}

@media (max-width: 768px) {
  .signals-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.signal-card {
  background: var(--bg-card-gradient);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.signal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--card-shadow), 0 0 25px rgba(37, 99, 235, 0.18);
}

.signal-card-locked {
  margin-bottom: 0 !important;
  min-height: 240px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Card Header Row */
.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pair-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.direction-badge-pill {
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-buy {
  background: var(--buy-bg);
  color: var(--buy-text);
  border: 1px solid var(--buy-border);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.18);
}

.badge-sell {
  background: var(--sell-bg);
  color: var(--sell-text);
  border: 1px solid var(--sell-border);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.18);
}

/* Dropped Time Row */
.dropped-time-row {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 4px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 2-Column Meta Data Layout */
.card-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-bottom: 12px;
  background: var(--card-meta-bg);
  border: 1px solid var(--card-meta-border);
  border-radius: 14px;
  padding: 12px 14px;
}

.meta-field {
  display: flex;
  flex-direction: column;
}

.meta-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-field-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 3px;
}

/* Horizontal Confidence Progress Bar */
.confidence-progress-track {
  width: 100%;
  height: 6px;
  background: var(--progress-track-bg);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.confidence-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 10px;
}

/* Card Footer Row */
.card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
}

.result-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
}

.result-pending { background: var(--result-pending-bg); color: var(--result-pending-text); }
.result-profit { background: var(--result-profit-bg); color: var(--result-profit-text); }
.result-loss { background: var(--result-loss-bg); color: var(--result-loss-text); }

.view-count-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tier-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 800;
}

.tier-free { background: var(--badge-free-bg); color: var(--badge-free-text); }
.tier-vip { background: var(--badge-vip-bg); color: var(--badge-vip-text); }

/* 💬 FLOATING HELP BUTTON */
.fab-help-btn {
  position: fixed;
  bottom: 84px;
  right: 18px;
  background: linear-gradient(135deg, #00b87c, #059669);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(0, 184, 124, 0.4);
  z-index: 999;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-help-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 184, 124, 0.55);
}

/* 📋 COPY SIGNAL BUTTON */
.copy-sig-btn {
  background: var(--card-meta-bg);
  border: 1px solid var(--card-meta-border);
  color: var(--text-dim);
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.18s ease;
}

.copy-sig-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--primary);
  transform: translateY(-1px);
}

/* 🎨 FLOATING AUTH THEME CORNER BUTTON */
.auth-theme-corner-btn {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  z-index: 1000;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.auth-theme-corner-btn:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--primary);
}

/* 📱 BOTTOM NAVIGATION (Modern Floating Glass Dock - Always Fixed to Viewport Window) */
.bottom-nav {
  position: fixed !important;
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 28px);
  max-width: 460px;
  height: 64px;
  background: var(--bottom-nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 99999 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  gap: 3px;
  position: relative;
  transition: all 0.2s ease;
  padding: 6px 14px;
  border-radius: 12px;
}

.bottom-nav-item:hover {
  color: var(--text-main);
}

.bottom-nav-item.active {
  color: #3b82f6;
  background: rgba(37, 99, 235, 0.12);
}

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 20px;
  height: 2.5px;
  background: #3b82f6;
  border-radius: 4px;
  box-shadow: 0 0 8px #3b82f6;
}

.bottom-nav-icon {
  font-size: 1.25rem;
}

/* Primary Button Styling */
.btn-primary, button[type="submit"] {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.btn-primary:active, button[type="submit"]:active {
  transform: scale(0.98);
}

/* 🔐 AUTH PAGES STYLING (LOGIN & SIGNUP) */
.auth-card-box {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 2.5rem 2.2rem;
  box-shadow: var(--card-shadow);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.auth-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  color: var(--text-main);
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-input:focus {
  border-color: #3b82f6;
  background: var(--bg-input);
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.25);
}

.auth-card-box .header-logo {
  filter: drop-shadow(0 4px 14px rgba(37, 99, 235, 0.45));
}

/* 🌐 GOOGLE AUTH BUTTON & DIVIDER */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0 16px 0;
  color: var(--text-dim);
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-divider-text {
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.google-auth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 13px 20px;
  font-size: 0.94rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  box-sizing: border-box;
}

.google-auth-btn:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.google-auth-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.google-auth-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* 💫 FULLSCREEN AUTH LOADING OVERLAY (PREMIUM & ZERO-INTERACTION BLOCK) */
.auth-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 15, 29, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInOverlay 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: all !important;
  user-select: none;
  touch-action: none;
}

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

.auth-loading-card {
  background: rgba(26, 34, 53, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 34px 28px;
  max-width: 350px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(37, 99, 235, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scaleInCard 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleInCard {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.auth-loading-spinner-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-loading-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.4);
  animation: pulseRing 1.8s ease-out infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.18); opacity: 0.15; }
  100% { transform: scale(0.85); opacity: 0.8; }
}

.auth-loading-spinner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #3b82f6;
  border-right-color: #60a5fa;
  animation: authSpin 0.85s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

.auth-loading-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-loading-title {
  color: #f8fafc;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  font-family: var(--font, -apple-system, BlinkMacSystemFont, sans-serif);
}

.auth-loading-desc {
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.48;
  margin: 0 0 20px 0;
  font-weight: 500;
  font-family: var(--font, -apple-system, BlinkMacSystemFont, sans-serif);
}

.auth-loading-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.auth-loading-progress-indeterminate {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #10b981);
  border-radius: 99px;
  animation: authProgress 1.4s ease-in-out infinite;
}

@keyframes authProgress {
  0% { left: -30%; width: 30%; }
  50% { left: 25%; width: 60%; }
  100% { left: 100%; width: 30%; }
}

/* ==========================================================================
   🔔 PREMIUM GLASSMORPHIC TOAST & NOTIFICATION SYSTEM
   ========================================================================== */
#notification-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: calc(100% - 32px);
  max-width: 420px;
  pointer-events: none;
}

@media (max-width: 640px) {
  #notification-container {
    top: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* ========================================================================
   ✦ PUBLIC LANDING PAGE V3 — light/dark theme switch
   ======================================================================== */

.landing-v3 .ux-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--ux-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ux-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.landing-v3 .ux-theme-toggle:hover {
  border-color: rgba(185, 243, 74, 0.5);
  background: rgba(185, 243, 74, 0.1);
  color: var(--ux-text);
  transform: translateY(-1px);
}

.landing-v3 .ux-theme-icon {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: var(--ux-lime);
  font-size: 1.1rem;
  line-height: 1;
}

html[data-theme="light"] .landing-v3 {
  --ux-bg: #f5f8f4;
  --ux-surface: #ffffff;
  --ux-surface-2: #edf4ee;
  --ux-line: rgba(20, 45, 30, 0.12);
  --ux-line-strong: rgba(20, 45, 30, 0.23);
  --ux-text: #142019;
  --ux-muted: #5d7065;
  --ux-soft: #34483b;
  --ux-lime: #679d1a;
  --ux-lime-deep: #4d7c12;
  --ux-cyan: #0b8c80;
  --ux-red: #d34b62;
  --ux-amber: #b2760e;
  background: var(--ux-bg);
}

html[data-theme="light"] .landing-v3 .ux-nav-button,
html[data-theme="light"] .landing-v3 .ux-button-primary {
  background: #86c52c;
  color: #122008;
}

html[data-theme="light"] .landing-v3 .ux-nav-button:hover,
html[data-theme="light"] .landing-v3 .ux-button-primary:hover {
  background: #9ddd3c;
}

html[data-theme="light"] .landing-v3 .ux-theme-toggle {
  background: rgba(255, 255, 255, 0.75);
}

html[data-theme="light"] .landing-v3 .ux-device {
  border-color: rgba(20, 45, 30, 0.16);
  background: linear-gradient(145deg, #ffffff, #e9f1eb);
  box-shadow: 0 30px 70px rgba(46, 75, 56, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .landing-v3 .ux-device-top {
  background: rgba(231, 240, 233, 0.8);
}

html[data-theme="light"] .landing-v3 .ux-device-top > span,
html[data-theme="light"] .landing-v3 .ux-device-heading h2,
html[data-theme="light"] .landing-v3 .ux-device-summary strong,
html[data-theme="light"] .landing-v3 .ux-signal-name strong,
html[data-theme="light"] .landing-v3 .ux-signal > b {
  color: var(--ux-text);
}

html[data-theme="light"] .landing-v3 .ux-device-top > b {
  color: var(--ux-cyan);
}

html[data-theme="light"] .landing-v3 .ux-device-summary div,
html[data-theme="light"] .landing-v3 .ux-signal {
  border-color: rgba(20, 45, 30, 0.11);
  background: rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] .landing-v3 .ux-device-bottom a {
  color: var(--ux-soft);
}

html[data-theme="light"] .landing-v3 .ux-device-bottom a b {
  color: var(--ux-lime-deep);
}

html[data-theme="light"] .landing-v3 .ux-feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), transparent);
}

html[data-theme="light"] .landing-v3 .ux-process-grid article,
html[data-theme="light"] .landing-v3 .ux-access-card {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(46, 75, 56, 0.06);
}

html[data-theme="light"] .landing-v3 .ux-access-card-featured {
  border-color: rgba(103, 157, 26, 0.42);
  background: linear-gradient(145deg, rgba(185, 243, 74, 0.22), rgba(255, 255, 255, 0.86) 58%);
}

html[data-theme="light"] .landing-v3 .ux-final-cta {
  border-color: rgba(103, 157, 26, 0.34);
  background: linear-gradient(105deg, rgba(185, 243, 74, 0.24), rgba(255, 255, 255, 0.75) 65%);
}

html[data-theme="light"] .landing-v3 .ux-button-quiet {
  border-color: var(--ux-line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ux-text);
}

html[data-theme="light"] .landing-v3 .ux-button-quiet:hover {
  border-color: rgba(103, 157, 26, 0.5);
  background: rgba(185, 243, 74, 0.16);
}

html[data-theme="light"] .landing-v3 .ux-device-glow {
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12), transparent 68%);
}

@media (max-width: 640px) {
  .landing-v3 .ux-theme-toggle {
    min-width: 34px;
    padding: 0 8px;
  }

  .landing-v3 .ux-theme-label {
    display: none;
  }
}

/* Landing v3 markup refinements */
.landing-v3 .ux-device-top > span {
  color: var(--ux-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-v3 .ux-device-top > b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ux-cyan);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-v3 .ux-device-top > b i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1);
}

.landing-v3 .ux-preview-pill {
  padding: 7px 9px;
  border: 1px solid rgba(185, 243, 74, 0.24);
  border-radius: 7px;
  background: rgba(185, 243, 74, 0.09);
  color: var(--ux-lime);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
}

.landing-v3 .ux-device-summary strong {
  display: flex;
  align-items: center;
  gap: 7px;
}

.landing-v3 .ux-device-summary strong i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ux-cyan);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1);
}

.landing-v3 .ux-device-tabs {
  display: flex;
  gap: 20px;
  margin-top: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ux-line);
}

.landing-v3 .ux-device-tabs span {
  color: var(--ux-muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.landing-v3 .ux-device-tabs .active {
  color: var(--ux-lime);
}

.landing-v3 .ux-signal {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--ux-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.landing-v3 .ux-signal-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 900;
}

.landing-v3 .ux-signal-call .ux-signal-icon {
  background: rgba(94, 234, 212, 0.13);
  color: var(--ux-cyan);
}

.landing-v3 .ux-signal-put .ux-signal-icon {
  background: rgba(251, 113, 133, 0.13);
  color: var(--ux-red);
}

.landing-v3 .ux-signal-vip .ux-signal-icon {
  background: rgba(185, 243, 74, 0.14);
  color: var(--ux-lime);
}

.landing-v3 .ux-signal-name strong {
  display: block;
  color: var(--ux-text);
  font-size: 0.8rem;
}

.landing-v3 .ux-signal-name span {
  display: block;
  margin-top: 4px;
  color: var(--ux-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-v3 .ux-signal > b {
  color: var(--ux-soft);
  font-size: 0.72rem;
  font-weight: 750;
}

.landing-v3 .ux-signal-call > b {
  color: var(--ux-cyan);
}

.landing-v3 .ux-signal-put > b {
  color: var(--ux-red);
}

.landing-v3 .ux-signal-vip > b {
  color: var(--ux-lime);
}

.landing-v3 .ux-process-grid article {
  position: relative;
  min-height: 225px;
  padding: 23px;
  border: 1px solid var(--ux-line);
  border-radius: 15px;
  background: var(--ux-surface);
}

.landing-v3 .ux-process-grid article::after {
  position: absolute;
  top: 31px;
  right: 24px;
  width: 28px;
  height: 1px;
  background: var(--ux-line-strong);
  content: "";
}

.landing-v3 .ux-process-grid article:last-child::after {
  display: none;
}

.landing-v3 .ux-process-grid article > span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(185, 243, 74, 0.45);
  border-radius: 50%;
  color: var(--ux-lime);
  font-size: 0.68rem;
  font-weight: 850;
}

.landing-v3 .ux-process-grid article h3 {
  margin: 42px 0 10px;
  color: var(--ux-text);
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.landing-v3 .ux-process-grid article p {
  margin: 0;
  color: var(--ux-muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.landing-v3 .ux-process-grid article a,
.landing-v3 .ux-access-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ux-lime);
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none;
}

.landing-v3 .ux-process-grid article a:hover,
.landing-v3 .ux-access-card a:hover {
  color: var(--ux-text);
}

.landing-v3 .ux-access-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.landing-v3 .ux-access-card-top span {
  color: var(--ux-lime);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-v3 .ux-access-card-top strong {
  color: var(--ux-text);
  font-size: 1.4rem;
  letter-spacing: -0.035em;
}

.landing-v3 .ux-access-card > p {
  margin: 16px 0 0;
  color: var(--ux-muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.landing-v3 .ux-access-card > a {
  margin-top: auto;
}

.landing-v3 .ux-access-card-featured {
  border-color: rgba(185, 243, 74, 0.36);
  background: linear-gradient(145deg, rgba(185, 243, 74, 0.12), rgba(16, 22, 26, 0.92) 52%);
}

.landing-v3 .ux-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .landing-v3 .ux-signal {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 11px 9px;
  }

  .landing-v3 .ux-signal-icon {
    width: 34px;
    height: 34px;
  }

  .landing-v3 .ux-signal > b {
    font-size: 0.63rem;
  }

  .landing-v3 .ux-process-grid article {
    min-height: 0;
  }

  .landing-v3 .ux-process-grid article::after {
    display: none;
  }

  .landing-v3 .ux-final-actions,
  .landing-v3 .ux-final-actions .ux-button {
    width: 100%;
  }
}

.premium-notification,
.app-toast {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 15px 18px;
  color: #f8fafc;
  font-family: var(--font, 'Inter', sans-serif);
  display: flex;
  align-items: flex-start;
  gap: 13px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.15);
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .premium-notification,
[data-theme="light"] .app-toast {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.app-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
}

.toast-success .app-toast-icon, .notif-success .app-toast-icon {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.toast-error .app-toast-icon, .notif-error .app-toast-icon {
  background: rgba(239, 68, 68, 0.18);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.toast-warning .app-toast-icon, .notif-warning .app-toast-icon {
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.toast-info .app-toast-icon {
  background: rgba(59, 130, 246, 0.18);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.app-toast-content {
  flex: 1;
  min-width: 0;
}

.app-toast-title {
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 3px;
  line-height: 1.3;
  color: #ffffff;
}

[data-theme="light"] .app-toast-title {
  color: #0f172a;
}

.app-toast-msg {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.45;
  word-break: break-word;
}

[data-theme="light"] .app-toast-msg {
  color: #64748b;
}

.app-toast-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-toast-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .app-toast-close:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.06);
}

.app-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #3b82f6;
  transform-origin: left;
}

.toast-success .app-toast-progress, .notif-success::before { background: #10b981; }
.toast-error .app-toast-progress, .notif-error::before { background: #ef4444; }
.toast-warning .app-toast-progress, .notif-warning::before { background: #f59e0b; }
.toast-info .app-toast-progress { background: #3b82f6; }

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

/* ==========================================================================
   ✨ PREMIUM GLASSMORPHIC APP MODAL DIALOG SYSTEM
   ========================================================================== */
#app-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

#app-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.app-modal-card {
  background: linear-gradient(160deg, rgba(22, 32, 54, 0.96) 0%, rgba(13, 20, 36, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(59, 130, 246, 0.2);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transform: scale(0.92) translateY(16px);
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  color: #f8fafc;
}

#app-modal-overlay.active .app-modal-card {
  transform: scale(1) translateY(0);
}

[data-theme="light"] .app-modal-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.app-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.app-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: scale(1.06);
}

[data-theme="light"] .app-modal-close-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #64748b;
}

[data-theme="light"] .app-modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

.app-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.badge-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.badge-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3));
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #60a5fa;
}

.badge-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.badge-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.3));
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
}

.app-modal-icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
}

.icon-wrap-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

.icon-wrap-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
}

.icon-wrap-green {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
}

.icon-wrap-red {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
}

.app-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  color: #ffffff;
}

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

.app-modal-desc {
  font-size: 0.94rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 22px;
}

[data-theme="light"] .app-modal-desc {
  color: #475569;
}

.app-modal-highlight-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 22px;
  text-align: left;
}

[data-theme="light"] .app-modal-highlight-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.app-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-btn-primary {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff !important;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.55);
}

.modal-btn-primary.gold-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000000 !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.modal-btn-primary.gold-btn:hover {
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.55);
}

.modal-btn-secondary {
  width: 100%;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

[data-theme="light"] .modal-btn-secondary {
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #64748b;
}

[data-theme="light"] .modal-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

/* 👑 ZERO-DELAY VIP UI SUPPRESSION (Prevents 1-2s VIP button flicker on VIP accounts) */
html.vip-user-active #bottomNavVip,
html.vip-user-active #profileUpgradeVipBtn,
html.vip-user-active .vip-plans-promo {
  display: none !important;
}

/* ==========================================================================
   🌐 PREMIUM LANDING PAGE & SHOWCASE STYLING (WEBSITE PORTAL)
   ========================================================================== */

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
  width: 100%;
  box-sizing: border-box;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.nav-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #3b82f6;
}

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

.nav-btn-secondary {
  padding: 9px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-btn-primary {
  padding: 9px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.nav-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

/* Hero Section */
.landing-hero {
  padding: 70px 20px 60px;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 24px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin: 0 auto 20px;
  max-width: 860px;
}

.hero-headline-gradient {
  background: linear-gradient(135deg, #60a5fa 20%, #3b82f6 50%, #93c5fd 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: #94a3b8;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-btn-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
}

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

/* Trust Stats Bar */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(26, 34, 53, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
}

/* Sections Global */
.landing-section {
  padding: 70px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

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

.section-tag {
  color: #3b82f6;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(26, 34, 53, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px 24px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.15);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* Live Preview Widget */
.preview-container {
  background: rgba(26, 34, 53, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  max-width: 820px;
  margin: 0 auto;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

/* App Download Banner */
.download-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(26, 34, 53, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 24px;
  padding: 44px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 20px;
}

.download-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
}

.download-info p {
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0 0 20px;
  max-width: 540px;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-card {
  background: rgba(26, 34, 53, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
}

.faq-a {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* Footer */
.site-footer {
  background: #0b0f19;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 24px 32px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.footer-links-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #3b82f6;
}

.footer-disclaimer {
  background: rgba(246, 166, 35, 0.08);
  border: 1px solid rgba(246, 166, 35, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: #e2e8f0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  color: #64748b;
  font-size: 0.82rem;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .download-banner { flex-direction: column; text-align: center; }
  .download-info p { max-width: 100%; }
  .nav-links { display: none; }
}

/* ========================================================================
   ✦ PUBLIC LANDING PAGE V2
   The authenticated pages keep their existing layout. These classes are
   scoped to the public homepage so the login/signup experience is untouched.
   ======================================================================== */
.landing-page {
  padding-bottom: 0;
  background: #070b14;
  color: #f8fafc;
}

.landing-page a:focus-visible,
.landing-page summary:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 4px;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 24px;
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-nav-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.landing-brand strong { color: #60a5fa; }
.landing-brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32); }

.landing-links { display: flex; align-items: center; gap: 28px; }
.landing-links a, .landing-login-link { color: #94a3b8; text-decoration: none; font-size: 0.86rem; font-weight: 700; transition: color 0.2s ease; }
.landing-links a:hover, .landing-login-link:hover { color: #f8fafc; }
.landing-nav-actions { display: flex; align-items: center; gap: 16px; }
.landing-nav-cta { color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 10px; background: linear-gradient(135deg, #3b82f6, #2563eb); font-size: 0.84rem; font-weight: 800; box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28); }

.landing-hero-v2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 86px 24px 36px;
  background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.18), transparent 52%);
}

.hero-glow { position: absolute; z-index: -1; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; top: 80px; left: -220px; background: rgba(37, 99, 235, 0.12); }
.hero-glow-two { width: 360px; height: 360px; right: -180px; bottom: 20px; background: rgba(16, 185, 129, 0.08); }
.hero-v2-grid { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr); align-items: center; gap: 78px; }
.hero-v2-copy { max-width: 650px; }
.hero-v2-eyebrow, .section-kicker-v2 { color: #60a5fa; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.14em; }
.hero-v2-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.hero-v2-pulse, .preview-brand-dot, .status-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: #34d399; box-shadow: 0 0 14px rgba(52, 211, 153, 0.9); }
.hero-v2-pulse { animation: pulseDot 1.8s infinite; }
.hero-v2-copy h1 { margin: 0 0 24px; color: #f8fafc; font-size: clamp(2.7rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -0.055em; font-weight: 900; }
.hero-v2-copy h1 span { background: linear-gradient(110deg, #93c5fd, #3b82f6 58%, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-v2-lede { max-width: 590px; margin: 0 0 30px; color: #a7b3c7; font-size: 1.08rem; line-height: 1.7; }
.hero-v2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-v2-primary, .hero-v2-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 20px; border-radius: 12px; text-decoration: none; font-size: 0.92rem; font-weight: 800; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.hero-v2-primary { color: #fff; background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32); }
.hero-v2-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37, 99, 235, 0.46); }
.hero-v2-secondary { color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.25); background: rgba(15, 23, 42, 0.58); }
.hero-v2-secondary:hover { transform: translateY(-2px); background: rgba(30, 41, 59, 0.8); }
.hero-v2-note { display: flex; align-items: flex-start; gap: 8px; max-width: 530px; margin: 22px 0 0; color: #718096; font-size: 0.78rem; line-height: 1.55; }

.signal-preview-card { padding: 20px; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 22px; background: linear-gradient(145deg, rgba(22, 33, 56, 0.9), rgba(10, 16, 29, 0.92)); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 255, 255, 0.06); }
.signal-preview-topbar, .preview-status-row, .preview-footnote { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.signal-preview-topbar { padding-bottom: 18px; border-bottom: 1px solid rgba(148, 163, 184, 0.13); }
.preview-brand { display: inline-flex; align-items: center; gap: 8px; color: #e2e8f0; font-size: 0.73rem; font-weight: 900; letter-spacing: 0.12em; }
.preview-demo-label { color: #93c5fd; padding: 5px 9px; border: 1px solid rgba(96, 165, 250, 0.25); border-radius: 99px; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.1em; }
.preview-status-row { padding: 17px 0 14px; color: #8290a5; font-size: 0.72rem; }
.preview-status-row span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.preview-signal-list { display: grid; gap: 10px; }
.preview-signal-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 14px; background: rgba(15, 23, 42, 0.65); }
.preview-call { border-color: rgba(52, 211, 153, 0.28); }
.preview-put { border-color: rgba(248, 113, 113, 0.28); }
.preview-vip { border-color: rgba(251, 191, 36, 0.28); }
.preview-pair { display: flex; align-items: center; gap: 11px; }
.preview-pair strong { display: block; color: #f8fafc; font-size: 0.91rem; }
.preview-pair small { display: block; margin-top: 4px; color: #77859b; font-size: 0.7rem; }
.preview-direction { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #d1fae5; background: rgba(16, 185, 129, 0.15); font-size: 1.1rem; font-weight: 900; }
.preview-put .preview-direction { color: #fecaca; background: rgba(239, 68, 68, 0.15); }
.preview-vip .preview-direction { color: #fde68a; background: rgba(245, 158, 11, 0.14); }
.preview-action { color: #6ee7b7; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; }
.preview-put .preview-action { color: #fca5a5; }
.preview-vip .preview-action { color: #fcd34d; }
.preview-footnote { padding-top: 16px; color: #66748a; font-size: 0.69rem; line-height: 1.4; }
.preview-footnote a { color: #93c5fd; text-decoration: none; font-weight: 800; white-space: nowrap; }
.hero-v2-proof { width: min(1180px, 100%); margin: 68px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(148, 163, 184, 0.13); border-radius: 16px; background: rgba(15, 23, 42, 0.48); }
.hero-v2-proof div { padding: 18px 20px; border-right: 1px solid rgba(148, 163, 184, 0.13); }
.hero-v2-proof div:last-child { border-right: 0; }
.hero-v2-proof strong { display: block; color: #dbeafe; font-size: 0.72rem; letter-spacing: 0.08em; }
.hero-v2-proof span { display: block; margin-top: 6px; color: #718096; font-size: 0.72rem; line-height: 1.35; }

.landing-section-v2 { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0 0; }
.section-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr); align-items: end; gap: 48px; margin: 14px 0 42px; }
.section-heading-row h2 { max-width: 650px; margin: 0; color: #f8fafc; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.045em; }
.section-heading-row p { margin: 0; color: #8491a6; font-size: 0.94rem; line-height: 1.65; }
.feature-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card-v2 { min-height: 190px; padding: 24px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 16px; background: rgba(15, 23, 42, 0.56); }
.feature-card-v2:hover { border-color: rgba(96, 165, 250, 0.4); background: rgba(20, 31, 54, 0.78); }
.feature-icon-v2 { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 11px; color: #93c5fd; background: rgba(37, 99, 235, 0.14); border: 1px solid rgba(96, 165, 250, 0.2); font-size: 1.2rem; }
.feature-card-v2 h3, .step-card-v2 h3, .plan-card-v2 h3 { margin: 0 0 9px; color: #f8fafc; font-size: 1.04rem; }
.feature-card-v2 p, .step-card-v2 p, .plan-card-v2 p { margin: 0; color: #8390a5; font-size: 0.84rem; line-height: 1.6; }
.how-section-v2 { padding-top: 116px; }
.steps-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-card-v2 { padding: 28px 24px 26px; border-top: 1px solid rgba(96, 165, 250, 0.42); background: linear-gradient(180deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.32)); }
.step-card-v2 > span { display: block; margin-bottom: 32px; color: #60a5fa; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; }
.plans-section-v2 { padding-top: 116px; }
.plan-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-card-v2 { display: flex; flex-direction: column; min-height: 260px; padding: 26px 24px; border: 1px solid rgba(148, 163, 184, 0.15); border-radius: 16px; background: rgba(15, 23, 42, 0.58); }
.plan-card-v2-featured { border-color: rgba(96, 165, 250, 0.55); background: linear-gradient(145deg, rgba(30, 64, 175, 0.34), rgba(15, 23, 42, 0.78)); box-shadow: 0 18px 42px rgba(37, 99, 235, 0.13); }
.plan-label-v2 { margin-bottom: 30px; color: #60a5fa; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; }
.plan-card-v2 h3 { font-size: 1.4rem; }
.plan-card-v2 a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: #93c5fd; text-decoration: none; font-size: 0.82rem; font-weight: 900; }
.plan-card-v2 a span { font-size: 1rem; }
.faq-section-v2 { padding-top: 116px; }
.faq-list-v2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.faq-list-v2 details { padding: 20px 22px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 14px; background: rgba(15, 23, 42, 0.5); }
.faq-list-v2 summary { cursor: pointer; color: #e2e8f0; font-size: 0.9rem; font-weight: 800; list-style: none; }
.faq-list-v2 summary::-webkit-details-marker { display: none; }
.faq-list-v2 summary::after { content: '+'; float: right; color: #60a5fa; font-size: 1.2rem; line-height: 0.8; }
.faq-list-v2 details[open] summary::after { content: '−'; }
.faq-list-v2 details p { margin: 14px 28px 0 0; color: #8491a6; font-size: 0.82rem; line-height: 1.6; }
.landing-cta-v2 { width: min(1180px, calc(100% - 48px)); margin: 116px auto 0; padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid rgba(96, 165, 250, 0.25); border-radius: 22px; background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.28), transparent 45%), rgba(15, 23, 42, 0.7); }
.landing-cta-v2 h2 { max-width: 600px; margin: 12px 0 8px; color: #f8fafc; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.08; letter-spacing: -0.035em; }
.landing-cta-v2 p { margin: 0; color: #8491a6; font-size: 0.88rem; }
.landing-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.landing-footer-v2 { width: min(1180px, calc(100% - 48px)); margin: 100px auto 0; padding: 34px 0 28px; border-top: 1px solid rgba(148, 163, 184, 0.13); }
.landing-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.landing-footer-top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.landing-footer-top nav a { color: #7c8aa1; text-decoration: none; font-size: 0.76rem; font-weight: 700; }
.landing-footer-top nav a:hover { color: #bfdbfe; }
.landing-risk-note { margin-top: 30px; padding: 15px 18px; border: 1px solid rgba(245, 158, 11, 0.2); border-radius: 12px; color: #9aa6b8; background: rgba(245, 158, 11, 0.06); font-size: 0.76rem; line-height: 1.55; }
.landing-risk-note strong { color: #fcd34d; }
.landing-footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 24px; color: #5f6d82; font-size: 0.72rem; }

@media (max-width: 920px) {
  .landing-links { display: none; }
  .hero-v2-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-v2-copy { max-width: 760px; text-align: center; margin: 0 auto; }
  .hero-v2-eyebrow, .hero-v2-note { justify-content: center; }
  .hero-v2-actions { justify-content: center; }
  .hero-v2-lede { margin-left: auto; margin-right: auto; }
  .signal-preview-card { width: min(560px, 100%); margin: 0 auto; }
  .hero-v2-proof { grid-template-columns: repeat(2, 1fr); }
  .hero-v2-proof div:nth-child(2) { border-right: 0; }
  .hero-v2-proof div:nth-child(-n+2) { border-bottom: 1px solid rgba(148, 163, 184, 0.13); }
  .feature-grid-v2, .steps-grid-v2, .plan-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .section-heading-row { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 620px) {
  .landing-nav { padding: 13px 16px; }
  .landing-brand { font-size: 0.76rem; }
  .landing-brand img { width: 32px; height: 32px; }
  .landing-login-link { display: none; }
  .landing-nav-cta { padding: 9px 12px; font-size: 0.76rem; }
  .landing-hero-v2 { padding: 62px 16px 24px; }
  .hero-v2-copy h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
  .hero-v2-lede { font-size: 0.97rem; }
  .hero-v2-primary, .hero-v2-secondary { width: 100%; }
  .hero-v2-proof { margin-top: 48px; }
  .hero-v2-proof div { padding: 15px 13px; }
  .hero-v2-proof strong { font-size: 0.64rem; }
  .hero-v2-proof span { font-size: 0.66rem; }
  .signal-preview-card { padding: 14px; }
  .preview-footnote { align-items: flex-start; flex-direction: column; }
  .landing-section-v2, .landing-cta-v2, .landing-footer-v2 { width: min(100% - 32px, 1180px); }
  .landing-section-v2 { padding-top: 82px; }
  .feature-grid-v2, .steps-grid-v2, .plan-grid-v2, .faq-list-v2 { grid-template-columns: 1fr; }
  .feature-card-v2 { min-height: auto; }
  .landing-cta-v2 { margin-top: 82px; padding: 28px 22px; align-items: flex-start; flex-direction: column; }
  .landing-cta-actions { width: 100%; flex-direction: column; }
  .landing-cta-actions a { width: 100%; }
  .landing-footer-v2 { margin-top: 76px; }
  .landing-footer-top { align-items: flex-start; flex-direction: column; }
  .landing-footer-top nav { justify-content: flex-start; }
  .landing-footer-bottom { flex-direction: column; }
}

/* ========================================================================
   ✦ PUBLIC LANDING PAGE V3 — graphite fintech workspace
   Scoped to .landing-v3 so auth and app surfaces remain unchanged.
   ======================================================================== */

.landing-v3 {
  --ux-bg: #080b0e;
  --ux-surface: #10161a;
  --ux-surface-2: #151d21;
  --ux-line: rgba(224, 241, 231, 0.11);
  --ux-line-strong: rgba(224, 241, 231, 0.2);
  --ux-text: #f3f8f1;
  --ux-muted: #9aa9a2;
  --ux-soft: #c8d5cd;
  --ux-lime: #b9f34a;
  --ux-lime-deep: #87c735;
  --ux-cyan: #5eead4;
  --ux-red: #fb7185;
  --ux-amber: #fbbf24;
  background: var(--ux-bg);
  color: var(--ux-text);
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-v3::selection {
  background: var(--ux-lime);
  color: #0b100d;
}

.landing-v3 a {
  color: inherit;
}

.landing-v3 .ux-nav {
  position: relative;
  z-index: 10;
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 24px 0;
}

.landing-v3 .ux-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.landing-v3 .ux-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ux-text);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.landing-v3 .ux-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(185, 243, 74, 0.26);
}

.landing-v3 .ux-brand b {
  color: var(--ux-lime);
  font-weight: 900;
}

.landing-v3 .ux-nav-links,
.landing-v3 .ux-nav-actions {
  display: flex;
  align-items: center;
}

.landing-v3 .ux-nav-links {
  gap: 26px;
  margin-left: auto;
}

.landing-v3 .ux-nav-links a,
.landing-v3 .ux-signin {
  color: var(--ux-muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.landing-v3 .ux-nav-links a:hover,
.landing-v3 .ux-signin:hover {
  color: var(--ux-text);
}

.landing-v3 .ux-nav-actions {
  gap: 18px;
  margin-left: 8px;
}

.landing-v3 .ux-nav-button,
.landing-v3 .ux-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.landing-v3 .ux-nav-button {
  padding: 11px 16px;
  background: var(--ux-lime);
  color: #0d130c;
}

.landing-v3 .ux-nav-button:hover,
.landing-v3 .ux-button:hover {
  transform: translateY(-2px);
}

.landing-v3 .ux-nav-button span {
  font-size: 1rem;
  line-height: 0.8;
}

.landing-v3 .ux-hero {
  position: relative;
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 78px 0 118px;
}

.landing-v3 .ux-hero::before {
  position: absolute;
  z-index: -1;
  top: -170px;
  left: 39%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 243, 74, 0.12), transparent 67%);
  content: "";
  pointer-events: none;
}

.landing-v3 .ux-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(54px, 8vw, 126px);
}

.landing-v3 .ux-hero-copy {
  max-width: 590px;
}

.landing-v3 .ux-eyebrow,
.landing-v3 .ux-section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ux-lime);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.landing-v3 .ux-eyebrow::before,
.landing-v3 .ux-section-label::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.8;
}

.landing-v3 .ux-hero h1 {
  max-width: 660px;
  margin: 22px 0 24px;
  color: var(--ux-text);
  font-size: clamp(3.5rem, 6.25vw, 6.15rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.landing-v3 .ux-hero h1 em {
  color: var(--ux-lime);
  font-style: normal;
}

.landing-v3 .ux-hero-lede {
  max-width: 500px;
  margin: 0;
  color: var(--ux-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.landing-v3 .ux-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.landing-v3 .ux-button {
  min-height: 48px;
  padding: 0 19px;
}

.landing-v3 .ux-button-primary {
  background: var(--ux-lime);
  color: #0d130c;
}

.landing-v3 .ux-button-primary:hover {
  background: #caff70;
}

.landing-v3 .ux-button-quiet {
  border-color: var(--ux-line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ux-text);
}

.landing-v3 .ux-button-quiet:hover {
  border-color: rgba(185, 243, 74, 0.5);
  background: rgba(185, 243, 74, 0.08);
}

.landing-v3 .ux-disclaimer {
  margin: 17px 0 0;
  color: #73817a;
  font-size: 0.7rem;
  line-height: 1.5;
}

.landing-v3 .ux-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--ux-line);
  color: var(--ux-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.landing-v3 .ux-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.landing-v3 .ux-hero-trust span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ux-cyan);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.08);
  content: "";
}

.landing-v3 .ux-device-wrap {
  position: relative;
  min-width: 0;
}

.landing-v3 .ux-device-glow {
  position: absolute;
  inset: 16% -8% -10% 16%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.16), transparent 68%);
  filter: blur(18px);
}

.landing-v3 .ux-device {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(226, 242, 234, 0.17);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(28, 39, 42, 0.97), rgba(10, 15, 18, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(1.4deg);
}

.landing-v3 .ux-device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ux-line);
  background: rgba(7, 12, 14, 0.56);
}

.landing-v3 .ux-device-dots {
  display: flex;
  gap: 6px;
}

.landing-v3 .ux-device-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(243, 248, 241, 0.32);
}

.landing-v3 .ux-device-dots i:first-child {
  background: var(--ux-red);
}

.landing-v3 .ux-device-dots i:nth-child(2) {
  background: var(--ux-amber);
}

.landing-v3 .ux-device-dots i:last-child {
  background: var(--ux-cyan);
}

.landing-v3 .ux-device-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ux-cyan);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-v3 .ux-device-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1);
  content: "";
}

.landing-v3 .ux-device-content {
  padding: clamp(21px, 3vw, 34px);
}

.landing-v3 .ux-device-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.landing-v3 .ux-device-heading p,
.landing-v3 .ux-device-heading h2 {
  margin: 0;
}

.landing-v3 .ux-device-heading p {
  color: var(--ux-muted);
  font-size: 0.7rem;
}

.landing-v3 .ux-device-heading h2 {
  margin-top: 7px;
  color: var(--ux-text);
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  letter-spacing: -0.05em;
}

.landing-v3 .ux-live-pill {
  padding: 7px 9px;
  border: 1px solid rgba(185, 243, 74, 0.24);
  border-radius: 7px;
  background: rgba(185, 243, 74, 0.09);
  color: var(--ux-lime);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
}

.landing-v3 .ux-device-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 25px;
}

.landing-v3 .ux-device-summary div {
  padding: 13px 14px;
  border: 1px solid var(--ux-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.landing-v3 .ux-device-summary small,
.landing-v3 .ux-signal-card small {
  display: block;
  color: var(--ux-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-v3 .ux-device-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--ux-text);
  font-size: 1rem;
}

.landing-v3 .ux-tabs {
  display: flex;
  gap: 20px;
  margin-top: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ux-line);
}

.landing-v3 .ux-tabs span {
  color: var(--ux-muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.landing-v3 .ux-tabs span:first-child {
  color: var(--ux-lime);
}

.landing-v3 .ux-signal-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.landing-v3 .ux-signal-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--ux-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.landing-v3 .ux-signal-card > span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.landing-v3 .ux-signal-card.call > span:first-child {
  background: rgba(94, 234, 212, 0.13);
  color: var(--ux-cyan);
}

.landing-v3 .ux-signal-card.put > span:first-child {
  background: rgba(251, 113, 133, 0.13);
  color: var(--ux-red);
}

.landing-v3 .ux-signal-card.vip > span:first-child {
  background: rgba(185, 243, 74, 0.14);
  color: var(--ux-lime);
}

.landing-v3 .ux-signal-card strong {
  display: block;
  color: var(--ux-text);
  font-size: 0.8rem;
}

.landing-v3 .ux-signal-card small {
  margin-top: 4px;
}

.landing-v3 .ux-signal-card b {
  color: var(--ux-soft);
  font-size: 0.72rem;
  font-weight: 750;
}

.landing-v3 .ux-device-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  color: var(--ux-muted);
  font-size: 0.64rem;
}

.landing-v3 .ux-device-bottom b {
  color: var(--ux-lime);
  font-weight: 800;
}

.landing-v3 .ux-intro,
.landing-v3 .ux-process,
.landing-v3 .ux-access,
.landing-v3 .ux-faq,
.landing-v3 .ux-final-cta,
.landing-v3 .ux-footer {
  width: min(100% - 48px, 1240px);
  margin-right: auto;
  margin-left: auto;
}

.landing-v3 .ux-intro {
  padding: 108px 0 34px;
}

.landing-v3 .ux-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(38px, 8vw, 130px);
  align-items: end;
}

.landing-v3 .ux-intro h2,
.landing-v3 .ux-section-head h2,
.landing-v3 .ux-final-cta h2 {
  margin: 18px 0 0;
  color: var(--ux-text);
  font-size: clamp(2.25rem, 4.5vw, 4.3rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.landing-v3 .ux-intro h2 span {
  color: var(--ux-lime);
}

.landing-v3 .ux-intro-copy {
  max-width: 535px;
  margin: 0;
  color: var(--ux-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.landing-v3 .ux-feature-grid,
.landing-v3 .ux-process-grid,
.landing-v3 .ux-access-grid {
  display: grid;
  gap: 14px;
}

.landing-v3 .ux-feature-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.landing-v3 .ux-feature {
  min-height: 214px;
  padding: 24px;
  border-top: 1px solid var(--ux-line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.034), transparent);
}

.landing-v3 .ux-feature-number {
  color: var(--ux-lime);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.landing-v3 .ux-feature h3,
.landing-v3 .ux-process-card h3,
.landing-v3 .ux-access-card h3 {
  margin: 36px 0 10px;
  color: var(--ux-text);
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.landing-v3 .ux-feature p,
.landing-v3 .ux-process-card p,
.landing-v3 .ux-access-card p {
  margin: 0;
  color: var(--ux-muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.landing-v3 .ux-process {
  padding: 124px 0 34px;
}

.landing-v3 .ux-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.landing-v3 .ux-section-head p {
  max-width: 390px;
  margin: 0;
  color: var(--ux-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.landing-v3 .ux-process-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
}

.landing-v3 .ux-process-card {
  position: relative;
  min-height: 225px;
  padding: 23px;
  border: 1px solid var(--ux-line);
  border-radius: 15px;
  background: var(--ux-surface);
}

.landing-v3 .ux-process-card::after {
  position: absolute;
  top: 31px;
  right: 24px;
  width: 28px;
  height: 1px;
  background: var(--ux-line-strong);
  content: "";
}

.landing-v3 .ux-process-card:last-child::after {
  display: none;
}

.landing-v3 .ux-process-card > span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(185, 243, 74, 0.45);
  border-radius: 50%;
  color: var(--ux-lime);
  font-size: 0.68rem;
  font-weight: 850;
}

.landing-v3 .ux-process-card h3 {
  margin-top: 42px;
}

.landing-v3 .ux-access {
  padding: 124px 0 34px;
}

.landing-v3 .ux-access-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
}

.landing-v3 .ux-access-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--ux-line);
  border-radius: 16px;
  background: var(--ux-surface);
}

.landing-v3 .ux-access-card.featured {
  border-color: rgba(185, 243, 74, 0.36);
  background: linear-gradient(145deg, rgba(185, 243, 74, 0.12), rgba(16, 22, 26, 0.92) 52%);
}

.landing-v3 .ux-access-card > span {
  color: var(--ux-lime);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-v3 .ux-access-card h3 {
  margin-top: 26px;
  font-size: 1.4rem;
}

.landing-v3 .ux-access-card .ux-button {
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  font-size: 0.73rem;
}

.landing-v3 .ux-faq {
  padding: 124px 0 34px;
}

.landing-v3 .ux-faq .ux-section-head {
  align-items: start;
}

.landing-v3 .ux-faq-list {
  max-width: 820px;
  margin: 42px 0 0 auto;
}

.landing-v3 .ux-faq details {
  border-top: 1px solid var(--ux-line);
}

.landing-v3 .ux-faq details:last-child {
  border-bottom: 1px solid var(--ux-line);
}

.landing-v3 .ux-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  color: var(--ux-text);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
}

.landing-v3 .ux-faq summary::-webkit-details-marker {
  display: none;
}

.landing-v3 .ux-faq summary::after {
  color: var(--ux-lime);
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
}

.landing-v3 .ux-faq details[open] summary::after {
  content: "−";
}

.landing-v3 .ux-faq details p {
  max-width: 690px;
  margin: -4px 0 21px;
  color: var(--ux-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.landing-v3 .ux-final-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-top: 124px;
  padding: 42px;
  border: 1px solid rgba(185, 243, 74, 0.26);
  border-radius: 20px;
  background: linear-gradient(105deg, rgba(185, 243, 74, 0.13), rgba(16, 22, 26, 0.78) 62%);
}

.landing-v3 .ux-final-cta h2 {
  max-width: 620px;
}

.landing-v3 .ux-final-cta p {
  max-width: 560px;
  margin: 15px 0 0;
  color: var(--ux-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.landing-v3 .ux-final-cta .ux-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.landing-v3 .ux-footer {
  margin-top: 88px;
  padding: 28px 0 24px;
  border-top: 1px solid var(--ux-line);
}

.landing-v3 .ux-footer-top,
.landing-v3 .ux-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.landing-v3 .ux-footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.landing-v3 .ux-footer-top nav a,
.landing-v3 .ux-footer-bottom,
.landing-v3 .ux-risk {
  color: var(--ux-muted);
  font-size: 0.7rem;
  text-decoration: none;
}

.landing-v3 .ux-footer-top nav a:hover {
  color: var(--ux-text);
}

.landing-v3 .ux-footer-bottom {
  align-items: flex-end;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(224, 241, 231, 0.07);
}

.landing-v3 .ux-risk {
  max-width: 610px;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .landing-v3 .ux-nav-links {
    display: none;
  }

  .landing-v3 .ux-hero-grid,
  .landing-v3 .ux-intro-grid {
    grid-template-columns: 1fr;
  }

  .landing-v3 .ux-hero-copy {
    max-width: 700px;
  }

  .landing-v3 .ux-device-wrap {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .landing-v3 .ux-feature-grid,
  .landing-v3 .ux-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-v3 .ux-feature:last-child,
  .landing-v3 .ux-process-card:last-child {
    grid-column: 1 / -1;
  }

  .landing-v3 .ux-intro-grid {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .landing-v3 .ux-nav,
  .landing-v3 .ux-hero,
  .landing-v3 .ux-intro,
  .landing-v3 .ux-process,
  .landing-v3 .ux-access,
  .landing-v3 .ux-faq,
  .landing-v3 .ux-final-cta,
  .landing-v3 .ux-footer {
    width: min(100% - 32px, 1240px);
  }

  .landing-v3 .ux-nav {
    padding: 16px 0;
  }

  .landing-v3 .ux-brand {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .landing-v3 .ux-brand img {
    width: 30px;
    height: 30px;
  }

  .landing-v3 .ux-signin {
    display: none;
  }

  .landing-v3 .ux-nav-actions {
    margin-left: auto;
  }

  .landing-v3 .ux-nav-button {
    padding: 9px 12px;
    font-size: 0.69rem;
  }

  .landing-v3 .ux-hero {
    padding: 62px 0 82px;
  }

  .landing-v3 .ux-hero h1 {
    margin-top: 18px;
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .landing-v3 .ux-hero-lede {
    font-size: 0.93rem;
  }

  .landing-v3 .ux-hero-actions,
  .landing-v3 .ux-hero-actions .ux-button {
    width: 100%;
  }

  .landing-v3 .ux-hero-trust {
    gap: 12px;
    margin-top: 36px;
  }

  .landing-v3 .ux-device {
    border-radius: 17px;
    transform: none;
  }

  .landing-v3 .ux-device-content {
    padding: 18px 14px;
  }

  .landing-v3 .ux-device-summary {
    gap: 6px;
  }

  .landing-v3 .ux-device-summary div {
    padding: 10px 8px;
  }

  .landing-v3 .ux-device-summary strong {
    font-size: 0.82rem;
  }

  .landing-v3 .ux-signal-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 11px 9px;
  }

  .landing-v3 .ux-signal-card > span:first-child {
    width: 34px;
    height: 34px;
  }

  .landing-v3 .ux-signal-card b {
    font-size: 0.63rem;
  }

  .landing-v3 .ux-intro,
  .landing-v3 .ux-process,
  .landing-v3 .ux-access,
  .landing-v3 .ux-faq {
    padding-top: 82px;
  }

  .landing-v3 .ux-intro h2,
  .landing-v3 .ux-section-head h2,
  .landing-v3 .ux-final-cta h2 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .landing-v3 .ux-feature-grid,
  .landing-v3 .ux-process-grid,
  .landing-v3 .ux-access-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .landing-v3 .ux-feature,
  .landing-v3 .ux-process-card,
  .landing-v3 .ux-access-card {
    min-height: 0;
  }

  .landing-v3 .ux-feature:last-child,
  .landing-v3 .ux-process-card:last-child {
    grid-column: auto;
  }

  .landing-v3 .ux-feature h3,
  .landing-v3 .ux-process-card h3 {
    margin-top: 26px;
  }

  .landing-v3 .ux-section-head,
  .landing-v3 .ux-final-cta,
  .landing-v3 .ux-footer-top,
  .landing-v3 .ux-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-v3 .ux-section-head {
    gap: 18px;
  }

  .landing-v3 .ux-process-card::after {
    display: none;
  }

  .landing-v3 .ux-access-card {
    padding: 22px;
  }

  .landing-v3 .ux-final-cta {
    gap: 25px;
    margin-top: 82px;
    padding: 26px 22px;
  }

  .landing-v3 .ux-final-cta .ux-button {
    width: 100%;
  }

  .landing-v3 .ux-footer {
    margin-top: 68px;
  }

  .landing-v3 .ux-footer-bottom {
    gap: 13px;
  }
}
