:root {
  --bg: #050505;
  --panel: #111111;
  --accent: #3b82f6;
  --text: #fafafa;
  --text-dim: #888888;
  --border: #222222;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1400px;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden; /* Prevents side-scrolling on mobile */
}

/* The 1400px Wrapper */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
}

nav { display: flex; align-items: center; gap: 1.5rem; }

nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

nav a:hover { color: var(--accent); }

main { flex: 1; }

footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.btn {
  background: var(--text);
  color: var(--bg);
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.1s;
}

.btn:active { transform: scale(0.98); }

/* Mobile Responsiveness */
@media (max-width: 768px) {
  header .container { height: auto; padding: 1rem; flex-direction: column; gap: 1rem; }
  nav { width: 100%; justify-content: center; gap: 1rem; }
  .hero h1 { font-size: 2.5rem !important; }
}
