/* ============================================================
   RECASTER · LANDING  (recaster.eu)
   Styles for the locale-templated home page. Palette/typography
   come from /brand/tokens.css. Layout mirrors the design file
   (Recaster Landing.dc.html) translated from inline styles.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--base);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: rgba(196,167,231,0.3); }
a { color: var(--foam); text-decoration: none; }
a:hover { color: var(--iris); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 10px 16px; background: var(--iris); color: var(--on-iris);
  border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: var(--on-iris); }

/* ---- Scroll reveal (CSS-only, safe fallback) ---- */
.reveal { opacity: 1; }
@keyframes revealIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: revealIn linear both; animation-timeline: view(); animation-range: entry 4% cover 26%; }
}
@keyframes glowDrift {
  0%, 100% { opacity: 0.5; transform: translate(-8%, -4%) scale(1); }
  50%      { opacity: 0.8; transform: translate(6%, 3%) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none !important; opacity: 1; transform: none; }
  .hero-glow, .cta-glow { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(35,33,54,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-2);
}
.nav-wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lockup { display: flex; align-items: center; gap: 11px; }
.logo-badge {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--iris) 0%, var(--rose) 55%, var(--gold) 100%);
  color: var(--on-iris); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; font-family: var(--font-mono);
  box-shadow: 0 4px 16px rgba(196,167,231,0.35);
}
.logo-badge-sm { width: 30px; height: 30px; border-radius: 8px; font-size: 14px; }
.wordmark {
  font-size: 16px; font-weight: 700;
  background: linear-gradient(100deg, var(--text) 0%, var(--iris) 55%, var(--foam) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 13.5px; }
.nav-link { color: var(--subtle); }
.nav-link:hover { color: var(--text); }
.btn-nav {
  padding: 8px 16px; border-radius: 9px; background: var(--iris); color: var(--on-iris);
  font-weight: 700; box-shadow: 0 4px 16px rgba(196,167,231,0.28);
}
.btn-nav:hover { background: #d3bcee; color: var(--on-iris); }
.lang-seg { display: inline-flex; border: 1px solid var(--border-2); border-radius: var(--r-pill); overflow: hidden; }
.lang-seg a { padding: 5px 11px; color: var(--muted); font-size: 12px; font-weight: 650; font-family: var(--font-mono); }
.lang-seg a:hover { color: var(--text); }
.lang-seg a.active { background: var(--overlay); color: var(--text); }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; top: -160px; left: 50%; width: 1000px; height: 520px;
  margin-left: -500px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(196,167,231,0.2), rgba(156,207,216,0.08) 55%, transparent 72%);
  filter: blur(14px);
  animation: glowDrift 16s ease-in-out infinite;
}
.hero-grid {
  position: relative; z-index: 1;
  padding-top: 88px; padding-bottom: 64px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; color: var(--subtle); margin-bottom: 24px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--foam); }
