@import url('./fonts.css');
/* ==========================================================================

   IBO-TS QUANTITATIVE TRADING PLATFORM - LUXURY RESPONSIVE DESIGN SYSTEM

   Canvas: 100% Pure Pristine White (#FFFFFF) with Vivid High-Contrast Elements

   Typography: Vazirmatn (Persian RTL) & JetBrains Mono (Strict LTR English Numbers)

   ========================================================================== */



/* ─── Self-Hosted Local Vazirmatn Fonts (100% High Availability & Offline) ─── */

@font-face {

  font-family: 'Vazirmatn';

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: local('Vazirmatn'),

       url('../assets/fonts/Vazirmatn-Regular.woff2') format('woff2'),

       url('/static/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');

}

@font-face {

  font-family: 'Vazirmatn';

  font-style: normal;

  font-weight: 500;

  font-display: swap;

  src: local('Vazirmatn Medium'),

       url('../assets/fonts/Vazirmatn-Medium.woff2') format('woff2'),

       url('/static/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');

}

@font-face {

  font-family: 'Vazirmatn';

  font-style: normal;

  font-weight: 600;

  font-display: swap;

  src: local('Vazirmatn SemiBold'),

       url('../assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2'),

       url('/static/assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2');

}

@font-face {

  font-family: 'Vazirmatn';

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: local('Vazirmatn Bold'),

       url('../assets/fonts/Vazirmatn-Bold.woff2') format('woff2'),

       url('/static/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');

}

@font-face {

  font-family: 'Vazirmatn';

  font-style: normal;

  font-weight: 800;

  font-display: swap;

  src: local('Vazirmatn ExtraBold'),

       url('../assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2'),

       url('/static/assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');

}

@font-face {

  font-family: 'Vazirmatn';

  font-style: normal;

  font-weight: 900;

  font-display: swap;

  src: local('Vazirmatn Black'),

       url('../assets/fonts/Vazirmatn-Black.woff2') format('woff2'),

       url('/static/assets/fonts/Vazirmatn-Black.woff2') format('woff2');

}



:root {

  /* Canvas Background: Pure White */

  --canvas-bg: #FFFFFF;

  --canvas-subtle: #F8FAFC;

  --canvas-card: #FFFFFF;

  --canvas-contrast: #F1F5F9;



  /* Vivid Theme Accents */

  --brand-indigo: #4F46E5;

  --brand-indigo-light: #6366F1;

  --brand-indigo-subtle: #EEF2FF;

  

  --profit-emerald: #059669;

  --profit-emerald-light: #10B981;

  --profit-bg: #ECFDF5;

  --profit-border: #A7F3D0;



  --loss-rose: #E11D48;

  --loss-rose-light: #F43F5E;

  --loss-bg: #FFF1F2;

  --loss-border: #FECDD3;



  --amber-gold: #D97706;

  --amber-gold-light: #F59E0B;

  --amber-bg: #FFFBEB;

  --amber-border: #FDE68A;



  --cyan-azure: #0891B2;

  --cyan-azure-light: #06B6D4;

  --cyan-bg: #ECFEFF;



  --violet-royal: #7C3AED;

  --violet-bg: #F5F3FF;



  /* Typography Colors */

  --text-heading: #0F172A;

  --text-body: #334155;

  --text-muted: #64748B;

  --text-light: #94A3B8;



  /* Ultra-sharp Crisp Borders */

  --border-light: #E2E8F0;

  --border-medium: #CBD5E1;

  --border-dark: #94A3B8;



  /* Elevated Shadows */

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);

  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);

  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08);

  --shadow-xl: 0 20px 32px -8px rgba(15, 23, 42, 0.12);

  --shadow-glow-indigo: 0 0 25px rgba(79, 70, 229, 0.22);

  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.22);



  /* Fluid Auto-Resizing Scales */

  --font-h1: clamp(1.85rem, 4.5vw, 3.25rem);

  --font-h2: clamp(1.5rem, 3.5vw, 2.35rem);

  --font-h3: clamp(1.2rem, 2.5vw, 1.65rem);

  --font-body: clamp(0.95rem, 1.2vw, 1.05rem);

  --radius-sm: 8px;

  --radius-md: 14px;

  --radius-lg: 20px;

  --radius-full: 9999px;

}



/* ==================== DARK THEME SYSTEM ==================== */

[data-theme="dark"] {

  --canvas-bg: #0B0E14;

  --canvas-subtle: #111726;

  --canvas-card: #151D30;

  --canvas-contrast: #1C263D;



  --text-heading: #F8FAFC;

  --text-body: #CBD5E1;

  --text-muted: #94A3B8;

  --text-light: #64748B;



  --border-light: #202A3E;

  --border-medium: #2D3B55;

  --border-dark: #475569;



  --brand-indigo-subtle: rgba(79, 70, 229, 0.16);

  --profit-bg: rgba(5, 150, 105, 0.16);

  --profit-border: rgba(16, 185, 129, 0.35);

  --loss-bg: rgba(225, 29, 72, 0.16);

  --loss-border: rgba(244, 63, 94, 0.35);

  --amber-bg: rgba(217, 119, 6, 0.16);

  --amber-border: rgba(245, 158, 11, 0.35);

  --cyan-bg: rgba(8, 145, 178, 0.16);

  --violet-bg: rgba(124, 58, 237, 0.16);



  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);

  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);

  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.55);

  --shadow-xl: 0 20px 32px -8px rgba(0, 0, 0, 0.65);

}



@media (prefers-color-scheme: dark) {

  :root:not([data-theme="light"]) {

    --canvas-bg: #0B0E14;

    --canvas-subtle: #111726;

    --canvas-card: #151D30;

    --canvas-contrast: #1C263D;



    --text-heading: #F8FAFC;

    --text-body: #CBD5E1;

    --text-muted: #94A3B8;

    --text-light: #64748B;



    --border-light: #202A3E;

    --border-medium: #2D3B55;

    --border-dark: #475569;



    --brand-indigo-subtle: rgba(79, 70, 229, 0.16);

    --profit-bg: rgba(5, 150, 105, 0.16);

    --profit-border: rgba(16, 185, 129, 0.35);

    --loss-bg: rgba(225, 29, 72, 0.16);

    --loss-border: rgba(244, 63, 94, 0.35);

    --amber-bg: rgba(217, 119, 6, 0.16);

    --amber-border: rgba(245, 158, 11, 0.35);

    --cyan-bg: rgba(8, 145, 178, 0.16);

    --violet-bg: rgba(124, 58, 237, 0.16);



    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);

    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);

    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.55);

    --shadow-xl: 0 20px 32px -8px rgba(0, 0, 0, 0.65);

  }

}



/* Global Reset */

*, *::before, *::after {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

}



html {

  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Roboto, sans-serif;

  font-size: 16px;

  direction: rtl;

  text-align: right;

  scroll-behavior: smooth;

  background-color: var(--canvas-bg);

  color: var(--text-body);

}



body {

  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Roboto, sans-serif;

  background-color: var(--canvas-bg);

  min-height: 100vh;

  line-height: 1.75;

  overflow-x: hidden;

}



/* Strict English Digits & Math Characters (Rule 4) */
:root {
  font-feature-settings: "ss01" 0, "ss02" 0, "tnum" 1;
}

.mono, .stat-num, .price-val, .ticker-val, .pnl-badge, .badge-direction, .math-num, .num-bold {
  font-family: 'JetBrains Mono', 'Segoe UI', system-ui, monospace !important;
  font-weight: 800 !important;
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-block;
}



/* Container */

.container {

  width: 100%;

  max-width: 1280px;

  margin-left: auto;

  margin-right: auto;

  padding-left: clamp(1rem, 3vw, 2rem);

  padding-right: clamp(1rem, 3vw, 2rem);

}



/* ==================== HEADER & TOPBAR (FLOATING SHAPED CARD) ==================== */

.site-header {

  position: sticky;

  top: 12px;

  margin: 0 auto;

  max-width: 1260px;

  width: calc(100% - 24px);

  z-index: 1000;

  background: rgba(255, 255, 255, 0.88);

  backdrop-filter: blur(24px) saturate(180%);

  -webkit-backdrop-filter: blur(24px) saturate(180%);

  border: 1.5px solid rgba(226, 232, 240, 0.95);

  border-radius: 18px;

  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);

  transition: all 0.25s ease;

}



[data-theme="dark"] .site-header {

  background: rgba(17, 24, 39, 0.85) !important;

  border-color: rgba(255, 255, 255, 0.12) !important;

  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.65) !important;

}



.site-header::before {

  content: "";

  position: absolute;

  top: 0; left: 22px; right: 22px;

  height: 2px;

  border-radius: 2px;

  background: #4F46E5;

  opacity: 0.18;

}



@keyframes slowGradientShift {

  0% { background-position: 0% 50%; }

  50% { background-position: 100% 50%; }

  100% { background-position: 0% 50%; }

}



.header-container {

  display: flex;

  align-items: center;

  justify-content: space-between;

  height: 58px;

  min-height: 58px;

  max-height: 58px;

  padding: 0 1.25rem;

  gap: 1.25rem;

}



.brand-wrapper {

  display: flex;

  align-items: center;

  gap: 0.85rem;

  text-decoration: none;

  color: var(--text-heading);

}



.brand-logo-img {

  height: 38px;

  width: auto;

  object-fit: contain;

  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));

}



.brand-text-block {

  display: flex;

  flex-direction: column;

}



.brand-name {

  font-size: 1.35rem;

  font-weight: 900;

  letter-spacing: -0.5px;

  color: var(--brand-indigo);

  line-height: 1.2;

}



.brand-sub {

  font-size: 0.72rem;

  font-weight: 700;

  color: var(--text-muted);

  letter-spacing: 0.2px;

}



.main-nav {

  display: flex;

  align-items: center;

  gap: 1.5rem;

  list-style: none;

}



