/* =========================
   GLOBAL RESET
========================= */

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

:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --link: #2563eb;
}

/* =========================
   BASE LAYOUT
========================= */

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
}

p {
  margin-bottom: 18px;
  color: var(--muted);
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px 90px 22px;
}

/* =========================
   LINKS
========================= */

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

a:hover {
  text-decoration: underline;
}

/* =========================
   HERO BANNER (AI FUTURISTIC)
========================= */

.hero-banner,
.page-banner {
  padding: 140px 20px 110px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;

  background: linear-gradient(
    135deg,
    #0b1023 0%,
    #15133a 30%,
    #2a1b6b 55%,
    #1f4fd6 80%,
    #06b6d4 100%
  );
}

/* glow blob */
.hero-banner::before,
.page-banner::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  top: -260px;
  right: -260px;
  background: radial-gradient(circle, rgba(6,182,212,0.25) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}

/* subtle grid overlay */
.hero-banner::after,
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.25;
  pointer-events: none;
}

.hero-banner h1,
.page-banner h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
  color: #ffffff !important;
  position: relative;
  z-index: 1;
}

.hero-banner p,
.page-banner p {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.86);
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* =========================
   HOMEPAGE HERO (legacy)
========================= */

.hero {
  text-align: center;
  padding: 100px 20px 60px 20px;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 20px auto 0 auto;
  color: var(--muted);
}

/* =========================
   CARDS
========================= */

.section-card {
  background: var(--card);
  padding: 50px;
  border-radius: 18px;
  border: 1px solid var(--border);
  margin-top: 40px;   
  margin-bottom: 45px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 75px rgba(15, 23, 42, 0.10);
}

.section-card ul {
  margin-top: 10px;
  padding-left: 20px;
}

.section-card li {
  margin-bottom: 10px;
  color: var(--muted);
}

/* homepage cards grid */
.card-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 35px 20px 90px 20px;
  flex-wrap: wrap;
}

.card {
  background: #ffffff;
  padding: 35px;
  width: 290px;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.card h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.card p {
  font-size: 15px;
  color: var(--muted);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.10);
}

/* =========================
   CODE / SCHEMAS
========================= */

pre, code {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
}

pre {
  background: #0b1023;
  color: #e2e8f0;
  padding: 18px 18px;
  border-radius: 14px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   FOOTER BACK LINK
========================= */

.back-link {
  text-align: center;
  margin-top: 60px;
}