:root {
  --accent: #22c55e;
  --accent-dim: rgba(34, 197, 94, 0.12);
  --accent-glow: rgba(34, 197, 94, 0.25);
  --bg: #080a0f;
  --surface: #0f1117;
  --surface2: #161b24;
  --border: rgba(255, 255, 255, 0.07);
  --text: #e5e7eb;
  --muted: #6b7280;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.display-font {
  font-family: "DM Serif Display", Georgia, serif;
}

/* ── GRID OVERLAY ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAVBAR ── */
.navbar {
  background: rgba(8, 10, 15, 0.85) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border) !important;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  font-family: "DM Serif Display", serif;
  font-size: 1.5rem !important;
  color: #fff !important;
  letter-spacing: -0.5px;
}

.navbar-brand span {
  color: var(--accent);
}

.nav-link {
  color: var(--muted) !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.18s;
  padding: 6px 14px !important;
}

.nav-link:hover {
  color: #fff !important;
}

.btn-nav-login {
  padding: 7px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 0.18s,
    background 0.18s;
}

.btn-nav-login:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-nav-register {
  padding: 7px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    opacity 0.18s,
    transform 0.18s;
}

.btn-nav-register:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #000;
}

/* ── SECTION WRAPPER ── */
section {
  position: relative;
  z-index: 1;
}

/* ── HERO ── */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(34, 197, 94, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    opacity 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.2);
}

.btn-primary-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.35);
  color: #000;
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    border-color 0.18s,
    background 0.18s;
}

.btn-secondary-cta:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-stat i {
  color: var(--accent);
  font-size: 1rem;
}

/* ── CANDIDATE CARD ── */
.candidate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.candidate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.ccard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ccard-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.ccard-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.status-pill {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.2);
  margin-left: auto;
}

.prog-label {
  font-size: 0.78rem;
  color: var(--muted);
}

.prog-val {
  font-size: 0.78rem;
  color: var(--text);
}

.prog-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 1s ease;
}

.prog-fill.green {
  background: var(--accent);
}

.prog-fill.yellow {
  background: #f59e0b;
}

.ccard-btns {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.ccard-btn-primary {
  flex: 1;
  padding: 9px;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.ccard-btn-primary:hover {
  opacity: 0.85;
}

.ccard-btn-secondary {
  flex: 1;
  padding: 9px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.ccard-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ── SECTION LABELS ── */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}

/* ── DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── ABOUT ── */
.about-section {
  padding: 90px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── SERVICES ── */
.services-section {
  padding: 90px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.service-card:hover {
  border-color: rgba(34, 197, 94, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-card:hover::after {
  opacity: 0.6;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── NOTICE ── */
.notice-section {
  padding: 90px 0;
}

.notice-card {
  background: var(--surface);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.notice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.04), transparent);
}

.notice-emoji {
  font-size: 2rem;
  flex-shrink: 0;
  position: relative;
}

.notice-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  position: relative;
}

/* ── CONTACT ── */
.contact-section {
  padding: 90px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.contact-info-item i {
  color: var(--accent);
  width: 18px;
  font-size: 1rem;
}

.contact-form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 6px;
}

.form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 0.875rem !important;
  transition: border-color 0.18s !important;
}

.form-control:focus {
  border-color: rgba(34, 197, 94, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: #374151 !important;
}

.btn-contact {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.18s,
    transform 0.18s;
}

.btn-contact:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: "DM Serif Display", serif;
  font-size: 1.2rem;
  color: #fff;
}

.footer-brand span {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-link {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--accent);
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.6s ease forwards;
}

.fade-up.d1 {
  animation-delay: 0.1s;
}

.fade-up.d2 {
  animation-delay: 0.2s;
}

.fade-up.d3 {
  animation-delay: 0.3s;
}

.fade-up.d4 {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 50px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .about-section,
  .services-section,
  .notice-section,
  .contact-section {
    padding: 60px 0;
  }
}
