/* Global Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111;
  color: #eee;
}

/* Header */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  background: #1e1e1e;
  color: #66d9ef;
  text-align: center;
}

.header .back-btn {
  align-self: flex-end;
  margin-top: -40px;
}


.back-btn {
  text-decoration: none;
  color: #66d9ef;
  background: #111;
  border: 1px solid #333;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.back-btn:hover {
  background: #222;
}

/* Card Layout */
.card-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px 20px;
  max-width: 800px;
  margin: 0 auto;
}


.card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 20px;
  color: #eee;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(102, 217, 239, 0.1);
}

.card details summary {
  cursor: pointer;
  font-size: 1.2rem;
  color: #66d9ef;
  margin-bottom: 10px;
  outline: none;
}

.card pre {
  background: #111;
  padding: 10px;
  border-radius: 6px;
  overflow-x: auto;
  margin-top: 10px;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.copy-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #007bff;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s ease;
}

.copy-btn:hover {
  background: #0056b3;
}

/* Landing Page Hero */
.hero {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.4rem;
  color: #ddd;
}

.platform-section {
  padding: 40px 20px;
  background-color: #1c1c1c;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #66d9ef;
  margin-bottom: 40px;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.platform-card {
  background-color: #222;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 25px;
  width: 260px;
  text-align: center;
  color: #eee;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card img {
  width: 100px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 15px;
}

.platform-card h3 {
  color: #66d9ef;
  margin-bottom: 10px;
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(102, 217, 239, 0.3);
}

/* Responsive */
@media (max-width: 500px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}
