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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #e0e0e0;
  line-height: 1.6;
  background: #0a0a0a;
  background-image: 
    radial-gradient(at 40% 20%, rgba(106, 17, 203, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(37, 117, 252, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(106, 17, 203, 0.1) 0px, transparent 50%);
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.9), rgba(37, 117, 252, 0.9));
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: #fff;
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

header .container {
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

header p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.2s both;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar */
.navbar {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.navbar ul li a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.navbar ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  transition: width 0.3s ease;
}

.navbar ul li a:hover {
  color: #fff;
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* Abschnitte */
.section {
  padding: 4rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.section h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 3rem;
  font-weight: 700;
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  border-radius: 2px;
}

.section p {
  color: #b0b0b0;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
}

/* Projekte */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.project.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.project.project-link * {
  pointer-events: none;
}

.project-github-link,
.project-github-link * {
  pointer-events: auto;
}

/* Verhindere, dass Links innerhalb der Projektkarte die Projektkarte-Styles erben */
.project.project-link a {
  text-decoration: none;
  color: inherit;
  display: inline;
  font-weight: inherit;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.project:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px rgba(106, 17, 203, 0.3);
  border-color: rgba(106, 17, 203, 0.5);
}

.project:hover::before {
  transform: scaleX(1);
}

/* Alle Überschriften zentrieren */
h1, h2, h3, h4, h5, h6 {
  text-align: center;
}

.project h3 {
  color: #fff;
  margin: 1rem 0 1.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.project p {
  color: #b0b0b0;
  text-align: left;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project ul {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.project ul li {
  color: #c0c0c0;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.project ul li:last-child {
  border-bottom: none;
}

/* Links innerhalb der Projektkarte (nicht die Karte selbst) */
.project:not(.project-link) a,
.project.project-link > a:not(.project-link) {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

.project:not(.project-link) a:hover,
.project.project-link > a:not(.project-link):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.5);
}

.project-github-link {
  margin-top: 1.5rem;
  text-align: center;
}

.project-github-link a {
  display: inline-block;
  text-decoration: none;
  color: #6a11cb;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.project-github-link a:hover {
  color: #2575fc;
  background: rgba(106, 17, 203, 0.1);
}

/* Kontakt */
form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

form label {
  display: block;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

form input, form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(20, 20, 20, 0.6);
  color: #e0e0e0;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: #6a11cb;
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
  background: rgba(25, 25, 25, 0.8);
}

form input::placeholder, form textarea::placeholder {
  color: #666;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button {
  display: inline-block;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.5);
}

form button:active {
  transform: translateY(0);
}

form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

form button:disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(37, 117, 252, 0.2);
  border: 1px solid rgba(37, 117, 252, 0.5);
  color: #4fc3f7;
}

.form-status.error {
  display: block;
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.5);
  color: #ef5350;
}

/* Formular-Validierung */
form input:invalid:not(:placeholder-shown),
form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(244, 67, 54, 0.5);
}

form input:valid:not(:placeholder-shown),
form textarea:valid:not(:placeholder-shown) {
  border-color: rgba(76, 175, 80, 0.5);
}

/* Footer */
footer {
  padding: 2rem;
  background: rgba(10, 10, 10, 0.8);
  color: #888;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-content p {
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 17, 203, 0.5);
  background: rgba(40, 40, 40, 0.8);
  box-shadow: 0 4px 12px rgba(106, 17, 203, 0.2);
}

.social-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

