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

:root {
  --bg-dark: #0a0f0d;
  --bg-card: #111a16;
  --bg-input: #0f1612;
  --green-primary: #00a85e;
  --green-mid: #00d97e;
  --green-light: #33ffaa;
  --text-primary: #e8f5ef;
  --text-secondary: #8ba89a;
  --border-color: #1e3a2e;
  --border-glow: rgba(0, 216, 126, 0.3);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--font-family);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

nav .logo img {
  width: 32px;
  height: 32px;
}

nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex: 1;
}

nav .nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

nav .nav-links a:hover {
  color: var(--green-light);
}

nav .nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Main content */
main {
  flex: 1;
  padding: 2rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(90deg, var(--green-primary), var(--green-mid));
  color: #000;
  box-shadow: 0 0 20px var(--border-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 216, 126, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--green-primary);
  color: var(--green-light);
  box-shadow: 0 0 10px var(--border-glow);
}

.btn-secondary:hover {
  background: rgba(0, 168, 94, 0.1);
  box-shadow: 0 0 20px rgba(0, 216, 126, 0.5);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--green-primary);
  box-shadow: 0 0 15px var(--border-glow);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Sections */
.section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-primary);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

input, textarea, select {
  padding: 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: all 0.3s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 10px var(--border-glow);
  background: rgba(0, 168, 94, 0.05);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Page sections */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* Testimonials */
.testimonial {
  text-align: center;
  padding: 2rem;
}

.testimonial .author {
  font-weight: 600;
  margin-top: 1rem;
  color: var(--green-light);
}

.testimonial .city {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  color: #000;
}

/* Dashboard */
.dashboard {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
}

.sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
}

.sidebar a {
  display: block;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.sidebar a:hover, .sidebar a.active {
  background: rgba(0, 216, 126, 0.1);
  color: var(--green-light);
  border-left-color: var(--green-primary);
}

/* Filter */
.filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter select {
  flex: 1;
  min-width: 150px;
}

/* Status badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-approved {
  background: rgba(0, 216, 126, 0.2);
  color: var(--green-light);
}

.badge-pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.badge-rejected {
  background: rgba(244, 67, 54, 0.2);
  color: #ff6b6b;
}

/* Footer */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  margin-top: auto;
  color: var(--text-secondary);
}

footer p {
  margin-bottom: 0.5rem;
}

footer .contact-info {
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  nav .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem;
  }

  .sidebar a {
    margin-bottom: 0;
    flex: 1;
  }
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(0, 216, 126, 0.2);
  border-top-color: var(--green-light);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Alert */
.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-error {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #ff6b6b;
}

.alert-success {
  background: rgba(0, 216, 126, 0.1);
  border: 1px solid var(--border-color);
  color: var(--green-light);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: var(--bg-input);
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  color: var(--green-light);
}

td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

tr:hover {
  background: rgba(0, 216, 126, 0.05);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  float: right;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}