.nav-link {

  color: var(--text-body);

  text-decoration: none;

  font-size: 0.92rem;

  font-weight: 700;

  padding: 0.45rem 0.75rem;

  border-radius: var(--radius-sm);

  transition: all 0.2s ease;

}



.nav-link:hover {

  color: var(--brand-indigo);

  background-color: var(--brand-indigo-subtle);

}



.header-actions {

  display: flex;

  align-items: center;

  gap: 0.75rem;

}



/* ==================== BUTTONS ==================== */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.5rem;

  font-family: inherit;

  font-size: 0.92rem;

  font-weight: 800;

  padding: 0.65rem 1.35rem;

  border-radius: var(--radius-md);

  border: 1.5px solid transparent;

  cursor: pointer;

  text-decoration: none;

  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  white-space: nowrap;

}



.btn-sm {

  padding: 0.45rem 0.95rem;

  font-size: 0.85rem;

  border-radius: var(--radius-sm);

}



.btn-lg {

  padding: 0.85rem 1.85rem;

  font-size: 1.05rem;

  border-radius: var(--radius-md);

}



.btn-primary {

  background: linear-gradient(135deg, var(--brand-indigo), #3730A3);

  color: #FFFFFF;

  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);

}



.btn-primary:hover {

  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);

}



.btn-emerald {

  background: linear-gradient(135deg, var(--profit-emerald-light), var(--profit-emerald));

  color: #FFFFFF;

  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);

}



.btn-emerald:hover {

  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);

}



.btn-amber {

  background: linear-gradient(135deg, var(--amber-gold-light), var(--amber-gold));

  color: #FFFFFF;

  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);

}



.btn-amber:hover {

  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);

}



.btn-outline {

  background: #FFFFFF;

  color: var(--text-body);

  border-color: var(--border-medium);

}



.btn-outline:hover {

  border-color: var(--brand-indigo);

  color: var(--brand-indigo);

  background: var(--brand-indigo-subtle);

}



.btn-danger {

  background: linear-gradient(135deg, var(--loss-rose-light), var(--loss-rose));

  color: #FFFFFF;

  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);

}



.btn-danger:hover {

  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);

}



/* ==================== TICKER & MARQUEE ==================== */

.marquee-bar {

  background: #FFFFFF;

  border-bottom: 1.5px solid var(--border-light);

  overflow: hidden;

  padding: 0.75rem 0;

  position: relative;

  width: 100%;

  direction: ltr !important;

  user-select: none;

  -webkit-user-select: none;

}

[data-theme="dark"] .marquee-bar {

  background: #0B0E14 !important;

  border-bottom-color: #202A3E !important;

}



.marquee-track {

  display: flex;

  align-items: center;

  width: max-content;

  will-change: transform;

  animation: infiniteScroll 42s linear infinite;

}



@media (hover: hover) and (pointer: fine) {

  .marquee-track:hover {

    animation-play-state: paused;

  }

}



.marquee-group {

  display: flex;

  align-items: center;

  gap: 2rem;

  padding-right: 2rem;

  flex-shrink: 0;

}



@keyframes infiniteScroll {

  0% { transform: translateX(0); }

  100% { transform: translateX(-50%); }

}



.marquee-item {

  display: inline-flex;

  align-items: center;

  gap: 0.65rem;

  padding: 0.35rem 0.85rem;

  background: var(--canvas-subtle);

  border: 1px solid var(--border-light);

  border-radius: var(--radius-full);

  font-size: 0.82rem;

  font-weight: 800;

  color: var(--text-heading);

  white-space: nowrap;

  box-shadow: var(--shadow-sm);

  transition: transform 0.2s ease;

}



.marquee-item:hover {

  transform: scale(1.05);

  border-color: var(--brand-indigo);

}



.marquee-item img {

  width: 24px;

  height: 24px;

  object-fit: contain;

  border-radius: 50%;

}



/* Market symbol logo shown next to every symbol name (feeds, histories, ...) */

.sym-logo {

  width: 18px;

  height: 18px;

  border-radius: 50%;

  object-fit: cover;

  vertical-align: -3px;

  margin-inline-end: 6px;

  background: var(--canvas-subtle, #f1f5f9);

}



td .sym-logo {

  width: 20px;

  height: 20px;

}



/* Live USDT Ticker Bar */

.live-usdt-strip {

  background: linear-gradient(90deg, #F0FDF4 0%, #FFFFFF 50%, #EEF2FF 100%);

  border-bottom: 1.5px solid #DCFCE7;

  padding: 0.55rem 0;

  font-size: 0.88rem;

  font-weight: 700;

}



.live-usdt-inner {

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 0.75rem;

}



.usdt-rate-box {

  display: flex;

  align-items: center;

  gap: 0.65rem;

}



.pulse-dot {

  width: 9px !important;

  height: 9px !important;

  min-width: 9px !important;

  min-height: 9px !important;

  max-width: 9px !important;

  max-height: 9px !important;

  border-radius: 50% !important;

  background-color: #10B981 !important;

  box-shadow: 0 0 8px #10B981, 0 0 14px rgba(16, 185, 129, 0.6) !important;

  animation: pulseBeacon 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;

  display: inline-block !important;

  flex-shrink: 0 !important;

  vertical-align: middle !important;

}



@keyframes pulseBeacon {

  0% {

    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75), 0 0 8px #10B981;

    transform: scale(0.95);

  }

  70% {

    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0), 0 0 12px rgba(16, 185, 129, 0.4);

    transform: scale(1.05);

  }

  100% {

    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 0 8px #10B981;

    transform: scale(0.95);

  }

}



.timer-pill {

  display: inline-flex;

  align-items: center;

  gap: 0.4rem;

  padding: 0.2rem 0.65rem;

  background: #FFFFFF;

  border: 1px solid var(--border-medium);

  border-radius: var(--radius-full);

  font-size: 0.78rem;

  font-weight: 800;

  color: var(--text-muted);

}



.btn-mini-refresh {

  background: none;

  border: none;

  color: var(--brand-indigo);

  cursor: pointer;

  font-weight: 800;

  font-size: 0.82rem;

  display: inline-flex;

  align-items: center;

  gap: 0.25rem;

  padding: 0.2rem 0.5rem;

  border-radius: var(--radius-sm);

}



.btn-mini-refresh:hover {

  background: rgba(79, 70, 229, 0.08);

}



/* ==================== HERO SECTION ==================== */

.hero-section {

  padding: clamp(2.5rem, 6vw, 4.5rem) 0;

  background: #FFFFFF;

  position: relative;

}



.hero-grid {

  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  gap: clamp(2rem, 5vw, 3.5rem);

  align-items: center;

}



.hero-badge-pill,

