/* Logged-out homepage (matches ui_kits/schooka-website/index.html) */

.marketing-shell { display: block; }

.mk-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.mk-spacer { flex: 1; }
.mk-center { text-align: center; }
.mk-h2 { font-size: 40px; }
.mk-sub { color: var(--text-muted); font-size: 17px; margin: 10px 0 0; line-height: 1.6; }
.mk-sub strong { color: var(--ink-900); }

/* Buttons (marketing scale) */
.mk-btn {
  font-family: var(--font-display);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink-900);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--speed-fast) var(--ease-out), box-shadow var(--speed-fast);
}
.mk-btn:hover { transform: translateY(-2px); }
.mk-btn:active { transform: translateY(4px); box-shadow: none !important; }
.mk-btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 4px 0 var(--ink-900); padding: 14px 30px; font-size: 19px; }
.mk-btn--primary:hover { color: #fff; }
.mk-btn--accent { background: var(--yellow-500); color: var(--ink-900); box-shadow: 0 4px 0 var(--ink-900); padding: 14px 30px; font-size: 19px; }
.mk-btn--accent:hover { color: var(--ink-900); }
.mk-btn--sm { background: var(--blue-500); color: #fff; box-shadow: 0 3px 0 var(--ink-900); padding: 9px 20px; font-size: 15px; }
.mk-btn--sm:hover { color: #fff; }

/* Nav */
.mk-nav { background: var(--surface-card); border-bottom: 1px solid var(--border-soft); }
.mk-nav__inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.mk-nav__logo { height: 52px; }
.mk-navlink { color: var(--ink-900); text-decoration: none; font-weight: 800; font-size: 15.5px; }
.mk-navlink:hover { color: var(--blue-600); }

/* Hero */
.mk-hero { position: relative; overflow: hidden; background: var(--paper); }
.mk-hero-confetti {
  position: absolute;
  border-radius: 4px;
  top: -8vh;
  animation: mk-fall linear infinite;
}
@keyframes mk-fall {
  0% { transform: translateY(-8vh) rotate(0deg); }
  100% { transform: translateY(75vh) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mk-hero-confetti { animation: none; top: auto; }
}
.mk-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.mk-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-100);
  border: 2px solid var(--teal-500);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 800;
  font-size: 14px;
  color: var(--teal-600);
}
.mk-hero__title { font-size: clamp(40px, 6vw, 64px); margin-top: 18px; }
.mk-hero__title span { color: var(--blue-500); }
.mk-hero__copy { font-size: 20px; line-height: 1.55; max-width: 480px; margin: 18px 0 0; text-wrap: pretty; }
.mk-hero__ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.mk-hero__flock { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.mk-hero__flock img { height: 40px; }
.mk-hero__flock span { font-size: 14px; font-weight: 800; color: var(--text-muted); }
.mk-hero__mascot { text-align: center; position: relative; }
.mk-hero__mascot img { width: 88%; max-width: 440px; animation: mk-bob 3.4s ease-in-out infinite; }
@keyframes mk-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) { .mk-hero__mascot img { animation: none; } }

/* Demo: watch Kooka build one */
.mk-demo { background: var(--surface-card); padding: 72px 0; }
.mk-demo__grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.mk-demo__chat {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  height: 500px;
  overflow: hidden;
}

.demo-msg { display: none; flex-shrink: 0; }
.demo-msg.show { display: block; animation: demo-msg-in .4s var(--ease-bounce); }
.demo-msg.demo-row.show { display: flex; gap: 8px; }
@keyframes demo-msg-in {
  from { opacity: 0; transform: translateY(12px) scale(.95); }
  to { opacity: 1; transform: none; }
}
.demo-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-100);
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
}
.demo-bot {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: 4px 16px 16px 16px;
  padding: 9px 13px;
  font-size: 13.5px;
  font-weight: 600;
  max-width: 82%;
}
.demo-me {
  background: var(--ink-900);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  padding: 9px 13px;
  font-size: 13.5px;
  font-weight: 600;
  align-self: flex-end;
  max-width: 82%;
}
.demo-question {
  background: var(--yellow-100);
  border: 2px solid var(--yellow-500);
  border-radius: 14px;
  padding: 11px 14px;
  max-width: 88%;
}
.demo-question__title { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; }
.demo-question__chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.demo-chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-card);
  border: 2px solid var(--ink-900);
  box-shadow: 0 2px 0 var(--ink-900);
  transition: all .25s;
}
.demo-chip.picked { background: var(--ink-900); color: #fff; box-shadow: none; transform: translateY(2px); }
.demo-chip.faded { opacity: .35; box-shadow: none; }
.demo-imgcard {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  max-width: 70%;
}
.demo-imgcard__box {
  height: 120px;
  background: linear-gradient(100deg, var(--blue-100) 30%, #fff 50%, var(--blue-100) 70%);
  background-size: 220% 100%;
  animation: demo-shimmer 1.1s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-500);
}
.demo-imgcard__box.done { animation: none; background: var(--blue-100); }
.demo-imgcard__box img { height: 110px; }
.demo-imgcard__cap { padding: 7px 11px; font-size: 11.5px; font-weight: 800; color: var(--text-muted); }
@keyframes demo-shimmer {
  from { background-position: 180% 0; }
  to { background-position: -40% 0; }
}
.demo-done {
  background: var(--teal-100);
  border: 2px solid var(--teal-500);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  max-width: 88%;
}
.demo-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-300);
  display: inline-block;
  animation: demo-dots 1s infinite;
}
.demo-dots span:nth-child(2) { animation-delay: .15s; }
.demo-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes demo-dots {
  0%, 60%, 100% { transform: none; opacity: .5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.demo-board {
  background: var(--ink-900);
  border-radius: var(--radius-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.95);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-bounce);
}
.demo-board.show { opacity: 1; transform: none; }
.demo-board__head { display: flex; align-items: center; gap: 10px; }
.demo-board__head img { height: 44px; }
.demo-board__title { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff; }
.demo-board__q {
  margin-left: auto;
  background: var(--blue-500);
  border-radius: 10px;
  padding: 4px 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}
.demo-board__question { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #fff; }
.demo-board__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-tile {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  border: 2px solid var(--ink-900);
  border-radius: 14px;
  padding: 16px 8px;
  text-align: center;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .3);
  transition: all .25s;
}
.demo-tile.picked { transform: translateY(3px); box-shadow: none; outline: 3px solid #fff; outline-offset: 2px; }
.demo-tile.faded { opacity: .35; }
.demo-board__cap { text-align: center; color: var(--ink-300); font-weight: 700; font-size: 13px; }
.demo-burst {
  position: absolute;
  width: 10px;
  height: 6px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
}
.demo-board.celebrate .demo-burst { animation: demo-burst 1.6s var(--ease-out) forwards; }
@keyframes demo-burst {
  0% { opacity: 0; transform: translateY(0) rotate(0) scale(.5); }
  15% { opacity: 1; transform: translateY(-26px) rotate(80deg) scale(1); }
  100% { opacity: 0; transform: translateY(46px) rotate(320deg) scale(1); }
}

/* How it works */
.mk-how { background: var(--paper); padding: 72px 0; }
.mk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.mk-stepcard {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 28px 26px 26px;
  text-align: center;
  position: relative;
}
.mk-stepcard img { height: 130px; }
.mk-stepcard h3 { font-size: 22px; margin-top: 12px; }
.mk-stepcard p { font-size: 15px; color: var(--text-muted); line-height: 1.55; margin: 8px 0 0; }
.mk-stepnum {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow-500);
  border: 2px solid var(--ink-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outfits band */
.mk-looks-band { background: var(--blue-100); padding: 64px 0; position: relative; overflow: hidden; }
.mk-looks-band .mk-sub { margin-bottom: 28px; }
.mk-looks { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mk-looks img { height: 110px; transition: transform var(--speed-med) var(--ease-bounce); }
.mk-looks img:hover { transform: translateY(-8px) rotate(-3deg); }

/* Marketplace */
.mk-marketplace { background: var(--surface-card); padding: 72px 0; }
.mk-marketplace__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mk-showcase {
  position: relative;
  text-align: center;
  background: var(--teal-100);
  border-radius: var(--radius-xl);
  padding: 36px 20px;
}
.mk-showcase__birds { display: flex; justify-content: center; align-items: flex-end; }
.mk-showcase__birds img { height: 150px; }
.mk-showcase__birds .mk-front { height: 170px; z-index: 1; }
.mk-showcase__birds .mk-tilt-left { transform: rotate(-6deg); }
.mk-showcase__birds .mk-tilt-right { transform: rotate(6deg); }
.mk-showcase__caption { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 14px; }
.mk-checks { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; font-weight: 800; font-size: 15.5px; }
.mk-checks > div { display: flex; gap: 10px; align-items: center; }
.mk-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Footer */
.mk-footer { background: var(--ink-900); padding: 72px 0 40px; position: relative; overflow: hidden; }
.mk-footer__kooka { height: 120px; }
.mk-footer h2 { font-size: 44px; color: #fff; margin-top: 8px; }
.mk-footer p { color: var(--ink-300); font-size: 18px; font-weight: 700; margin: 12px 0 0; }
.mk-footer__base {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 52px;
  border-top: 1px solid var(--ink-700);
  padding-top: 24px;
  flex-wrap: wrap;
}
.mk-footer__base img { height: 34px; }
.mk-footer__base span { color: var(--ink-500); font-weight: 700; font-size: 13.5px; }

/* Responsive */
@media (max-width: 900px) {
  .mk-hero__grid, .mk-marketplace__grid, .mk-demo__grid { grid-template-columns: 1fr; }
  .mk-steps { grid-template-columns: 1fr; }
  .mk-nav__inner { gap: 14px; flex-wrap: wrap; }
  .mk-navlink { font-size: 14px; }
  .mk-h2 { font-size: 32px; }
  .mk-footer h2 { font-size: 34px; }
}
