/* Encore — Premium SaaS Landing
   Aesthetic: dark, editorial, craft-led. Matches founder's artist + engineer brand. */

:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --text: #f4f1ea;
  --text-muted: #9a958c;
  --text-faint: #5c5852;
  --accent: #c9a96e;
  --accent-soft: rgba(201, 169, 110, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --maxw: 1080px;
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle grain / vignette for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(201,169,110,0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- Nav ---------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  position: relative;
  z-index: 10;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.brand .dot { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.lang-toggle {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color .2s;
}
.lang-toggle:hover { color: var(--accent); }
.lang-toggle .active { color: var(--text); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}
h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--accent);
  color: #1a1308;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 4px;
  transition: transform .15s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(201,169,110,0.5); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  padding: 15px 24px;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); transform: none; box-shadow: none; }
 scarcity { color: var(--accent); }

.hero-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter .4s;
}
.hero-img:hover img { filter: grayscale(0) contrast(1.08); }
.hero-img .badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11,11,12,0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.hero-img .badge strong { color: var(--text); font-weight: 500; }

/* ---------- Spots counter ---------- */
.spots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent);
}
.spots .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201,169,110,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(201,169,110,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); }
}

/* ---------- Benefits ---------- */
section { padding: 80px 0; border-top: 1px solid var(--border); }
.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 640px;
}
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.benefit {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color .25s, transform .25s;
}
.benefit:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.benefit .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 18px;
  display: block;
}
.benefit h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.benefit p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step {
  padding: 0 32px 0 0;
  position: relative;
}
.step + .step { padding-left: 32px; border-left: 1px solid var(--border); }
.step .k {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; }
.plan {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
}
.plan.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 40%);
}
.plan .tag {
  position: absolute;
  top: -11px; left: 32px;
  background: var(--accent);
  color: #1a1308;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.plan h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 6px; }
.plan .desc { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan .price .amt { font-family: var(--serif); font-size: 48px; font-weight: 400; letter-spacing: -0.03em; }
.plan .price .per { color: var(--text-muted); font-size: 15px; }
.plan .price-note { color: var(--text-faint); font-size: 13px; margin-bottom: 28px; }
.plan ul { list-style: none; margin-bottom: 28px; }
.plan ul li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}
.plan ul li::before { content: "—"; color: var(--accent); }
.plan ul li:first-child { border-top: none; }
.plan .btn { width: 100%; justify-content: center; }
.plan .btn-ghost { width: 100%; justify-content: center; }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 48px;
  align-items: center;
}
.founder-img {
  aspect-ratio: 1/1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.founder-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); }
.founder blockquote {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  font-style: italic;
}
.founder .sig {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.founder .sig .name { font-weight: 600; font-size: 15px; }
.founder .sig .role { color: var(--text-muted); font-size: 13px; }
.founder .links { margin-top: 18px; display: flex; gap: 18px; font-size: 13px; }
.founder .links a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.founder .links a:hover { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  font-weight: 300;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "—"; }
.faq p { color: var(--text-muted); margin-top: 14px; font-size: 15px; line-height: 1.6; }

/* ---------- Footer ---------- */
footer { padding: 48px 0 32px; border-top: 1px solid var(--border); }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot p { color: var(--text-faint); font-size: 13px; }
.foot a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
.foot a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-img { aspect-ratio: 16/10; max-height: 420px; }
  .benefits, .steps, .pricing-grid, .founder { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 28px; margin-top: 28px; }
  .founder-img { max-width: 240px; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
}
