/* ----------------------------------------------------------------
   StitchMotion landing page — centered, benefit-focused.
---------------------------------------------------------------- */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f1;
  --bg-card: #ffffff;
  --fg: #0e1116;
  --fg-soft: #4a5160;
  --fg-mute: #7a8294;
  --line: #e6e3dc;
  --accent: #4f7cff;
  --accent-soft: rgba(79, 124, 255, 0.12);
  --accent-fg: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.08), 0 40px 100px rgba(15,30,80,.18);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --max-narrow: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --bg-soft: #14181f;
    --bg-card: #161a22;
    --fg: #f1f2f5;
    --fg-soft: #b6bcc9;
    --fg-mute: #7a8294;
    --line: #232833;
    --accent: #6f96ff;
    --accent-soft: rgba(111, 150, 255, 0.16);
    --accent-fg: #0e1116;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 40px rgba(0,0,0,.45);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.5), 0 50px 120px rgba(80,120,255,.18);
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
               "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--fg); text-decoration: none; }
h1, h2, h3 { letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }

/* ----- topbar ----- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 36px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }

.topnav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.topnav a { color: var(--fg-soft); font-size: 14.5px; font-weight: 500; }
.topnav a:hover { color: var(--fg); }

.lang-toggle {
  appearance: none; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 4px 4px 10px;
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--fg-soft);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .15s, color .15s;
}
.lang-toggle:hover { color: var(--fg); border-color: color-mix(in srgb, var(--fg) 25%, transparent); }
.lang-toggle .lang-current { letter-spacing: .05em; }
.lang-toggle .lang-other {
  background: var(--fg); color: var(--bg);
  padding: 3px 8px; border-radius: 999px; font-size: 11.5px; letter-spacing: .05em;
}

/* ----- hero (centered) ----- */
.hero {
  max-width: var(--max);
  margin: clamp(40px, 7vw, 96px) auto clamp(40px, 6vw, 80px);
  padding: 0 clamp(16px, 4vw, 36px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px; border-radius: 999px;
  margin: 0 0 22px;
}

.display {
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.04; font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.028em;
  max-width: 900px;
}

.lede {
  font-size: clamp(16.5px, 1.4vw, 20px);
  color: var(--fg-soft);
  margin: 0 0 30px;
  max-width: 640px;
}

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: color-mix(in srgb, var(--fg) 88%, var(--accent)); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--fg) 35%, transparent); }
.btn-lg { padding: 14px 24px; font-size: 16px; }

.hero-meta {
  font-size: 13px; color: var(--fg-mute);
  margin: 0;
}

/* ----- hero shot (app screenshot) ----- */
.hero-shot {
  margin: clamp(34px, 5vw, 64px) auto 0;
  width: 100%; max-width: 1080px;
  position: relative;
  isolation: isolate;
}
.hero-shot::before {
  content: ""; position: absolute; inset: -10% -5% auto -5%; height: 60%;
  background: radial-gradient(60% 60% at 50% 40%,
    color-mix(in srgb, var(--accent) 55%, transparent) 0%,
    transparent 70%);
  filter: blur(80px); opacity: .35;
  z-index: -1;
}
.hero-shot img {
  width: 100%; height: auto; display: block;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

/* ----- sections ----- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) clamp(16px, 4vw, 36px);
}
.section-muted {
  background: var(--bg-soft);
  max-width: none;
}
.section-muted > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section-head {
  max-width: var(--max-narrow);
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15; margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.section-head p {
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: var(--fg-soft);
  margin: 0 auto;
  max-width: 640px;
}

/* ----- bullet-grid (3 benefit cards per section) ----- */
.bullet-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.bullet-grid li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  text-align: left;
  transition: border-color .15s, transform .15s;
}
.bullet-grid li:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-2px);
}
.bullet-grid h3 {
  font-size: 17px; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.bullet-grid p {
  font-size: 14.5px; color: var(--fg-soft); margin: 0;
}

/* ----- aspect-row (Social section visual) ----- */
.aspect-row {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: center; align-items: flex-end;
}
.aspect-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
}
.aspect-frame {
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-weight: 700; font-size: 17px; letter-spacing: 0.04em;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 18%, transparent);
}
.aspect-16-9 .aspect-frame { width: 240px; height: 135px; }
.aspect-9-16 .aspect-frame { width: 110px; height: 196px; }
.aspect-1-1  .aspect-frame { width: 170px; height: 170px; }
.aspect-card p {
  font-size: 13.5px; color: var(--fg-soft); max-width: 220px;
}

/* ----- style-list (3 horizontal items) ----- */
.style-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.style-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.style-list strong {
  font-size: 17px; letter-spacing: -0.01em;
}
.style-list span {
  font-size: 14.5px; color: var(--fg-soft);
}

/* ----- mini-grid ("Und noch mehr") ----- */
.mini-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.mini-grid li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.mini-grid strong { font-size: 15.5px; }
.mini-grid span { font-size: 14px; color: var(--fg-soft); }

/* ----- pricing ----- */
.plan-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 800px; margin: 0 auto;
}
.plan {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.plan h3 { font-size: 20px; margin: 0 0 4px; }
.plan-price { font-size: 26px; font-weight: 700; margin: 4px 0 20px; }
.plan-price-iap { font-size: 14.5px; font-weight: 500; color: var(--fg-soft); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li {
  padding-left: 26px; position: relative;
  font-size: 14.5px; color: var(--fg-soft);
}
.plan li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan-pro {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 16px 60px color-mix(in srgb, var(--accent) 18%, transparent);
}
.plan-badge {
  position: absolute; top: -10px; right: 24px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
}

/* ----- final CTA ----- */
.section-cta { text-align: center; }
.section-cta h2 { font-size: clamp(28px, 3.8vw, 40px); margin: 0 0 12px; }
.section-cta p { color: var(--fg-soft); margin: 0 auto 26px; max-width: 540px; }
.cta-soon { font-size: 13px; color: var(--fg-mute); margin-top: 14px; }

/* ----- footer ----- */
footer {
  border-top: 1px solid var(--line);
  padding: 34px clamp(16px, 4vw, 36px);
  font-size: 13.5px; color: var(--fg-soft);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand strong { color: var(--fg); }
.footer-credits { text-align: right; max-width: 520px; }
.footer-credits p { margin: 0 0 4px; }
.footer-copy { color: var(--fg-mute); font-size: 12.5px; }
.footer-copy a { color: var(--fg-soft); border-bottom: 1px dotted var(--line); }
.footer-copy a:hover { color: var(--fg); }

@media (max-width: 640px) {
  .footer-credits { text-align: left; }
  .topnav a:not(.lang-toggle) { display: none; }
  .aspect-16-9 .aspect-frame { width: 200px; height: 113px; }
  .aspect-9-16 .aspect-frame { width: 90px; height: 160px; }
  .aspect-1-1  .aspect-frame { width: 140px; height: 140px; }
}