.social-link span {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 4rem 0;
  }
  
  .navbar ul {
    gap: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .projects {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  form {
    padding: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }

  .why-content {
    grid-template-columns: 1fr;
  }

  .domain-content {
    grid-template-columns: 1fr;
  }

  .security-content {
    grid-template-columns: 1fr;
  }

  .case-section {
    padding: 1rem;
  }

  .tech-snapshot {
    padding: 1.5rem;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6a11cb, #2575fc);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7a21db, #3585fc);
}

/* Projektübersichtsseiten */
.project-detail {
  max-width: 1000px;
  margin: 0 auto;
}

.project-detail .lead {
  font-size: 1.2rem;
  color: #d0d0d0;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
}

.highlight-box {
  background: rgba(106, 17, 203, 0.1);
  border: 1px solid rgba(106, 17, 203, 0.3);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.highlight-box.success {
  background: rgba(37, 117, 252, 0.1);
  border-color: rgba(37, 117, 252, 0.3);
}

.highlight-box h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-align: center;
}

.highlight-box p {
  color: #c0c0c0;
  line-height: 1.7;
}

.highlight-box a {
  color: #6a11cb;
  text-decoration: none;
  font-weight: 600;
}

.highlight-box a:hover {
  text-decoration: underline;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-card {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.info-card h4 {
  color: #6a11cb;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.info-card p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.info-card .subtext {
  color: #888;
  font-size: 0.9rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(106, 17, 203, 0.5);
  box-shadow: 0 8px 24px rgba(106, 17, 203, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-align: center;
}

.feature-card p {
  color: #b0b0b0;
  line-height: 1.7;
}

.workflow-section {
  margin: 3rem 0;
}

.workflow-section h3 {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.workflow-step {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.workflow-step h4 {
  color: #fff;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-align: center;
}

.workflow-step p {
  color: #b0b0b0;
  line-height: 1.7;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tech-category {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
}

.tech-category h3 {
  color: #6a11cb;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-align: center;
}

.tech-category ul {
  list-style: none;
  padding: 0;
}

.tech-category ul li {
  color: #b0b0b0;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.7;
}

.tech-category ul li:last-child {
  border-bottom: none;
}

.tech-category ul li strong {
  color: #fff;
}

.code-stats {
  margin: 3rem 0;
  text-align: center;
}

.code-stats h3 {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  color: #b0b0b0;
  font-size: 1rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.link-card {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(106, 17, 203, 0.5);
  box-shadow: 0 8px 24px rgba(106, 17, 203, 0.3);
}

.link-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  text-align: center;
}

.link-card p {
  color: #b0b0b0;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.link-arrow {
  color: #6a11cb;
  font-size: 1.5rem;
  font-weight: 700;
  align-self: flex-end;
}

.admin-features {
  margin: 3rem 0;
}

.admin-features h3 {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.admin-card {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.admin-card h4 {
  color: #6a11cb;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-align: center;
}

/* Tech Snapshot */
.tech-snapshot {
  padding: 2rem;
  background: rgba(30, 30, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.tech-snapshot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-snapshot ul li {
  color: #b0b0b0;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.7;
}

.tech-snapshot ul li:last-child {
  border-bottom: none;
}

.tech-snapshot ul li strong {
  color: #e0e0e0;
  font-weight: 600;
}


/* 404 Error Page Styles */
.error-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 0;
}

.error-icon {
  font-size: 6rem;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.error-description {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.error-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

.error-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.5);
}

.error-button.secondary {
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.error-button.secondary:hover {
  background: rgba(40, 40, 40, 0.8);
  border-color: rgba(106, 17, 203, 0.5);
}

/* Case Study Section */
.case-study-content {
  max-width: 900px;
  margin: 0 auto;
}

.case-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(30, 30, 30, 0.4);
  border-left: 3px solid rgba(106, 17, 203, 0.5);
  border-radius: 8px;
}

.case-section h3 {
  color: #6a11cb;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-align: center;
}

.case-section p {
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.case-section ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.case-section ul li {
  color: #c0c0c0;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}

.case-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #6a11cb;
}

.case-section ul li strong {
  color: #e0e0e0;
}

/* Architecture Section */
.architecture-section,
.security-section {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(30, 30, 30, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.architecture-section h3,
.security-section h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.architecture-content ul {
  list-style: none;
  padding: 0;
}

.architecture-content ul li {
  color: #b0b0b0;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.7;
}

.architecture-content ul li:last-child {
  border-bottom: none;
}

.architecture-content ul li strong {
  color: #e0e0e0;
}

/* Security Section */
.security-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.security-item {
  padding: 1.5rem;
  background: rgba(20, 20, 20, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.security-item h4 {
  color: #6a11cb;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  text-align: center;
}

.security-item p {
  color: #b0b0b0;
  line-height: 1.7;
  margin: 0;
}

/* Screenshots Section */
.screenshots-section {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(30, 30, 30, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshots-section h3 {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-align: center;
}

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

.screenshot-item {
  display: flex;
  flex-direction: column;
}

.screenshot-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  background: rgba(20, 20, 20, 0.6);
}

.screenshot-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(106, 17, 203, 0.3);
  border-color: rgba(106, 17, 203, 0.5);
}

.screenshot-caption {
  margin-top: 0.8rem;
  color: #b0b0b0;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
}

.screenshot-placeholder {
  aspect-ratio: 16 / 9;
  background: rgba(20, 20, 20, 0.6);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.screenshot-placeholder:hover {
  border-color: rgba(106, 17, 203, 0.5);
  background: rgba(30, 30, 30, 0.8);
}

.screenshot-content {
  text-align: center;
  color: #888;
}

.screenshot-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.screenshot-content p {
  color: #b0b0b0;
  font-weight: 600;
  margin: 0.5rem 0;
}

.screenshot-note {
  font-size: 0.85rem;
  color: #666;
  display: block;
}

/* Why TutorFlow Section */
.why-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.why-section {
  padding: 2rem;
  background: rgba(30, 30, 30, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-section h3 {
  color: #6a11cb;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  text-align: center;
}

.why-section ul {
  list-style: none;
  padding: 0;
}

.why-section ul li {
  color: #b0b0b0;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.8;
}

.why-section ul li:last-child {
  border-bottom: none;
}

.why-section ul li strong {
  color: #e0e0e0;
}

/* Status Block */
.status-block {
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(30, 30, 30, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-block h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  text-align: center;
}

.status-content p {
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.status-content p strong {
  color: #e0e0e0;
}

.status-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.status-content ul li {
  color: #b0b0b0;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}

.status-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #6a11cb;
}

/* Domain Logic Section */
.domain-logic-section {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(30, 30, 30, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.domain-logic-section h3 {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-align: center;
}

.domain-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.domain-item {
  padding: 1.5rem;
  background: rgba(20, 20, 20, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.domain-item h4 {
  color: #6a11cb;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-align: center;
}

.domain-item p {
  color: #b0b0b0;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.domain-item ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.domain-item ul li {
  color: #b0b0b0;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}

.domain-item ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #6a11cb;
}

.domain-item ul li strong {
  color: #e0e0e0;
}

/* Prominent Link Card */
.link-card.prominent {
  border: 2px solid rgba(106, 17, 203, 0.5);
  background: rgba(106, 17, 203, 0.1);
}

.link-card.prominent:hover {
  border-color: rgba(106, 17, 203, 0.8);
  background: rgba(106, 17, 203, 0.15);
  box-shadow: 0 8px 24px rgba(106, 17, 203, 0.4);
}

.admin-card p {
  color: #b0b0b0;
  line-height: 1.6;
}
