/* ============================================================
   CUTTERFY — Polished layout, masked hero art, seamless pink
   ============================================================ */

/* ------------------ Design tokens ------------------ */
:root {
  --bg: #ffffff; /* page background */
  --text: #0f1115; /* default text color */
  --text-soft: #4a4f58; /* secondary text color */
  --muted: #e9eaee; /* subtle borders */
  --container: 1120px; /* max content width */

  --btn: #1b1d21; /* primary button bg */
  --btn-hover: #23262d; /* button hover bg */
  --btn-text: #ffffff; /* button text */

  --radius: 12px; /* small radius */
  --radius-lg: 20px; /* card radius */

  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 17, 21, 0.1);
}

/* ------------------ Base / reset ------------------ */
* {
  box-sizing: border-box;
} /* predictable sizing */
html,
body {
  height: 100%;
  overflow-x: hidden;
} /* avoid sideways jiggle */

body {
  margin: 0; /* remove default margin */
  background: var(--bg); /* white base (hero fades to this) */
  color: var(--text);
  font-family: "Kumbh Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
} /* responsive images */
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
:focus-visible {
  outline: 3px solid #cfe3ff;
  outline-offset: 2px;
} /* keyboard focus */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
} /* center content */

/* ============================================================
   NAVBAR — sticky, solid white, above everything
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 9999; /* pinned and on top */
  background: #fff; /* opaque: art never shows through */
  height: 72px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__container {
  height: 72px;
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#navbar__logo {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.3px;
}

.navbar__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.navbar__item {
  height: 72px;
}
.navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 14px;
  font-size: 0.98rem;
}
.navbar__btn {
  padding-left: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--btn);
  background: var(--btn);
  color: var(--btn-text);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.06s ease, box-shadow 0.2s ease;
}
.button:hover {
  background: var(--btn-hover);
  box-shadow: var(--shadow-md);
}
.button:active {
  transform: translateY(1px);
}

.navbar__toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.navbar__toggle .bar {
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--text);
  display: block;
}

/* ============================================================
   HERO — image as <img> (mask to transparent), text above art
   ============================================================ */
.main {
  position: relative;
  z-index: 1; /* above page bg, below navbar */
  background: #fff; /* hard white under hero */
  overflow: hidden; /* clip mask edges */
  min-height: 72vh; /* generous hero height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 28px; /* space under sticky nav */
}

.main__container {
  max-width: 800px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
} /* text above art */
h1,
h2,
h3 {
  margin: 0.4rem 0;
  line-height: 1.1;
}

.main__content h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}
.main__content p {
  font-size: 1.2rem;
  color: var(--text-soft);
  margin: 0.25rem 0 1.3rem;
}

.main__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--btn);
  background: var(--btn);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 17, 21, 0.15);
  transition: background 0.2s, transform 0.1s;
}
.main__btn:hover {
  transform: translateY(-2px);
}

/* Decorative artwork wrapper (never intercepts clicks) */
.hero__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Scale/position SVG + fade its bottom so platform line disappears */
.hero__art img {
  width: min(1200px, 92vw); /* responsive max width */
  transform: translateY(-70px); /* move up to frame composition */
  opacity: 0.28; /* make illustration present but soft */
  z-index: 0; /* keep behind text */

  /* Mask = fade image pixels to transparent before info section begins */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    /* fully visible */ rgba(0, 0, 0, 1) 60%,
    /* stay solid for upper portion */ rgba(0, 0, 0, 0.95) 70%,
    /* begin gentle fade */ rgba(0, 0, 0, 0.75) 80%,
    rgba(0, 0, 0, 0.45) 88%,
    rgba(0, 0, 0, 0.15) 94%,
    rgba(0, 0, 0, 0) 100% /* fully transparent at bottom */
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0.95) 70%,
    rgba(0, 0, 0, 0.75) 80%,
    rgba(0, 0, 0, 0.45) 88%,
    rgba(0, 0, 0, 0.15) 94%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* We deliberately DO NOT use ::before/::after on .main now,
   so nothing can create a hard seam or overlay the navbar. */

/* ============================================================
   INFO / ABOUT — pink ombré + bubble cards (starts higher)
   ============================================================ */
.info {
  margin-top: 0; /* normal document flow */
  padding-top: 60px; /* heading sits closer to hero */
  padding-bottom: 120px;
  text-align: center;
  display: flex;
  justify-content: center;

  /* Gentle white → blush → pink gradient; begins fairly high */
  background: linear-gradient(
    180deg,
    #fff 0px,
    /* tiny white runway for heading area */ #fff5f6 40px,
    /* soft blush begins early */ #ffe0e4 28%,
    #ffcaca 62%,
    #ffb8b8 100%
  );
}

