/* ============================================
   CopyTrade Pro - Main Stylesheet
   Font: Syne (display) + DM Sans (body)
   Theme: Dark futuristic with neon accents
   ============================================ */

:root {
  --primary: #00d4ff;
  --accent: #ff6b35;
  --bg-dark: #070b14;
  --bg-card: #0d1425;
  --bg-card2: #111827;
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(0,212,255,0.3);
  --text: #e8edf5;
  --text-muted: #8899aa;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(0,212,255,0.15);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary), #0080ff, var(--accent));
  background-size: 300% 100%;
  animation: gradientMove 4s linear infinite;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.5px;
}
.announce-icon { margin: 0 6px; }

@keyframes gradientMove {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(7,11,20,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo { text-decoration: none; }
.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn-ghost {
  color: var(--text-muted);
  text-decoration: none;
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--primary); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0080ff);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 30px rgba(0,212,255,0.5); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%); top: -200px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%); bottom: -100px; left: -50px; animation-delay: 3s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,128,255,0.1) 0%, transparent 70%); top: 50%; left: 40%; animation-delay: 6s; }

@keyframes orbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.4);} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-title span {
  background: linear-gradient(135deg, var(--primary), #fff 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
  margin-bottom: 48px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, #0080ff 100%);
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0,212,255,0.4);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,212,255,0.6); }
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.4);
  color: #25d366;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-wa:hover { background: rgba(37,211,102,0.25); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}
.stat-lbl { font-size: 13px; color: var(--text-muted); }

/* Chart Widget */
.chart-widget {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13,20,37,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 20px;
  width: 280px;
  box-shadow: var(--shadow-glow);
  animation: fadeInRight 0.8s ease 0.5s both;
  z-index: 1;
}
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.chart-symbol { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.chart-profit { font-size: 14px; font-weight: 700; color: var(--success); }
.chart-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.chart-label { font-size: 12px; color: var(--text-muted); }
.chart-live-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 1.5s infinite; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.sbar-item { text-align: center; }
.sbar-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  display: block;
  background: linear-gradient(135deg, var(--primary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sbar-lbl { font-size: 13px; color: var(--text-muted); margin-top: 4px; display: block; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: rgba(0,212,255,0.1);
  color: var(--primary);
  border: 1px solid rgba(0,212,255,0.25);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc { color: var(--text-muted); font-size: 16px; max-width: 520px; margin: 0 auto; }

/* ===== FEATURES ===== */
.features-section { background: var(--bg-dark); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how-section { background: var(--bg-card); }
.steps-container {
  display: flex;
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.step-connector {
  position: absolute;
  top: 32px;
  left: calc(16.5% + 32px);
  right: calc(16.5% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), #0080ff);
  color: #000;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(0,212,255,0.4);
}
.step-content h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-content p { color: var(--text-muted); font-size: 14px; }

/* ===== BROKERS ===== */
.brokers-section { background: var(--bg-dark); }
.brokers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.broker-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}
.broker-card:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.broker-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(0,212,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.broker-logo img { width: 100%; height: 100%; object-fit: contain; }
.broker-initial { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--primary); }
.broker-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.broker-desc { color: var(--text-muted); font-size: 13px; margin-bottom: 20px; line-height: 1.6; }
.broker-actions { display: flex; gap: 12px; justify-content: center; }
.btn-broker-reg {
  flex: 1;
  padding: 10px;
  background: linear-gradient(135deg, var(--primary), #0080ff);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-broker-reg:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-broker-dep {
  flex: 1;
  padding: 10px;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.4);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-broker-dep:hover { background: rgba(255,107,53,0.3); transform: translateY(-1px); }

/* ===== TESTIMONIALS ===== */
.testi-section { background: var(--bg-card); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testi-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.testi-card:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }
.testi-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.testi-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), #0080ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #000;
  overflow: hidden;
  flex-shrink: 0;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-weight: 700; font-size: 15px; }
.testi-profit { font-size: 12px; color: var(--success); font-weight: 600; margin-top: 2px; }
.testi-stars { margin-left: auto; color: #f59e0b; font-size: 14px; }
.testi-content { color: var(--text-muted); font-size: 14px; line-height: 1.7; font-style: italic; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-dark); }
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}
.faq-item:hover { border-color: var(--border-glow); }
.faq-item.open { border-color: var(--border-glow); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
}
.faq-icon { font-size: 20px; color: var(--primary); transition: var(--transition); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }

/* ===== CTA ===== */
.cta-section {
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  z-index: 0;
}
.cta-title { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 16px; position: relative; z-index:1; }
.cta-sub { color: var(--text-muted); font-size: 16px; margin-bottom: 36px; position: relative; z-index:1; }
.btn-cta-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #0080ff 100%);
  color: #000;
  font-weight: 800;
  font-size: 18px;
  padding: 18px 44px;
  border-radius: 14px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 12px 40px rgba(0,212,255,0.5);
  position: relative;
  z-index: 1;
}
.btn-cta-big:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0,212,255,0.7); }

/* ===== FOOTER ===== */
.footer { background: #050810; border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--primary); display: block; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link {
  background: var(--bg-card);
  color: var(--text-muted);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.social-link:hover { color: var(--primary); border-color: var(--border-glow); }
.footer-links h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; margin-bottom: 4px; }
.footer-disclaimer { font-size: 11px; opacity: 0.5; }

