/* GhostHost Templates Store — Extends theme.css */

/* ─── SECTION LABEL ─────────────────────────────── */
.tpl-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

/* ─── HERO ───────────────────────────────────────── */
.tpl-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.tpl-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(168,85,247,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.tpl-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.tpl-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.tpl-hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
}
.tpl-hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 40px;
}
.tpl-hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.tpl-hero-reassure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--cyan);
  color: #080b12;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary.btn-large { padding: 16px 40px; font-size: 1.05rem; }
.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--cyan);
  color: #080b12;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 7px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-buy:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─── PRODUCTS ───────────────────────────────────── */
.tpl-products {
  padding: 100px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.tpl-products-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.tpl-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.tpl-product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.tpl-product-card:hover {
  border-color: rgba(0,212,255,0.25);
  box-shadow: 0 8px 40px rgba(0,212,255,0.06);
}
.tpl-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-cyan { background: var(--cyan); color: #080b12; }
.badge-violet { background: var(--violet); color: #fff; }
.tpl-product-header { display: flex; flex-direction: column; gap: 10px; }
.tpl-product-icon { color: var(--cyan); }
.tpl-product-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.2;
}
.tpl-product-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 500;
}
.tpl-product-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}
.tpl-product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}
.tpl-product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
}
.tpl-product-features li svg { flex-shrink: 0; margin-top: 2px; }
.tpl-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.tpl-product-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--fg);
  letter-spacing: -0.03em;
}

/* ─── SOCIAL PROOF ───────────────────────────────── */
.tpl-social-proof {
  padding: 100px 32px;
  position: relative;
}
.tpl-sp-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.tpl-sp-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
}
.tpl-sp-highlight { color: var(--cyan); }
.tpl-sp-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 60px;
  line-height: 1.7;
}
.tpl-sp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
.tpl-sp-stat {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tpl-sp-stat:last-child { border-right: none; }
.tpl-sp-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--fg);
  letter-spacing: -0.04em;
}
.tpl-sp-desc { font-size: 0.85rem; color: var(--fg-muted); }

/* ─── FAQ ───────────────────────────────────────── */
.tpl-faq { padding: 100px 32px; background: var(--surface); border-top: 1px solid var(--border); }
.tpl-faq-inner { max-width: 900px; margin: 0 auto; }
.tpl-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.tpl-faq-item {
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tpl-faq-item:nth-child(even) { border-right: none; }
.tpl-faq-item:nth-last-child(-n+2) { border-bottom: none; }
.tpl-faq-q {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.tpl-faq-a { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.65; }

/* ─── CLOSING ────────────────────────────────────── */
.tpl-closing { padding: 100px 32px 120px; text-align: center; }
.tpl-closing-inner { max-width: 640px; margin: 0 auto; }
.tpl-closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
}
.tpl-closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.tpl-closing-reassure {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--fg-dim);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .tpl-products-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tpl-faq-grid { grid-template-columns: 1fr; }
  .tpl-faq-item { border-right: none; }
  .tpl-faq-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .tpl-faq-item:last-child { border-bottom: none; }
  .tpl-sp-stats { grid-template-columns: 1fr; }
  .tpl-sp-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .tpl-sp-stat:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .tpl-hero { padding: 100px 24px 60px; }
  .tpl-hero-headline { font-size: 2.4rem; }
  .tpl-hero-sub { font-size: 1rem; }
  .tpl-products, .tpl-social-proof, .tpl-faq, .tpl-closing { padding: 80px 24px; }
  .tpl-closing-headline { font-size: 1.9rem; }
}