.status-indicator-badge {

  display: inline-flex !important;

  align-items: center !important;

  justify-content: center !important;

  gap: 0.65rem !important;

  padding: 0.45rem 1.25rem !important;

  width: fit-content !important;

  max-width: 95% !important;

  margin-left: auto !important;

  margin-right: auto !important;

  margin-top: 0 !important;

  margin-bottom: 1.25rem !important;

  text-align: center !important;

  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;

  font-size: 0.86rem !important;

  font-weight: 800 !important;

  line-height: 1.6 !important;

  letter-spacing: -0.2px !important;

  border-radius: 9999px !important;

  border: 1.5px solid rgba(16, 185, 129, 0.4) !important;

  background: rgba(16, 185, 129, 0.08) !important;

  color: #047857 !important;

  backdrop-filter: blur(12px) !important;

  -webkit-backdrop-filter: blur(12px) !important;

  box-shadow: 0 4px 14px -3px rgba(16, 185, 129, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;

  transition: all 0.25s ease !important;

}



.hero-badge-pill:hover,

.status-indicator-badge:hover {

  border-color: rgba(16, 185, 129, 0.6) !important;

  box-shadow: 0 6px 20px -2px rgba(16, 185, 129, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;

}



[data-theme="dark"] .hero-badge-pill,

[data-theme="dark"] .status-indicator-badge {

  background: rgba(16, 185, 129, 0.12) !important;

  border: 1.5px solid rgba(16, 185, 129, 0.45) !important;

  color: #6EE7B7 !important;

  box-shadow: 0 4px 20px -3px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;

}



[data-theme="dark"] .hero-badge-pill:hover,

[data-theme="dark"] .status-indicator-badge:hover {

  border-color: rgba(16, 185, 129, 0.75) !important;

  box-shadow: 0 6px 24px -2px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;

}



.hero-heading {

  font-size: var(--font-h1);

  font-weight: 900;

  line-height: 1.25;

  color: var(--text-heading);

  margin-bottom: 1.25rem;

  letter-spacing: -0.5px;

  text-align: center;

}



.hero-gradient-text {

  background: linear-gradient(135deg, var(--brand-indigo) 0%, #2563EB 50%, var(--profit-emerald) 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

}



.hero-description {

  font-size: var(--font-body);

  color: var(--text-body);

  line-height: 1.85;

  margin-bottom: 2rem;

  text-align: center;

}



.hero-cta-row {

  display: flex;

  align-items: center;

  justify-content: center; /* centered arrangement of the 3 hero buttons */

  gap: 1rem;

  flex-wrap: wrap;

  margin-bottom: 2.25rem;

}



/* APK build (UA "IBO-TS-App"): the app is already installed —

   hide EVERY PWA/app-download affordance (nav, hero, footer, cards)

   so they never show a dead end */

/* Myket build: hide every non-Myket payment/deposit surface (store policy) */

.ibots-myket .myket-hide { display: none !important; }

.myket-only { display: none; }

.ibots-myket .myket-only { display: block; }

.ibots-myket .usdt-only { display: none !important; }



.ibots-apk a[href="/download"],

.ibots-apk a[href^="/download/"],

.ibots-apk .hero-cta-row a[href="/download"],

.ibots-apk #pwaInstallBtn {

  display: none !important;

}



.hero-kpis {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1rem;

  padding-top: 1.5rem;

  border-top: 1.5px solid var(--border-light);

}



.kpi-card {

  display: flex;

  flex-direction: column;

}



.kpi-value {

  font-size: 1.55rem;

  font-weight: 900;

  line-height: 1.2;

}



.kpi-label {

  font-size: 0.76rem;

  color: var(--text-muted);

  font-weight: 700;

  margin-top: 0.25rem;

}



/* Executive Terminal Card (Hero Right) */

.executive-terminal {

  background: var(--canvas-card);

  border: 2px solid var(--border-light);

  border-radius: var(--radius-lg);

  padding: 2rem;

  box-shadow: var(--shadow-xl);

  position: relative;

  overflow: hidden;

  transition: all 0.3s ease;

}



.executive-terminal::before {

  content: "";

  position: absolute;

  top: 0; left: 0; right: 0;

  height: 2px;

  background: #4F46E5;

  opacity: 0.2;

}



.terminal-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding-bottom: 1.25rem;

  border-bottom: 1.5px solid var(--border-light);

  margin-bottom: 1.5rem;

}



.terminal-title {

  display: flex;

  align-items: center;

  gap: 0.65rem;

  font-size: 1.05rem;

  font-weight: 900;

  color: var(--text-heading);

}



.terminal-badge {

  background: var(--profit-bg);

  border: 1px solid var(--profit-border);

  color: var(--profit-emerald);

  padding: 0.25rem 0.75rem;

  border-radius: var(--radius-full);

  font-size: 0.78rem;

  font-weight: 800;

}



.terminal-metric-row {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 0.85rem 1rem;

  background: var(--canvas-subtle);

  border-radius: var(--radius-md);

  margin-bottom: 0.75rem;

  border: 1px solid var(--border-light);

}



.terminal-label {

  font-size: 0.88rem;

  font-weight: 700;

  color: var(--text-body);

}



.terminal-val {

  font-size: 1.05rem;

  font-weight: 800;

}



.terminal-footer-security {

  margin-top: 1.25rem;

  padding-top: 1rem;

  border-top: 1px dashed var(--border-light);

  font-size: 0.78rem;

  color: var(--text-muted);

  display: flex;

  align-items: center;

  gap: 0.5rem;

}



/* ==================== SECTION: 4 PNL CHARTS & METRICS ==================== */

.section-pnl {

  padding: clamp(3rem, 6vw, 5rem) 0;

  background: var(--canvas-bg);

  border-top: 1.5px solid var(--border-light);

}



.section-head {

  text-align: center;

  max-width: 780px;

  margin: 0 auto 3rem auto;

}



.section-tag {

  display: inline-block;

  padding: 0.35rem 1rem;

  background: var(--profit-bg);

  color: #047857;

  border: 1.5px solid var(--profit-border);

  border-radius: var(--radius-full);

  font-size: 0.82rem;

  font-weight: 800;

  margin-bottom: 0.85rem;

}



.section-title {

  font-size: var(--font-h2);

  font-weight: 900;

  color: var(--text-heading);

  margin-bottom: 0.85rem;

  letter-spacing: -0.5px;

  text-align: center;

}



.section-subtitle {

  font-size: 1rem;

  color: var(--text-muted);

  line-height: 1.75;

  text-align: center;

}



/* Unified Modern Timeframe Filter Buttons */

.timeframe-pill-group,

.tf-group {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.65rem;

  padding: 0.45rem;

  background: var(--canvas-subtle);

  border: 1.5px solid var(--border-light);

  border-radius: 16px;

  flex-wrap: wrap;

  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);

  margin: 1.5rem auto;

}



.tf-btn {

  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;

  font-size: 0.88rem;

  font-weight: 800 !important;

  padding: 0.55rem 1.15rem;

  border-radius: 12px;

  cursor: pointer;

  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.4rem;

  outline: none;

  user-select: none;

  letter-spacing: -0.01em;

  position: relative;

  overflow: hidden;

  background: var(--canvas-card);

  border: 1.5px solid var(--border-medium);

  color: var(--text-body);

}



.tf-btn:hover {

  transform: translateY(-1px);

}



/* 1. Amber (1h) */

.tf-btn-amber {

  background: rgba(245, 158, 11, 0.08) !important;

  border: 1.5px solid rgba(245, 158, 11, 0.28) !important;

  color: #D97706 !important;

  opacity: 0.85;

}

[data-theme="dark"] .tf-btn-amber {

  color: #FBBF24 !important;

}

.tf-btn-amber:hover {

  opacity: 1;

  background: rgba(245, 158, 11, 0.16) !important;

  border-color: rgba(245, 158, 11, 0.5) !important;

}

.tf-btn-amber.active {

  opacity: 1 !important;

  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;

  border-color: #FDE68A !important;

  color: #FFFFFF !important;

  font-weight: 900 !important;

  box-shadow: 0 0 22px rgba(245, 158, 11, 0.7), 0 4px 14px rgba(217, 119, 6, 0.45) !important;

  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);

}



/* 2. Emerald (24h) */

.tf-btn-emerald {

  background: rgba(16, 185, 129, 0.08) !important;

  border: 1.5px solid rgba(16, 185, 129, 0.28) !important;

  color: #059669 !important;

  opacity: 0.85;

}

[data-theme="dark"] .tf-btn-emerald {

  color: #34D399 !important;

}

.tf-btn-emerald:hover {

  opacity: 1;

  background: rgba(16, 185, 129, 0.16) !important;

  border-color: rgba(16, 185, 129, 0.5) !important;

}

.tf-btn-emerald.active {

  opacity: 1 !important;

  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;

  border-color: #A7F3D0 !important;

  color: #FFFFFF !important;

  font-weight: 900 !important;

  box-shadow: 0 0 22px rgba(16, 185, 129, 0.7), 0 4px 14px rgba(5, 150, 105, 0.45) !important;

  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);

}



/* 3. Cyan (7d) */

.tf-btn-cyan {

  background: rgba(6, 182, 212, 0.08) !important;

  border: 1.5px solid rgba(6, 182, 212, 0.28) !important;

  color: #0891B2 !important;

  opacity: 0.85;

}

[data-theme="dark"] .tf-btn-cyan {

  color: #22D3EE !important;

}

.tf-btn-cyan:hover {

  opacity: 1;

  background: rgba(6, 182, 212, 0.16) !important;

  border-color: rgba(6, 182, 212, 0.5) !important;

}

.tf-btn-cyan.active {

  opacity: 1 !important;

  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%) !important;

  border-color: #BAE6FD !important;

  color: #FFFFFF !important;

  font-weight: 900 !important;

  box-shadow: 0 0 22px rgba(6, 182, 212, 0.7), 0 4px 14px rgba(8, 145, 178, 0.45) !important;

  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);

}



/* 4. Indigo (30d) */

.tf-btn-indigo {

  background: rgba(99, 102, 241, 0.08) !important;

  border: 1.5px solid rgba(99, 102, 241, 0.28) !important;

  color: #4F46E5 !important;

  opacity: 0.85;

}

[data-theme="dark"] .tf-btn-indigo {

  color: #A5B4FC !important;

}

.tf-btn-indigo:hover {

  opacity: 1;

  background: rgba(99, 102, 241, 0.16) !important;

  border-color: rgba(99, 102, 241, 0.5) !important;

}

.tf-btn-indigo.active {

  opacity: 1 !important;

  background: linear-gradient(135deg, #6366F1 0%, #4338CA 100%) !important;

  border-color: #C7D2FE !important;

  color: #FFFFFF !important;

  font-weight: 900 !important;

  box-shadow: 0 0 22px rgba(99, 102, 241, 0.7), 0 4px 14px rgba(79, 70, 229, 0.45) !important;

  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);

}



/* 5. Rose (all) */

.tf-btn-rose {

  background: rgba(244, 63, 94, 0.08) !important;

  border: 1.5px solid rgba(244, 63, 94, 0.28) !important;

  color: #E11D48 !important;

  opacity: 0.85;

}

[data-theme="dark"] .tf-btn-rose {

  color: #FB7185 !important;

}

.tf-btn-rose:hover {

  opacity: 1;

  background: rgba(244, 63, 94, 0.16) !important;

  border-color: rgba(244, 63, 94, 0.5) !important;

}

.tf-btn-rose.active {

  opacity: 1 !important;

  background: linear-gradient(135deg, #F43F5E 0%, #BE123C 100%) !important;

  border-color: #FECDD3 !important;

  color: #FFFFFF !important;

  font-weight: 900 !important;

  box-shadow: 0 0 22px rgba(244, 63, 94, 0.7), 0 4px 14px rgba(225, 29, 72, 0.45) !important;

  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);

}



/* 4 Charts Grid (Institutional Financial Design) */

.charts-grid-four {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 1.25rem;

}



.chart-card {

  background: var(--canvas-card);

  border: 1.5px solid var(--border-light);

  border-radius: var(--radius-md);

  padding: 1.15rem 1.25rem;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);

  display: flex;

  flex-direction: column;

  transition: all 0.2s ease;

  position: relative;

}



.chart-card:hover {

  border-color: #CBD5E1;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);

}



.chart-card-head {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 0.85rem;

  padding-bottom: 0.5rem;

  border-bottom: 1px solid #F1F5F9;

}



.chart-card-title {

  font-size: 0.92rem;

  font-weight: 800;

  color: var(--text-heading);

  display: flex;

  align-items: center;

  gap: 0.45rem;

}



.chart-card-badge {

  font-size: 0.72rem;

  font-weight: 800;

  padding: 0.2rem 0.55rem;

  border-radius: var(--radius-full);

}



.chart-canvas-wrapper {

  width: 100%;

  height: 200px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

}



.chart-canvas {

  width: 100% !important;

  height: 100% !important;

  display: block;

}



/* Donut Center Metric Overlay */

.donut-center-overlay {

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  text-align: center;

  pointer-events: none;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

}



.donut-center-val {

  font-size: 1.45rem;

  font-weight: 900;

  color: var(--text-heading);

  line-height: 1;

  font-family: 'JetBrains Mono', monospace;

  letter-spacing: -0.5px;

}



