/**
 * ═══════════════════════════════════════════════════════════
 * FLOWBOTICS - HOMEPAGE SPECIFIC STYLES
 * css/pages/home.css
 * ═══════════════════════════════════════════════════════════
 * 
 * Previously inline styles from index.html
 * Workflow pipeline, step cards, form elements
 */

/* ───────────────────────────────────────────────────────────
   WORKFLOW PIPELINE
   ─────────────────────────────────────────────────────────── */

.workflow-pipeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.pipeline-step {
  flex: 0 0 280px;
  position: relative;
}

.step-card {
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 72px 24px 32px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.4) 0%, rgba(101, 175, 225, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  border-color: rgba(217, 70, 239, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(217, 70, 239, 0.1);
}

.step-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.8) 0%, rgba(101, 175, 225, 0.6) 100%);
}

.step-num-large {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #0a0a0a;
  border: 2px solid #D946EF;
  color: #D946EF;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.3);
}

.step-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(217, 70, 239, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D946EF;
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.pipeline-step[data-step="2"] .step-icon {
  color: #A78BFA;
  background: rgba(167, 139, 250, 0.1);
}

.step-card h3 {
  font-size: 1.25rem;
  margin: 0 0 8px;
  color: #fff;
}

.pipeline-step[data-step="2"] .step-num-large {
  border-color: #A78BFA;
  color: #A78BFA;
}

.step-card p {
  margin: 0;
  color: #888;
  font-size: 0.95rem;
}

/* Pipeline Arrows */
.pipeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  color: rgba(101, 175, 225, 0.4);
}

.pipeline-arrow svg {
  width: 40px;
  height: 24px;
}

/* ───────────────────────────────────────────────────────────
   SPRINT PARTNER LOGOS
   ─────────────────────────────────────────────────────────── */

.sprint-partner-logo-header {
  height: 26px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.sprint-partner-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sprint-partner-logos .sprint-partner-logo-header {
  height: 22px;
}

.sprint-card:hover .sprint-partner-logo-header {
  opacity: 1;
}

/* ───────────────────────────────────────────────────────────
   FORM ELEMENTS
   ─────────────────────────────────────────────────────────── */

.required {
  color: #ff6b6b;
  margin-left: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.5;
  padding: 12px 0;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid rgba(101, 175, 225, 0.4);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #65AFE1;
  border-color: #65AFE1;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
  box-shadow: 0 0 0 2px rgba(101, 175, 225, 0.3);
}

.checkbox-text a {
  color: #65AFE1;
  text-decoration: underline;
}

.checkbox-text a:hover {
  color: #8fcaf0;
}

/* ───────────────────────────────────────────────────────────
   ANIMATIONS
   ─────────────────────────────────────────────────────────── */

.pipeline-step {
  opacity: 0;
  transform: translateY(30px);
}

.pipeline-step.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.pipeline-step[data-step="1"].revealed { transition-delay: 0s; }
.pipeline-step[data-step="2"].revealed { transition-delay: 0.2s; }
.pipeline-step[data-step="3"].revealed { transition-delay: 0.4s; }

.pipeline-arrow {
  opacity: 0;
}

.pipeline-arrow.revealed {
  opacity: 1;
  transition: opacity 0.4s ease 0.6s;
}

/* ───────────────────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .workflow-pipeline {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .pipeline-arrow {
    transform: rotate(90deg);
  }
  
  .pipeline-step {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }
}

/* Hero Subtitle - aligned with sprint pages */
.hero-subline {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* ═══════════════════════════════════════════════════════════
   FULL VIEWPORT LANDING (Hero + Tech Stack)
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 76px); /* Full viewport minus tech strip height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 40px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════
   TECH STACK STRIP (unter Hero)
   ═══════════════════════════════════════════════════════════ */
.tech-stack-strip {
  background: #000;
  padding: 20px 0;
  text-align: center;
}

.tech-strip-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.tech-strip-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.tech-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-strip-item:hover {
  background: rgba(101, 175, 225, 0.1);
  border-color: rgba(101, 175, 225, 0.3);
  transform: translateY(-2px);
}

.tech-strip-item img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.tech-strip-item:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .tech-stack-strip {
    padding: 16px 0;
  }
  
  .tech-strip-inner {
    padding: 0 16px;
  }
  
  .tech-strip-icons {
    gap: 20px;
  }
  
  .tech-strip-item {
    width: 32px;
    height: 32px;
  }
  
  .tech-strip-item img {
    width: 18px;
    height: 18px;
  }
  
  .tech-strip-item.desktop-only {
    display: none;
  }
}
