:root {
  --bg: #050505;
  --fg: #f5f5f5;
  --muted: #9aa0a6;
  --accent: #4fa3ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  background: radial-gradient(circle at top, #111, #000);
  color: var(--fg);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.7);
  border-bottom: 1px solid #111;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo { height: 48px; }

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--fg);
  opacity: 0.85;
}

nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.7), #000),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 700px;
  animation: fadeUp 1s ease forwards;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { color: var(--muted); }

/* Sections */
section {
  padding: 5rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

.card {
  background: linear-gradient(#0c0c0c, #050505);
  border: 1px solid #1a1a1a;
  border-radius: 18px;
  padding: 2rem;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
}

/* Footer */
.site-footer {
  border-top: 1px solid #111;
  padding: 2rem 0;
  color: var(--muted);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 768px) {
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
  }
  nav a { margin: 0; }
  .hero h1 { font-size: 2.2rem; }
}
