* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  background: #f9faff;
  color: #1e293b;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Header */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}
.main-nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: #2563eb; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; }

/* Hero */
.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 400px; }
.hero-text h1 { font-size: 2.8rem; margin-bottom: 1rem; color: #0f172a; }
.hero-text p { font-size: 1.2rem; color: #475569; margin-bottom: 2rem; }
.hero-image { flex: 1 1 300px; text-align: center; }
.hero-image img { max-width: 100%; height: auto; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: #2563eb; color: white; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.btn-secondary { background: #e2e8f0; color: #1e293b; }
.btn-secondary:hover { background: #cbd5e1; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.feature-icon { font-size: 2.2rem; display: block; margin-bottom: 0.6rem; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card a { color: #2563eb; font-weight: 500; text-decoration: none; }
.feature-card a:hover { text-decoration: underline; }

/* Stats */
.stats-preview {
  display: flex;
  justify-content: space-around;
  background: white;
  border-radius: 20px;
  padding: 2rem 1rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.4rem; font-weight: 700; color: #2563eb; display: block; }
.stat-label { color: #64748b; }

/* Admin */
.admin-page h1 { margin: 2rem 0 1rem; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.5rem; }
.admin-card { background: white; padding: 1.8rem; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  margin-top: 3rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { color: #475569; text-decoration: none; }
.footer-links a:hover { color: #2563eb; }

/* Responsive */
@media (max-width: 768px) {
  .main-nav ul { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero-text h1 { font-size: 2rem; }
}