/* ===========================
   DESIGN SYSTEM – ROCKET AI
   =========================== */

:root {
  /* Colors */
  --bg-main: #0b0c10;
  --bg-surface: #161925;
  --bg-surface-2: #151923;
  --border-color: #232634;

  --text-main: #f5f5f5;
  --text-muted: #9ca3af;

  --accent-blue: #1f6feb;
  --accent-blue-hover: #388bfd;
  --accent-yellow: #facc15;

  /* UI */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
}

/* ===========================
   RESET
   =========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: 0.3px;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }

p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===========================
   LAYOUT
   =========================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.page {
  padding: 60px 0;
}

/* ===========================
   HEADER / NAV
   =========================== */

.header {
  height: 64px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 1.1rem;
  text-decoration: none;
}

.nav-links a {
  margin-left: 20px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-base);
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
}

/* ===========================
   CARDS
   =========================== */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.card + .card {
  margin-top: 20px;
}

/* ===========================
   HERO
   =========================== */

.hero {
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 30px;
}

/* ===========================
   GRID
   =========================== */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===========================
   FORMS
   =========================== */

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

label {
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

input {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
  color: var(--text-main);
}

input:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  padding: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
