/* Homepage-only styles. Loaded after assets/styles/global.css on index.html only — */
/* tool pages never load this file; shared variables, base styles, and the nav/drawer */
/* now live in assets/styles/global.css so every page stays in sync. */

body {
  padding-top: 78px;
}

h1, h2, h3 {
  letter-spacing: -0.07em;
}

em {
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.home-hero {
  position: relative;
  min-height: 850px;
  padding: 160px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.hero-lines {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-lines--left {
  left: 0;
}
.hero-lines--right {
  right: 0;
}
.hero-line {
  position: absolute;
  top: 50%;
  margin-top: -288px;
  width: calc(75px + var(--i) * 10px);
  height: 576px;
  border: 1.5px solid var(--border);
  opacity: 0;
  animation: line-pulse 5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.25s);
}
.hero-lines--left .hero-line {
  left: 0;
  border-left: none;
  border-radius: 0 85% 85% 0;
}
.hero-lines--right .hero-line {
  right: 0;
  border-right: none;
  border-radius: 85% 0 0 85%;
}

.hero-lines--left .hero-line:nth-child(5n+1) { border-color: rgba(0, 120, 255, 0.65); }
.hero-lines--left .hero-line:nth-child(5n+2) { border-color: rgba(139, 92, 246, 0.65); }
.hero-lines--left .hero-line:nth-child(5n+3) { border-color: rgba(255, 80, 60, 0.65); }
.hero-lines--left .hero-line:nth-child(5n+4) { border-color: rgba(0, 180, 255, 0.65); }
.hero-lines--left .hero-line:nth-child(5n) { border-color: rgba(180, 60, 255, 0.65); }

.hero-lines--right .hero-line:nth-child(5n+1) { border-color: rgba(255, 80, 60, 0.65); }
.hero-lines--right .hero-line:nth-child(5n+2) { border-color: rgba(0, 180, 255, 0.65); }
.hero-lines--right .hero-line:nth-child(5n+3) { border-color: rgba(0, 120, 255, 0.65); }
.hero-lines--right .hero-line:nth-child(5n+4) { border-color: rgba(180, 60, 255, 0.65); }
.hero-lines--right .hero-line:nth-child(5n) { border-color: rgba(139, 92, 246, 0.65); }

@keyframes line-pulse {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  15% {
    opacity: 0.7;
  }
  70% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: scale(0.88);
  }
}

.hero-ticker {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  height: 36px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.hero-ticker__track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  animation: marquee-left 30s linear infinite;
}
.hero-ticker__item {
  flex: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  background: #f5f5f5;
  white-space: nowrap;
}
@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 560px;
  font-size: 78px;
  line-height: 1.03;
  letter-spacing: -0.07em;
  font-weight: 600;
  color: var(--text);
}
.hero-title__line1,
.hero-title__line2 {
  display: block;
  width: 100%;
}
/* Cap line 1 so "Every time." can never join it, regardless of viewport.
   The hero is text-align: center, so the capped box needs auto margins. */
.hero-title__line1 {
  max-width: 420px;
  margin-inline: auto;
}
.hero-title__line2 {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-weight: 600;
  height: 1.1em;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
}