/* ===== WA FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: bounceIn 0.6s ease 1s both;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.6); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translate(40px,-50%); } to { opacity:1; transform:translate(0,-50%); } }
@keyframes bounceIn { 0%{transform:scale(0);} 70%{transform:scale(1.1);} 100%{transform:scale(1);} }

/* ===== AUTH PAGES (shared) ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  padding: 40px 20px;
  position: relative;
}
.auth-page::before {
  content:'';
  position:absolute;
  inset:0;
  background-image: linear-gradient(rgba(0,212,255,0.02) 1px,transparent 1px), linear-gradient(90deg,rgba(0,212,255,0.02) 1px,transparent 1px);
  background-size:60px 60px;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}
.auth-card::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--primary),#0080ff);
  border-radius:20px 20px 0 0;
}
.auth-logo { text-align: center; margin-bottom: 8px; }
.auth-logo a { font-family: var(--font-display); font-size: 24px; font-weight: 800; background: linear-gradient(135deg,var(--primary),#fff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; text-decoration:none; }
.auth-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-sub { color: var(--text-muted); font-size: 14px; text-align: center; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.5px; }
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); background: rgba(0,212,255,0.05); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.form-control option { background: var(--bg-card); }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #0080ff);
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  box-shadow: 0 6px 24px rgba(0,212,255,0.4);
  margin-top: 8px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,212,255,0.6); }
.auth-footer { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 14px; }
.auth-footer a { color: var(--primary); text-decoration: none; font-weight: 600; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #22c55e; }
.alert-error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; }
.alert-warning { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); color: #f59e0b; }

/* ===== DASHBOARD ===== */
.dashboard-layout { display: flex; min-height: 100vh; background: var(--bg-dark); }
.sidebar {
  width: 260px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  transition: var(--transition);
}
.sidebar-logo { padding: 8px 12px 24px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.sidebar-logo a { font-family: var(--font-display); font-size: 18px; font-weight: 800; background: linear-gradient(135deg,var(--primary),#fff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; text-decoration:none; }
.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(0,212,255,0.1); color: var(--primary); }
.sidebar-nav a .nav-icon { font-size: 18px; width: 22px; text-align: center; }
.sidebar-bottom { padding-top: 16px; border-top: 1px solid var(--border); }
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  margin-bottom: 12px;
}
.user-avatar { width: 38px; height: 38px; background: linear-gradient(135deg,var(--primary),#0080ff); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #000; font-size: 14px; flex-shrink: 0; }
.user-name { font-size: 13px; font-weight: 600; }
.user-email { font-size: 11px; color: var(--text-muted); }
.main-content { margin-left: 260px; flex: 1; padding: 32px; }
.page-header { margin-bottom: 32px; }
.page-header h1 { font-family: var(--font-display); font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.page-header p { color: var(--text-muted); font-size: 14px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-glow); }
.card-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 28px; }
.action-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
  font-size: 15px;
}
.action-btn:hover { border-color: var(--border-glow); transform: translateX(4px); box-shadow: var(--shadow-glow); }
.action-btn-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.icon-reg { background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,128,255,0.2)); }
.icon-dep { background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(245,158,11,0.2)); }
.action-btn-text small { display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.action-arrow { margin-left: auto; color: var(--text-muted); font-size: 18px; }

/* Admin badge nav */
.admin-badge {
  background: linear-gradient(135deg,var(--accent),#ff3300);
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-left: auto;
}

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { padding: 12px 16px; text-align: left; color: var(--text-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); }
td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
tr:hover td { background: rgba(255,255,255,0.02); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.badge-active { background: rgba(34,197,94,0.15); color: #22c55e; }
.badge-inactive { background: rgba(239,68,68,0.15); color: #ef4444; }
.badge-pending { background: rgba(245,158,11,0.15); color: #f59e0b; }

/* Admin Form Styles */
.admin-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--primary); }
.btn-save { background: linear-gradient(135deg,var(--primary),#0080ff); color: #000; font-weight: 700; padding: 11px 28px; border: none; border-radius: 10px; cursor: pointer; font-size: 14px; transition: var(--transition); }
.btn-save:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,212,255,0.4); }
.btn-danger { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); padding: 7px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; transition: var(--transition); text-decoration: none; }
.btn-danger:hover { background: rgba(239,68,68,0.3); }
.btn-edit { background: rgba(0,212,255,0.1); color: var(--primary); border: 1px solid rgba(0,212,255,0.25); padding: 7px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; transition: var(--transition); text-decoration: none; }
.btn-edit:hover { background: rgba(0,212,255,0.25); }
.tab-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.btn-add { background: linear-gradient(135deg,var(--primary),#0080ff); color: #000; font-weight: 700; padding: 10px 20px; border: none; border-radius: 10px; cursor: pointer; font-size: 14px; transition: var(--transition); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-add:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,212,255,0.4); }

/* Topbar */
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.logout-btn { color: var(--text-muted); text-decoration: none; font-size: 13px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; transition: var(--transition); }
.logout-btn:hover { color: #ef4444; border-color: #ef4444; }

/* Responsive */
@media (max-width: 1024px) {
  .chart-widget { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 20px; }
  .admin-form .form-row { grid-template-columns: 1fr; }
  .steps-container { flex-direction: column; }
  .step-connector { display: none; }
  .auth-card { padding: 36px 24px; }
}
