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

:root {
  --bg: #0c1224;
  --card: rgba(255, 255, 255, 0.07);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #f3f6ff;
  --muted: #c6cee8;
  --accent: #7dd8ff;
  --accent-2: #9f7bff;
  --shadow: 0 18px 60px rgba(6, 10, 26, 0.35);
  --radius: 16px;
  --max-width: 1100px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  background: radial-gradient(120% 120% at 15% 20%, rgba(146, 119, 255, 0.35), transparent 45%),
    radial-gradient(120% 120% at 85% 10%, rgba(125, 216, 255, 0.4), transparent 50%),
    linear-gradient(160deg, #0c1224 0%, #0c1224 45%, #0a0f1c 100%);
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 150ms ease, opacity 150ms ease;
}

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

header {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  background: rgba(12, 18, 36, 0.7);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
}

.brand .mark {
  height: 36px;
  width: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0c1224;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-links {
  display: flex;
  gap: 16px;
  font-weight: 600;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 40px auto 60px;
  padding: 0 22px;
  display: grid;
  gap: 24px;
}

.hero {
  display: grid;
  gap: 18px;
  padding: 28px 30px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  color: #f9fbff;
}

.hero p {
  color: var(--muted);
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c1224;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.card h3 {
  font-size: 18px;
}

.card p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14.5px;
}

.content-surface {
  background: var(--card-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.65;
  color: var(--muted);
}

.content-surface h1,
.content-surface h2,
.content-surface h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.content-surface p + p {
  margin-top: 12px;
}

.content-surface a {
  font-weight: 600;
}

footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 18, 36, 0.7);
  backdrop-filter: blur(10px);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 22px 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 13px;
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  main {
    margin: 28px auto 50px;
  }

  .footer-inner {
    align-items: center;
    text-align: center;
    flex-direction: column;
  }
}
