/*
 * SKILLFLIRT landing page styles.
 *
 * Design notes:
 *   - Mobile-first. Desktop tweaks live in min-width: 720px and 1080px.
 *   - No external fonts. System sans for body, system display-y stack
 *     for the wordmark — sidesteps a 200ms FOIT on first paint.
 *   - "Photo" hero is pure CSS gradients + decorative SVG stickers.
 *     A real photo can drop in via `--hero-photo: url(...)` on .hero
 *     later without rewriting the layout.
 *   - The yellow section + polaroid grid borrow Zaply's hierarchy of
 *     "oversized text on flat colour + tilted photo strip below".
 *   - All accents use the same Stripe-return-page purple/pink palette
 *     so the brand reads consistently across web + in-app surfaces.
 */

* { box-sizing: border-box; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════ HERO ════════════ */
.hero {
  position: relative;
  min-height: 480px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
@media (min-width: 720px) {
  .hero { min-height: 580px; }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% -10%, #bef3ff 0%, #88c4ff 35%, #6595ec 75%, #4267c4 100%);
}
/* Soft silhouettes of "people from below" — pure CSS abstract shapes
   that read as warm bodies framing the sky in the centre. */
.hero__people {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, #6b3a18 0%, transparent 38%),
    radial-gradient(circle at 100% 100%, #a45b2e 0%, transparent 38%),
    radial-gradient(circle at 12% 70%, #b86d3a 0%, transparent 22%),
    radial-gradient(circle at 90% 75%, #d18348 0%, transparent 22%),
    radial-gradient(circle at 50% 110%, #efb46a 0%, transparent 26%);
  opacity: 0.85;
  mix-blend-mode: multiply;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
}

/* Top nav */
.topnav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}
.topnav__menu {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  width: 40px;
  height: 40px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 4px;
  padding: 0 10px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.topnav__menu span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.topnav__platforms {
  display: flex;
  gap: 8px;
  align-items: center;
}
.topnav__platforms a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(6px);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 80px;
}

.wordmark {
  margin: 0;
  font-family: "Inter Black", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: clamp(56px, 12vw, 128px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #fde047;
  -webkit-text-stroke: 2px #0a0118;
  text-stroke: 2px #0a0118;
  text-shadow:
    0 4px 0 #0a0118,
    0 16px 32px rgba(0,0,0,0.35);
}
.wordmark--footer {
  -webkit-text-stroke: 2px #0a0118;
  color: #fde047;
  font-size: clamp(48px, 9vw, 96px);
  text-shadow: 0 3px 0 #0a0118;
}

.tagline {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
}

/* Floating "Support / Vibes / Love" badges */
.badge {
  position: absolute;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  transform: rotate(var(--rot, 0deg));
}
.badge--support {
  background: #f43f5e;
  top: 12%;
  left: 8%;
  --rot: -8deg;
}
.badge--connection {
  background: #facc15;
  color: #1f1147;
  top: 14%;
  right: 8%;
  --rot: 10deg;
}
.badge--love {
  background: #a78bfa;
  bottom: 28%;
  left: 14%;
  --rot: -6deg;
}
.badge--happy {
  background: #38bdf8;
  bottom: 26%;
  right: 14%;
  --rot: 8deg;
}
@media (max-width: 720px) {
  .badge { font-size: 11px; padding: 5px 10px; }
  .badge--support { left: 4%; }
  .badge--connection { right: 4%; }
  .badge--love { left: 6%; bottom: 32%; }
  .badge--happy { right: 6%; bottom: 30%; }
}

/* ════════════ SECTIONS ════════════ */
.section {
  padding: 72px 0;
  position: relative;
}
.section--pale { background: var(--c-cream); }
.section--cream { background: #fff8ef; }
.section--yellow { background: var(--c-yellow); color: var(--c-ink); }
.section--split { background: #f3eaff; }
.section--premium {
  background: linear-gradient(135deg, var(--c-purple) 0%, var(--c-pink) 100%);
  color: #fff;
}

.h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.h2--center { text-align: center; }
.h2--white  { color: #fff; }
.lede {
  margin: 0 auto;
  max-width: 460px;
  font-size: 15px;
  color: var(--c-ink-mute);
  text-align: center;
}
.body { font-size: 15px; line-height: 1.6; color: var(--c-ink-mute); }
.container--text { text-align: center; }

/* Store buttons */
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cta--center { justify-content: center; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0a0118;
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  box-shadow: 0 8px 16px -8px rgba(0,0,0,0.4);
  transition: transform 120ms ease;
}
.store-btn:active { transform: translateY(1px) scale(0.99); }
.store-btn small { display: block; font-size: 9px; opacity: 0.7; letter-spacing: 0.12em; text-transform: uppercase; }
.store-btn strong { display: block; font-size: 15px; line-height: 1.1; font-weight: 700; }
.store-btn--sm { padding: 8px 14px; }
.store-btn--sm strong { font-size: 13px; }

/* Phone mockups */
.phones {
  position: relative;
  margin: 48px auto 0;
  max-width: 720px;
  height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}
@media (max-width: 720px) {
  .phones { height: 300px; gap: 10px; transform: scale(0.85); }
}
.phone {
  background: #0a0118;
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 18px 40px -12px rgba(124, 58, 237, 0.4);
}
.phone--left   { width: 150px; height: 280px; transform: rotate(-6deg) translateY(8px); }
.phone--center { width: 180px; height: 340px; z-index: 2; }
.phone--right  { width: 150px; height: 280px; transform: rotate(6deg) translateY(8px); }
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  padding: 18px 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-end;
  font-size: 12px;
}
.phone__screen--mint   { background: linear-gradient(160deg, #34d399 0%, #0f766e 100%); }
.phone__screen--purple { background: linear-gradient(160deg, #a78bfa 0%, #7c3aed 100%); }
.phone__screen--pink   { background: linear-gradient(160deg, #f9a8d4 0%, #ec4899 100%); }
.phone__chip {
  background: rgba(255,255,255,0.25);
  width: 36px; height: 36px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}
.phone__screen strong { font-size: 15px; }
.phone__screen small  { opacity: 0.85; }
.phone__btn {
  margin-top: 10px;
  background: #fff;
  color: #7c3aed;
  font-weight: 800;
  text-align: center;
  padding: 8px;
  border-radius: 999px;
  font-size: 11px;
}
.hand {
  position: absolute;
  bottom: 30%;
  font-size: 34px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}
.hand--left  { left: 6%; transform: rotate(-12deg); }
.hand--right { right: 4%; transform: rotate(10deg); }
@media (max-width: 720px) { .hand { font-size: 24px; } }

/* ════════════ SPLIT SECTION (chat) ════════════ */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1.05fr; gap: 56px; }
}
.split__copy .h2 { font-size: clamp(30px, 4.5vw, 48px); }
.ticks {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}
.ticks li {
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink);
  position: relative;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-purple);
  font-weight: 800;
}
.split__art {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 30%, #c084fc 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, #f0abfc 0%, transparent 55%),
    linear-gradient(135deg, #ede9fe 0%, #fbcfe8 100%);
}
.split__art--chat::after {
  content: "💬";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(80px, 18vw, 160px);
  opacity: 0.65;
  filter: drop-shadow(0 8px 20px rgba(124, 58, 237, 0.3));
}

/* ════════════ YELLOW + POLAROIDS ════════════ */
.yellow-head {
  display: grid;
  gap: 16px;
  align-items: start;
}
@media (min-width: 820px) {
  .yellow-head {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
  }
}
.yellow-head__sub {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(10, 1, 24, 0.78);
  max-width: 380px;
}
.poloids {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 720px) {
  .poloids { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
.poloid {
  background: #fff;
  padding: 10px 10px 24px;
  border-radius: 6px;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.25);
  position: relative;
  transform: rotate(var(--rot, -2deg));
  transition: transform 240ms ease;
}
.poloid:hover { transform: rotate(0) translateY(-4px); }
.poloid--1 { --rot: -4deg; }
.poloid--2 { --rot:  3deg; }
.poloid--3 { --rot: -2deg; }
.poloid--4 { --rot:  5deg; }
.poloid__art {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
}
.poloid__art--orange { background: linear-gradient(160deg, #fb923c, #c2410c); }
.poloid__art--green  { background: linear-gradient(160deg, #4ade80, #15803d); }
.poloid__art--blue   { background: linear-gradient(160deg, #60a5fa, #1d4ed8); }
.poloid__art--pink   { background: linear-gradient(160deg, #f472b6, #be185d); }
.poloid__stick {
  position: absolute;
  top: -10px;
  right: -8px;
  background: #fff;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transform: rotate(8deg);
}

/* ════════════ FEATURE GRID ════════════ */
.features {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff;
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.06);
}
.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: color-mix(in oklab, var(--accent, #7c3aed) 18%, #fff);
  margin-bottom: 12px;
}
.feature h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--c-ink);
}
.feature p {
  margin: 0;
  font-size: 13.5px;
  color: var(--c-ink-mute);
  line-height: 1.55;
}

/* ════════════ PREMIUM CTA ════════════ */
.premium {
  display: grid;
  gap: 16px;
  align-items: center;
}
.premium__pill {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.premium__sub {
  margin: 18px 0 22px;
  font-size: 16px;
  opacity: 0.95;
  font-weight: 600;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.btn--white {
  background: #fff;
  color: var(--c-purple);
  box-shadow: 0 14px 28px -10px rgba(0,0,0,0.35);
}
.premium__fine {
  margin-top: 18px;
  font-size: 12px;
  opacity: 0.75;
}

/* ════════════ FOOTER ════════════ */
.footer {
  background: var(--c-cream);
  padding: 64px 0 28px;
}
.footer__top {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}
@media (min-width: 820px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .footer__get { text-align: right; }
  .footer__get .cta { justify-content: flex-end; }
}
.footer__tag {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--c-ink-mute);
}
.footer__get h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}
.footer__cols {
  display: grid;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(10, 1, 24, 0.08);
}
@media (min-width: 720px) {
  .footer__cols { grid-template-columns: repeat(5, 1fr); }
}
.footer__cols h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
}
.footer__cols ul li {
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--c-ink-mute);
}
.footer__cols ul li a:hover { color: var(--c-purple); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(10, 1, 24, 0.08);
  color: var(--c-ink-mute);
}
.footer__legal a:hover { color: var(--c-purple); }

/* Accessibility — visible focus rings on every actionable element. */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--c-purple);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Reduced motion — kill the polaroid hover tilt. */
@media (prefers-reduced-motion: reduce) {
  .poloid { transition: none; transform: rotate(0); }
}