.hero-h1 { font-size: 52px; font-weight: 800; }
.hero-h1 em, .grad-text {
  font-style: normal;
  background: linear-gradient(100deg, var(--iris) 0%, var(--rose) 60%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { font-size: 18px; color: var(--subtle); margin: 22px 0 0; max-width: 30em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-block; border-radius: var(--r-btn); font-size: 15px; font-weight: 650; }
.btn-pri {
  padding: 13px 26px;
  background: linear-gradient(120deg, var(--iris) 0%, #d9bdef 100%);
  color: var(--on-iris); font-weight: 700; box-shadow: var(--glow-iris);
}
.btn-pri:hover { background: linear-gradient(120deg, #cdb2ec, #e6cff7); color: var(--on-iris); }
.btn-sec { padding: 13px 24px; background: transparent; border: 1px solid var(--border-2); color: var(--text); }
.btn-sec:hover { border-color: var(--border-3); color: var(--text); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-lg { padding: 14px 30px; font-size: 15.5px; box-shadow: 0 10px 30px rgba(196,167,231,0.32); }
.trust-chips { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 12.5px; color: var(--muted); }

/* ---- Before → after visual ---- */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.doc { border-radius: 13px; padding: 16px; min-height: 240px; }
.doc-raw { background: var(--base); border: 1px solid var(--border); }
.doc-label { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.doc-pre {
  margin: 0; font-family: var(--font-mono); font-size: 9.5px; line-height: 1.75;
  color: var(--subtle); white-space: pre-wrap; word-break: break-word;
}
.ba-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-2);
  color: var(--iris); font-size: 16px;
}
.doc-clean { background: var(--surface-2); border: 1px solid var(--border-2); padding: 18px 16px; box-shadow: var(--shadow-card); }
.dc-head { text-align: center; border-bottom: 1px solid var(--border); padding-bottom: 11px; margin-bottom: 12px; }
.dc-name { font-size: 15px; font-weight: 700; color: var(--text); }
.dc-role { font-size: 10.5px; color: var(--iris); margin-top: 2px; }
.dc-meta { font-size: 9px; color: var(--muted); margin-top: 5px; font-family: var(--font-mono); }
.dc-label { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--subtle); margin: 0 0 6px; }
.dc-exp-role { font-size: 10.5px; color: var(--text); font-weight: 600; }
.dc-exp-dates { font-size: 9.5px; color: var(--muted); font-family: var(--font-mono); }
.dc-exp-desc { font-size: 10px; color: var(--subtle); margin: 3px 0 10px; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.dc-chips span { font-size: 9px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--overlay); color: var(--text); }
.dc-badge {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; color: var(--foam); padding: 2px 8px; border-radius: var(--r-pill);
  background: rgba(156,207,216,0.12); border: 1px solid rgba(156,207,216,0.3);
}

/* ============ SECTIONS ============ */
.section { padding: 40px 0 64px; }
.section-tight { padding: 24px 0 56px; }
.section-head { max-width: 40em; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; font-weight: 650; margin: 0; }
.eyebrow-rose { color: var(--rose); }
.eyebrow-foam { color: var(--foam); }
.eyebrow-iris { color: var(--iris); }
.sec-title { font-size: 34px; font-weight: 800; margin-top: 12px; }
.sec-sub { font-size: 15px; color: var(--subtle); margin: 14px 0 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; }
.card h3 { font-size: 16px; font-weight: 700; }
.card p { font-size: 13.5px; color: var(--subtle); margin: 8px 0 0; }
.card-emoji { font-size: 22px; margin-bottom: 12px; }
.step { padding: 22px; }
.step h3 { font-size: 15.5px; margin-top: 10px; }
.step p { font-size: 13px; margin-top: 7px; }
.num { font-family: var(--font-mono); font-size: 13px; color: var(--iris); font-weight: 700; }

.feat-ic {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.ic-iris { background: var(--iris-soft); border: 1px solid rgba(196,167,231,0.3); color: var(--iris); }
.ic-foam { background: var(--foam-soft); border: 1px solid rgba(156,207,216,0.3); color: var(--foam); }
.ic-gold { background: var(--gold-soft); border: 1px solid rgba(246,193,119,0.3); color: var(--gold); }
.ic-love { background: var(--love-soft); border: 1px solid rgba(235,111,146,0.3); color: var(--love); }
.ic-pine { background: var(--pine-soft); border: 1px solid rgba(62,143,176,0.35); color: var(--pine); }
.ic-rose { background: var(--rose-soft); border: 1px solid rgba(234,154,151,0.3); color: var(--rose); }

/* ---- Product shot (static batch-workspace mock) ---- */
.shot { margin-top: 44px; }
.browser {
  max-width: 880px; margin: 0 auto; border-radius: var(--r-box);
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-shot); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 15px;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-love { background: var(--love); }
.dot-gold { background: var(--gold); }
.dot-foam { background: var(--foam); }
.browser-url { margin-left: 10px; font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.mock { padding: 18px 20px 22px; }
.mock-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mock-title { font-size: 14px; font-weight: 700; color: var(--text); }
.mock-chip {
  font-size: 11px; color: var(--subtle); font-family: var(--font-mono);
  padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--overlay); border: 1px solid var(--border-2);
}
.mock-row {
  display: grid; grid-template-columns: 1.5fr 1fr auto auto; align-items: center; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.mock-row:last-child { border-bottom: none; }
.mock-file { font-size: 12px; color: var(--text); font-family: var(--font-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-bar { height: 5px; border-radius: var(--r-pill); background: var(--overlay); overflow: hidden; }
.mock-bar i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--iris), var(--foam)); }
.mock-status { font-size: 11px; font-weight: 650; white-space: nowrap; }
.st-done { color: var(--foam); }
.st-run  { color: var(--gold); }
.st-wait { color: var(--muted); }
.mock-dl { font-size: 11px; color: var(--foam); white-space: nowrap; }
.mock-dl-off { color: var(--muted); opacity: 0.45; }
.shot-caption { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ============ INTEGRATIONS ============ */
.int-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-box); padding: 34px; text-align: center; }
.int-title { font-size: 22px; font-weight: 750; }
.int-sub { font-size: 13.5px; color: var(--subtle); margin: 8px 0 22px; }
.int-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.int-chips span {
  padding: 10px 20px; border-radius: 10px; background: var(--overlay);
  border: 1px solid var(--border-2); font-size: 14px; font-weight: 650;
  color: var(--text); font-family: var(--font-mono);
}

/* ============ TRUST ============ */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.trust-grid .sec-title { font-size: 32px; }
.trust-p { font-size: 15px; color: var(--subtle); margin: 16px 0 0; }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.checks div { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.checks span { color: var(--foam); }
.shield-wrap { display: flex; justify-content: center; }
.shield-tile {
  width: 180px; height: 180px; border-radius: 24px;
  background: radial-gradient(circle at 50% 35%, rgba(156,207,216,0.18), transparent 70%);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}

/* ============ PRICING ============ */
.pricing-card { margin-top: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-box); overflow: hidden; }
.pricing-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricing-inner { min-width: 0; }
.pt-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; align-items: center; border-bottom: 1px solid var(--border); }
.pt-row:last-child { border-bottom: none; }
.pt-head {
  background: var(--surface-2); font-size: 11.5px; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--muted); font-weight: 650;
}
.pt-best { background: rgba(246,193,119,0.05); }
.pt-cell { padding: 16px; }
.pt-head .pt-cell { padding: 14px 16px; }
.pt-name { padding-left: 20px; display: flex; align-items: center; gap: 10px; }
.pt-num { text-align: right; font-size: 14px; color: var(--text); font-family: var(--font-mono); }
.pt-dim { color: var(--subtle); }
.pt-save { text-align: right; padding-right: 20px; }
.pack-name { font-size: 14.5px; font-weight: 700; color: var(--text); }
.pill { font-size: 10px; font-weight: 650; padding: 2px 8px; border-radius: var(--r-pill); white-space: nowrap; }
.pill-muted { background: var(--overlay); border: 1px solid var(--border-2); color: var(--subtle); }
.pill-gold { font-weight: 700; background: rgba(246,193,119,0.16); border: 1px solid rgba(246,193,119,0.4); color: var(--gold); }
.save-pill {
  font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--foam-soft); border: 1px solid rgba(156,207,216,0.35);
  color: var(--foam); white-space: nowrap;
}
.save-none { font-size: 12.5px; color: var(--muted); }
.pricing-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; padding: 18px 20px; border-top: 1px solid var(--border); background: var(--surface-2);
}
.pricing-foot-note { font-size: 13px; color: var(--subtle); }
.pricing-foot-note b { color: var(--text); }
.pricing-foot-ctas { display: flex; gap: 10px; }
.free-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  color: var(--text); font-size: 15px; font-weight: 650;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { font-size: 20px; color: var(--muted); flex-shrink: 0; line-height: 1; transition: transform 0.3s ease, color 0.3s ease; }
.faq-item[open] .faq-ic { color: var(--iris); transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 20px 18px; font-size: 13.5px; color: var(--subtle); line-height: 1.65; }

/* ============ FINAL CTA ============ */
.cta-final {
  position: relative; overflow: hidden; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 56px 32px; text-align: center;
}
.cta-glow {
  position: absolute; top: -120px; left: 50%; width: 700px; height: 360px;
  margin-left: -350px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(196,167,231,0.22), transparent 70%);
  filter: blur(10px);
}
.cta-inner { position: relative; }
.cta-inner p { font-size: 15.5px; color: var(--subtle); margin: 14px auto 28px; max-width: 30em; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--surface-2); }
.footer-wrap {
  padding-top: 36px; padding-bottom: 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-name { font-size: 14px; font-weight: 700; color: var(--text); }
.footer-tag { font-size: 11.5px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; }
.footer-links a { color: var(--subtle); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .hero-h1 { font-size: 40px; }
  .trust-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 33px; }
  .nav-link { display: none; }
  .pricing-inner { min-width: 560px; }
  .mock-row { grid-template-columns: 1.2fr 1fr auto; }
  .mock-dl { display: none; }
}
