:root {
  --primary: #0066fc;
  --primary-deep: #0049b5;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(255, 255, 255, 0.5);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 50px rgba(0, 40, 110, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background: #f2f7ff;
  position: relative;
}

.background-image {
  position: fixed;
  inset: 0;
  background: url("../images/background.webp") center/cover no-repeat;
  z-index: -3;
  transform: scale(1.03);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 102, 252, 0.32), transparent 45%),
    radial-gradient(circle at 85% 78%, rgba(4, 76, 177, 0.3), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.78));
}

.site-header,
.container,
.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  margin-top: 20px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.brand-logo svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  letter-spacing: 0.08em;
}

.header-link {
  color: var(--primary-deep);
  text-decoration: none;
  font-weight: 700;
}

.container {
  padding: 28px 0 30px;
  display: grid;
  gap: 18px;
}

.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  padding: 36px;
}

.eyebrow {
  margin: 0;
  color: var(--primary-deep);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #3f8dff);
  color: #fff;
}

.btn-secondary {
  border: 1px solid #c1d8ff;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.82);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid .card,
.roadmap {
  padding: 24px;
}

h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

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

ol {
  margin: 6px 0 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.8;
}

.site-footer {
  margin-bottom: 20px;
  padding: 10px 2px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1e3a8a;
  font-size: 14px;
}

.site-footer a {
  color: #1d4ed8;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    margin-top: 12px;
    padding: 10px 12px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
