/* ═══════════════════════════════════════════════════════════
   home.css — SWHD landing hero + tutorial button list
   Same neobrutalism system as the linktree (base.css vars),
   just without avatar / cover photo / personal bio.
═══════════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  padding: 76px 20px 30px;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ── Kicker badge — small pill above the wordmark ─────────── */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid rgba(10,10,10,0.14);
  box-shadow: 0 6px 16px -8px rgba(10,10,10,0.18);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: breathe 2.6s ease-in-out infinite;
}

/* ── Wordmark ──────────────────────────────────────────────
   SWHD stacked over MATHABOT, matching the app's own reference
   layout but in the site's ink/blue neobrutalist palette. ──── */
.hero-wordmark {
  margin-top: 10px;
  line-height: 0.92;
}

.hero-wordmark .line-1 {
  display: block;
  font-size: clamp(3.2rem, 17vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
  -webkit-text-stroke: 0;
}

.hero-wordmark .line-2 {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.5rem, 7vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--blue);
}

.hero-tagline {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.6;
  max-width: 300px;
  margin-top: 6px;
}

/* ── Tutorial buttons ──────────────────────────────────────
   Two big tappable cards. Deliberately not identical: each
   gets its own accent color, icon rotation and a different
   reveal flavor so the pair doesn't read as one stamped-out
   block (the "jangan monoton" note). ─────────────────────── */
.tutorial-list {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 8px auto 40px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tutorial-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: var(--border-w) solid var(--ink);
  box-shadow: 5px 5px 0 var(--card-shadow, var(--ink));
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.16s var(--ease-spring), box-shadow 0.16s var(--ease-spring);
  -webkit-user-select: none; user-select: none;
}

.tutorial-card:nth-child(2) { --tilt: 0.6deg; }
.tutorial-card:nth-child(1) { --tilt: -0.6deg; }
.tutorial-card:nth-child(3) { --tilt: 0.5deg; }

.tutorial-card:hover {
  transform: translate(-3px, -3px) rotate(var(--tilt, 0deg));
  box-shadow: 8px 8px 0 var(--card-shadow, var(--ink));
}
.tutorial-card:active {
  transform: translate(3px, 3px) rotate(var(--tilt, 0deg));
  box-shadow: 1px 1px 0 var(--card-shadow, var(--ink));
}

.tutorial-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--icon-color, var(--blue));
  border: var(--border-w) solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: transform 0.2s var(--ease-spring);
}
.tutorial-card:hover .tutorial-icon { transform: rotate(-8deg) scale(1.08); }

.tutorial-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tutorial-label {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-3);
}
.tutorial-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.tutorial-sub { font-size: 0.78rem; color: var(--gray-2); font-weight: 500; }

.tutorial-arrow { flex-shrink: 0; color: var(--ink); transition: transform 0.18s var(--ease-spring); }
.tutorial-card:hover .tutorial-arrow { transform: translateX(4px) rotate(-10deg); }

.tutorial-ripple { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: var(--radius); }

/* ── Coba Bot CTA — pill button, centered, WA-green ───────── */
.try-cta-section {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 4px 20px 8px;
}

.try-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--green);
  border: var(--border-w) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s var(--ease-spring), box-shadow 0.16s var(--ease-spring);
  -webkit-user-select: none; user-select: none;
}

.try-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}
.try-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

.try-btn svg { flex-shrink: 0; }

/* ── Footer note ───────────────────────────────────────────── */
.hero-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px 20px 48px;
  font-size: 0.72rem;
  color: var(--gray-3);
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 540px) {
  .hero-section { padding: 96px 40px 40px; }
  .hero-content { max-width: 640px; }
  .tutorial-list { max-width: 640px; }
  .tutorial-title { font-size: 1.15rem; }
}
