:root {
  --bg-main: #020617;
  --bg-card: #0f172a;
  --border: rgba(255,255,255,0.08);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-light: #f9fafb;

  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #4ade80;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --danger: #ef4444;
  --danger-dark: #dc2626;
  --warning: #f59e0b;
  --success: #10b981;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

/* HEADER */
.site-header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-light);
}

.logo span {
  color: var(--primary);
}

/* NAV */
.topnav {
  border-bottom: 1px solid var(--border);
  background: #020617;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
}

.nav-list {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(34, 197, 94, 0.12);
}

.navBtn {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
}
.navBtn:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-main); }
.navBtn.active { color: var(--primary); background: rgba(34, 197, 94, 0.12); }

/* SECTION CARD */
.section {
  max-width: 900px;
  margin: 30px auto;
  padding: 28px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1.5rem;
  color: var(--text-light);
}

/* BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: #1f2937;
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background: #374151;
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover:not(:disabled) {
  background: var(--accent-dark);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: var(--danger-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
}

.btn.small {
  padding: 8px 14px;
  font-size: 14px;
}

.btn.large {
  padding: 14px 24px;
  font-size: 1.1rem;
}

.btn.block {
  width: 100%;
}

/* STATUS BOX */
.status-box {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #111827;
  border: 1px solid var(--border);
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-box.success {
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.status-box.error {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.status-box.info {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
}

/* INPUTS */
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #020617;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

input::placeholder, select::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--text-light);
}

/* MODAL */
.modal,
.login-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal.active,
.login-modal.active {
  display: flex;
}

/* PAGE VISIBILITY */
.page {
  display: none;
}
.page.activePage {
  display: block;
}

.modal-content,
.login-modal-content {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 460px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 1.35rem;
  color: var(--text-light);
}

.modal-close,
.close-login {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 4px;
  line-height: 1;
}

.modal-close:hover,
.close-login:hover {
  color: var(--text-main);
}

.login-form-group {
  margin-bottom: 20px;
}

.login-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-light);
}

.login-form-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #020617;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.login-form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.login-submit-btn {
  width: 100%;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.login-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* TABLE */
.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

td {
  color: var(--text-main);
}

tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.badge-primary {
  background: rgba(34, 197, 94, 0.15);
  color: var(--primary);
}

.badge-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.badge-accent {
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

/* HAMBURGER MENU (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* UTILITIES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--radius); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .topnav {
    display: none;
  }
  .topnav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #020617;
    border-top: 1px solid var(--border);
    padding: 10px 0;
    z-index: 100;
  }
  .topnav.active .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .topnav.active .nav-link {
    display: block;
    padding: 12px 20px;
    border-radius: 0;
  }

  .navBtn {
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 0;
    padding: 12px 20px;
  }

  .bottom-nav {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #020617;
    border-top: 1px solid var(--border);
    z-index: 100;
    padding: 0;
  }
  .bottom-nav .nav-container {
    padding: 0;
  }
  .bottom-nav .nav-list {
    flex-direction: row;
    justify-content: space-around;
    padding: 8px 0;
  }
  .bottom-nav .navBtn {
    padding: 8px 4px;
    font-size: 12px;
    text-align: center;
    border-radius: 8px;
  }
  .bottom-nav .navBtn.active {
    background: rgba(34, 197, 94, 0.15);
  }

  .section {
    margin: 20px 16px;
    padding: 20px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }



@media (max-width: 480px) {
  .section {
    margin: 16px 12px;
    padding: 16px;
  }

  .btn {
    width: 100%;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 0.875rem;
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.3s ease;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}


::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* CATEGORY GRID */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.category-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -12px rgba(34, 197, 94, 0.15), 0 0 0 1px rgba(34, 197, 94, 0.1);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover .category-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 20px currentColor);
}

.category-card:hover .category-glow {
  opacity: 0.15;
  transform: scale(1.5);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  line-height: 1;
}

.category-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-light);
  transition: color 0.35s ease;
}

.category-card:hover h3 {
  color: var(--primary);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.category-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Category-specific glow colors */
.category-glow.finance { background: radial-gradient(circle, #fbbf24 0%, transparent 70%); }
.category-glow.trade { background: radial-gradient(circle, #22c55e 0%, transparent 70%); }
.category-glow.logistics { background: radial-gradient(circle, #3b82f6 0%, transparent 70%); }
.category-glow.health { background: radial-gradient(circle, #ec4899 0%, transparent 70%); }
.category-glow.realestate { background: radial-gradient(circle, #8b5cf6 0%, transparent 70%); }
.category-glow.food { background: radial-gradient(circle, #ef4444 0%, transparent 70%); }
.category-glow.transport { background: radial-gradient(circle, #06b6d4 0%, transparent 70%); }
.category-glow.services { background: radial-gradient(circle, #a3e635 0%, transparent 70%); }
.category-glow.construction { background: radial-gradient(circle, #f97316 0%, transparent 70%); }
.category-glow.agriculture { background: radial-gradient(circle, #10b981 0%, transparent 70%); }

/* Staggered entrance animation */
.category-card {
  opacity: 0;
  animation: cardSlideUp 0.5s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.15s; }
.category-card:nth-child(3) { animation-delay: 0.2s; }
.category-card:nth-child(4) { animation-delay: 0.25s; }
.category-card:nth-child(5) { animation-delay: 0.3s; }
.category-card:nth-child(6) { animation-delay: 0.35s; }
.category-card:nth-child(7) { animation-delay: 0.4s; }
.category-card:nth-child(8) { animation-delay: 0.45s; }
.category-card:nth-child(9) { animation-delay: 0.5s; }
.category-card:nth-child(10) { animation-delay: 0.55s; }

@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .category-card {
    padding: 24px 20px;
  }
  
  .category-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .category-grid {
    gap: 12px;
  }
  
  .category-card {
    padding: 20px 16px;
  }
  
  .category-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .category-card h3 {
    font-size: 1.1rem;
  }
  
  .category-card p {
    font-size: 0.85rem;
  }
}
}\r
\r
