/* components-hero.css, reusable UI pieces part 1 of 2 (split from components.css).
   Owns: buttons, store badges, hero and phone mock with all mock rules verbatim,
   deco shapes. Cascade order: third of five, before components-sections.css. */

/* ---------- Buttons & badges ---------- */

.btn {
  display: inline-block;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--shadow-color);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--shadow-color); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shadow-color); }

.btn-primary { background: var(--primary-strong); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); color: #fff; }
.btn-primary:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--shadow-color); }
.btn-primary:disabled, .btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-secondary { background: var(--surface); color: var(--primary-ink); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 0.95rem; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.store-badge:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--shadow-color); color: #fff; }
.store-badge small { display: block; font-size: 0.7rem; font-weight: 600; opacity: 0.85; }
.store-badge-text { line-height: 1.2; }

.store-badge-dark { box-shadow: var(--shadow-hard); }
.store-badge-dark:hover { box-shadow: 5px 5px 0 var(--shadow-color); }

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 92, 246, 0.10), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(244, 114, 182, 0.10), transparent 34%);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-ink);
  background: #F1E9FF;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  max-width: 34em;
}
.hero-note a {
  display: inline-block;
  padding: 10px 2px;
  margin: -10px 0;
}

/* Phone frame base (P-0215.005 owns the faithful decision screen inside
   .phone-screen, see css/mock.css). Only the frame and hero-visual live here. */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.phone-mock {
  width: min(280px, 80vw);
  aspect-ratio: 9 / 19;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 36px;
  box-shadow: 8px 8px 0 var(--primary);
  padding: 10px;
  position: relative;
}

.phone-screen {
  height: 100%;
  background: linear-gradient(180deg, #FFFDF5 0%, #F5E9FF 100%);
  border-radius: 28px;
  padding: 36px 14px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Memphis decorations, subdued flat CSS shapes only, no images or motion */
.deco { position: absolute; }
.deco-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  background: rgba(244, 114, 182, 0.10);
  top: 0; right: 8%;
  opacity: 0.7;
}
.deco-triangle {
  width: 0; height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 28px solid rgba(251, 191, 36, 0.35);
  bottom: 10px; left: 6%;
  opacity: 0.7;
}
.deco-cross {
  width: 20px; height: 20px;
  background:
    linear-gradient(var(--primary), var(--primary)) center/100% 4px no-repeat,
    linear-gradient(var(--primary), var(--primary)) center/4px 100% no-repeat;
  opacity: 0.35;
  top: 18%; left: 2%;
}

@media (prefers-reduced-motion: reduce) {
  .deco { display: none; }
  .btn, .store-badge { transition: none; }
}
