/* ===== VARIABLES ===== */
:root {
  --bg: #050810;
  --bg2: #080d1a;
  --bg3: #0c1226;
  --surface: #0f1830;
  --surface2: #131e3a;
  --border: rgba(99,179,237,0.12);
  --border-glow: rgba(99,179,237,0.35);

  --neon-blue: #00d4ff;
  --neon-green: #00ff88;
  --neon-purple: #b56bff;
  --neon-orange: #ff9500;
  --neon-red: #ff3366;
  --neon-yellow: #ffd60a;

  --text: #e8f0ff;
  --text-muted: #6b7fa3;
  --text-dim: #3d4f73;

  --font: 'Cairo', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: none; border: none; outline: none; }
input, select { font-family: var(--font); }

/* ===== CURSOR ===== */
.cursor-glow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.7) 0%, transparent 70%);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
}

/* ===== CANVAS ===== */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== BUTTONS (Updated for Vectors) ===== */
.btn-primary, .btn-ghost, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* مسافة بين الأيقونة والنص */
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue), #0080cc);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15));
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(0,212,255,0.45); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border); }

.btn-outline {
  background: transparent;
  color: var(--neon-blue);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid var(--neon-blue);
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(0,212,255,0.08);
  box-shadow: 0 0 18px rgba(0,212,255,0.2);
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 36px; font-size: 1.05rem; border-radius: 10px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5,8,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.logo-icon {
  color: var(--neon-blue);
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px var(--neon-blue));
}
.logo-accent { color: var(--neon-blue); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--neon-blue);
  transform: scaleX(0);
  transition: var(--transition);
  box-shadow: 0 0 8px var(--neon-blue);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  margin-right: auto;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0;
  background: rgba(5,8,16,0.97);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 0;
}

@media (max-width: 820px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5% 60px;
  gap: 60px;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb1 {
  width: 600px; height: 600px;
  background: var(--neon-blue);
  top: -200px; right: -200px;
  animation-delay: 0s;
}
.orb2 {
  width: 400px; height: 400px;
  background: var(--neon-purple);
  bottom: -100px; left: -100px;
  animation-delay: -3s;
}
.orb3 {
  width: 300px; height: 300px;
  background: var(--neon-green);
  top: 40%; left: 40%;
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-15px,25px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  flex: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--neon-blue);
  margin-bottom: 28px;
  font-weight: 600;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--neon-green);
  flex-shrink: 0;
}
.pulse-dot.small { width: 6px; height: 6px; }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.play-icon { font-size: 0.8em; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--neon-blue);
  font-family: var(--mono);
  line-height: 1;
}
.stat-suffix { font-size: 1.7rem; font-weight: 900; color: var(--neon-blue); font-family: var(--mono); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== TERMINAL ===== */
.hero-terminal {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 420px;
  flex-shrink: 0;
  box-shadow: 0 0 60px rgba(0,212,255,0.08), 0 40px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }
.t-title {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-right: auto;
}
.terminal-body {
  padding: 20px 18px;
  font-family: var(--mono);
  font-size: 0.82rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.t-line { display: flex; gap: 8px; align-items: flex-start; }
.t-prompt { color: var(--neon-purple); flex-shrink: 0; }
.t-cmd { color: var(--text); }
.t-output { color: var(--text-muted); padding-right: 16px; display: flex; gap: 8px; align-items: center; }
.t-success { color: var(--neon-green); }
.t-warning { color: var(--neon-yellow); }
.t-error { color: var(--neon-red); }
.t-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--neon-blue);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; }
  .hero-badge { margin: 0 auto 28px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-terminal { width: 100%; max-width: 500px; }
}