.donut-center-sub {

  font-size: 0.7rem;

  font-weight: 800;

  color: var(--profit-emerald);

  margin-top: 3px;

}



.donut-legend-row {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 1rem;

  margin-top: 0.5rem;

  font-size: 0.76rem;

  font-weight: 700;

  flex-wrap: wrap;

}



.donut-legend-item {

  display: inline-flex;

  align-items: center;

  gap: 0.35rem;

  color: var(--text-body);

}



.donut-legend-dot {

  width: 8px;

  height: 8px;

  border-radius: 50%;

  display: inline-block;

}



/* KPI Summary Cards Under Charts */

.kpi-four-row {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 0.85rem;

  margin-top: 1.5rem;

}



.kpi-stat-box {

  background: var(--canvas-subtle);

  border: 1px solid var(--border-light);

  border-radius: var(--radius-md);

  padding: 0.85rem 1rem;

  text-align: center;

  transition: all 0.2s ease;

}



.kpi-stat-box:hover {

  background: #FFFFFF;

  border-color: var(--border-medium);

}



.kpi-stat-num {

  font-size: 1.3rem;

  font-weight: 900;

  display: block;

  font-family: 'JetBrains Mono', monospace;

  line-height: 1.2;

}



.kpi-stat-title {

  font-size: 0.72rem;

  font-weight: 700;

  color: var(--text-muted);

  margin-top: 0.25rem;

  display: block;

}



/* ==================== SECTION: SUBSCRIPTION PLANS ==================== */

.section-pricing {

  padding: clamp(3.5rem, 6vw, 5.5rem) 0;

  background: var(--canvas-subtle);

  border-top: 1.5px solid var(--border-light);

}



.bot-addon-selector-card {

  max-width: 680px;

  margin: 0 auto 3rem auto;

  background: linear-gradient(135deg, var(--brand-indigo-subtle) 0%, var(--canvas-card) 100%);

  border: 2px solid var(--border-medium);

  border-radius: var(--radius-lg);

  padding: 1.5rem 2rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1.5rem;

  box-shadow: var(--shadow-md);

}



.addon-info-left {

  display: flex;

  align-items: center;

  gap: 1rem;

}



.addon-icon {

  width: 48px;

  height: 48px;

  background: var(--brand-indigo);

  color: #FFFFFF;

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.5rem;

  flex-shrink: 0;

}



.addon-title {

  font-size: 1.05rem;

  font-weight: 900;

  color: var(--text-heading);

}



.addon-desc {

  font-size: 0.82rem;

  color: var(--text-muted);

  margin-top: 0.2rem;

}



.addon-toggle-switch {

  position: relative;

  display: inline-block;

  width: 58px;

  height: 32px;

  flex-shrink: 0;

}



.addon-toggle-switch input {

  opacity: 0;

  width: 0;

  height: 0;

}



.toggle-slider {

  position: absolute;

  cursor: pointer;

  top: 0; left: 0; right: 0; bottom: 0;

  background-color: #CBD5E1;

  transition: 0.3s;

  border-radius: 34px;

}



.toggle-slider:before {

  position: absolute;

  content: "";

  height: 24px;

  width: 24px;

  left: 4px;

  bottom: 4px;

  background-color: white;

  transition: 0.3s;

  border-radius: 50%;

  box-shadow: 0 2px 4px rgba(0,0,0,0.2);

}



input:checked + .toggle-slider {

  background-color: var(--profit-emerald-light);

}



input:checked + .toggle-slider:before {

  transform: translateX(26px);

}



/* Pricing Cards Grid */

.pricing-grid {

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 1.25rem;

}



.plan-card {

  background: var(--canvas-card);

  border: 2px solid var(--border-light);

  border-radius: var(--radius-lg);

  padding: 1.75rem 1.25rem;

  display: flex;

  flex-direction: column;

  position: relative;

  transition: all 0.25s ease;

  box-shadow: var(--shadow-sm);

}



.plan-card:hover {

  transform: translateY(-5px);

  border-color: var(--brand-indigo);

  box-shadow: var(--shadow-xl);

}



.plan-card.popular {

  border-color: var(--brand-indigo);

  background: linear-gradient(180deg, var(--canvas-contrast) 0%, var(--canvas-card) 30%);

  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.15);

}



.plan-badge-top {

  position: absolute;

  top: -12px;

  right: 50%;

  transform: translateX(50%);

  background: var(--brand-indigo);

  color: #FFFFFF;

  padding: 0.2rem 0.85rem;

  border-radius: var(--radius-full);

  font-size: 0.72rem;

  font-weight: 800;

  white-space: nowrap;

}



.plan-title {

  font-size: 1.1rem;

  font-weight: 900;

  color: var(--text-heading);

  text-align: center;

  margin-bottom: 0.5rem;

}



.plan-duration {

  font-size: 0.78rem;

  color: var(--text-muted);

  text-align: center;

  font-weight: 700;

  margin-bottom: 1.25rem;

}



.plan-pricing-box {

  text-align: center;

  padding: 1rem 0;

  border-top: 1px dashed var(--border-light);

  border-bottom: 1px dashed var(--border-light);

  margin-bottom: 1.25rem;

}



.plan-usdt-amount {

  font-size: 1.85rem;

  font-weight: 900;

  color: var(--text-heading);

  line-height: 1.1;

}



.plan-toman-amount {

  font-size: 0.85rem;

  font-weight: 800;

  color: var(--profit-emerald);

  margin-top: 0.4rem;

}



.plan-features-list {

  list-style: none;

  font-size: 0.82rem;

  color: var(--text-body);

  margin-bottom: 1.5rem;

  flex-grow: 1;

}



.plan-features-list li {

  display: flex;

  align-items: center;

  gap: 0.5rem;

  margin-bottom: 0.65rem;

}



.plan-features-list li i {

  color: var(--profit-emerald-light);

  font-size: 1rem;

  flex-shrink: 0;

}



/* ==================== SECTION: WHY US (PSYCHOLOGICAL & EXCLUSIVE) ==================== */

.section-features {

  padding: clamp(3.5rem, 6vw, 5.5rem) 0;

  background: var(--canvas-bg);

  border-top: 1.5px solid var(--border-light);

}



/* Pulse Tag */

.pulse-tag {

  animation: pulseAmbient 2.5s infinite;

  box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);

}



@keyframes pulseAmbient {

  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }

  70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }

  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }

}



/* 4 Distinct Gradient Cards for Why Us */

.features-grid-four {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1.5rem;

}



.feature-box {

  background: var(--canvas-card);

  border: 1.5px solid var(--border-light);

  border-radius: var(--radius-lg);

  padding: 1.85rem;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  position: relative;

  overflow: hidden;

}



.feature-box:hover {

  transform: translateY(-8px);

  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);

}



.feature-box:hover .feature-icon-badge {

  transform: scale(1.12) rotate(6deg);

}



.feature-grad-1 {

  background: linear-gradient(145deg, rgba(79, 70, 229, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);

  border-color: rgba(79, 70, 229, 0.2);

}

.feature-grad-2 {

  background: linear-gradient(145deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);

  border-color: rgba(16, 185, 129, 0.2);

}

.feature-grad-3 {

  background: linear-gradient(145deg, rgba(245, 158, 11, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);

  border-color: rgba(245, 158, 11, 0.2);

}

.feature-grad-4 {

  background: linear-gradient(145deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);

  border-color: rgba(59, 130, 246, 0.2);

}



.feature-icon-badge {

  width: 56px;

  height: 56px;

  border-radius: 16px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.65rem;

  margin-bottom: 1.25rem;

  transition: all 0.35s ease;

}



.icon-grad-1 { background: #EEF2FF; color: #4F46E5; }

.icon-grad-2 { background: #ECFDF5; color: #10B981; }

.icon-grad-3 { background: #FFFBEB; color: #F59E0B; }

.icon-grad-4 { background: #EFF6FF; color: #3B82F6; }



.feature-title {

  font-size: 1.15rem;

  font-weight: 900;

  color: var(--text-heading);

  margin-bottom: 0.75rem;

}



.feature-text {

  font-size: 0.88rem;

  color: var(--text-body);

  line-height: 1.75;

}



/* ==================== SECTION: ABOUT US ==================== */

.section-about {

  padding: clamp(3.5rem, 6vw, 5.5rem) 0;

  background: var(--canvas-subtle);

  border-top: 1.5px solid var(--border-light);

  border-bottom: 1.5px solid var(--border-light);

}



.about-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 3.5rem;

  align-items: center;

}



.about-content h2 {

  font-size: var(--font-h2);

  font-weight: 900;

  color: var(--text-heading);

  margin-bottom: 1.25rem;

}



.about-content p {

  font-size: var(--font-body);

  color: var(--text-body);

  line-height: 1.85;

  margin-bottom: 1.25rem;

}



.about-badges-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 1.25rem;

}



.about-badge-item {

  background: #FFFFFF;

  border: 1.5px solid var(--border-light);

  border-radius: var(--radius-md);

  padding: 1.35rem;

  box-shadow: var(--shadow-sm);

  transition: all 0.3s ease;

}



.about-badge-item:hover {

  transform: translateY(-4px);

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);

}



/* 4-Color Continuous Spectrum from Top-Left to Bottom-Right */

.badge-spectrum-1 {

  background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), #FFFFFF);

  border-color: rgba(79, 70, 229, 0.3);

}

.badge-spectrum-2 {

  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), #FFFFFF);

  border-color: rgba(16, 185, 129, 0.3);

}

.badge-spectrum-3 {

  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), #FFFFFF);

  border-color: rgba(245, 158, 11, 0.3);

}

.badge-spectrum-4 {

  background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), #FFFFFF);

  border-color: rgba(236, 72, 153, 0.3);

}



.about-badge-item h4 {

  font-size: 0.98rem;

  font-weight: 900;

  color: var(--text-heading);

  margin-bottom: 0.35rem;

  display: flex;

  align-items: center;

  gap: 0.4rem;

}



