/* Miniyo Landing — Design tokens */
:root {
  --bg: #0a0a0f;
  --bg-elev: #12121a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;
  --accent: #818cf8;
  --accent-2: #c084fc;
  --accent-3: #22d3ee;
  --success: #34d399;
  --glow: rgba(129, 140, 248, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1100px;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Background effects === */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

/* === Hero === */
.hero {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.title {
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 24px;
}

.title-mini {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.title-yo {
  background: linear-gradient(135deg, var(--accent-2) 0%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.5;
}

/* === Status grid === */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto 56px;
}

.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: left;
}

.status-label {
  font-size: 12px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.status-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-mono);
}

/* === CTA === */
.cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px var(--glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-elev);
  border-color: var(--border-strong);
}

/* === Sections === */
.capabilities,
.stack,
.owner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 17px;
}

/* === Capabilities grid === */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.capability {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.capability:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
  transform: translateY(-4px);
}

.capability-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.capability h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.capability p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* === Stack grid === */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.stack-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: all 0.2s ease;
}

.stack-item:hover {
  border-color: var(--accent);
}

.stack-label {
  font-size: 11px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.stack-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* === Owner card === */
.owner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.owner-avatar {
  font-size: 56px;
  flex-shrink: 0;
}

.owner-info {
  flex: 1;
}

.owner-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.owner-role {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.owner-business {
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.4;
}

/* === Footer === */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 40px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-meta {
  text-align: right;
  font-size: 12px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

.footer-version {
  margin-top: 4px;
}

/* === Responsive === */
@media (max-width: 640px) {
  .hero { padding: 80px 0 60px; }
  .capabilities, .stack, .owner { padding: 60px 0; }
  .owner-card { flex-direction: column; text-align: center; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
