/* =========================================
   AI Architekten – Custom CSS
   Only effects that Tailwind utilities cannot express.
   ========================================= */

:root {
  --accent: #7c5cff;
  --accent2: #24e0ff;
  --good: #36f1a7;
  --warn: #ffcc66;
}

/* Body background (multi-layer radial gradients) */
body {
  background:
    radial-gradient(1200px 700px at 65% -10%, rgba(124, 92, 255, 0.28), transparent 55%),
    radial-gradient(900px 600px at 20% 10%, rgba(36, 224, 255, 0.14), transparent 60%),
    radial-gradient(700px 500px at 80% 40%, rgba(54, 241, 167, 0.10), transparent 60%),
    linear-gradient(180deg, #05060a 0%, #05060a 40%, #070a12 100%);
}

/* Background grid overlay */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.06;
  mask-image: radial-gradient(600px 400px at 50% 15%, black 0%, transparent 65%);
}

/* Glass card glow pseudo-element */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.35);
}

.glass::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(500px 250px at 20% 0%, rgba(36, 224, 255, 0.08), transparent 55%),
    radial-gradient(500px 250px at 80% 20%, rgba(124, 92, 255, 0.10), transparent 60%);
  pointer-events: none;
  opacity: 0.65;
}

.glass > * { position: relative; }

/* Hero card enhanced glow */
.hero-card::before {
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(36, 224, 255, 0.18), transparent 55%),
    radial-gradient(700px 400px at 90% 20%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(700px 400px at 70% 110%, rgba(54, 241, 167, 0.10), transparent 55%);
  inset: -2px;
}

/* Gradient text */
.grad {
  background: linear-gradient(135deg, rgba(36, 224, 255, 1), rgba(124, 92, 255, 1) 55%, rgba(54, 241, 167, 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Logo */
.logo {
  background:
    radial-gradient(circle at 30% 30%, rgba(36, 224, 255, 0.9), rgba(124, 92, 255, 0.85) 55%, rgba(6, 7, 10, 0.1) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0));
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.25);
}

.logo::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 180deg, transparent, rgba(255, 255, 255, 0.10), transparent);
  animation: spin 7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50% { opacity: 0.6; box-shadow: 0 0 12px 4px currentColor; }
}

/* Checkmark icon */
.check::after {
  content: "";
  position: absolute;
  left: 4px; top: 3px;
  width: 6px; height: 3px;
  border-left: 2px solid rgba(54, 241, 167, 0.95);
  border-bottom: 2px solid rgba(54, 241, 167, 0.95);
  transform: rotate(-45deg);
}

/* Clean list checkmarks */
ul.clean li i::after {
  content: "";
  position: absolute;
  left: 5px; top: 4px;
  width: 7px; height: 4px;
  border-left: 2px solid rgba(36, 224, 255, 0.95);
  border-bottom: 2px solid rgba(36, 224, 255, 0.95);
  transform: rotate(-45deg);
}

/* Decorative orbs */
.orb--accent {
  background: radial-gradient(circle, var(--accent), transparent 70%);
}
.orb--cyan {
  background: radial-gradient(circle, var(--accent2), transparent 70%);
}
.orb--green {
  background: radial-gradient(circle, var(--good), transparent 70%);
}

/* Terminal dots */
.term-dots i:nth-child(1) { background: rgba(255, 99, 99, 0.7) !important; }
.term-dots i:nth-child(2) { background: rgba(255, 204, 102, 0.7) !important; }
.term-dots i:nth-child(3) { background: rgba(54, 241, 167, 0.55) !important; }

/* Product accent gradients */
.product-accent--lab       { background: linear-gradient(90deg, var(--accent2), var(--accent)); }
.product-accent--executive { background: linear-gradient(90deg, var(--accent), var(--warn)); }
.product-accent--blueprint { background: linear-gradient(90deg, var(--good), var(--accent2)); }

/* Product icons (CSS-only shapes) */
.product-icon--lab {
  background: linear-gradient(135deg, rgba(36, 224, 255, 0.12), rgba(124, 92, 255, 0.08));
  border: 1px solid rgba(36, 224, 255, 0.2);
}
.product-icon--lab::before {
  content: "";
  width: 22px; height: 18px;
  border: 2px solid rgba(36, 224, 255, 0.6);
  border-radius: 4px;
  position: relative;
}
.product-icon--lab::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(36, 224, 255, 0.3);
  box-shadow: 0 0 12px rgba(36, 224, 255, 0.4);
}

