* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
  min-height: 100vh;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 32px;
  color: white;
}

.header h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.header p {
  margin: 8px 0 0 0;
  font-size: 16px;
  opacity: 0.9;
}

/* Capability Cards */
.capability-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 20px 20px 16px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top: 5px solid #4FACFE;
}

.capability-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.capability-icon {
  font-size: 22px;
  line-height: 1;
}

.capability-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
}

/* Feature Lists */
.feature-list {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #4FACFE;
  font-weight: 700;
}

/* Newest capabilities — same sparkle used on the homepage's What's New card */
.feature-list li.is-new {
  font-weight: 600;
  color: #1e293b;
}

.new-badge {
  margin-right: 4px;
}

/* Back Button */
.back-button {
  display: block;
  width: 100%;
  padding: 16px 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  background: white;
  color: #4FACFE;
  text-decoration: none;
  text-align: center;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s, transform 0.2s;
  box-sizing: border-box;
}

.back-button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 36px;
  }

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