:root {
  --future-glow: rgba(0, 113, 227, 0.16);
}

.future-page {
  padding-top: calc(var(--nav-height) + 72px);
  padding-bottom: 96px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, var(--future-glow), transparent 32%),
    linear-gradient(180deg, transparent 0%, rgba(0, 113, 227, 0.03) 100%);
}

.future-hero {
  padding: 24px 0 56px;
}

.future-hero__inner {
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.future-hero__inner:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 113, 227, 0.24);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .future-hero__inner {
  background: rgba(22, 22, 23, 0.8);
}

.future-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 16px;
  max-width: 760px;
}

.future-hero__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 24px;
}

.future-hero__pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.future-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.future-pill:hover {
  transform: translateY(-2px);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.12);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.future-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 328px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.future-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.future-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.24);
  box-shadow: var(--shadow-md);
}

.future-card:hover::before {
  transform: translateX(120%);
}

.future-card h2 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.future-card:hover h2 {
  color: var(--accent);
}

.future-card p,
.future-card li {
  color: var(--text-muted);
  line-height: 1.7;
}

.future-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.future-card li {
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--border);
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.future-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.future-card:hover p {
    transform: translateX(3px);
    color: var(--text);
    border-color: rgba(0, 113, 227, 0.18);
}

.future-card:hover li {
  transform: translateX(3px);
  color: var(--text);
  border-color: rgba(0, 113, 227, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .future-grid {
    grid-template-columns: 1fr;
  }

  .future-hero__inner {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .future-page {
    padding-top: calc(var(--nav-height) + 56px);
  }

  .future-hero {
    padding-bottom: 36px;
  }

  .future-hero__inner {
    border-radius: 24px;
  }
}
