/* =========================
   CSS RESET + VARS
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0b0f14;
  --bg-alt: #101620;
  --card: #141b26;
  --border: #1f2a3a;

  --text: #e6e9ee;
  --muted: #9aa4b2;

  --primary: #00e5ff;
  --primary-dark: #00b8cc;
  --accent: #19ff9a;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(180deg, var(--bg), #06090d);
  color: var(--text);
  line-height: 1.6;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1200px;
  padding: 0 1.25rem;
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

h1, h2, h3 {
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p { color: var(--muted); }

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,15,20,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  gap: .75rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #000;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

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

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #000;
  text-decoration: none;
}

.btn:hover {
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-small {
  padding: .5rem 1rem;
  font-size: .85rem;
}

/* =========================
   CARDS / GRIDS
========================= */
.grid {
  display: grid;
  gap: 1.5rem;
}

.cards-2 { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }

.card {
  background: linear-gradient(180deg, var(--card), #0f141d);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.list {
  padding-left: 1.1rem;
}

.list li {
  margin-bottom: .35rem;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  align-items: center;
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  background: rgba(0,229,255,.15);
  color: var(--primary);
}

/* =========================
   FORM
========================= */
.form label {
  display: block;
  margin-bottom: 1rem;
  font-size: .85rem;
}

input, textarea {
  width: 100%;
  margin-top: .25rem;
  padding: .65rem .75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0b0f14;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* =========================
   BACK TO TOP
========================= */
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: #000;
  display: none;
}
