/* SoloSystem — Core Styles */
:root {
  --bg: #0f172a;
  --bg-elevated: #1e293b;
  --bg-card: #1e293b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border: #334155;
  --success: #22c55e;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--text-muted);
}

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

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

.badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

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

/* Proof */
.proof {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.proof p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Products */
.products {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.product-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.product-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features {
  margin-bottom: 24px;
}
.product-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
}
.old-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

/* How it works */
.how {
  padding: 80px 0;
  background: var(--bg-elevated);
}

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

.step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item summary {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CTA */
.cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #1e3a5f 100%);
}
.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--text); }

.footer-legal p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 1.85rem; }

  .product-grid { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.product-soon { opacity: 0.72; }
.product-soon:hover { transform: none; border-color: var(--border); }
.btn-disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.75;
}

/* ===== Email signup (draft) ===== */
.signup { padding: 64px 0; text-align: center; border-top: 1px solid #1e293b; }
.signup h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.signup p { color: #94a3b8; margin-bottom: 20px; }
.signup-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto 12px; }
.signup-form input[type="email"] { flex: 1 1 260px; padding: 12px 14px; border-radius: 8px; border: 1px solid #334155; background: #0f172a; color: #f8fafc; font: inherit; }
.signup-form input[type="email"]:focus { outline: 2px solid #3b82f6; outline-offset: 1px; }
.signup .signup-note { font-size: 0.85rem; margin-bottom: 0; }
.signup .signup-note a { color: #38bdf8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Homepage conversion proposal (draft) ===== */
.btn-block { display: flex; width: 100%; }
.hero-buy { max-width: 360px; margin: 0 auto 12px; display: flex; flex-direction: column; gap: 10px; }
.hero-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.hero-price .price { font-size: 2rem; font-weight: 800; }
.hero-price-note { font-size: 0.85rem; color: var(--text-muted); }
.hero-note a { color: #60a5fa; text-decoration: underline; }
.preview { padding: 56px 0 8px; }
.preview .section-header { margin-bottom: 20px; }
.prompt-preview { max-width: 700px; margin: 0 auto; background: #0b1222; border: 1px solid var(--border); border-radius: 8px; padding: 16px; color: #cbd5e1; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; }
.preview-links { text-align: center; margin-top: 14px; }
.preview-links a { color: #38bdf8; font-weight: 600; }
.cta .cta-alt { margin: 20px 0 0; font-size: 0.95rem; }
.cta .cta-alt a { color: #38bdf8; text-decoration: underline; }
.buybar { display: none; }

@media (max-width: 768px) {
  .hero { padding: 24px 0 28px; }
  .hero h1 { font-size: 1.6rem; margin-bottom: 12px; }
  .hero-sub { font-size: 0.98rem; line-height: 1.5; margin-bottom: 16px; }
  .products { padding: 56px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.6rem; }
  body { padding-bottom: 72px; }
  .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(15, 23, 42, 0.97); border-top: 1px solid var(--border);
    transform: translateY(110%); transition: transform 0.2s ease;
  }
  .buybar.show { transform: translateY(0); }
  .buybar-text { display: flex; flex-direction: column; line-height: 1.3; }
  .buybar-text strong { font-size: 0.95rem; }
  .buybar-text span { font-size: 0.75rem; color: var(--text-muted); }
}
.signup .signup-msg { color: #e2e8f0; }
