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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: #f0f2f5;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, color 0.3s;
}

html.dark-mode body {
  background: #121212;
  color: #e0e0e0;
}

.navbar {
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

html.dark-mode .navbar {
  background: linear-gradient(135deg, #0d47a1, #001a4d);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand a {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.navbar-brand .brand-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.dark-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
  margin-left: 0.5rem;
}

html.dark-mode .dark-toggle {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.3);
}

.dark-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

main {
  flex: 1;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  color: #1a73e8;
  margin-bottom: 0.25rem;
}

html.dark-mode .page-header h1 {
  color: #64b5f6;
}

.page-header p {
  color: #666;
  font-size: 1.05rem;
}

html.dark-mode .page-header p {
  color: #aaa;
}

.card {
  background: #fff;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, background 0.3s;
}

html.dark-mode .card {
  background: #1e1e1e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

html.dark-mode .card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.card h2 {
  color: #1a73e8;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

html.dark-mode .card h2 {
  color: #64b5f6;
}

.card h3 {
  color: #0d47a1;
  font-size: 1.15rem;
  margin: 1.25rem 0 0.5rem;
}

html.dark-mode .card h3 {
  color: #64b5f6;
}

.card p {
  margin-bottom: 0.75rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 0.75rem 0 1rem 1.5rem;
}

.card li {
  margin-bottom: 0.4rem;
}

.card li strong {
  color: #0d47a1;
}

html.dark-mode .card li strong {
  color: #64b5f6;
}

.card a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

html.dark-mode .card a {
  color: #64b5f6;
}

.card a:hover {
  text-decoration: underline;
}

a.status-button {
  display: inline-block;
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

a.status-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.4);
  text-decoration: none !important;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background 0.3s;
}

html.dark-mode .contact-item {
  background: #2a2a2a;
}

.contact-item .icon {
  font-size: 1.25rem;
  width: 2rem;
  text-align: center;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.dark-mode .contact-item .icon {
  color: #64b5f6;
}

.contact-item a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

html.dark-mode .contact-item a {
  color: #64b5f6;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item .label {
  color: #888;
  font-size: 0.85rem;
}

html.dark-mode .contact-item .label {
  color: #999;
}

.hero-card {
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.25);
}

html.dark-mode .hero-card {
  background: linear-gradient(135deg, #0d47a1, #001a4d);
}

.hero-card h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.hero-card p {
  font-size: 1.2rem;
  opacity: 0.9;
}

footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: auto;
  transition: background 0.3s, color 0.3s;
}

html.dark-mode footer {
  background: #0a0a1a;
  color: rgba(255, 255, 255, 0.5);
}

footer p {
  font-size: 0.9rem;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

html.dark-mode footer .footer-links a {
  color: rgba(255, 255, 255, 0.5);
}

footer .footer-links a:hover {
  color: white;
}

@media (max-width: 768px) {
  .navbar-inner {
    height: auto;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
  }

  .dark-toggle {
    align-self: flex-start;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .navbar-brand a {
    font-size: 1.2rem;
  }

  .hero-card {
    padding: 2rem 1.5rem;
  }

  .hero-card h1 {
    font-size: 1.8rem;
  }

  .hero-card p {
    font-size: 1rem;
  }

  main {
    margin: 1.25rem auto;
    padding: 0 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }
}
