/* ------------------------------------------------------------------
   lead-generator.css
   Modern Apple-Style / SaaS-Clean + Light Mode + optional Cyberpunk
   Replace the existing file at /mnt/data/lead-generator.css
   ------------------------------------------------------------------ */

/* TYPOGRAPHY: prefer system UI, fallbacks to Inter / Poppins if available */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Poppins:wght@400;600&display=swap');

:root {
  /* Core colors (Dark) */
  --bg: #0b1220;               /* overall page dark background */
  --panel: rgba(255,255,255,0.04);
  --panel-2: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.06);
  --accent: #2dd4bf;           /* teal cyan for action */
  --accent-2: #60a5fa;         /* blue accent for secondary */
  --muted: #94a3b8;
  --text: #e6eef8;
  --radius: 16px;
  --gap: 18px;
  --blur: 14px;

  /* Progress bar colors */
  --progress-bg: rgba(255,255,255,0.06);
  --progress-fill: linear-gradient(90deg,var(--accent), var(--accent-2));

  /* shadow */
  --shadow-soft: 0 8px 30px rgba(2,6,23,0.6);
  --shadow-lift: 0 18px 50px rgba(2,6,23,0.65);

  /* small UI */
  --muted-2: rgba(255,255,255,0.6);
}

/* Light mode: override variables (toggle by adding .light on .lg-container) */
.lg-container.light {
  --bg: #f6f9fb;
  --panel: rgba(12,18,28,0.02);
  --panel-2: rgba(12,18,28,0.01);
  --glass-border: rgba(12,18,28,0.06);
  --accent: #2563eb;
  --accent-2: #06b6d4;
  --muted: #6b7280;
  --text: #0b1220;
  --progress-bg: rgba(12,18,28,0.04);
  --shadow-soft: 0 10px 30px rgba(11,18,32,0.08);
  --shadow-lift: 0 18px 50px rgba(11,18,32,0.08);
  --muted-2: rgba(11,18,32,0.6);
}

/* Optional Cyber/Neon look on top: add .cyber to .lg-container */
.lg-container.cyber {
  --accent: #ff2d95;
  --accent-2: #7c3aed;
  --progress-fill: linear-gradient(90deg, #ff2d95, #7c3aed, #00e5ff);
  filter: saturate(1.05);
}

/* Base layout */
* { box-sizing: border-box; }
body { background: var(--bg); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }

.lg-container {
  max-width: 920px;
  margin: 36px auto;
  padding: 28px;
  border-radius: calc(var(--radius) + 6px);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Inter, Poppins, Arial, sans-serif;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow-soft);
  transition: background 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

/* Header area */
.lg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.lg-title-wrap {
  display:flex;
  flex-direction:column;
  gap:6px;
}
/* small progress label */
.lg-progress-small {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* H1 */
.lg-h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  line-height:1.05;
}

/* Animated progress bar -- visual */
.lg-progress {
  width: 340px;
  height: 10px;
  background: var(--progress-bg);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: inset 0 -6px 18px rgba(0,0,0,0.25);
}
.lg-progress .lg-progress-fill {
  height:100%;
  width:0%;
  background: var(--progress-fill);
  border-radius:999px;
  transition: width 600ms cubic-bezier(.2,.9,.2,1), box-shadow 300ms;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 18px rgba(0,0,0,0.12) inset;
}

/* Question card (Glass) */
.lg-question-card {
  display:flex;
  align-items:center;
  gap:18px;
  padding:18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lift);
}

/* hero icon block */
.lg-hero {
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-size:30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.02);
  color: var(--text);
}

/* grid of options */
.lg-grid {
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}

/* card (single option) */
.lg-card {
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
  cursor:pointer;
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms, background 220ms, border-color 220ms;
  transform-origin: center;
  box-shadow: 0 6px 18px rgba(2,6,23,0.45);
  will-change: transform;
}

.lg-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Wichtig für echte Zentrierung */
    line-height: 1 !important; 
    font-size: 22px;
    
    /* Rest deines Styles */
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.03);
    color: var(--text);
}



/* soft-scale hover */
.lg-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 50px rgba(2,6,23,0.6);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.06);
}

/* active state with gentle glow */
.lg-card.active {
  transform: translateY(-6px) scale(1.02);
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 22px 60px rgba(0,0,0,0.6), 0 0 28px rgba(45,212,191,0.08);
  outline: 4px solid rgba(45,212,191,0.06);
}

/* card icon */
.lg-card-icon {
  width:52px;
  height:52px;
  min-width:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-size:20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.03);
  color:var(--text);
}

/* card content */
.lg-card-content > div:first-child {
  font-weight:700;
  font-size:15px;
  color:var(--text);
}
.lg-card-content > div:last-child {
  font-size:13px;
  color:var(--muted);
}

/* controls */
.lg-controls {
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-top:18px;
  align-items:center;
}
.lg-btn {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight:700;
  border:none;
  cursor:pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,0.24);
  transition: transform 160ms ease, filter 160ms ease;
}
.lg-btn:hover { transform: translateY(-3px); filter: brightness(1.02); }

.lg-btn.lg-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.04);
  color: var(--muted-2);
  box-shadow:none;
}

/* lead form (glass) */
.lg-lead-form {
  margin-top:20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:22px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.03);
  box-shadow: var(--shadow-lift);
}
.lg-field { margin-bottom: 12px; display:flex; flex-direction:column; gap:6px; }
.lg-field label { font-size:13px; color:var(--muted); font-weight:600; }
.lg-field input, .lg-field textarea {
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.03);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  font-size:14px;
}
.lg-field input:focus, .lg-field textarea:focus {
  outline:none;
  box-shadow: 0 8px 28px rgba(45,212,191,0.06);
  border-color: var(--accent);
}

/* result box */
.lg-result-box {
  margin-top:18px;
  padding:22px;
  border-radius:12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(0,0,0,0.08);
  text-align:center;
}

/* responsive */
@media (max-width: 800px) {
  .lg-grid { grid-template-columns: 1fr; }
  .lg-progress { width: 200px; }
  .lg-container { padding:18px; margin:12px; }
}

/* small utility */
.text-muted { color: var(--muted); font-size:13px; }

/* subtle shake (used by JS for invalid next) */
.lg-grid.shake { animation: shake .45s; }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* END OF CSS */