/* ========================================
   PAGE LAYOUT - Shared Components
   ======================================== */

.page-content {
  padding: 140px 60px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.page-description {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 48px;
}

/* ========================================
   FEATURES PAGE
   ======================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

/* ========================================
   COMMANDS PAGE
   ======================================== */

.command-category {
  margin-bottom: 40px;
}

.command-category h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary2);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.command-list {
  display: grid;
  gap: 16px;
}

.command-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s ease;
}

.command-item:hover {
  border-color: var(--primary);
}

.command-name {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
}

.command-desc {
  color: var(--text-muted);
  font-size: 14px;
}

/* ========================================
   SETUP PAGE
   ======================================== */

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
}

.step-content {
  color: var(--text-muted);
  line-height: 1.8;
}

.step-content code {
  background: rgba(99, 102, 241, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  color: var(--primary2);
}

.code-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 13px;
  overflow-x: auto;
  color: var(--text-muted);
}

/* ========================================
   TEAM PAGE
   ======================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.avatar-image {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center;

  position: absolute;
  top: 0;
  left: 0;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;

  margin: 0 auto 20px; 
  position: relative;
}

.team-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-role {
  color: var(--primary2);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Add Member Card */
.add-member-card {
  background: transparent;
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.add-member-card:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}

.add-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary2);
  margin-bottom: 16px;
}

.add-text {
  color: var(--text-muted);
  font-size: 14px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
}

.modal h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.modal-buttons .btn {
  flex: 1;
}

/* ========================================
   SUPPORT PAGE
   ======================================== */

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.support-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.support-icon {
  width: 56px;
  height: 56px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.support-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.support-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ */
.faq-section {
  margin-top: 60px;
}

.faq-section h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 14px;
}

/* ========================================
   DATENSCHUTZ PAGE
   ======================================== */

.legal-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.legal-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary2);
}

.legal-section p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  padding-left: 24px;
}

.legal-section li {
  margin-bottom: 8px;
}

.contact-info {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.contact-info p {
  margin: 0;
  color: var(--text);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .page-content {
    padding: 120px 24px 40px;
  }

  .page-header {
    font-size: 36px;
  }

  .page-description {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .feature-grid,
  .support-options,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .command-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .step {
    padding: 24px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .step-title {
    font-size: 18px;
  }
}