/* ── Hero ─────────────────────────────────────────────── */

.intro-hero {
  padding: 72px 0 64px;
  text-align: center;
  background: #d1c4e9;
  border-radius: 32px;
  margin-top: -1px;
}

.intro-hero .intro-logo {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
}

.intro-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.intro-hero-sub {
  font-size: 1.1rem;
  color: #333;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.intro-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.intro-hero-actions .badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.intro-hero-actions .badges img {
  height: 44px;
}

/* ── Card Section ─────────────────────────────────────── */

.intro-section { padding: 48px 0 64px; }

.intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.intro-card h1 { font-size: 2rem; margin-bottom: 12px; color: var(--primary); }

.intro-logo {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
}

.intro-card .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.intro-card h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 12px;
}

.intro-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

/* ── Lists ───────────────────────────────────────────── */

.intro-card .highlight-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.intro-card .highlight-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.intro-card .highlight-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.intro-card .emoji-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.intro-card .emoji-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.intro-card .emoji-list li::before {
  content: "🏃";
  position: absolute;
  left: 0;
  top: 0;
}

.intro-card .pain-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.intro-card .pain-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.intro-card .pain-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.3;
}

/* ── Screenshots ─────────────────────────────────────── */

.intro-card .screenshot {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 28px auto;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 6px solid #1a1a1a;
  background: #1a1a1a;
}

.intro-card .screenshot-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px 0 0;
}

.intro-card .screenshot-row img {
  width: 45%;
  max-width: 240px;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(94, 53, 177, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  outline: 5px solid #1a1a1a;
  outline-offset: -1px;
  background: #1a1a1a;
  display: block;
}

/* ── CTA ─────────────────────────────────────────────── */

.intro-cta {
  text-align: center;
  margin-top: 44px;
  padding: 36px 28px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #f3eefa 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(94, 53, 177, 0.1);
}

.intro-cta .cta-heading {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.intro-cta .cta-subtext {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

/* ── Callout / Infobox ───────────────────────────────── */

.callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.callout p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

/* ── Expandable (modern) ─────────────────────────────── */

.expandable {
  background: linear-gradient(135deg, var(--primary-light) 0%, #f3eefa 100%);
  border: 1px solid rgba(94, 53, 177, 0.12);
  border-radius: var(--radius);
  margin: 28px 0;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.expandable:hover {
  border-color: rgba(94, 53, 177, 0.25);
  box-shadow: 0 4px 16px rgba(94, 53, 177, 0.08);
}

.expandable summary {
  padding: 16px 22px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  transition: background 0.2s ease;
  border-radius: var(--radius);
}

.expandable summary:hover {
  background: rgba(94, 53, 177, 0.06);
}

.expandable summary::-webkit-details-marker { display: none; }

.expandable summary::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.5 4.5l5.5 5.5-5.5 5.5' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.5 4.5l5.5 5.5-5.5 5.5' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expandable[open] summary::before {
  transform: rotate(90deg);
}

.expandable .expandable-content {
  padding: 0 22px 24px;
  animation: expandFadeIn 0.35s ease forwards;
}

@keyframes expandFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Screenshot grid ─────────────────────────────────── */

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px auto;
  max-width: 340px;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 12px;
  outline: 3px solid #1a1a1a;
  outline-offset: -1px;
  background: #1a1a1a;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 600px) {
  .intro-hero { padding: 48px 20px 40px; border-radius: 0; }
  .intro-hero h1 { font-size: 1.8rem; }
  .intro-card { padding: 28px 20px; }
  .intro-card h1 { font-size: 1.6rem; }
  .intro-card .screenshot-row img { width: 80%; max-width: 260px; }
  .screenshot-grid { max-width: 280px; gap: 8px; }
}
