:root {
  /* Backgrounds */
  --bg:          #0a0e1a;
  --surface:     #141b2d;
  --surface-alt: #1e2a42;

  /* Text */
  --text:        #f0f2f5;
  --text-muted:  #8899b0;

  /* Accents */
  --red:         #c41e1e;
  --red-hover:   #e63030;
  --blue:        #3b6fc4;
  --blue-glow:   #4d94ff;

  /* Borders */
  --border:      rgba(255, 255, 255, 0.08);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
}

/* ─── Navigation ─── */
nav {
  background: var(--surface);
  border-bottom: 2px solid var(--red);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 2px;
}

nav .logo span {
  color: var(--red);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

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

/* ─── Hero Section ─── */
.hero {
  background: linear-gradient(
    135deg,
    var(--bg) 0%,
    #0d1525 40%,
    #1a1030 70%,
    var(--bg) 100%
  );
  padding: 5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.hero h1 .red { color: var(--red); }
.hero h1 .blue { color: var(--blue-glow); }

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ─── CTA Button (Red) ─── */
.btn-primary {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

/* ─── Secondary Button (Blue outline) ─── */
.btn-secondary {
  background: transparent;
  color: var(--blue-glow);
  border: 2px solid var(--blue);
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 1rem;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--blue);
  color: #fff;
}

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--red);
}

.card h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ─── Accent Bar (top of cards) ─── */
.card::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-bottom: 1rem;
  border-radius: 2px;
}

/* ─── Links ─── */
a {
  color: var(--blue-glow);
}

/* ─── Footer ─── */
footer {
  background: var(--surface);
  border-top: 2px solid var(--red);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* ─── Grid Layout ─── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}   
