* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: white;
}

.hero {
  min-height: 90vh;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,197,94,0.24), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(103,232,249,0.22), transparent 30%),
    linear-gradient(135deg, #020617, #0f766e);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #67e8f9;
  font-weight: bold;
  font-size: 28px;
}

.nav-links {
  display: flex;
  gap: 14px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  border: 1px solid rgba(103,232,249,0.7);
  padding: 10px 16px;
  border-radius: 999px;
}

.hero-content {
  max-width: 920px;
  margin: 130px auto;
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  color: #cffafe;
}

.hero-content h1 {
  font-size: 62px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.7;
  color: #e2e8f0;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

button {
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: #22c55e;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s;
  font-weight: bold;
}

button:hover {
  transform: translateY(-2px);
  background: #16a34a;
}

.secondary-btn {
  background: transparent;
  border: 1px solid #67e8f9;
}

.secondary-btn:hover {
  background: rgba(103,232,249,0.14);
}

main {
  padding: 42px;
}

.section-heading {
  margin-bottom: 25px;
}

.section-heading h2 {
  font-size: 38px;
  color: #f8fafc;
}

.section-heading p {
  color: #94a3b8;
  margin-top: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.card, .control-card, .recommendation, .admin-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 16px 35px rgba(0,0,0,0.22);
}

.card h3 {
  color: #94a3b8;
  margin-bottom: 8px;
}

.card p {
  font-size: 42px;
  font-weight: bold;
  color: #67e8f9;
}

.control-panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}

.control-card h3, .recommendation h3, .admin-card h3 {
  color: #67e8f9;
  margin-bottom: 16px;
}

label {
  display: block;
  margin: 14px 0 8px;
  color: #cbd5e1;
}

select, input {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid #475569;
  background: #0f172a;
  color: white;
  margin-bottom: 14px;
}

.recommendation p {
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 16px;
}

.parking-area, .admin-section {
  margin-top: 55px;
}

.parking-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.slot {
  min-height: 95px;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
  position: relative;
}

.slot:hover {
  transform: scale(1.04);
}

.slot small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
}

.available {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

.occupied {
  background: linear-gradient(135deg, #ef4444, #991b1b);
}

.best-slot {
  border: 4px solid #facc15;
  box-shadow: 0 0 25px rgba(250,204,21,0.9);
}

.reserved {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #111827;
}

.dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-left: 12px;
  margin-right: 5px;
}

.green { background: #22c55e; }
.red { background: #ef4444; }
.yellow { background: #facc15; }

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
}

.zone-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
  padding: 12px 0;
}

.admin-card ul {
  padding-left: 22px;
  line-height: 1.8;
  color: #e5e7eb;
}

footer {
  text-align: center;
  background: #020617;
  color: #94a3b8;
  padding: 25px;
}

@media (max-width: 900px) {
  .stats,
  .control-panel,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .parking-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 40px;
  }

  main {
    padding: 22px;
  }

  .nav-links {
    display: none;
  }
}