.about-badge-item p {

  font-size: 0.82rem;

  color: var(--text-muted);

  line-height: 1.6;

}



/* ==================== SECTION: FAQ ACCORDION ==================== */

.section-faq {

  padding: clamp(3.5rem, 6vw, 5.5rem) 0;

  background: var(--canvas-bg);

}



.faq-accordion-wrapper {

  max-width: 820px;

  margin: 0 auto;

}



.faq-item {

  background: var(--canvas-card);

  border: 1.5px solid var(--border-light);

  border-radius: var(--radius-md);

  margin-bottom: 1rem;

  overflow: hidden;

  transition: border-color 0.2s ease;

}



.faq-item.active {

  border-color: var(--brand-indigo);

}



.faq-question-btn {

  width: 100%;

  padding: 1.25rem 1.5rem;

  background: none;

  border: none;

  text-align: right;

  font-family: inherit;

  font-size: 1.05rem;

  font-weight: 800;

  color: var(--text-heading);

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1rem;

}



.faq-icon-arrow {

  font-size: 1.2rem;

  color: var(--brand-indigo);

  transition: transform 0.25s ease;

}



.faq-item.active .faq-icon-arrow {

  transform: rotate(180deg);

}



.faq-answer-panel {

  max-height: 0;

  overflow: hidden;

  transition: max-height 0.3s ease-out;

  padding: 0 1.5rem;

  background: var(--canvas-subtle);

  border-top: 1px solid transparent;

}



.faq-item.active .faq-answer-panel {

  padding: 1.25rem 1.5rem;

  border-top-color: var(--border-light);

  max-height: 400px;

}



.faq-answer-panel p {

  font-size: 0.94rem;

  line-height: 1.8;

  color: var(--text-body);

}



/* ==================== SECTION: CONTACT & SUPPORT ==================== */

.section-contact {

  padding: clamp(3.5rem, 6vw, 5.5rem) 0;

  background: var(--canvas-subtle);

  border-top: 1.5px solid var(--border-light);

}



.contact-card-box {

  max-width: 780px;

  margin: 0 auto;

  background: var(--canvas-card);

  border: 2px solid var(--border-light);

  border-radius: var(--radius-lg);

  padding: clamp(1.75rem, 4vw, 3rem);

  box-shadow: var(--shadow-lg);

}



.contact-form-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 1.25rem;

  margin-bottom: 1.25rem;

}



.form-group {

  display: flex;

  flex-direction: column;

  gap: 0.4rem;

}



.form-label {

  font-size: 0.88rem;

  font-weight: 800;

  color: var(--text-heading);

}



.form-input, .form-textarea, .form-select {

  font-family: inherit;

  font-size: 0.95rem;

  padding: 0.75rem 1rem;

  border: 1.5px solid var(--border-light);

  border-radius: var(--radius-md);

  background: var(--canvas-subtle);

  color: var(--text-heading);

  transition: border-color 0.2s ease, box-shadow 0.2s ease;

  outline: none;

}



.form-input:focus, .form-textarea:focus, .form-select:focus {

  border-color: var(--brand-indigo);

  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);

}



/* ==================== USER DASHBOARD & PORTFOLIO ==================== */

.dashboard-view-wrapper {

  padding: clamp(2rem, 5vw, 4rem) 0;

  background: var(--canvas-bg);

  display: none;

}



.dashboard-view-wrapper.active {

  display: block;

}



.dashboard-header-bar {

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 1.25rem;

  padding-bottom: 1.75rem;

  border-bottom: 1.5px solid var(--border-light);

  margin-bottom: 2rem;

}



.dashboard-user-greeting h2 {

  font-size: 1.65rem;

  font-weight: 900;

  color: var(--text-heading);

}



.dashboard-user-greeting p {

  font-size: 0.88rem;

  color: var(--text-muted);

}



/* Subscription Lock Overlay */

.subscription-lock-screen {

  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);

  border: 2px dashed #CBD5E1;

  border-radius: var(--radius-lg);

  padding: 4rem 2rem;

  text-align: center;

  max-width: 680px;

  margin: 2rem auto;

  box-shadow: var(--shadow-sm);

}



.lock-icon-circle {

  width: 72px;

  height: 72px;

  background: var(--amber-bg);

  border: 2px solid var(--amber-border);

  color: var(--amber-gold);

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 2rem;

  margin: 0 auto 1.5rem auto;

}



.lock-title {

  font-size: 1.45rem;

  font-weight: 900;

  color: var(--text-heading);

  margin-bottom: 0.75rem;

}



.lock-desc {

  font-size: 0.95rem;

  color: var(--text-body);

  line-height: 1.8;

  margin-bottom: 2rem;

}



/* ==================== MODALS & AUTH ==================== */

.modal-overlay {

  position: fixed;

  top: 0; left: 0; right: 0; bottom: 0;

  background: rgba(15, 23, 42, 0.6);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  z-index: 10005;

  display: none;

  align-items: center;

  justify-content: center;

  padding: 1.5rem;

}



.modal-overlay.active {

  display: flex;

}



.modal-container-box {

  background: var(--canvas-card);

  color: var(--text-body);

  border: 1.5px solid var(--border-light);

  border-radius: var(--radius-lg);

  width: 100%;

  max-width: 460px;

  padding: 2.25rem;

  box-shadow: var(--shadow-xl);

  position: relative;

  max-height: 90vh;

  overflow-y: auto;

}



.modal-close-btn {

  position: absolute;

  top: 1rem;

  left: 1rem;

  width: 38px;

  height: 38px;

  border-radius: 12px;

  background: var(--canvas-subtle, rgba(0, 0, 0, 0.06));

  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.1));

  font-size: 1.4rem;

  color: var(--text-muted);

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  line-height: 1;

  z-index: 1000;

  pointer-events: auto !important;

  transition: all 0.2s ease;

}

.modal-close-btn:hover {

  background: var(--border-medium);

  color: var(--text-heading);

  transform: scale(1.06);

}

[data-theme="dark"] .modal-close-btn {

  background: rgba(255, 255, 255, 0.1);

  border-color: rgba(255, 255, 255, 0.15);

  color: #F8FAFC;

}

[data-theme="dark"] .modal-close-btn:hover {

  background: rgba(255, 255, 255, 0.2);

  color: #FFFFFF;

}



.modal-head-center {

  text-align: center;

  margin-bottom: 1.75rem;

}



.modal-head-title {

  font-size: 1.35rem;

  font-weight: 900;

  color: var(--text-heading);

}



.modal-head-desc {

  font-size: 0.85rem;

  color: var(--text-muted);

  margin-top: 0.35rem;

}



/* Official Google Sign-In Button */

.google-signin-btn {

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0.85rem;

  background: #FFFFFF;

  border: 1.5px solid #DADCE0;

  border-radius: var(--radius-md);

  padding: 0.75rem 1rem;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  font-size: 0.95rem;

  font-weight: 600;

  color: #3C4043;

  cursor: pointer;

  transition: all 0.2s ease;

  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08);

  margin-bottom: 1.25rem;

}



.google-signin-btn:hover {

  background: #F8FAFD;

  border-color: #C2E7FF;

  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.15);

}



[data-theme="dark"] .google-signin-btn {

  background: #1E293B !important;

  border-color: rgba(255, 255, 255, 0.18) !important;

  color: #F8FAFC !important;

}



[data-theme="dark"] .google-signin-btn:hover {

  background: #334155 !important;

  border-color: rgba(255, 255, 255, 0.3) !important;

}



.google-icon-svg {

  width: 22px;

  height: 22px;

  flex-shrink: 0;

}



.auth-divider-line {

  display: flex;

  align-items: center;

  text-align: center;

  color: var(--text-light);

  font-size: 0.8rem;

  font-weight: 700;

  margin: 1.25rem 0;

}



.auth-divider-line::before, .auth-divider-line::after {

  content: '';

  flex: 1;

  border-bottom: 1px solid var(--border-light);

}



.auth-divider-line::before { margin-left: 0.75rem; }

.auth-divider-line::after { margin-right: 0.75rem; }



/* 6-Digit OTP Input Row */

.otp-inputs-row {

  display: flex;

  justify-content: center;

  gap: 0.65rem;

  direction: ltr;

  margin: 1.5rem 0;

}



.otp-digit {

  width: 48px;

  height: 56px;

  text-align: center;

  font-size: 1.65rem;

  font-weight: 900;

  font-family: 'JetBrains Mono', monospace;

  border: 2px solid var(--border-medium);

  border-radius: 10px;

  background: var(--canvas-subtle);

  outline: none;

  transition: all 0.2s ease;

}



.otp-digit:focus {

  border-color: var(--brand-indigo);

  background: #FFFFFF;

  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);

}



/* ==================== FOOTER ==================== */

.site-footer {

  background: var(--canvas-bg);

  border-top: 2px solid var(--border-light);

  padding: 4rem 0 2rem 0;

  color: var(--text-body);

}



.site-footer .brand-logo-img,

.site-footer .brand-wrapper img,

.tpl-footer img {

  height: 28px !important;

  max-height: 28px !important;

  width: auto !important;

  max-width: 110px !important;

  object-fit: contain !important;

  display: inline-block !important;

}



