/* =======================================================
   GOODUSE.AI — HOMEPAGE
   Ultra-minimal, modern, Apple/Stripe-grade
   ======================================================= */

body.gu-home {
  background: #ffffff;
}

/* Overall wrap */
.home-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* =================================
   HERO
   ================================= */

.home-hero {
  position: relative;
  text-align: center;
  padding: 80px 0 72px;
}

/* soft halo behind hero */
.home-hero::before {
  content: "";
  position: absolute;
  inset: -40px 10% auto;
  height: 120px;
  background: radial-gradient(circle at top center,
    rgba(100, 41, 183, 0.18),
    rgba(100, 41, 183, 0.02),
    transparent 70%);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.home-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7b6fd0;
  margin-bottom: 10px;
}

.home-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.05;
  color: #151515;
}

.home-sub {
  margin-top: 14px;
  font-size: 20px;
  color: #4a4a4a;
  font-weight: 500;
  line-height: 1.45;
}

/* CTA Row */
.home-cta-row {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.home-cta {
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}

.home-cta.primary {
  background: #6429b7;
  color: #fff;
  box-shadow: 0 8px 22px rgba(100, 41, 183, 0.35);
}

.home-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(100, 41, 183, 0.4);
}

.home-cta.ghost {
  border: 2px solid #6429b7;
  color: #6429b7;
  background: #fff;
}

.home-cta.ghost:hover {
  background: rgba(100, 41, 183, 0.06);
  transform: translateY(-2px);
}

/* ===========================================
   EXPLAINER
   =========================================== */

.home-explainer {
  padding: 12px 0 8px;
}

.home-explainer-inner {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.04);
  background: linear-gradient(180deg, #fcfbff 0%, #ffffff 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  padding: 28px 28px 26px;
}

.home-section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9489e4;
  margin: 0 0 6px;
}

.home-section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
  color: #1b172e;
}

.home-section-copy {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #49435d;
}

.home-bullets {
  margin: 0;
  padding-left: 20px;
  font-size: 14.5px;
  color: #4d4668;
  line-height: 1.55;
}

.home-bullets li + li {
  margin-top: 4px;
}

/* ===========================================
   PRODUCT CARDS
   =========================================== */

.home-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.hp-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 26px 26px;
  border: 1px solid rgba(100, 41, 183, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hp-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0;
  background: radial-gradient(circle at top right,
    rgba(100, 41, 183, 0.22),
    transparent 65%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
  border-color: rgba(100, 41, 183, 0.18);
}

.hp-card:hover::before {
  opacity: 1;
}

.hp-card-wide {
  grid-column: span 2;
}

.hp-card-wide .hp-icon img {
  width: 28px;
  height: 28px;
  display: block;
}

.hp-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5f4bb7;
  background: rgba(100, 41, 183, 0.06);
  margin-bottom: 12px;
}

.hp-pill-alt {
  color: #713b98;
  background: rgba(113, 59, 152, 0.08);
}

.hp-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.hp-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.hp-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #444;
  margin-bottom: 12px;
}

.hp-list {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 14px;
  color: #4b455f;
  line-height: 1.5;
}

.hp-list li + li {
  margin-top: 4px;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: rgba(100, 41, 183, 0.08);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #342158;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hp-btn:hover {
  background: rgba(100, 41, 183, 0.16);
  transform: translateY(-2px);
}

/* ===========================================
   PLATFORM NOTE
   =========================================== */

.home-platform-note {
  text-align: center;
  margin-top: 40px;
}

.home-platform-note p {
  font-size: 13.5px;
  color: #7f7a96;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 900px) {
  .home-hero {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .home-title {
    font-size: 40px;
  }

  .home-sub {
    font-size: 18px;
  }
}

@media (max-width: 780px) {
  .home-products {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  /* ✅ FIX: reset wide card behavior on mobile */
  .hp-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .home-wrap {
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .home-title {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .home-sub {
    font-size: 16px;
  }

  .home-explainer-inner {
    padding: 22px 18px 18px;
    border-radius: 20px;
  }

  .hp-card {
    padding: 22px 18px 20px;
    border-radius: 20px;
  }

  .home-cta-row {
    gap: 10px;
  }

  .home-cta {
    width: 100%;
    max-width: 320px;
  }

  @media (max-width: 600px) {
  .hp-icon {
    display: flex;
    justify-content: center;
  }
}

  /* 🔥 NEW — make bullets left-aligned on mobile */
  .home-bullets,
  .home-bullets li,
  .hp-list,
  .hp-list li {
    text-align: left !important;
  }

  /* Keep section headers centered */
  .home-section-title,
  .home-section-label {
    text-align: center !important;
  }
}

/* ============================
   THREADMARK — FEATURE GALLERY
   Apple / Linear polish
   ============================ */

.tm-gallery {
  margin-top: 72px;
  padding: 0 24px;
}

.tm-gallery-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.tm-gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.tm-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8b7fd6;
  display: block;
  margin-bottom: 8px;
}

.tm-gallery-title {
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -0.6px;
  color: #151515;
  margin: 0 0 10px;
}

.tm-gallery-sub {
  font-size: 16px;
  color: #555;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Grid */
.tm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Individual shots */
.tm-shot {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(100, 41, 183, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.tm-shot img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.tm-shot figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: #444;
  line-height: 1.45;
}

.tm-shot figcaption strong {
  display: block;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

/* Hover — subtle lift only */
.tm-shot:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
}

/* Responsive */
@media (max-width: 900px) {
  .tm-gallery-grid {
    grid-template-columns: 1fr;
  }

  .tm-gallery-title {
    font-size: 28px;
  }
}

.tm-hero-mark {
  margin-bottom: 10px;
}

.tm-hero-mark img {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}

/* ----------------------------------
   Threadmark Speed Save Callout
----------------------------------- */

.tm-speed-save {
  margin-top: 48px;
  padding: 16px 20px;

  display: flex;
  align-items: center;
  gap: 16px;

  max-width: 720px;
  margin-left: auto;
  margin-right: auto;

  border-radius: 14px;
  background: rgba(124, 58, 237, 0.05);
}

.tm-speed-save img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tm-speed-save p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
}

.tm-speed-save strong {
  color: #111827;
}

/* ----------------------------------
   Threadmark Video callout
----------------------------------- */

.tm-video-intro {
  text-align: center;
  font-size: 14px;
  color: #6b6b6b;
  margin-top: 48px;
  margin-bottom: 16px;
}

.tm-video {
  padding: 64px 0;
}

.tm-video-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.tm-video-frame {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.tm-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
