
:root {
  --bg: #0b1020;
  --bg-soft: #121933;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #eef2ff;
  --muted: #a9b4d0;
  --accent: #7c9cff;
  --accent-2: #56e0c5;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 156, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(86, 224, 197, 0.14), transparent 24%),
    linear-gradient(180deg, #0a0f1e 0%, #0d1326 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.hero {
  padding: 4.5rem 0 2rem;
}

.hero-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(124, 156, 255, 0.14);
  color: #dbe5ff;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 0.9rem;
  max-width: 760px;
}

.hero p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #09111f;
  border: none;
}

section {
  padding: 2rem 0 0.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.section-header p {
  color: var(--muted);
  max-width: 700px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.card-link {
  grid-column: span 6;
  min-height: 190px;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(10px);
}

.card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 156, 255, 0.45);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
}

.card-glow {
  position: absolute;
  inset: auto -30px -30px auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(124,156,255,0.35), transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.09);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.tag {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #d6e4ff;
  background: rgba(124, 156, 255, 0.14);
  border: 1px solid rgba(124, 156, 255, 0.2);
  white-space: nowrap;
}

.card-link h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.card-link p {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 36ch;
}

.card-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #dbe5ff;
  font-size: 0.92rem;
  font-weight: 600;
}

.arrow {
  transition: transform 0.25s ease;
}

.card-link:hover .arrow {
  transform: translateX(4px);
}

.footer {
  padding: 3rem 0 2rem;
}

.footer-box {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.empty-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .card-link {
    grid-column: span 12;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-box {
    padding: 1.4rem;
  }
}
