/* ============================================================
   TaskPet! – Landing Page Styles
   Scoped to index.php only. Uses its own design tokens
   (Cherry Bomb One + League Spartan, brown/teal/cream palette).
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brown: #423030;
  --teal: #2F758F;
  --pink: #E37B86;
  --yellow: #F8BA6D;
  --cream: #E0CCB4;
  --off-white: #E4DDD7;
  --font-display: 'Cherry Bomb One', cursive;
  --font-body: 'League Spartan', sans-serif;
}

html,
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--off-white);
  overflow-x: hidden;
}

/* ── Navigation ──────────────────────────────── */
nav {
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2.5rem;
  position: relative;
  z-index: 10;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--off-white);
  border-radius: 2px;
}

/* ── Hero Section ────────────────────────────── */
.top {
  position: relative;
  background: var(--teal);
  overflow: hidden;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: stretch;
}

.top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 28vh;
  background: var(--cream);
  clip-path: polygon(20% 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.top-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 3rem 3.5rem 8rem;
  gap: 2rem;
  width: 100%;
}

/* Mascot placeholder */
.top-placeholder {
  flex: 0 0 auto;
  width: 400px;
  aspect-ratio: 800 / 1000;
  background: var(--cream);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-placeholder svg {
  width: 55%;
  opacity: 0.25;
}

/* Hero text */
.top-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.top-title {
  font-family: var(--font-display);
  font-size: 5rem;
  color: #fff;
  line-height: 1;
  text-shadow: 4px 4px 0 var(--brown);
}

.top-desc {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 520px;
  color: var(--off-white);
}

.top-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-blurb {
  position: absolute;
  z-index: 2;
  bottom: 4vh;
  right: 3.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--brown);
  width: 300px;
}

/* Buttons */
.btn {
  font-family: var(--font-display);
  font-size: 24px;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 3px 3px 0 var(--brown);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--brown);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--brown);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--brown);
}

.btn-pink {
  background: var(--pink);
  color: #fff;
}


/* ── Tablet (≤900px) ─────────────────────────── */
@media (max-width:900px) {
  nav {
    padding: 0.75rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--brown);
    padding: 1rem 1.5rem;
    width: 100%;
    z-index: 20;
  }

  .nav-hamburger {
    display: flex;
  }

  .top {
    min-height: 90vh;
  }

  .top::after {
    display: none;
  }

  .top-inner {
    position: static;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 1.5rem;
    gap: 1rem;
    min-height: 90vh;
  }

  .top-placeholder {
    width: 60%;
    max-width: 240px;
    margin: 0 auto;
  }

  .top-title {
    font-size: 3.6rem;
    text-align: center;
  }

  .top-desc {
    max-width: 80%;
    font-size: 1.2rem;
    text-align: center;
    margin: 0 auto;
  }

  .top-cta {
    justify-content: center;
  }

  .top-blurb {
    position: static;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.25rem 1rem;
    font-size: 16px;
    background: var(--cream);
    margin-top: auto;
  }
}