/* AppStore Studio — Marketing-Landingpage
   Eigenständiges Stylesheet, komplett statisch, kein Build-Schritt. */

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/fonts/bebas-neue-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landing/fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/landing/fonts/inter-latin-700-normal.woff2') format('woff2');
}

:root {
  --bg: #121317;
  --bg-raised: #191b20;
  --bg-raised-2: #1f222a;
  --ink: #f4f1ea;
  --ink-dim: #9aa0ac;
  --ink-faint: #666c78;
  --accent: #f0a344;
  --accent-hover: #ffb85e;
  --accent-2: #ff6b57;
  --accent-ink: #201302;
  --line: #262a31;
  /* Bebas Neue/Inter decken nur lateinische + kyrillische Zeichen ab; für CJK,
     Devanagari, Arabisch/Urdu und Bengali übernehmen System-Fonts pro Zeichen
     automatisch die Lücke (Browser-Fallback greift pro Glyphe, nicht pro Wort). */
  --font-display: 'Bebas Neue', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans Devanagari', 'Noto Naskh Arabic', 'Noto Sans Bengali', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans Devanagari', 'Noto Naskh Arabic', 'Noto Sans Bengali', sans-serif;
  --font-mono: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 70% 50% at 15% -10%, rgba(240, 163, 68, 0.14), transparent),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(255, 107, 87, 0.08), transparent);
  background-repeat: no-repeat;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: rgba(18, 19, 23, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand span { font-weight: 700; font-size: 16px; letter-spacing: -0.2px; }
.nav-brand .studio { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 30px; font-size: 15.5px; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 88px 0 64px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(240, 163, 68, 0.25); }
h1.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 76px); line-height: 0.96; letter-spacing: 0.2px;
  margin: 0 0 22px; text-transform: uppercase;
}
h1.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { color: var(--ink-dim); font-size: 17px; line-height: 1.6; max-width: 460px; margin: 0 0 30px; }
.hero-ctas { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; flex-wrap: wrap; }
.hero-hint { color: var(--ink-faint); font-size: 12.5px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--accent); border: 1px solid rgba(240, 163, 68, 0.35);
  background: rgba(240, 163, 68, 0.07);
}
.badge svg { flex: none; }

/* ── Signature-Visual: Rohes Bild → fertiges Store-Asset ── */
.transform {
  position: relative; display: flex; align-items: center; justify-content: center;
  gap: 22px; padding: 20px;
}
.raw-shot {
  width: 108px; height: 220px; border-radius: 10px; flex: none;
  background: var(--bg-raised); border: 1px solid var(--line);
  padding: 12px 10px; display: flex; flex-direction: column; gap: 7px;
  opacity: 0; animation: rise 0.7s ease both;
}
.raw-shot span { display: block; height: 7px; border-radius: 3px; background: var(--bg-raised-2); }
.raw-shot span:nth-child(1) { width: 60%; height: 10px; margin-bottom: 4px; }
.raw-shot span:nth-child(4) { width: 40%; }
.raw-shot span:nth-child(6) { width: 75%; }
.raw-label, .done-label {
  position: absolute; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.raw-label { bottom: -22px; inset-inline-start: 30px; }
.done-label { bottom: -22px; inset-inline-end: 26px; }
.transform-arrow {
  color: var(--accent); flex: none; opacity: 0; animation: rise 0.7s ease 0.15s both;
}
.done-shot {
  width: 168px; height: 340px; border-radius: 26px; flex: none; position: relative;
  background: linear-gradient(165deg, #2a1b3d, var(--accent-2) 120%);
  border: 3px solid #0e0f12; box-shadow: 0 30px 60px -20px rgba(240, 163, 68, 0.35), 0 0 0 1px rgba(255,255,255,0.04);
  padding: 22px 14px 16px; display: flex; flex-direction: column; align-items: center;
  opacity: 0; animation: rise 0.7s ease 0.3s both;
}
.done-shot .headline {
  font-family: var(--font-display); font-size: 19px; line-height: 0.98; text-align: center;
  color: #fff; text-transform: uppercase; margin-bottom: 12px;
}
.done-shot .frame {
  width: 100%; flex: 1; border-radius: 14px; background: #14151a;
  border: 2px solid rgba(255,255,255,0.14); position: relative; overflow: hidden;
}
.done-shot .frame::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.18);
}
.done-shot .frame::after {
  content: ''; position: absolute; inset: 18px 8px 8px; border-radius: 8px;
  background: linear-gradient(160deg, #34384a, #1c1e26);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
/* RTL-Variante: die Aufdeck-Animation setzt `transform` selbst, eine
   statische scaleX(-1)-Regel würde vom Animationswert überschrieben. */
@keyframes rise-flip { from { opacity: 0; transform: translateY(14px) scaleX(-1); } to { opacity: 1; transform: translateY(0) scaleX(-1); } }

/* ── Sections ────────────────────────────────────── */
section { padding: 76px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 620px; margin: 0 0 44px; }
.kicker {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 10px;
}
h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.02; margin: 0 0 12px; letter-spacing: 0.2px;
}
.section-lead { color: var(--ink-dim); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint);
  margin-bottom: 14px; letter-spacing: 0.05em;
}
.step h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.step p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.6; margin: 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 28px; margin-left: -1px; }