/* ===== SECTIONS COMMON ===== */
.features, .plans, .rules, .status-section, .my-bots {
  position: relative;
  z-index: 1;
  padding: 100px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--neon-blue);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.neon-red {
  background: rgba(255,51,102,0.1);
  border-color: rgba(255,51,102,0.25);
  color: var(--neon-red);
}
.section-tag.neon-green {
  background: rgba(0,255,136,0.08);
  border-color: rgba(0,255,136,0.2);
  color: var(--neon-green);
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.04), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.card-wide { grid-column: span 2; }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-flex;
}
.feature-icon i {
  filter: drop-shadow(0 0 8px currentColor);
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* Performance bars */
.feature-bar {
  margin-top: 16px;
  background: var(--bg3);
  border-radius: 100px;
  height: 8px;
  position: relative;
  overflow: visible;
}
.feature-bar span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-family: var(--mono);
}
.bar-fill {
  height: 100%;
  border-radius: 100px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.cpu-bar { background: linear-gradient(90deg, var(--neon-blue), #0080cc); }
.cpu-bar::after { background: var(--neon-blue); }
.ram-bar { background: linear-gradient(90deg, var(--neon-green), #00b366); }
.ram-bar::after { background: var(--neon-green); }

/* AI Scanner */
.ai-scanner {
  margin-top: 16px;
  background: var(--bg3);
  border-radius: 8px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.scanner-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  animation: scan 2s ease-in-out infinite;
}
@keyframes scan {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100px); opacity: 0; }
}
.scan-item {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.scan-item.safe { color: var(--neon-green); }
.scan-item.danger { color: var(--neon-red); animation: flashRed 1s ease-in-out infinite; }
@keyframes flashRed {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Platforms */
.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.platform-chip {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1.5px solid;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.platform-chip.discord { color: #5865f2; border-color: rgba(88,101,242,0.4); background: rgba(88,101,242,0.08); }
.platform-chip.telegram { color: #26a5e4; border-color: rgba(38,165,228,0.4); background: rgba(38,165,228,0.08); }
.platform-chip.whatsapp { color: #25d366; border-color: rgba(37,211,102,0.4); background: rgba(37,211,102,0.08); }
.platform-chip.slack { color: #e01e5a; border-color: rgba(224,30,90,0.4); background: rgba(224,30,90,0.08); }
.platform-chip.twitter { color: #fff; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
.platform-chip.custom { color: var(--neon-purple); border-color: rgba(181,107,255,0.4); background: rgba(181,107,255,0.08); }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
}

/* ===== PLANS ===== */
.plans { background: var(--bg2); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}
.plan-card.popular {
  border-color: var(--neon-blue);
  box-shadow: 0 0 40px rgba(0,212,255,0.12), inset 0 0 40px rgba(0,212,255,0.03);
}
.plan-card:hover { transform: translateY(-6px); }
.plan-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-badge.free { background: rgba(107,127,163,0.15); color: var(--text-muted); }
.plan-badge.pro { background: rgba(0,212,255,0.12); color: var(--neon-blue); border: 1px solid rgba(0,212,255,0.3); }
.plan-badge.business { background: rgba(181,107,255,0.12); color: var(--neon-purple); }
.plan-card h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; }
.plan-price { margin-bottom: 24px; }
.price-num { font-size: 2.5rem; font-weight: 900; color: var(--neon-blue); font-family: var(--mono); }
.price-period { color: var(--text-muted); font-size: 0.9rem; margin-right: 4px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { font-size: 0.9rem; color: var(--text); display: flex; align-items: center; gap: 8px;}
.plan-features li.disabled { color: var(--text-dim); }
.plan-btn { width: 100%; text-align: center; }

@media (max-width: 820px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ===== RULES ===== */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.rule-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.rule-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.rule-card.banned {
  border-color: rgba(255,51,102,0.2);
  background: linear-gradient(135deg, rgba(255,51,102,0.04), var(--surface));
}
.rule-card.banned::before { background: var(--neon-red); box-shadow: 0 0 12px var(--neon-red); }
.rule-card.warning {
  border-color: rgba(255,149,0,0.2);
  background: linear-gradient(135deg, rgba(255,149,0,0.04), var(--surface));
}
.rule-card.warning::before { background: var(--neon-orange); box-shadow: 0 0 12px var(--neon-orange); }
.rule-card:hover { transform: translateY(-3px); }
.rule-icon { font-size: 2rem; margin-bottom: 12px; display: inline-flex; }
.rule-icon i { filter: drop-shadow(0 0 8px currentColor); }
.rule-card.banned .rule-icon { color: var(--neon-red); }
.rule-card.warning .rule-icon { color: var(--neon-orange); }

.rule-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.rule-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.rule-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.banned-tag { background: rgba(255,51,102,0.12); color: var(--neon-red); border: 1px solid rgba(255,51,102,0.25); }
.warning-tag { background: rgba(255,149,0,0.12); color: var(--neon-orange); border: 1px solid rgba(255,149,0,0.25); }

.rules-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 0.9rem;
  color: var(--neon-blue);
  font-weight: 600;
}

@media (max-width: 900px) {
  .rules-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rules-grid { grid-template-columns: 1fr; }
}

/* ===== STATUS ===== */
.status-section { background: var(--bg2); }
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.status-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.green { background: var(--neon-green); box-shadow: 0 0 8px var(--neon-green); animation: pulse 2s infinite; }
.status-dot.yellow { background: var(--neon-yellow); box-shadow: 0 0 8px var(--neon-yellow); }
.status-dot.red { background: var(--neon-red); box-shadow: 0 0 8px var(--neon-red); }
.status-info { flex: 1; }
.status-name { font-weight: 700; font-size: 0.9rem; }
.status-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--mono);
}
.status-badge.ok { background: rgba(0,255,136,0.1); color: var(--neon-green); }
.status-badge.warn { background: rgba(255,214,10,0.1); color: var(--neon-yellow); }
.status-badge.down { background: rgba(255,51,102,0.1); color: var(--neon-red); }

/* Uptime chart */
.uptime-chart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.uptime-chart h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.uptime-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 48px;
  margin-bottom: 12px;
}
.uptime-bar {
  flex: 1;
  border-radius: 3px;
  min-width: 6px;
  transition: transform 0.2s;
  cursor: default;
}
.uptime-bar:hover { transform: scaleY(1.1); }
.uptime-bar.green { background: var(--neon-green); box-shadow: 0 0 4px rgba(0,255,136,0.4); }
.uptime-bar.yellow { background: var(--neon-yellow); }
.uptime-bar.red { background: var(--neon-red); }
.uptime-legend {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.legend-dot.green { background: var(--neon-green); }
.legend-dot.yellow { background: var(--neon-yellow); }
.legend-dot.red { background: var(--neon-red); }

/* ===== MY BOTS ===== */
.bots-container {
  max-width: 900px;
  margin: 0 auto;
}
.login-prompt {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-style: dashed;
}
.login-prompt-icon { font-size: 3rem; margin-bottom: 16px; display: block; color: var(--neon-blue); filter: drop-shadow(0 0 12px rgba(0,212,255,0.4)); }
.login-prompt h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.login-prompt p { color: var(--text-muted); margin-bottom: 24px; }

/* Dashboard (shown when logged in) */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.user-name { font-weight: 700; font-size: 1rem; }
.user-plan { font-size: 0.78rem; color: var(--neon-blue); display: flex; align-items: center; gap: 4px; }
.dashboard-actions { display: flex; gap: 12px; }

.bots-list { display: flex; flex-direction: column; gap: 16px; }
.bot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  flex-wrap: wrap; /* لجعلها متجاوبة على الموبايل */
}
.bot-card:hover { border-color: var(--border-glow); }
.bot-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.bot-icon.discord { background: rgba(88,101,242,0.15); color: #5865f2; }
.bot-icon.telegram { background: rgba(38,165,228,0.15); color: #26a5e4; }
.bot-icon.whatsapp { background: rgba(37,211,102,0.15); color: #25d366; }
.bot-info { flex: 1; min-width: 200px; }
.bot-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.bot-meta { font-size: 0.78rem; color: var(--text-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.bot-stat { display: flex; align-items: center; gap: 5px; }
.bot-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.bot-btn {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bot-btn.restart {
  background: rgba(0,212,255,0.1);
  color: var(--neon-blue);
  border: 1px solid rgba(0,212,255,0.2);
}
.bot-btn.restart:hover { background: rgba(0,212,255,0.2); }
.bot-btn.stop {
  background: rgba(255,51,102,0.1);
  color: var(--neon-red);
  border: 1px solid rgba(255,51,102,0.2);
}
.bot-btn.stop:hover { background: rgba(255,51,102,0.2); }
.bot-btn.delete {
  background: rgba(107,127,163,0.1);
  color: var(--text-muted);
  border: 1px solid rgba(107,127,163,0.15);
}
.bot-btn.delete:hover { background: rgba(255,51,102,0.2); color: var(--neon-red); border-color: rgba(255,51,102,0.3); }

/* Running badge */
.running-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-green);
  font-family: var(--mono);
}
.running-badge .pulse-dot { width: 6px; height: 6px; }
.stopped-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-red);
  font-family: var(--mono);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 5% 0;
}
.footer-inner {
  display: flex;
  gap: 60px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .logo-icon { font-size: 1.4rem; }
.footer-brand .logo-text { font-size: 1.2rem; font-weight: 900; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 10px;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: var(--transition);
}
.footer-social a:hover { color: var(--text); border-color: var(--border-glow); }
.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-status { display: flex; align-items: center; gap: 8px; color: var(--neon-green); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 90%; /* تغيير للعمل بشكل أفضل على التلفونات */
  max-width: 440px;
  position: relative;
  box-shadow: 0 0 60px rgba(0,212,255,0.1), 0 40px 80px rgba(0,0,0,0.6);
  animation: modalIn 0.25s cubic-bezier(0.4,0,0.2,1);
}
.deploy-box { max-width: 480px; }
.deploy-box h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
@keyframes modalIn {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text); border-color: var(--neon-red); }

.modal-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg3);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 28px;
}
.modal-tab {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal-tab.active {
  background: var(--neon-blue);
  color: #fff;
  box-shadow: 0 0 16px rgba(0,212,255,0.3);
}

.modal-form { display: flex; flex-direction: column; gap: 18px; }
.modal-form.hidden { display: none; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-group select { cursor: none; }
.form-group select option { background: var(--surface); }
.form-msg {
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.form-msg.success { color: var(--neon-green); }
.form-msg.error { color: var(--neon-red); }
.form-submit { width: 100%; padding: 13px; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 8px;}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,212,255,0.3); }

/* ===== ANIMATIONS ON SCROLL ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NOTIFICATION TOAST ===== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  opacity: 0;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-color: rgba(0,255,136,0.35); color: var(--neon-green); }
.toast.error { border-color: rgba(255,51,102,0.35); color: var(--neon-red); }
.toast.info { border-color: rgba(0,212,255,0.35); color: var(--neon-blue); }

/* ===== NEON GLOW COLORS ===== */
.neon-blue { filter: drop-shadow(0 0 12px rgba(0,212,255,0.5)); }
.neon-green { filter: drop-shadow(0 0 12px rgba(0,255,136,0.5)); }
.neon-purple { filter: drop-shadow(0 0 12px rgba(181,107,255,0.5)); }
.neon-orange { filter: drop-shadow(0 0 12px rgba(255,149,0,0.5)); }
