/* Everyvia — minimal landing */

:root {
  --bg: #07080c;
  --bg-elevated: #0e1018;
  --surface: #12151f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f3f7;
  --text-muted: #9aa0b4;
  --text-dim: #6b7289;
  --accent: #7c9cff;
  --accent-soft: rgba(124, 156, 255, 0.14);
  --accent-glow: rgba(124, 156, 255, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(124, 156, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 30% at 85% 40%, rgba(100, 80, 200, 0.08), transparent 50%),
    radial-gradient(ellipse 35% 25% at 10% 70%, rgba(60, 120, 255, 0.06), transparent 50%);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 8, 12, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0a0c14;
  box-shadow: 0 0 0 0 transparent;
}

.btn-primary:hover {
  background: #93aeff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: rgba(124, 156, 255, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

/* Hero */
.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero-inner {
  text-align: center;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(124, 156, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 34em;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-dim);
  max-width: 36em;
  margin: 0 auto;
  line-height: 1.55;
}

/* Architecture */
.architecture {
  padding: 3rem 0 4rem;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 2rem;
}

.arch-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.arch-node {
  flex: 1 1 160px;
  max-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.arch-node-center {
  border-color: rgba(124, 156, 255, 0.35);
  background: linear-gradient(180deg, rgba(124, 156, 255, 0.1), var(--surface) 70%);
  box-shadow: 0 0 40px rgba(124, 156, 255, 0.08);
}

.arch-icon {
  color: var(--accent);
  display: flex;
  margin-bottom: 0.25rem;
}

.arch-node strong {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.arch-sub {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.arch-arrow {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  flex-shrink: 0;
  opacity: 0.6;
}

.arch-caption {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Concepts */
.concepts {
  padding: 2rem 0 4.5rem;
}

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

.concept-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.concept-card:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}

.concept-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.concept-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.concept-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Status */
.status {
  padding: 1rem 0 5rem;
}

.status-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.75rem 2rem;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.25rem;
}

.status-inner h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.status-inner p {
  font-size: 0.9875rem;
  color: var(--text-muted);
  max-width: 36em;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-tag {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 720px) {
  .concept-grid {
    grid-template-columns: 1fr;
  }

  .arch-flow {
    flex-direction: column;
    align-items: center;
  }

  .arch-node {
    max-width: 280px;
    width: 100%;
  }

  .arch-arrow {
    transform: rotate(90deg);
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .status-inner {
    padding: 2rem 1.5rem;
  }

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

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.75rem, var(--max));
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .concept-card,
  .footer-links a {
    transition: none;
  }
}
