:root {
  --bg: #0b0d10;
  --panel: #131620;
  --text: #e6e8eb;
  --muted: #9aa0aa;
  --accent: #4f8cff;
  --border: #1f2430;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0.5rem;
}

.hero h1 {
  background: linear-gradient(
    90deg,
    #ffffff,
    #4f8cff,
    #ffffff
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
}

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

.btn {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section h2 {
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--panel);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.card h3 {
  margin-top: 0;
}

.tag {
  display: inline-block;
  margin-right: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.highlight {
  background: linear-gradient(180deg, #0b0d10, #0f1320);
}

.lead {
  max-width: 600px;
  color: var(--muted);
}

.analyzer-placeholder {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 14px;
  background:
    repeating-linear-gradient(
      45deg,
      #131620,
      #131620 10px,
      #11141c 10px,
      #11141c 20px
    );
  border: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}


footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Motion preferences */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.analyzer-box {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.analyzer-box textarea {
  min-height: 220px;
  resize: vertical;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.analyzer-box pre {
  background: #0a0c12;
  padding: 1rem;
  border-radius: 10px;
  overflow-x: auto;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