/* Announcement bar */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 101;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  transition: transform 0.3s ease;
}
.announcement-bar.is-hidden {
  transform: translateY(-100%);
}
.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.announcement-bar__badge {
  background: #E62777;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 2px 8px;
  flex-shrink: 0;
}
.announcement-bar__text {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.announcement-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #E62777;
  text-decoration: none;
  white-space: nowrap;
}
.announcement-bar__link:hover {
  text-decoration: underline;
}
.announcement-bar__link svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.announcement-bar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  opacity: 0.7;
  cursor: pointer;
  padding: 4px;
  display: flex;
  line-height: 0;
}
.announcement-bar__close:hover {
  opacity: 1;
}
.announcement-bar__close svg {
  width: 14px;
  height: 14px;
}
body.home {
  transition: padding-top 0.3s ease;
}
body.home.has-announcement {
  padding-top: 40px;
}
body.home .site-nav {
  transition: top 0.3s ease;
}
body.home.has-announcement .site-nav {
  top: 40px;
}
@media (max-width: 640px) {
  .announcement-bar {
    padding: 0 40px;
    height: auto;
    min-height: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .announcement-bar__text {
    font-size: 12px;
  }
}

.hero-subtitle {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.hero-cta-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-ticker,
.hero-title,
.hero-subtitle,
.hero-cta-row {
  animation: fade-up 0.6s ease both;
}
.hero-ticker {
  animation-delay: 0.1s;
}
.hero-title {
  animation-delay: 0.2s;
}
.hero-subtitle {
  animation-delay: 0.35s;
}
.hero-cta-row {
  animation-delay: 0.5s;
}
.hero-proof {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
  animation: fade-up 0.6s ease both;
  animation-delay: 0.6s;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hero-btn--primary {
  background: var(--button-bg);
  color: var(--button-text);
}
.hero-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.hero-btn--secondary {
  background: var(--surface-1);
  color: var(--text);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 140px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
}

.stats-bar {
  padding: 40px 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 8rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.stat__number {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--text);
}
.stat__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.home-statement {
  border-bottom: 1px solid var(--border-soft);
  padding: 3.5rem 0;
}
.home-statement p {
  margin: 0;
  max-width: 760px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}

.tools-section {
  padding: 80px 36px;
}
.tools-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.tools-section__head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.tools-section__title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--text);
}
.tools-section__subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tool-card {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s ease;
}
.tool-card:hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.tool-card.will-fade {
  opacity: 0;
  transform: translateY(16px);
}
.tool-card__num {
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  color: var(--muted);
}
.tool-card__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
}
.tool-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.tool-card__link {
  margin-top: 0.4rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.tool-card__link:hover {
  text-decoration: underline;
}

.works-with {
  padding: 40px 36px;
  border-top: 1px solid var(--border);
}
.works-with__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.works-with__label {
  flex: none;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.works-with__ticker {
  flex: 1;
  min-width: 0;
  height: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.works-with__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-left 25s linear infinite;
}
.works-with__item {
  flex: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 0 24px;
  white-space: nowrap;
}
.works-with__dot {
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.blog-teaser {
  padding: 80px 36px 40px;
  border-top: 1px solid var(--border);
}
.blog-teaser__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.blog-teaser__head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.blog-teaser__title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--text);
}
.blog-teaser__subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}
.blog-teaser__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.blog-teaser__card {
  display: block;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-teaser__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.blog-teaser__card-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e62777;
}
.blog-teaser__card-title {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}
.blog-teaser__card-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.blog-teaser__card-link {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.blog-teaser__card-link:hover {
  text-decoration: underline;
}
.blog-teaser__more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.blog-teaser__more-btn {
  background: var(--surface-1);
  border: 1.5px solid var(--text);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 1024px) {
  .blog-teaser__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .blog-teaser__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 0;
    padding: 100px 20px 80px;
    gap: 1.5rem;
  }
  .hero-lines {
    display: none;
  }
  .hero-title {
    font-size: clamp(44px, 12vw, 60px);
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-cta-row {
    flex-direction: column;
  }
  .hero-btn {
    width: 100%;
    max-width: 320px;
    height: 48px;
    padding: 14px 24px;
  }
  .stats-bar__inner {
    gap: 1.5rem 3rem;
  }
  .tools-section {
    padding: 60px 20px;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .works-with__inner {
    gap: 1rem;
  }
  .blog-teaser {
    padding: 60px 20px;
  }
  .blog-teaser__card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(36px, 11vw, 44px);
  }
}

/* Dark mode: hero, curved lines, stats bar */

[data-theme="dark"] .home-hero {
  background: #0a0a0a;
}
[data-theme="dark"] .home-hero::before {
  opacity: 0.06;
}
/* .hero-fade fades to var(--bg) (#121212 in dark mode), which would leave a
   visible seam against the hero's #0a0a0a above it - pin it to match. */
[data-theme="dark"] .hero-fade {
  background: linear-gradient(180deg, transparent 0%, #0a0a0a 100%);
}

/* Curved lines: the line color itself is set per nth-child as a
   border-color rgba(...,0.65) below, not a plain opacity (the element's own
   opacity is driven by the line-pulse keyframe, which would fight a static
   override) - so brighten the color alpha instead for the same "more
   visible against dark" effect. */
[data-theme="dark"] .hero-lines--left .hero-line:nth-child(5n+1) { border-color: rgba(0, 120, 255, 0.75); }
[data-theme="dark"] .hero-lines--left .hero-line:nth-child(5n+2) { border-color: rgba(139, 92, 246, 0.75); }
[data-theme="dark"] .hero-lines--left .hero-line:nth-child(5n+3) { border-color: rgba(255, 80, 60, 0.75); }
[data-theme="dark"] .hero-lines--left .hero-line:nth-child(5n+4) { border-color: rgba(0, 180, 255, 0.75); }
[data-theme="dark"] .hero-lines--left .hero-line:nth-child(5n) { border-color: rgba(180, 60, 255, 0.75); }
[data-theme="dark"] .hero-lines--right .hero-line:nth-child(5n+1) { border-color: rgba(255, 80, 60, 0.75); }
[data-theme="dark"] .hero-lines--right .hero-line:nth-child(5n+2) { border-color: rgba(0, 180, 255, 0.75); }
[data-theme="dark"] .hero-lines--right .hero-line:nth-child(5n+3) { border-color: rgba(0, 120, 255, 0.75); }
[data-theme="dark"] .hero-lines--right .hero-line:nth-child(5n+4) { border-color: rgba(180, 60, 255, 0.75); }
[data-theme="dark"] .hero-lines--right .hero-line:nth-child(5n) { border-color: rgba(139, 92, 246, 0.75); }

[data-theme="dark"] .stats-bar {
  background: #111111;
  border-top-color: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* Platform logo strip */
.platform-strip {
  width: 100%;
  padding: 32px 36px;
  border-bottom: 1px solid var(--border);
}
.platform-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.platform-strip__label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.platform-strip__viewport {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.platform-strip__marquee {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-left 30s linear infinite;
}
.platform-strip__track {
  display: flex;
  align-items: center;
}
.platform-strip__logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.platform-strip__logo:first-child {
  padding-left: 0;
}
.platform-strip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.platform-strip__sep {
  width: 1px;
  height: 14px;
  background: var(--border);
  flex-shrink: 0;
}
.platform-strip__logo--midjourney {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.platform-strip__logo--chatgpt {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.platform-strip__logo--sora {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
}
.platform-strip__logo--higgsfield {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.04em;
}
.platform-strip__logo--kling {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.platform-strip__logo--dalle {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.platform-strip__logo--stablediffusion {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
}
@media (max-width: 768px) {
  .platform-strip__logo {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .platform-strip {
    padding: 24px 20px;
  }
  .platform-strip__inner {
    gap: 16px;
  }
}

/* Tool category filter tabs */
.tools-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 36px;
}
.tools-filter__tab {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--text);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.tools-filter__tab:hover {
  border-color: #E62777;
  color: #E62777;
}
.tools-filter__tab.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.tools-filter__tab.is-active:hover {
  color: var(--bg);
}
.tool-card {
  transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
  max-height: 600px;
  overflow: hidden;
}
.tool-card--hidden {
  opacity: 0;
  max-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border-width: 0 !important;
  pointer-events: none;
}

/* Featured tool spotlight */
.featured-tool {
  width: 100%;
  padding: 48px 36px;
}
.featured-tool__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.featured-tool__label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E62777;
}
.featured-tool__card {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
}
[data-theme="dark"] .featured-tool__card {
  background: #111111;
  border-color: rgba(255, 255, 255, 0.08);
}
.featured-tool__left {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.featured-tool__num {
  font-size: 48px;
  font-weight: 700;
  font-style: italic;
  color: var(--muted);
  line-height: 1;
}
.featured-tool__name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text);
}
.featured-tool__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
}
.featured-tool__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.featured-tool__stat {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.featured-tool__cta {
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 24px 14px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.featured-tool__cta:hover {
  opacity: 0.85;
}
[data-theme="dark"] .featured-tool__cta {
  background: #fff;
  color: #0a0a0a;
}
.featured-tool__right {
  background: var(--surface-1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-left: 1px solid var(--border);
}
.featured-tool__right svg {
  width: 100%;
  height: auto;
  color: var(--text);
}
@media (max-width: 860px) {
  .featured-tool__card {
    grid-template-columns: 1fr;
  }
  .featured-tool__right {
    border-left: none;
    border-top: 1px solid var(--border);
    order: -1;
  }
  .featured-tool__left {
    padding: 32px 24px;
  }
}
@media (max-width: 480px) {
  .featured-tool {
    padding: 32px 20px;
  }
  .featured-tool__name {
    font-size: 24px;
  }
}

/* Features grid (dark section break) */
.features-section {
  width: 100%;
  padding: 80px 36px;
  background: #0a0a0a;
}
.features-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.features-section__head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.features-section__title {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.features-section__subtitle {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}
.feature-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: #E62777;
}
.feature-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.feature-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 860px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .features-section {
    padding: 56px 20px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-section__title {
    font-size: 26px;
  }
}

/* Live demo section */
.live-demo {
  width: 100%;
  padding: 64px 36px;
  background: var(--surface-2);
}
.live-demo__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.live-demo__label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E62777;
  text-align: center;
}
.live-demo__title {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text);
}
.live-demo__subtitle {
  margin: 0 0 32px;
  font-size: 15px;
  color: var(--muted);
}
.live-demo__form {
  max-width: 600px;
  margin: 0 auto;
}
.live-demo__textarea {
  width: 100%;
  min-height: 110px;
  padding: 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  resize: vertical;
}
.live-demo__textarea:focus {
  outline: none;
  border-color: #E62777;
}
.live-demo__submit {
  margin-top: 16px;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.live-demo__submit:hover {
  opacity: 0.85;
}
.live-demo__submit:disabled {
  opacity: 0.6;
  cursor: default;
}
[data-theme="dark"] .live-demo__submit {
  background: #fff;
  color: #0a0a0a;
}
.live-demo__output {
  margin-top: 32px;
  text-align: left;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.live-demo__output[hidden] {
  display: none;
}
.live-demo__output-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.live-demo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.live-demo__chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.live-demo__paste-block {
  position: relative;
}
.live-demo__paste-text {
  margin: 0;
  padding: 14px 44px 14px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}
.live-demo__copy {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.live-demo__copy:hover {
  border-color: #E62777;
  color: #E62777;
}
.live-demo__more {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.live-demo__more a {
  color: #E62777;
  font-weight: 600;
  text-decoration: none;
}
.live-demo__more a:hover {
  text-decoration: underline;
}
.live-demo__error {
  margin-top: 16px;
  font-size: 13px;
  color: #d32f2f;
}
.live-demo__error[hidden] {
  display: none;
}

/* Social proof counters */
.social-proof {
  padding: 40px 36px;
  border-bottom: 1px solid var(--border);
}
.social-proof__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.social-proof__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.social-proof__number {
  font-size: 48px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.05em;
  color: var(--text);
}
.social-proof__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.social-proof__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}
@media (max-width: 640px) {
  .social-proof__divider {
    display: none;
  }
  .social-proof__inner {
    gap: 1.5rem;
  }
  .social-proof__number {
    font-size: 36px;
  }
}
@media (max-width: 480px) {
  .live-demo {
    padding: 48px 20px;
  }
  .live-demo__title {
    font-size: 28px;
  }
}

/* Testimonials */
.testimonials {
  width: 100%;
  padding: 80px 36px;
  background: var(--surface-2);
}
.testimonials__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.testimonials__label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.testimonials__title {
  margin: 0 0 48px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text);
  text-align: center;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
[data-theme="dark"] .testimonial-card {
  background: #111111;
  border-color: rgba(255, 255, 255, 0.08);
}
.testimonial-card__stars {
  color: #E62777;
  font-size: 14px;
  letter-spacing: 2px;
}
.testimonial-card__quote {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}
.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
[data-theme="dark"] .testimonial-card__avatar {
  background: #fff;
  color: #0a0a0a;
}
.testimonial-card__name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-card__role {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .testimonials {
    padding: 56px 20px;
  }
  .testimonials__title {
    font-size: 28px;
  }
}

/* Scroll-triggered signup CTA */
.scroll-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  width: 320px;
  max-width: calc(100vw - 48px);
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(150%);
  transition: transform 0.4s ease;
}
.scroll-cta.is-visible {
  transform: translateY(0);
}
[data-theme="dark"] .scroll-cta {
  background: #111111;
  border-color: rgba(255, 255, 255, 0.1);
}
.scroll-cta__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  line-height: 0;
}
.scroll-cta__close:hover {
  color: var(--text);
}
.scroll-cta__close svg {
  width: 14px;
  height: 14px;
}
.scroll-cta__title {
  margin: 0 0 6px;
  padding-right: 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}
.scroll-cta__subtext {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.scroll-cta__input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  box-sizing: border-box;
}
[data-theme="dark"] .scroll-cta__input {
  border-color: rgba(255, 255, 255, 0.15);
}
.scroll-cta__input:focus {
  outline: none;
  border-color: #E62777;
}
.scroll-cta__submit {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: none;
  border-radius: 999px;
  background: #E62777;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.scroll-cta__submit:hover {
  opacity: 0.88;
}
@media (max-width: 640px) {
  .scroll-cta {
    display: none;
  }
}
