/* ============================================================
   @transformersfiles — Unofficial Product Line
   style.css — dark mode, mobile-first, print-safe
   ============================================================ */

/* Web fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #0d0d12;
  --bg-elevated: #16161f;
  --bg-card:     #1c1c28;
  --border:      #2a2a3a;
  --text:        #e5e5ea;
  --text-muted:  #8e8e9e;
  --accent:      #ff6b35;
  --accent-dark: #cc5528;
  --font-body:   'Inter', system-ui, -apple-system, sans-serif;
  --font-head:   'Space Grotesk', system-ui, -apple-system, sans-serif;
  --radius:      8px;
  --radius-lg:   14px;
  --max-w:       900px;
  --max-w-wide:  1100px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3.5vw, 2rem);  font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

small, .text-sm { font-size: 0.875rem; color: var(--text-muted); }

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--wide {
  max-width: var(--max-w-wide);
}

.section {
  padding-block: 3.5rem;
}

.section--tight {
  padding-block: 2rem;
}

/* ── Header / nav ─────────────────────────────────────────── */
header {
  background-color: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding-block: 0.9rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-block: 4rem 3rem;
  text-align: center;
}

.hero-cover {
  width: min(220px, 60vw);
  margin-inline: auto;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55);
}

.hero h1 {
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.price-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.price-tag .currency {
  font-size: 1rem;
  vertical-align: super;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-buy {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color 0.15s, transform 0.1s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-buy:hover {
  background-color: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.15s, color 0.15s;
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
  text-decoration: none;
}

/* ── Feature cards ("what's inside") ─────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.feature-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ── Sample section ───────────────────────────────────────── */
.sample-box {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  max-height: 380px;
  overflow-y: auto;
}

.sample-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── Lead magnet / email capture ─────────────────────────── */
.lead-magnet-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  max-width: 540px;
  margin-inline: auto;
  margin-top: 2rem;
}

.lead-magnet-box h3 {
  margin-bottom: 0.5rem;
}

.lead-magnet-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-list {
  margin-top: 2rem;
  max-width: 720px;
  margin-inline: auto;
}

details {
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
}

details:first-of-type {
  border-top: 1px solid var(--border);
}

summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

details[open] summary::after {
  content: '−';
}

details[open] summary {
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-right: 2rem;
}

/* ── Product card (hub page) ─────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 620px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card h3 {
  font-size: 1.05rem;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 0;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background-color: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge--soon {
  color: var(--accent);
  border-color: var(--accent);
  background-color: transparent;
}

.badge--live {
  color: #00a896;
  border-color: #00a896;
  background-color: transparent;
}

/* ── Dividers ─────────────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 0;
}

/* ── Section headings ─────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 0.4rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }

/* ── Print ────────────────────────────────────────────────── */
@media print {
  :root {
    --bg:         #ffffff;
    --bg-elevated:#f5f5f5;
    --bg-card:    #f0f0f0;
    --border:     #d0d0d0;
    --text:       #111111;
    --text-muted: #555555;
    --accent:     #cc4400;
  }

  body {
    background-color: #ffffff;
    color: #111111;
    font-size: 12pt;
  }

  header, nav, .btn-buy, .btn-secondary {
    display: none !important;
  }

  .hero {
    text-align: left;
    padding-block: 1rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    color: #666;
  }

  footer {
    margin-top: 1rem;
    padding-block: 1rem;
  }

  @page {
    margin: 1.5cm;
  }
}