.footer-brand-slogan {

  display: block !important;

  font-size: 0.88rem !important;

  font-weight: 800 !important;

  line-height: 1.85 !important;

  background: linear-gradient(135deg, #6366F1 0%, #A855F7 50%, #EC4899 100%) !important;

  background-clip: text !important;

  -webkit-background-clip: text !important;

  -webkit-text-fill-color: transparent !important;

  color: #A855F7;

  margin: 0.35rem 0 1rem 0 !important;

}



[data-theme="dark"] .site-footer {

  background: #0B0E14 !important;

  border-top-color: #202A3E !important;

}



[data-theme="dark"] .footer-col-title {

  color: #FFFFFF !important;

}



[data-theme="dark"] .footer-links-list a {

  color: #94A3B8 !important;

}



[data-theme="dark"] .footer-links-list a:hover {

  color: #818CF8 !important;

}



[data-theme="dark"] .footer-bottom-bar {

  border-top-color: #202A3E !important;

  color: #94A3B8 !important;

}



.footer-top-grid {

  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;

  gap: 2.5rem;

  margin-bottom: 3rem;

}



.footer-col-title {

  font-size: 1.05rem;

  font-weight: 900;

  color: var(--text-heading);

  margin-bottom: 1.25rem;

}



.footer-links-list {

  list-style: none;

}



.footer-links-list li {

  margin-bottom: 0.65rem;

}



.footer-links-list a {

  color: var(--text-muted);

  text-decoration: none;

  font-size: 0.88rem;

  font-weight: 700;

  transition: color 0.2s ease;

}



.footer-links-list a:hover {

  color: var(--brand-indigo);

}



.footer-bottom-bar {

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 1rem;

  padding-top: 2rem;

  border-top: 1px solid var(--border-light);

  font-size: 0.82rem;

  color: var(--text-muted);

}



/* ==================== TOAST NOTIFICATIONS ==================== */

#toast-container {

  position: fixed;

  bottom: 24px;

  right: 24px;

  z-index: 3000;

  display: flex;

  flex-direction: column;

  gap: 10px;

  pointer-events: none;

}



.toast {

  background: #FFFFFF;

  color: var(--text-heading);

  border: 1.5px solid var(--border-light);

  border-radius: var(--radius-md);

  padding: 0.9rem 1.4rem;

  font-size: 0.9rem;

  font-weight: 800;

  box-shadow: var(--shadow-xl);

  display: flex;

  align-items: center;

  gap: 0.75rem;

  animation: slideToastIn 0.3s ease forwards;

  pointer-events: auto;

  max-width: 380px;

}



.toast.success { border-color: var(--profit-emerald); border-right: 5px solid var(--profit-emerald); }

.toast.error { border-color: var(--loss-rose); border-right: 5px solid var(--loss-rose); }

.toast.info { border-color: var(--brand-indigo); border-right: 5px solid var(--brand-indigo); }



@keyframes slideToastIn {

  from { opacity: 0; transform: translateY(20px); }

  to { opacity: 1; transform: translateY(0); }

}



/* ==================== SECTION: APP DOWNLOAD SHOWCASE ==================== */

.section-download {

  padding: clamp(3rem, 5vw, 5rem) 0;

  background: #FFFFFF;

  border-top: 1.5px solid var(--border-light);

}



.download-cards-grid {

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 1.15rem;

  margin-top: 2rem;

}



.download-card {

  background: #FFFFFF;

  border: 1.5px solid var(--border-light);

  border-radius: var(--radius-lg);

  padding: 1.6rem 1.1rem;

  text-align: center;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: space-between;

  text-decoration: none;

  color: inherit;

  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  box-shadow: var(--shadow-sm);

  position: relative;

  overflow: hidden;

}



.download-card:hover {

  transform: translateY(-5px);

  border-color: var(--brand-indigo);

  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.12);

}



.download-store-icon {

  width: 58px;

  height: 58px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 0.9rem;

  border-radius: 14px;

}



.download-store-icon img,

.download-store-icon svg {

  width: 100%;

  height: 100%;

  object-fit: contain;

}



.download-store-title {

  font-size: 1.05rem;

  font-weight: 900;

  color: var(--text-heading);

  margin-bottom: 0.3rem;

}



.download-store-desc {

  font-size: 0.76rem;

  color: var(--text-muted);

  line-height: 1.5;

  margin-bottom: 1.15rem;

  flex-grow: 1;

}



.download-badge-btn {

  width: 100%;

  padding: 0.55rem 0.85rem;

  border-radius: var(--radius-sm);

  font-size: 0.82rem;

  font-weight: 800;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.45rem;

  background: var(--brand-indigo);

  color: #FFFFFF;

  border: none;

  cursor: pointer;

  transition: all 0.2s ease;

}



.download-badge-btn:hover {

  background: var(--brand-indigo-dark);

}



.download-card.card-bazaar .download-badge-btn { background: #1B8354; }

.download-card.card-bazaar:hover { border-color: #1B8354; }

.download-card.card-myket .download-badge-btn { background: #0284C7; }

.download-card.card-myket:hover { border-color: #0284C7; }

.download-card.card-iranapps .download-badge-btn { background: #059669; }

.download-card.card-iranapps:hover { border-color: #059669; }

.download-card.card-apk .download-badge-btn { background: #3DDC84; color: #064E3B; }

.download-card.card-apk:hover { border-color: #3DDC84; }



/* ==================== MULTI-STORE PAYMENT TABS IN MODAL ==================== */

.pay-tabs-nav {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 0.4rem;

  margin-bottom: 1.25rem;

  background: var(--canvas-subtle);

  padding: 0.35rem;

  border-radius: var(--radius-md);

  border: 1px solid var(--border-light);

}



.pay-tab-btn {

  background: none;

  border: none;

  padding: 0.55rem 0.5rem;

  border-radius: var(--radius-sm);

  font-size: 0.78rem;

  font-weight: 800;

  color: var(--text-muted);

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0.35rem;

  transition: all 0.2s ease;

  white-space: nowrap;

}



.pay-tab-btn.active {

  background: #FFFFFF;

  color: var(--brand-indigo);

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

}



.pay-tab-pane {

  display: none;

  animation: fadeInPane 0.25s ease forwards;

}



.pay-tab-pane.active {

  display: block;

}



@keyframes fadeInPane {

  from { opacity: 0; transform: translateY(6px); }

  to { opacity: 1; transform: translateY(0); }

}



/* ==================== MOBILE NAVIGATION DRAWER ==================== */

.mobile-nav-toggle-btn {

  display: none;

  align-items: center;

  justify-content: center;

  width: 42px;

  height: 42px;

  background: #FFFFFF;

  border: 1.5px solid var(--border-medium);

  border-radius: 10px;

  font-size: 1.35rem;

  color: var(--text-heading);

  cursor: pointer;

  transition: all 0.2s ease;

}



.mobile-nav-toggle-btn:hover {

  background: var(--canvas-subtle);

  border-color: var(--brand-indigo);

  color: var(--brand-indigo);

}



.mobile-drawer-backdrop {

  position: fixed;

  inset: 0;

  background: rgba(15, 23, 42, 0.55);

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);

  z-index: 2400;

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.3s ease;

}



.mobile-drawer-backdrop.open {

  opacity: 1;

  pointer-events: auto;

}



.mobile-nav-drawer {

  position: fixed;

  top: 0;

  right: -320px;

  width: 290px;

  max-width: 85vw;

  height: 100vh;

  background: #FFFFFF;

  z-index: 2500;

  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);

  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  display: flex;

  flex-direction: column;

  padding: 1.5rem;

  overflow-y: auto;

}



.mobile-nav-drawer.open {

  right: 0;

}



.mobile-drawer-head {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding-bottom: 1rem;

  border-bottom: 1.5px solid var(--border-light);

  margin-bottom: 1.5rem;

}



.mobile-drawer-close {

  background: none;

  border: none;

  font-size: 1.5rem;

  color: var(--text-muted);

  cursor: pointer;

}



.mobile-drawer-links {

  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 0.5rem;

}



.mobile-drawer-link {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  padding: 0.75rem 1rem;

  border-radius: var(--radius-sm);

  color: var(--text-heading);

  text-decoration: none;

  font-size: 0.92rem;

  font-weight: 800;

  transition: all 0.2s ease;

}



.mobile-drawer-link:hover,

.mobile-drawer-link:active {

  background: #EEF2FF;

  color: var(--brand-indigo);

}



.mobile-drawer-link i {

  font-size: 1.15rem;

  color: var(--brand-indigo);

}



/* ==================== FULL RESPONSIVENESS & BREAKPOINTS ==================== */

@media (max-width: 1200px) {

  .pricing-grid {

    grid-template-columns: repeat(3, 1fr);

  }

  .download-cards-grid {

    grid-template-columns: repeat(3, 1fr);

  }

}



@media (max-width: 992px) {

  .main-nav {

    display: none;

  }

  .mobile-nav-toggle-btn {

    display: inline-flex;

  }

  .hero-grid {

    grid-template-columns: 1fr;

    gap: 2rem;

  }

  .charts-grid-four {

    grid-template-columns: 1fr;

    gap: 1.15rem;

  }

  .kpi-four-row {

    grid-template-columns: repeat(2, 1fr);

  }

  .features-grid-three,

  .features-grid-four {

    grid-template-columns: repeat(2, 1fr);

  }

  .about-grid {

    grid-template-columns: 1fr;

    gap: 2rem;

  }

  .footer-top-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  .pricing-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  .download-cards-grid {

    grid-template-columns: repeat(3, 1fr);

  }

}



@media (max-width: 768px) {

  .container {

    padding: 0 1rem;

  }

  .chart-canvas-wrapper {

    height: 185px;

  }

  .hero-heading {

    font-size: 2rem;

  }

  .hero-kpis {

    grid-template-columns: repeat(2, 1fr);

    gap: 0.75rem;

  }

  .pricing-grid {

    grid-template-columns: 1fr;

  }

  .download-cards-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  .features-grid-four {

    grid-template-columns: 1fr;

  }

  .contact-form-grid {

    grid-template-columns: 1fr;

  }

  .footer-top-grid {

    grid-template-columns: 1fr;

    gap: 1.75rem;

  }

  .bot-addon-selector-card {

    flex-direction: column;

    text-align: center;

    padding: 1.25rem;

  }

  .addon-info-left {

    flex-direction: column;

    text-align: center;

  }

  .pay-tabs-nav {

    grid-template-columns: repeat(2, 1fr);

  }

}



@media (max-width: 480px) {

  .container {

    padding: 0 0.75rem;

  }

  .hero-heading {

    font-size: 1.65rem;

  }

  .hero-cta-row {

    flex-direction: column;

    width: 100%;

  }

  .hero-cta-row .btn {

    width: 100%;

  }

  .chart-canvas-wrapper {

    height: 165px;

  }

  .donut-center-val {

    font-size: 1.25rem;

  }

  .chart-card {

    padding: 0.9rem;

  }

  .kpi-four-row {

    grid-template-columns: repeat(2, 1fr);

    gap: 0.45rem;

  }

  .kpi-stat-num {

    font-size: 1.15rem;

  }

  .download-cards-grid {

    grid-template-columns: 1fr;

  }

  .modal-container-box {

    padding: 1.25rem 1rem;

    border-radius: var(--radius-md);

  }

  .otp-digit {

    width: 38px;

    height: 48px;

    font-size: 1.35rem;

  }

}

/* ==========================================================================

   Accessibility & Usability Enhancements

   ========================================================================== */



/* Button disabled states */

.btn:disabled, .btn[disabled] {

  opacity: 0.5;

  cursor: not-allowed;

  pointer-events: none;

  transform: none !important;

  box-shadow: none !important;

}

.btn-primary:disabled {

  background: var(--brand-indigo) !important;

  color: #FFFFFF;

}

.btn-emerald:disabled {

  background: var(--profit-emerald) !important;

  color: #FFFFFF;

}



/* Scrollbar styling */

::-webkit-scrollbar {

  width: 10px;

  height: 10px;

}

::-webkit-scrollbar-track {

  background: var(--canvas-subtle);

  border-radius: 10px;

}

::-webkit-scrollbar-thumb {

  background: var(--brand-indigo);

  border-radius: 10px;

  border: 2px solid var(--canvas-subtle);

}

::-webkit-scrollbar-thumb:hover {

  background: var(--brand-indigo);

  opacity: 0.8;

}

::-webkit-scrollbar-corner {

  background: transparent;

}



/* Aspect-ratio for media */

img, video, canvas {

  aspect-ratio: auto;

}

.video-16-9, .chart-container {

  aspect-ratio: 16 / 9;

}



/* Focus-visible for keyboard navigation */

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {

  outline: 2px solid var(--brand-indigo);

  outline-offset: 2px;

  outline-style: auto;

}



/* Touch target minimum 44px */

button, a.btn, .btn, input[type="submit"], .google-signin-btn {

  min-height: 44px;

  min-width: 44px;

}



/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

  *:not(.marquee-track):not(.marquee-group):not(.pulse-dot),

  *:not(.marquee-track):not(.marquee-group):not(.pulse-dot)::before,

  *:not(.marquee-track):not(.marquee-group):not(.pulse-dot)::after {

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

  }

  .marquee-track {

    animation-duration: 80s !important;

    animation-iteration-count: infinite !important;

  }

}



/* ==================== AUTH MODAL DARK MODE ENFORCEMENT ==================== */

[data-theme="dark"] #authModal .modal-container-box {

  background: #151D30 !important;

  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;

  color: #F8FAFC !important;

}

[data-theme="dark"] #authModal .form-input {

  background: #0B0E14 !important;

  border: 1px solid rgba(255, 255, 255, 0.16) !important;

  color: #FFFFFF !important;

}

[data-theme="dark"] #authModal .form-input:focus {

  border-color: #6366F1 !important;

  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;

}

[data-theme="dark"] #authModal .modal-head-title {

  color: #FFFFFF !important;

}

[data-theme="dark"] #authModal .modal-head-desc {

  color: #94A3B8 !important;

}