.info__container {
  max-width: 1100px;
  width: 100%;
  padding: 0 24px;
}
.info__container h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}
.info__container p {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Cards grid */
.info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 24px;
  margin-bottom: -20px;
}
.info__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(15, 17, 21, 0.06);
  box-shadow: 0 10px 30px rgba(15, 17, 21, 0.07),
    0 2px 6px rgba(15, 17, 21, 0.04);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.info__card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 17, 21, 0.1);
  box-shadow: 0 18px 40px rgba(15, 17, 21, 0.1),
    0 4px 10px rgba(15, 17, 21, 0.06);
}
.info__card h3 {
  color: var(--text);
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
}
.info__card p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .navbar__toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1000;
  }

  .navbar__menu {
    position: absolute;
    left: 0;
    top: -1000px;
    width: 100%;
    margin: 0;
    padding: 8px 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--muted);
    opacity: 0;
    z-index: -1;
    transition: all 0.35s ease;
  }
  .navbar__menu.active {
    top: 72px;
    opacity: 1;
    z-index: 998;
    box-shadow: var(--shadow-md);
  }

  .navbar__item {
    height: auto;
    width: 100%;
  }
  .navbar__links {
    height: auto;
    padding: 14px 20px;
    justify-content: flex-start;
    font-size: 1rem;
  }
  .navbar__btn {
    padding: 8px 20px 16px;
  }
  .button {
    width: 100%;
  }

  /* hamburger → X animation */
  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 760px) {
  .main__container {
    padding: 0 20px;
  }
  .main__content {
    text-align: left;
  }
  .main__content p {
    max-width: 60ch;
  }
}

/* ============================================================
   Preferences
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .navbar__links:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   HOW IT WORKS — continues pink gradient into deep red
   ============================================================ */
.how {
  position: relative;
  z-index: 0;
  padding: 0 0 30px;
  display: flex;
  justify-content: center;
  text-align: center;

  /* Continue the gradient from the info section */
  background: linear-gradient(
    to bottom,
    #ffb8b8 0%,
    /* matches top of previous section */ #ff9d9d 20%,
    /* soft transition to richer tone */ #ff7b7b 55%,
    /* bright mid-red */ #ff5959 80%,
    /* bold accent red */ #ff4141 100% /* deep red end */
  );
}

.how__container {
  max-width: 1100px;
  width: 100%;
  padding: 0 24px;
  color: #fff;
}

.how__container h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.how__intro {
  font-size: 1.15rem;
  color: #ffe6e6;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Steps grid */
.how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 3.5rem;
}

.how__step {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(15, 17, 21, 0.12);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}
.how__step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 17, 21, 0.15);
}
.how__step h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.how__step p {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* CTA button at bottom */
.how__btn {
  display: inline-block;
  background: #fff;
  color: #ff4141;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.how__btn:hover {
  background: #ffecec;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 760px) {
  .how__container h2 {
    font-size: 2rem;
  }
  .how__intro {
    font-size: 1.05rem;
  }
  .how__step {
    padding: 24px 20px;
  }
}
/* --- Cody Winters Example inside How It Works (Wider + Slimmer Version) --- */
.how__example {
  margin: 30px auto 50px;
  max-width: 960px; /* wider */
}

.how__example .featured__container {
  background: #fff;
  border: 1px solid rgba(15, 17, 21, 0.08);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 17, 21, 0.08);
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 220px 1fr; /* narrower height, wider layout */
  gap: 32px;
  align-items: center;
}

/* Image styling */
.how__example .featured__media img {
  width: 100%;
  height: 200px; /* shorter height */
  object-fit: cover;
  border-radius: 10px;
  background: radial-gradient(
        50px 50px at 50% 45%,
        rgba(0, 0, 0, 0.05),
        transparent 60%
      )
      center/100px 100px no-repeat,
    #f3f5f8;
  box-shadow: 0 4px 10px rgba(15, 17, 21, 0.1);
}

/* Text */
.how__example .featured__info,
.how__example .featured__info * {
  color: #0f1115;
}

.how__example .featured__title {
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 4px;
}

.how__example .featured__role {
  color: #4a4f58;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.how__example .featured__about {
  color: #4a4f58;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

/* Tags */
.how__example .featured__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ✅ centers tags horizontally */
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 10px auto 0;
  max-width: 600px; /* keeps tags neatly wrapped */
  text-align: center;
}
.how__example .featured__tags li {
  background: #fff;
  border: 1px solid rgba(15, 17, 21, 0.08);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  color: #0f1115;
}

/* Responsive */
@media (max-width: 800px) {
  .how__example .featured__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .how__example .featured__media img {
    height: 120px;
  }
}

.how__container h2,
.how__container p {
  color: #0f1115; /* deep charcoal-black for text */
}
/* ===============================
   COMING SOON BANNER (GLOBAL)
   =============================== */

/* Wrapper ensures the banner is centered and not affected by parent flex boxes */
.coming-soon-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 0 0 0; /* space below navbar */
}

/* Actual banner styles */
.coming-soon-banner {
  background: #fff4cc; /* soft yellow background */
  border: 2px solid #ffe49e; /* darker yellow border */
  border-radius: 999px; /* pill shape */

  padding: 14px 32px; /* larger, cleaner padding */
  font-size: 1.1rem; /* slightly bigger text */
  font-weight: 600;
  color: #5c4300; /* caution text color */

  display: inline-flex;
  align-items: center;
  gap: 10px; /* space between icon + text */

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* soft pill shadow */
  white-space: nowrap; /* keeps it on one line */
}

/* ===============================
   SIGNUP PAGE — LARGE COMING SOON BANNER
   =============================== */

.signup-center {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 220px; /* lower and bigger */
}

.signup-banner {
  background: #ffecec; /* soft pastel red */
  border: 3px solid #ffbcbc; /* thicker border for premium feel */
  border-radius: 999px;

  padding: 22px 48px; /* MUCH bigger pill */
  font-size: 1.6rem; /* significantly larger text */
  font-weight: 700;
  color: #7a2d2d; /* muted red */
  letter-spacing: 0.2px;

  display: inline-flex;
  align-items: center;
  gap: 14px; /* larger gap for bigger elements */

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* deeper shadow */
}