.product-icon--exec {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(255, 204, 102, 0.08));
  border: 1px solid rgba(124, 92, 255, 0.2);
}
.product-icon--exec::before {
  content: "";
  width: 0; height: 0;
  border-left: 10px solid rgba(124, 92, 255, 0.6);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

.product-icon--bp {
  background: linear-gradient(135deg, rgba(54, 241, 167, 0.12), rgba(36, 224, 255, 0.08));
  border: 1px solid rgba(54, 241, 167, 0.2);
}
.product-icon--bp::before {
  content: "";
  width: 20px; height: 20px;
  background:
    linear-gradient(90deg, rgba(54, 241, 167, 0.5) 1px, transparent 1px),
    linear-gradient(0deg, rgba(54, 241, 167, 0.5) 1px, transparent 1px);
  background-size: 7px 7px;
}

/* Section label decorative lines */
.section-label::before,
.section-label::after {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent2));
}
.section-label::after {
  background: linear-gradient(90deg, var(--accent2), transparent);
}

/* Timeline nodes */
.timeline-node::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
}

.timeline-step:nth-child(1) .timeline-node {
  border-color: rgba(36, 224, 255, 0.5);
  background: rgba(36, 224, 255, 0.08);
  box-shadow: 0 0 30px rgba(36, 224, 255, 0.2);
}
.timeline-step:nth-child(1) .timeline-node::after {
  background: var(--accent2);
  box-shadow: 0 0 12px var(--accent2);
}

.timeline-step:nth-child(2) .timeline-node {
  border-color: rgba(124, 92, 255, 0.5);
  background: rgba(124, 92, 255, 0.08);
  box-shadow: 0 0 30px rgba(124, 92, 255, 0.2);
}
.timeline-step:nth-child(2) .timeline-node::after {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.timeline-step:nth-child(3) .timeline-node {
  border-color: rgba(54, 241, 167, 0.5);
  background: rgba(54, 241, 167, 0.08);
  box-shadow: 0 0 30px rgba(54, 241, 167, 0.2);
}
.timeline-step:nth-child(3) .timeline-node::after {
  background: var(--good);
  box-shadow: 0 0 12px var(--good);
}

/* Timeline connecting line */
.timeline::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(36, 224, 255, 0.5),
    rgba(124, 92, 255, 0.5) 50%,
    rgba(54, 241, 167, 0.5)
  );
  border-radius: 2px;
}

/* Sequence step arrows */
.sequence-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

/* Sequence step colors */
.sequence-step:nth-child(1) .sequence-num { color: var(--accent2); }
.sequence-step:nth-child(2) .sequence-num { color: var(--accent); }
.sequence-step:nth-child(3) .sequence-num { color: var(--good); }

/* Lab step number colors */
.lab-step:nth-child(1) .lab-step-num {
  border: 1px solid rgba(36, 224, 255, 0.3);
  background: rgba(36, 224, 255, 0.08);
  color: var(--accent2);
}
.lab-step:nth-child(2) .lab-step-num {
  border: 1px solid rgba(124, 92, 255, 0.3);
  background: rgba(124, 92, 255, 0.08);
  color: var(--accent);
}
.lab-step:nth-child(3) .lab-step-num {
  border: 1px solid rgba(54, 241, 167, 0.3);
  background: rgba(54, 241, 167, 0.08);
  color: var(--good);
}

/* FAQ accordion */
.faq-question::after {
  content: "+";
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  color: var(--accent2);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Featured price card glow */
.price-card-featured {
  border-color: rgba(124, 92, 255, 0.35) !important;
  box-shadow: 0 22px 80px rgba(124, 92, 255, 0.18);
}
.price-card-featured::before {
  background:
    radial-gradient(600px 300px at 30% -20%, rgba(124, 92, 255, 0.25), transparent 55%),
    radial-gradient(600px 300px at 80% 80%, rgba(36, 224, 255, 0.15), transparent 60%);
  opacity: 0.8;
}

/* Primary button gradient */
.btn-primary {
  border: 1px solid rgba(124, 92, 255, 0.55);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(36, 224, 255, 0.65));
  box-shadow: 0 14px 40px rgba(124, 92, 255, 0.22);
  color: #071022;
}
.btn-primary:hover { filter: brightness(1.05); }

/* Status dot */
.dot {
  background: radial-gradient(circle at 30% 30%, var(--good), rgba(54, 241, 167, 0.15));
  box-shadow: 0 0 20px rgba(54, 241, 167, 0.35);
}

/* Badge gradient */
.badge-gradient {
  background: linear-gradient(135deg, rgba(54, 241, 167, 0.95), rgba(36, 224, 255, 0.75));
}

