@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #060b13;
  --bg-card: #0c1626;
  --bg-darker: #04070d;
  --border-color: #1a2c47;
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --accent-blue: #0284c7;
  --accent-cyan: #06b6d4;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  direction: rtl;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
}

.font-mono {
  font-family: 'Space Grotesk', monospace;
}

.cyber-card {
  background: linear-gradient(145deg, rgba(12, 22, 38, 0.9), rgba(7, 13, 23, 0.95));
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.cyber-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.btn-cyber-primary {
  background: #10b981;
  color: #022c22;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-cyber-primary:hover {
  background: #34d399;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-cyber-outline {
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  border: 1px solid #334155;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.btn-cyber-outline:hover {
  border-color: #0ea5e9;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.1);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-danger:hover {
  background: #ef4444;
  color: white;
}

.terminal-box {
  background-color: #03060a;
  border: 1px solid #1a2c47;
  border-radius: 10px;
  font-family: 'Space Grotesk', monospace;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

input, textarea, select {
  background-color: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  color: #000000 !important;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s;
}

input::placeholder, textarea::placeholder {
  color: #64748b !important;
  font-weight: normal;
}

input:focus, textarea:focus, select:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5) !important;
}

.course-banner-intro {
  height: 170px;
  background: radial-gradient(circle at 50% 50%, #064e3b 0%, #031c19 60%, #040914 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #1a2c47;
}

.course-banner-pentest {
  height: 170px;
  background: radial-gradient(circle at 50% 50%, #881337 0%, #350719 60%, #040914 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #1a2c47;
}

.course-banner-soc {
  height: 170px;
  background: radial-gradient(circle at 50% 50%, #0369a1 0%, #082f49 60%, #040914 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #1a2c47;
}