/* Feature-Grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.card { background: var(--bg-raised); padding: 26px 22px; }
.card .icon {
  width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: rgba(240, 163, 68, 0.1); margin-bottom: 16px;
}
.card h3 { font-size: 14.5px; margin: 0 0 6px; font-weight: 700; }
.card p { color: var(--ink-dim); font-size: 12.5px; line-height: 1.55; margin: 0; }

/* Privacy */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.privacy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.privacy-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-dim); }
.privacy-list svg { flex: none; color: var(--accent); margin-top: 2px; }
.privacy-list strong { color: var(--ink); }

/* Final CTA */
.cta-band {
  border-top: 1px solid var(--line); padding: 84px 0; text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .section-lead { margin: 0 auto 30px; text-align: center; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-links { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--ink-faint); }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--ink); }
.copyright { font-size: 12px; color: var(--ink-faint); }

/* Sprachauswahl im Footer: <details>/<summary> statt <select> – braucht
   keine Zeile JavaScript, bleibt also mit der CSP der statischen Seite
   kompatibel (script-src 'self', kein inline onchange). */
.lang-dropdown { position: relative; }
.lang-dropdown summary {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  color: var(--ink-faint); font-size: 12.5px; list-style: none;
}
.lang-dropdown summary::-webkit-details-marker { display: none; }
.lang-dropdown summary:hover { color: var(--ink); }
.lang-dropdown[open] summary { color: var(--ink); }
.lang-dropdown summary .chev { transition: transform 0.15s ease; }
.lang-dropdown[open] summary .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; bottom: 100%; inset-inline-start: 0; margin-bottom: 8px;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 10px;
  padding: 6px; display: flex; flex-direction: column; min-width: 168px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45); z-index: 30;
}
.lang-menu a { padding: 7px 10px; border-radius: 6px; font-size: 13px; color: var(--ink-dim); text-decoration: none; white-space: nowrap; }
.lang-menu a:hover { background: var(--bg-raised-2); color: var(--ink); }
.lang-menu a[aria-current='true'] { color: var(--accent); font-weight: 700; }

/* ── RTL (Arabisch, Urdu) ────────────────────────── */
[dir='rtl'] .transform-arrow { animation-name: rise-flip; }
[dir='rtl'] .step + .step { border-left: none; border-right: 1px solid var(--line); padding-left: 0; padding-right: 28px; margin-left: 0; margin-right: -1px; }
@media (max-width: 880px) {
  [dir='rtl'] .step + .step { border-right: none; padding-right: 0; margin-right: 0; }
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .transform { margin-top: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step + .step { border-left: none; padding-left: 0; margin-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .privacy { grid-template-columns: 1fr; }
  footer.site-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: 0; }
  .done-shot { width: 140px; height: 290px; }
  .raw-shot { width: 88px; height: 190px; }
}