/* Problem number gradient text */
.problem-number {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Showcase highlight */
.showcase-highlight {
  border: 1px solid rgba(36, 224, 255, 0.2);
  background: rgba(36, 224, 255, 0.04);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Modal overlay */
.modal-overlay { display: none; }

/* Trust icon backgrounds */
.trust-icon--tech {
  background: linear-gradient(135deg, rgba(36, 224, 255, 0.10), rgba(124, 92, 255, 0.08));
  border: 1px solid rgba(36, 224, 255, 0.2);
}
.trust-icon--secure {
  background: linear-gradient(135deg, rgba(54, 241, 167, 0.10), rgba(36, 224, 255, 0.08));
  border: 1px solid rgba(54, 241, 167, 0.2);
}
.trust-icon--speed {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.10), rgba(255, 204, 102, 0.08));
  border: 1px solid rgba(124, 92, 255, 0.2);
}

/* Format item counter */
.format-item { counter-increment: fmt; }
.format-item::before {
  content: counter(fmt);
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(124, 92, 255, 0.3);
  background: rgba(124, 92, 255, 0.08);
  color: var(--accent);
}

/* =========================================
   KI-Evolution Grid
   ========================================= */

.evolution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.evolution-step {
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.evolution-step:first-child { border-radius: 20px 0 0 20px; }
.evolution-step:last-child  { border-radius: 0 20px 20px 0; }

.evolution-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.evolution-step:nth-child(1) { background: rgba(255, 255, 255, 0.015); }
.evolution-step:nth-child(2) { background: rgba(255, 255, 255, 0.025); }
.evolution-step:nth-child(3) { background: rgba(255, 255, 255, 0.035); }
.evolution-step:nth-child(4) { background: rgba(255, 255, 255, 0.045); }

.evolution-step:nth-child(1)::before { background: linear-gradient(90deg, rgba(109, 118, 144, 0.4), rgba(109, 118, 144, 0.1)); }
.evolution-step:nth-child(2)::before { background: linear-gradient(90deg, rgba(167, 176, 200, 0.4), rgba(167, 176, 200, 0.1)); }
.evolution-step:nth-child(3)::before { background: linear-gradient(90deg, rgba(36, 224, 255, 0.5), rgba(36, 224, 255, 0.1)); }
.evolution-step:nth-child(4)::before { background: linear-gradient(90deg, rgba(124, 92, 255, 0.6), rgba(124, 92, 255, 0.1)); }

.evo-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.evolution-step:nth-child(1) .evo-num { color: #6d7690; }
.evolution-step:nth-child(2) .evo-num { color: #a7b0c8; }
.evolution-step:nth-child(3) .evo-num { color: var(--accent2); }
.evolution-step:nth-child(4) .evo-num { color: var(--accent); }

@media (max-width: 768px) {
  .evolution-grid { grid-template-columns: 1fr; }
  .evolution-step { border-radius: 0 !important; }
  .evolution-step:first-child { border-radius: 20px 20px 0 0 !important; }
  .evolution-step:last-child  { border-radius: 0 0 20px 20px !important; }
}


/* =========================================
   Manifest Quote
   ========================================= */

.manifest-quote {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.3px;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, var(--accent2), var(--accent)) 1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 20px 20px 0;
}


/* =========================================
   Phase Blocks (Drei-Phasen-Modell)
   ========================================= */

.phase-block {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phase-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.phase-block--explore { background: rgba(36, 224, 255, 0.03); }
.phase-block--explore::before { background: linear-gradient(180deg, var(--accent2), transparent); }

.phase-block--understand { background: rgba(124, 92, 255, 0.03); }
.phase-block--understand::before { background: linear-gradient(180deg, var(--accent), transparent); }

.phase-block--scale { background: rgba(54, 241, 167, 0.03); }
.phase-block--scale::before { background: linear-gradient(180deg, var(--good), transparent); }

.phase-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.phase-block--explore .phase-num  { color: var(--accent2); }
.phase-block--understand .phase-num { color: var(--accent); }
.phase-block--scale .phase-num    { color: var(--good); }


/* =========================================
   Journal Cards
   ========================================= */

.journal-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.journal-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border: 1px solid rgba(36, 224, 255, 0.2);
  border-radius: 999px;
  background: rgba(36, 224, 255, 0.06);
}

.article-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 8px var(--accent2);
}


/* Responsive: hide timeline line + sequence arrows on mobile */
@media (max-width: 768px) {
  .timeline::before { display: none; }
  .sequence-step:not(:last-child)::after { display: none; }
}
