/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep:    #040a14;
  --bg-mid:     #0a1628;
  --card-bg:    #0f1e35;
  --card-border:#1a2e4a;
  --accent:     #38bdf8;
  --accent-dim: rgba(56,189,248,0.15);
  --text:       #e2e8f0;
  --text-muted: #7a91ad;
  --font-display: 'Orbitron', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient glow background */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(56,189,248,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 1100px;
  height: 58px;
  background: rgba(9, 18, 34, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56,189,248,0.12);
  border-radius: 16px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.icon-btn:hover {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(56,189,248,0.3);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== SIDEBAR ===== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1001;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--bg-mid);
  border-left: 1px solid var(--card-border);
  padding: 24px 20px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.sidebar-close:hover {
  color: var(--text);
}

.sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.sidebar a:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

.sidebar a svg {
  opacity: 0.5;
  flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://i.imgur.com/QU8KLOr.png") no-repeat center center / cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(56,189,248,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #020617;
  box-shadow: 0 0 24px rgba(56,189,248,0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 36px rgba(56,189,248,0.5);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(56,189,248,0.35);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

/* ===== LINKS SECTION ===== */
.links {
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 32px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(56,189,248,0.3);
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card a {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(56,189,248,0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.card a:hover {
  background: rgba(56,189,248,0.25);
  border-color: var(--accent);
}

/* ===== FOOTER ===== */
footer {
  padding: 60px 20px 40px;
  text-align: center;
  background: linear-gradient(to bottom, transparent, var(--bg-mid));
  border-top: 1px solid var(--card-border);
  position: relative;
  z-index: 1;
}

footer h2 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 14px;
}

footer p {
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.8;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-links span {
  color: var(--card-border);
}

.footer-copy {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
