/* RAMP Product Website — www.run-book.de */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #7c3aed;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #263347;
  --border: #334155;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --success: #22c55e;
  --gradient: linear-gradient(135deg, #2563eb, #7c3aed);
  --gradient-text: linear-gradient(135deg, #38bdf8, #818cf8);
  --max-w: 1140px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Navigation ─────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0.75rem 1.5rem;
}

.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; }
.nav-logo svg { width: 36px; height: 36px; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.8rem; color: var(--text-dim);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 6px; padding: 0.3rem 0.6rem; transition: border-color 0.2s;
}
.lang-switch:hover { border-color: var(--text-muted); }
.lang-switch .active { color: var(--text); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 600; padding: 0.6rem 1.5rem;
  border-radius: 8px; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: #fff; }
.btn-large { font-size: 1rem; padding: 0.8rem 2rem; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; color: var(--primary);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 100px; padding: 0.35rem 1rem; margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 1.25rem;
}

.hero h1 .gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem; color: var(--text-muted);
  max-width: 640px; margin: 0 auto 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Logos / Trust ──────────────────────────────── */
.trust {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust p { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; }

.trust-items { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { font-size: 1rem; font-weight: 600; color: var(--text-dim); }

/* ── Features ───────────────────────────────────── */
.features { padding: 5rem 0; }
.features .section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-2px); }

.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* ── How it works ───────────────────────────────── */
.workflow { padding: 5rem 0; }

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.workflow-step { text-align: center; position: relative; }

.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 1.4rem; font-weight: 700; color: #fff;
  margin-bottom: 1rem;
}

.workflow-step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.workflow-step p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Editions ───────────────────────────────────── */
.editions { padding: 5rem 0; }

.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.edition-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.2s;
}
.edition-card:hover { border-color: var(--primary); }
.edition-card.highlight { border-color: var(--primary); background: rgba(37, 99, 235, 0.05); }

.edition-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.edition-card .limit { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
.edition-card .label { font-size: 0.85rem; color: var(--text-dim); }

/* ── Deployment ─────────────────────────────────── */
.deployment { padding: 5rem 0; }

.deploy-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.deploy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.deploy-card:hover { border-color: var(--primary); }
.deploy-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.deploy-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── CTA ────────────────────────────────────────── */
.cta {
  padding: 5rem 0;
  text-align: center;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
}

.cta-box h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.cta-box p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────── */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: var(--text-dim); }

/* ── Mobile menu ────────────────────────────────── */
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 0.5rem; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem; gap: 1rem;
  }
  .hero h1 { font-size: 2.25rem; }
  .features-grid { grid-template-columns: 1fr; }
  .editions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .editions-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
