/* ============================================================
   CHEEKY HUMAN — Design System
   Brand colors: Hot Pink #ec008c, Royal Purple #6000b4,
   Sunny Yellow #ffdb55, Pure Black, Pure White
   ============================================================ */

:root {
  /* Brand colors */
  --hot-pink: #ec008c;
  --royal-purple: #6000b4;
  --sunny-glow: #ffdb55;
  --pure-black: #000000;
  --pure-white: #ffffff;

  /* Typed colors */
  --bg: var(--pure-black);
  --fg: var(--pure-white);
  --accent: var(--hot-pink);
  --accent-2: var(--royal-purple);
  --highlight: var(--sunny-glow);

  /* Typography */
  --font-display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Sizing */
  --max-width: 1280px;
  --radius: 16px;
  --radius-lg: 24px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   TYPE SCALE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
}

p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  max-width: 65ch;
}

/* ============================================================
   COLOR UTILITIES
   ============================================================ */
.accent { color: var(--accent); }
.highlight { color: var(--highlight); }
.purple { color: var(--accent-2); }

.bg-accent { background: var(--accent); color: var(--bg); }
.bg-purple { background: var(--accent-2); color: var(--fg); }
.bg-yellow { background: var(--highlight); color: var(--bg); }
.bg-white { background: var(--pure-white); color: var(--bg); }
.bg-black { background: var(--bg); color: var(--fg); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(236, 0, 140, 0.2);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav__logo {
  height: 40px;
  width: auto;
}

.nav__menu {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  align-items: center;
}

.nav__menu a {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.nav__menu a:hover {
  color: var(--hot-pink);
}

.nav__cta {
  background: var(--hot-pink);
  color: var(--pure-white);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav__cta:hover {
  background: var(--sunny-glow);
  color: var(--bg);
  opacity: 1;
  transform: translateY(-2px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    padding: var(--space-md);
    gap: var(--space-sm);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--hot-pink);
  }

  .nav__menu.is-open {
    transform: translateY(0);
  }

  .nav__toggle {
    display: flex;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--hot-pink);
  color: var(--pure-white);
}

.btn--primary:hover {
  background: var(--sunny-glow);
  color: var(--bg);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(236, 0, 140, 0.4);
  opacity: 1;
}

.btn--secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}

.btn--secondary:hover {
  background: var(--fg);
  color: var(--bg);
  opacity: 1;
}

.btn--accent {
  background: var(--sunny-glow);
  color: var(--bg);
}

.btn--accent:hover {
  background: var(--hot-pink);
  color: var(--pure-white);
  transform: translateY(-3px);
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 0, 140, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96, 0, 180, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 600px;
}

.hero__eyebrow {
  display: inline-block;
  background: var(--sunny-glow);
  color: var(--bg);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: clamp(3rem, 9vw, 7rem);
  margin-bottom: var(--space-md);
}

.hero__title .accent {
  font-style: italic;
  display: block;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  max-width: 50ch;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__character {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__character img {
  width: 100%;
  max-width: 550px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(236, 0, 140, 0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__cta-group {
    justify-content: center;
  }
  .hero__character {
    order: -1;
  }
  .hero__character img {
    max-width: 320px;
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section__header {
  margin-bottom: var(--space-lg);
  max-width: 800px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hot-pink);
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__lead {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  opacity: 0.85;
}

/* ============================================================
   MANIFESTO (story teaser on home)
   ============================================================ */
.manifesto {
  background: var(--sunny-glow);
  color: var(--bg);
  padding: var(--space-xl) 0;
  text-align: center;
}

.manifesto__quote {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto;
  letter-spacing: -0.02em;
}

.manifesto__quote .accent {
  color: var(--hot-pink);
}

/* ============================================================
   LINEUP/CHARACTER GRID
   ============================================================ */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.character-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(236, 0, 140, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.character-card:hover {
  transform: translateY(-8px);
  border-color: var(--hot-pink);
  box-shadow: 0 20px 60px rgba(236, 0, 140, 0.3);
}

.character-card__image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(236, 0, 140, 0.1), rgba(96, 0, 180, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.character-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.character-card:hover .character-card__image img {
  transform: scale(1.08) rotate(-2deg);
}

.character-card__content {
  padding: var(--space-md);
}

.character-card__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.character-card__tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hot-pink);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.character-card__desc {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
}

/* ============================================================
   STORY / PROCESS SECTION
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.story-card {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border-left: 4px solid var(--hot-pink);
  transition: all 0.3s ease;
}

.story-card:hover {
  background: rgba(236, 0, 140, 0.08);
  transform: translateX(4px);
}

.story-card:nth-child(odd) {
  border-left-color: var(--royal-purple);
}

.story-card__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  color: var(--hot-pink);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.story-card:nth-child(odd) .story-card__num {
  color: var(--royal-purple);
}

.story-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.story-card__text {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ============================================================
   SIGNUP
   ============================================================ */
.signup {
  background: linear-gradient(135deg, var(--royal-purple), var(--hot-pink));
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.signup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 219, 85, 0.2), transparent 50%);
}

.signup__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.signup__title {
  margin-bottom: var(--space-sm);
  color: var(--pure-white);
}

.signup__text {
  margin-bottom: var(--space-md);
  color: var(--pure-white);
  font-size: 1.125rem;
  opacity: 0.95;
}

.signup__form {
  display: flex;
  gap: var(--space-xs);
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.signup__input {
  flex: 1;
  min-width: 240px;
  padding: 1rem 1.5rem;
  border: 2px solid var(--pure-white);
  background: var(--pure-white);
  color: var(--bg);
  border-radius: 100px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.signup__input:focus {
  outline: none;
  border-color: var(--sunny-glow);
  box-shadow: 0 0 0 4px rgba(255, 219, 85, 0.3);
}

.signup__submit {
  background: var(--sunny-glow);
  color: var(--bg);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.signup__submit:hover {
  background: var(--pure-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.signup__success {
  display: none;
  padding: var(--space-md);
  background: var(--pure-white);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 700;
  margin-top: var(--space-md);
}

.signup__success.is-visible {
  display: block;
}

.signup__note {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--pure-white);
  opacity: 0.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--space-lg) 0 var(--space-md);
  background: var(--pure-black);
  border-top: 1px solid rgba(236, 0, 140, 0.2);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand img {
  height: 50px;
  margin-bottom: var(--space-sm);
}

.footer__tag {
  opacity: 0.7;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  color: var(--hot-pink);
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 0.5rem;
}

.footer__col a {
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STORY PAGE
   ============================================================ */
.story-hero {
  padding: calc(100px + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(96, 0, 180, 0.15) 100%);
}

.story-hero__title {
  max-width: 900px;
  margin: 0 auto var(--space-md);
}

.story-hero__title .accent {
  font-style: italic;
}

.story-section {
  padding: var(--space-xl) 0;
}

.story-section--bg {
  background: rgba(236, 0, 140, 0.05);
}

.story-section__inner {
  max-width: 800px;
  margin: 0 auto;
}

.story-section__quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  margin: var(--space-md) 0;
  padding-left: var(--space-md);
  border-left: 4px solid var(--hot-pink);
}

.story-section__quote .accent {
  color: var(--hot-pink);
}

.story-section__text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.story-section__text:last-child {
  margin-bottom: 0;
}

/* ============================================================
   FEATURES / VALUES
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.feature {
  text-align: center;
  padding: var(--space-md);
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  background: var(--hot-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--pure-white);
}

.feature__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.feature__text {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fade-up 0.8s ease-out backwards;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