[data-theme="dark"] #authModal .auth-divider-line {

  color: #64748B !important;

}

[data-theme="dark"] #authModal .modal-close-btn {

  background: rgba(255, 255, 255, 0.1) !important;

  border-color: rgba(255, 255, 255, 0.18) !important;

  color: #F8FAFC !important;

}





/* =====================================================================

   COMPREHENSIVE DARK MODE OVERRIDES — All Pages

   ===================================================================== */

[data-theme="dark"] body {

  background-color: #0B0E14 !important;

  color: #CBD5E1 !important;

}

[data-theme="dark"] .kpi-card,

[data-theme="dark"] .card,

[data-theme="dark"] .feature-card {

  background: #151D30 !important;

  border-color: #202A3E !important;

  color: #CBD5E1 !important;

}

[data-theme="dark"] .kpi-card h3,

[data-theme="dark"] .card h3,

[data-theme="dark"] .feature-card h3 { color: #F8FAFC !important; }

[data-theme="dark"] .section-title { color: #F8FAFC !important; }

[data-theme="dark"] .section-subtitle { color: #94A3B8 !important; }

[data-theme="dark"] .hero-section { background: transparent !important; }

[data-theme="dark"] .hero-heading { color: #F8FAFC !important; }

[data-theme="dark"] .hero-description { color: #94A3B8 !important; }

[data-theme="dark"] .hero-badge-pill,

[data-theme="dark"] .status-indicator-badge {

  background: rgba(16, 185, 129, 0.12) !important;

  border-color: rgba(16, 185, 129, 0.45) !important;

  color: #6EE7B7 !important;

}

[data-theme="dark"] table { color: #CBD5E1 !important; }

[data-theme="dark"] th { color: #94A3B8 !important; border-bottom-color: #202A3E !important; }

[data-theme="dark"] td { border-bottom-color: #202A3E !important; }

[data-theme="dark"] .form-input,

[data-theme="dark"] input,

[data-theme="dark"] textarea,

[data-theme="dark"] select {

  background: #1C263D !important;

  border-color: #2D3B55 !important;

  color: #F8FAFC !important;

}

[data-theme="dark"] select option {
  background: #151D30 !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] .btn-outline {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255,255,255,0.25) !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .btn-outline:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.35) !important;
  color: #FFFFFF !important;
}

/* Universal Dark Mode Surface & Component Adaptations */
[data-theme="dark"] .live-usdt-strip {
  background: linear-gradient(90deg, #064E3B 0%, #0F172A 50%, #1E1B4B 100%) !important;
  border-bottom: 1.5px solid #065F46 !important;
  color: #E2E8F0 !important;
}

[data-theme="dark"] .timer-pill {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .kpi-stat-box {
  background: #111726 !important;
  border-color: #202A3E !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .kpi-stat-box:hover {
  background: #1C2640 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="dark"] .subscription-lock-screen {
  background: linear-gradient(180deg, #151D30 0%, #0F172A 100%) !important;
  border-color: #334155 !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .otp-digit {
  background: #111726 !important;
  color: #F8FAFC !important;
  border-color: #2D3B55 !important;
}

[data-theme="dark"] .otp-digit:focus {
  background: #1C2640 !important;
  border-color: #6366F1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .toast {
  background: #151D30 !important;
  color: #F8FAFC !important;
  border-color: #2D3B55 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .section-download {
  background: #0B0E14 !important;
  border-top-color: #202A3E !important;
}

[data-theme="dark"] .pay-tab-btn {
  color: #94A3B8 !important;
}

[data-theme="dark"] .pay-tab-btn:hover {
  color: #F8FAFC !important;
}

[data-theme="dark"] .pay-tab-btn.active {
  background: #1C2640 !important;
  color: #818CF8 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .mobile-nav-toggle-btn {
  background: #151D30 !important;
  border-color: #2D3B55 !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] .mobile-nav-drawer {
  background: #111728 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #CBD5E1 !important;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .mobile-drawer-head {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .mobile-drawer-close {
  color: #94A3B8 !important;
}

[data-theme="dark"] .mobile-drawer-close:hover {
  color: #F8FAFC !important;
}

[data-theme="dark"] .mobile-drawer-links a {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .mobile-drawer-links a:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #38BDF8 !important;
}

[data-theme="dark"] .st-expired {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94A3B8 !important;
}

[data-theme="dark"] .bot-addon-selector-card {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, #151D30 100%) !important;
  border-color: #2D3B55 !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5) !important;
}

/* Signals page dark mode */

[data-theme="dark"] .signals-desk-card {

  background: #151D30 !important;

  border-color: #202A3E !important;

}

[data-theme="dark"] .signals-toolbar {

  border-bottom-color: #202A3E !important;

}

[data-theme="dark"] .filter-btn-group {

  background: #111726 !important;

  border-color: #202A3E !important;

}

[data-theme="dark"] .filter-btn { color: #94A3B8 !important; }

[data-theme="dark"] .filter-btn.active {

  background: #1C263D !important;

  color: #F8FAFC !important;

}

/* Performance page dark mode */

[data-theme="dark"] .chart-card,

[data-theme="dark"] .perf-card {

  background: #151D30 !important;

  border-color: #202A3E !important;

}

/* Support page dark mode */

[data-theme="dark"] .ticket-form-wrap,

[data-theme="dark"] .support-card {

  background: #151D30 !important;

  border-color: #202A3E !important;

}

/* Pricing page dark mode */

[data-theme="dark"] .pricing-card,

[data-theme="dark"] .plan-card {

  background: #151D30 !important;

  border-color: #202A3E !important;

  color: #CBD5E1 !important;

}

[data-theme="dark"] .pricing-card h3,

[data-theme="dark"] .plan-card h3 { color: #F8FAFC !important; }

/* FAQ dark mode */

[data-theme="dark"] .faq-item,

[data-theme="dark"] details {

  background: #151D30 !important;

  border-color: #202A3E !important;

}

[data-theme="dark"] summary { color: #F8FAFC !important; }

/* Footer slogan gradient always visible */

.footer-brand-slogan {

  background: linear-gradient(135deg, #6366F1 0%, #A855F7 50%, #EC4899 100%);

  background-clip: text;

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  color: #A855F7;

  font-size: 0.88rem;

  font-weight: 700;

  line-height: 1.8;

  margin: 0.35rem 0 1rem;

  display: block;

}





/* ==================== BOLD QUANT & PNL TYPOGRAPHY ==================== */

.pnl-bold-profit, .mono.pnl-profit, span.pnl-profit, .text-profit, td.pnl-profit, [data-pnl="profit"] {

  font-weight: 900 !important;

  color: var(--profit-emerald, #10B981) !important;

  font-family: 'JetBrains Mono', 'Courier New', monospace !important;

  letter-spacing: -0.2px;

}

.pnl-bold-loss, .mono.pnl-loss, span.pnl-loss, .text-loss, td.pnl-loss, [data-pnl="loss"] {

  font-weight: 900 !important;

  color: var(--risk-red, #EF4444) !important;

  font-family: 'JetBrains Mono', 'Courier New', monospace !important;

  letter-spacing: -0.2px;

}

.kpi-value, .terminal-val, .metric-value, .stat-value {

  font-weight: 900 !important;

  font-family: 'JetBrains Mono', monospace !important;

}

.pnl-num-bold {

  font-weight: 900 !important;

  font-family: 'JetBrains Mono', monospace !important;

}





/* ==================== FOOTER REFINEMENT & NO-VOID CLEARANCE ==================== */

.site-footer {

  padding-top: 3.5rem !important;

  padding-bottom: 0.75rem !important;

  margin-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;

}

body:has(.site-footer) {

  padding-bottom: 0 !important;

}



.footer-bottom-bar {

  display: flex !important;

  align-items: center !important;

  justify-content: space-between !important;

  flex-wrap: wrap !important;

  gap: 0.85rem !important;

  padding-top: 1.25rem !important;

  padding-bottom: 0.25rem !important;

  border-top: 1px solid var(--tpl-border-light, #E2E8F0) !important;

  font-size: 0.82rem !important;

  color: var(--tpl-text-muted, #64748B) !important;

}

[data-theme="dark"] .footer-bottom-bar {

  border-top-color: rgba(255, 255, 255, 0.1) !important;

  color: #94A3B8 !important;

}



.footer-bottom-meta {

  display: inline-flex !important;

  align-items: center !important;

  flex-wrap: wrap !important;

  gap: 0.75rem !important;

}



.footer-tg-pill-btn {

  display: inline-flex !important;

  align-items: center !important;

  gap: 6px !important;

  padding: 0.32rem 0.95rem !important;

  border-radius: 999px !important;

  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 50%, #0088CC 100%) !important;

  color: #FFFFFF !important;

  font-family: 'Vazirmatn', sans-serif !important;

  font-size: 0.78rem !important;

  font-weight: 800 !important;

  text-decoration: none !important;

  box-shadow: 0 3px 10px rgba(0, 136, 204, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;

  border: 1px solid rgba(255, 255, 255, 0.25) !important;

  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;

  cursor: pointer !important;

  white-space: nowrap !important;

}

.footer-tg-pill-btn i {

  font-size: 1.05rem !important;

  line-height: 1 !important;

  color: #FFFFFF !important;

  transition: transform 0.2s ease !important;

}

.footer-tg-pill-btn:hover {

  transform: translateY(-2px) scale(1.04) !important;

  box-shadow: 0 6px 18px rgba(0, 136, 204, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;

  color: #FFFFFF !important;

}

.footer-tg-pill-btn:hover i {

  transform: scale(1.15) rotate(-6deg) !important;

}



.footer-bottom-link {

  color: #4F46E5 !important;

  font-weight: 800 !important;

  text-decoration: none !important;

  transition: color 0.18s ease, text-decoration 0.18s ease !important;

}

.footer-bottom-link:hover {

  color: #7C3AED !important;

  text-decoration: underline !important;

}

[data-theme="dark"] .footer-bottom-link {

  color: #818CF8 !important;

}

[data-theme="dark"] .footer-bottom-link:hover {

  color: #C084FC !important;

}



.footer-meta-sep {

  color: var(--tpl-border-medium, #CBD5E1) !important;

  opacity: 0.6 !important;

  user-select: none !important;

}

[data-theme="dark"] .footer-meta-sep {

  color: #475569 !important;

}





/* Dedicated High-Converting Telegram Sign-In Button */

.telegram-signin-btn {

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0.85rem;

  height: 52px;

  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 50%, #0088CC 100%);

  border: 1.5px solid rgba(255, 255, 255, 0.25);

  border-radius: var(--radius-md, 12px);

  color: #FFFFFF !important;

  font-family: 'Vazirmatn', sans-serif !important;

  font-size: 0.95rem;

  font-weight: 800;

  cursor: pointer;

  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);

  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.35);

  margin-bottom: 0.65rem;

  box-sizing: border-box;

}

.telegram-signin-btn:hover {

  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5);

  color: #FFFFFF !important;

}

.telegram-icon-svg {

  width: 22px;

  height: 22px;

  flex-shrink: 0;

  fill: #FFFFFF;

}





/* ==================== FOOTER RISK CARD BOX (UNIFIED PROJECT-WIDE) ==================== */

.footer-risk-col {

  display: flex !important;

  flex-direction: column !important;

  justify-content: flex-start !important;

}

.footer-risk-card {

  background: rgba(239, 152, 74, 0.08) !important;

  border: 1.5px solid rgba(239, 152, 74, 0.35) !important;

  border-radius: 16px !important;

  padding: 1.15rem 1.25rem !important;

  transition: all 0.22s ease !important;

}

.footer-risk-header {

  display: flex !important;

  align-items: center !important;

  gap: 0.5rem !important;

  color: #D97706 !important;

  font-weight: 800 !important;

  font-size: 0.88rem !important;

  margin-bottom: 0.45rem !important;

  font-family: 'Vazirmatn', sans-serif !important;

}

.footer-risk-header i {

  color: #F59E0B !important;

  font-size: 1.05rem !important;

  line-height: 1 !important;

}

.footer-risk-desc {

  font-size: 0.80rem !important;

  color: var(--text-body, #475569) !important;

  line-height: 1.85 !important;

  margin: 0 !important;

  font-family: 'Vazirmatn', sans-serif !important;

}

[data-theme="dark"] .footer-risk-card {

  background: rgba(245, 158, 11, 0.09) !important;

  border-color: rgba(245, 158, 11, 0.28) !important;

}

[data-theme="dark"] .footer-risk-header {

  color: #FBBF24 !important;

}

[data-theme="dark"] .footer-risk-desc {

  color: #CBD5E1 !important;

}



/* ==========================================================================
   UNIFIED PHOSPHOR GREEN PILL / BADGE / TAG COMPONENT
   Applied globally to: hero-badge-pill, status-indicator-badge, section-tag,
   terminal-badge, badge-status-profit, tag-security, tag-quant
   ========================================================================== */
.hero-badge-pill,
.status-indicator-badge,
.section-tag,
.terminal-badge,
.badge-status-profit,
.tag-security,
.tag-quant {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  padding: 0.45rem 1.25rem !important;
  width: fit-content !important;
  max-width: 95% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 1.15rem !important;
  text-align: center !important;
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  letter-spacing: -0.2px !important;
  border-radius: 9999px !important;
  border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
  background: rgba(16, 185, 129, 0.08) !important;
  color: #047857 !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 14px -3px rgba(16, 185, 129, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  transition: all 0.25s ease !important;
}

.hero-badge-pill:hover,
.status-indicator-badge:hover,
.section-tag:hover,
.terminal-badge:hover,
.badge-status-profit:hover,
.tag-security:hover,
.tag-quant:hover {
  border-color: rgba(16, 185, 129, 0.6) !important;
  box-shadow: 0 6px 20px -2px rgba(16, 185, 129, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

[data-theme="dark"] .hero-badge-pill,
[data-theme="dark"] .status-indicator-badge,
[data-theme="dark"] .section-tag,
[data-theme="dark"] .terminal-badge,
[data-theme="dark"] .badge-status-profit,
[data-theme="dark"] .tag-security,
[data-theme="dark"] .tag-quant {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.45) !important;
  color: #6EE7B7 !important;
  box-shadow: 0 4px 20px -3px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .hero-badge-pill:hover,
[data-theme="dark"] .status-indicator-badge:hover,
[data-theme="dark"] .section-tag:hover,
[data-theme="dark"] .terminal-badge:hover,
[data-theme="dark"] .badge-status-profit:hover,
[data-theme="dark"] .tag-security:hover,
[data-theme="dark"] .tag-quant:hover {
  border-color: rgba(16, 185, 129, 0.75) !important;
  box-shadow: 0 6px 24px -2px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.section-tag i,
.badge-status-profit i,
.hero-badge-pill i,
.status-indicator-badge i,
.tag-security i,
.tag-quant i {
  color: #10B981 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}


/* ==========================================================================
   GLOBAL ROOT-LEVEL BOLD NUMBERS & DIGITS (MANDATORY REQUIREMENT)
   Every number, digit, metric, tick, price, and math value must be bold
   ========================================================================== */

.mono,
.stat-num,
.price-val,
.ticker-val,
.ticker-price,
.pnl-badge,
.badge-direction,
.math-num,
.kpi-value,
.kpi-stat-num,
.terminal-val,
.terminal-metric-row .terminal-val,
.trade-pnl,
.trade-price,
.trade-vol,
.table-mono,
table td.mono,
table th.mono,
span.mono,
strong.mono,
div.mono,
code.mono,
.chart-metric-num,
.chart-badge,
.plan-price,
.plan-price-usd,
.plan-price-toman,
.kpi-real .kpi-value,
.kpi-card .kpi-value,
.executive-terminal .terminal-val,
.kpi-four-row .kpi-stat-num,
#liveUsdtRateDisplay,
#usdtTimerCountdown,
#capitalPctDisplay,
#statWinRate,
#statLossRate,
#statTotalPnl,
#statAvgPnl,
.mono-bold,
[data-mono="true"],
.font-bold,
.font-black {
  font-family: 'JetBrains Mono', 'Courier New', monospace !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
}

table td.mono {
  font-weight: 800 !important;
}

.kpi-value {
  font-weight: 900 !important;
}
