/* ============================================================
   Lebenslauf Generator — Landing (Verxa AI)
   Standalone Premium-Dark-Theme
   ============================================================ */

:root {
  --bg: #0a0a0c;
  --bg-soft: #101014;
  --surface: #141419;
  --surface-2: #1a1a21;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #f4f4f6;
  --muted: #9d9da8;
  --muted-2: #6e6e78;
  --brand: #6d7cf5;
  --brand-strong: #4f46e5;
  --brand-soft: rgba(109, 124, 245, 0.14);
  --grad: linear-gradient(100deg, #a5b4fc 0%, #6d7cf5 45%, #818cf8 100%);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  --font-display: "Space Grotesk", "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(109, 124, 245, 0.35); color: #fff; }

a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, #7c8cf8 0%, var(--brand-strong) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(99, 102, 241, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-light { background: #fff; color: #12121a; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(255, 255, 255, 0.4); }

.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 12, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled { background: rgba(10, 10, 12, 0.82); border-bottom-color: var(--line-soft); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}
.brand-mark { display: inline-flex; filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.5)); }
.brand-text { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(109, 124, 245, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 9px 17px; font-size: 14px; }
.nav-actions .btn-ghost { color: var(--muted); }
.nav-actions .btn-ghost:hover { color: var(--text); }

.nav-quiet { display: none; }
.nav-actions .btn-ghost[href="editor.html"] { display: inline-flex; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0 11px;
}
.nav-burger span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 10, 12, 0.96);
}
.nav-mobile a {
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--muted);
}
.nav-mobile a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.nav-mobile .btn { justify-content: center; margin-top: 10px; color: #fff; }
body.nav-open .nav-mobile { display: flex; }

/* ---------- Shared ---------- */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(109, 124, 245, 0.26);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px 2px rgba(109, 124, 245, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.6; }
}

.section { padding: 110px 28px; max-width: 1200px; margin: 0 auto; }
.section-alt { position: relative; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
}
.section-sub { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 28px 70px;
  overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 35%, transparent 78%);
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-a {
  width: 560px; height: 560px;
  top: -180px; left: 8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.32), transparent 65%);
}
.hero-glow-b {
  width: 480px; height: 480px;
  bottom: -160px; right: 4%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 65%);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lead {
  margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 540px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.trust svg { color: var(--brand); flex-shrink: 0; }

/* Hero visual — CSS-only CV mock */
.hero-visual { position: relative; justify-self: center; }

.cv-mock {
  display: grid;
  grid-template-columns: 34% 1fr;
  width: min(400px, 86vw);
  aspect-ratio: 210 / 285;
  background: #fbfbfd;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 90px -30px rgba(99, 102, 241, 0.4);
  overflow: hidden;
  transform: rotate(2.2deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: rotate(2.2deg) translateY(0); }
  50% { transform: rotate(1.4deg) translateY(-12px); }
}

.cv-mock-side {
  background: linear-gradient(165deg, #2b2f44 0%, #1c1e2c 100%);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
}
.cv-mock-photo {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.cv-mock-main { padding: 26px 20px; display: flex; flex-direction: column; }

.mock-line { height: 8px; border-radius: 5px; background: #e2e2ea; margin-bottom: 9px; }
.mock-line.light { background: rgba(255, 255, 255, 0.16); }
.mock-title { height: 15px; width: 62%; border-radius: 6px; background: #2b2f44; margin-bottom: 10px; }
.mock-label { height: 7px; width: 34%; border-radius: 5px; background: #7c8cf8; margin-bottom: 12px; opacity: 0.85; }
.mock-label.light { background: rgba(255, 255, 255, 0.32); }
.mock-gap { height: 16px; }
.mock-bar {
  height: 6px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 10px;
  overflow: hidden;
}
.mock-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #8b9aff, #b3a6ff); }

.w70 { width: 70%; } .w50 { width: 50%; } .w80 { width: 80%; } .w60 { width: 60%; }
.w40 { width: 40%; } .w90 { width: 90%; } .w95 { width: 95%; } .w85 { width: 85%; }

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(20, 20, 26, 0.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.7);
  animation: floaty2 6s ease-in-out infinite;
}
.chip svg { color: var(--brand); }
.chip-a { top: 9%; left: -9%; animation-delay: 0.4s; }
.chip-b { bottom: 24%; right: -11%; animation-delay: 1.3s; }
.chip-c { bottom: -5%; left: 6%; animation-delay: 2.1s; }
@keyframes floaty2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: flex; justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--brand);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 24px 60px -28px rgba(79, 70, 229, 0.5);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(109, 124, 245, 0.3);
  margin-bottom: 20px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgba(129, 140, 248, 0.3); }

.step-num {
  position: absolute;
  top: -22px; left: 26px;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #7c8cf8, var(--brand-strong));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(99, 102, 241, 0.7);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin: 8px 0 10px;
}
.step p { color: var(--muted); font-size: 15px; }

.center-cta { text-align: center; margin-top: 58px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 40px 28px 120px; }

.cta-band-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 76px 32px;
  border-radius: 30px;
  background:
    radial-gradient(120% 160% at 50% -40%, rgba(124, 140, 248, 0.34) 0%, transparent 55%),
    linear-gradient(180deg, #16161d 0%, #101015 100%);
  border: 1px solid rgba(129, 140, 248, 0.22);
  overflow: hidden;
}
.cta-band-inner::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.cta-band-inner h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.cta-band-inner p { position: relative; margin: 18px auto 34px; color: var(--muted); font-size: 17px; max-width: 480px; }
.cta-band-inner .btn { position: relative; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  background: #08080a;
  padding: 64px 28px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer-brand p { margin-top: 16px; color: var(--muted-2); font-size: 14.5px; max-width: 300px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 14.5px;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 28px;
  text-align: center;
}
.footer-bottom p { font-size: 13.5px; color: var(--muted-2); }
.footer-bottom a { color: var(--muted); font-weight: 600; transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.cards .card:nth-child(2), .steps .step:nth-child(2) { transition-delay: 0.08s; }
.cards .card:nth-child(3), .steps .step:nth-child(3) { transition-delay: 0.16s; }
.cards .card:nth-child(5) { transition-delay: 0.08s; }
.cards .card:nth-child(6) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cv-mock, .chip, .eyebrow-dot, .scroll-cue span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .trust { justify-content: center; }
  .hero-visual { margin-top: 6px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost[href="editor.html"] { display: none; }
  .nav-actions .btn-primary { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 84px 20px; }
  .hero { padding: 120px 20px 90px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps { gap: 34px; }
  .chip-a { left: -2%; }
  .chip-b { right: -2%; }
  .cta-band { padding: 20px 16px 90px; }
  .cta-band-inner { padding: 60px 22px; border-radius: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}
