/* ---------------------------------------------------------------------------
   Manocode — color tokens (matches FitExl app theme)
   --------------------------------------------------------------------------- */
:root {
  --bg: #000000;
  --bg-dark: #0d0d0d;
  --bg-light: #1f1f1f;
  --border: #1f1f1f;
  --text: #ffffff;
  --text-secondary: #a3a3a3;
  --text-tertiary: #6b6b6b;
  --accent: #39ff14;
  --accent-glow: rgba(57, 255, 20, 0.35);
  --accent-dim: rgba(57, 255, 20, 0.15);

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --content-max: 720px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.brand {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  color: var(--accent);
  text-shadow: 0 0 14px var(--accent-glow), 0 0 32px var(--accent-glow);
}

.tagline {
  font-size: 20px;
  margin: 0 0 24px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.lead {
  max-width: 480px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
}

.accent {
  color: var(--accent);
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------------- */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
}

.prose {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.link:hover {
  border-bottom-color: var(--accent);
}

/* ---------------------------------------------------------------------------
   Product cards
   --------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  gap: 16px;
  justify-content: center;
}

.product-card {
  display: block;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 0 24px var(--accent-dim);
  transform: translateY(-2px);
}

.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.product-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--text);
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.arrow {
  color: var(--accent);
  font-size: 18px;
}

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 32px;
}

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

.footer-brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 14px;
}

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

/* ---------------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }
  .product-card:hover {
    transform: none;
  }
}
