/* ========================================================================
   Landing page — editorial hero, asymmetric, magazine flavor (Mobile-First)
   ======================================================================== */

.hero {
  padding: 32px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.hero__text { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(2rem, 11vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 18px 0 24px;
  font-weight: 400;
}
.hero__title em {
  font-style: italic;
  color: var(--clay-500);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute;
  bottom: 0.05em; left: 0; right: 0;
  height: 12px;
  background: var(--clay-50);
  z-index: -1;
  transform: skewX(-4deg);
}

.hero__lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__actions .btn { padding: 14px 22px; font-size: var(--text-sm); }
.hero__actions .btn--lg { padding: 14px 22px; font-size: var(--text-sm); }

.hero__proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero__proof-item .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--ink-500);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.hero__proof-item .lbl {
  font-size: var(--text-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero visual — mobile default is vertical stacked */
.hero__visual {
  position: relative;
  height: 440px;
  max-width: 380px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform-style: preserve-3d;
  width: 65%;
  min-width: 200px;
}
.hero-card .thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: var(--cream-200);
  position: relative;
  overflow: hidden;
}
.hero-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.06));
}

.hero-card--main {
  top: 0%; left: 17%;
  z-index: 2;
  transform: rotate(-2deg);
  animation: hero-float-a 7s ease-in-out infinite;
}

.hero-card--side {
  top: 25%; left: 14%;
  z-index: 1;
  transform: rotate(3deg);
  animation: hero-float-b 8s ease-in-out infinite;
}
.hero-card--side .thumb { display: none; } /* Hide thumb on mobile to make pills smaller */

.hero-card--bottom {
  top: 50%; left: 20%;
  z-index: 3;
  transform: rotate(-1deg);
  animation: hero-float-c 9s ease-in-out infinite;
}
.hero-card--bottom .thumb { display: none; }

.hero-card .meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--text-2xs);
}
.hero-card .meta strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-card .meta .price { color: var(--clay-500); font-weight: 500; font-size: 0.8rem; }
.hero-card .meta .tag-row { color: var(--text-muted); }

@keyframes hero-float-a {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}
@keyframes hero-float-b {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-10px); }
}
@keyframes hero-float-c {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-6px); }
}

/* Floating AI chip - round black badge on mobile */
.hero__ai-chip {
  position: absolute;
  top: 60%; left: 35%;
  background: var(--ink-500);
  color: var(--cream-50);
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
  font-size: 10px;
  box-shadow: var(--shadow-xl);
  z-index: 5;
  animation: hero-chip 4s ease-in-out infinite;
}
.hero__ai-chip .dot {
  width: 6px; height: 6px;
  background: var(--clay-300);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes hero-chip {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

/* Background ornament */
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--clay-50), transparent 60%);
  opacity: 0.5;
  z-index: 0;
  filter: blur(40px);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--sage-50), transparent 65%);
  opacity: 0.4;
  z-index: 0;
  filter: blur(40px);
}

@media (min-width: 901px) {
  .hero { padding: clamp(40px, 7vw, 80px) 0 clamp(60px, 9vw, 120px); }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); }
  .hero__title { font-size: clamp(2.75rem, 7.2vw, 6.2rem); margin: 18px 0 24px; }
  .hero__actions { margin-bottom: 48px; }
  .hero__proof { display: flex; gap: 36px; }
  .hero__proof-item .num { font-size: 2.25rem; }
  .hero__visual { height: 600px; max-width: none; }
  
  .hero-card { flex-direction: column; padding: 16px; gap: 12px; }
  .hero-card .thumb { display: block; }
  
  .hero-card--main { width: 340px; top: 4%; left: 6%; transform: rotate(-3deg); max-width: 75%; }
  .hero-card--side { width: 260px; top: 18%; right: -2%; left: auto; transform: rotate(4deg); max-width: 60%; }
  .hero-card--side .thumb { aspect-ratio: 1/1; display: block; }
  .hero-card--bottom { width: 290px; bottom: 2%; top: auto; left: 0%; transform: rotate(-1deg); max-width: 65%; }
  .hero-card--bottom .thumb { aspect-ratio: 5/4; display: block; }
  
  .hero-card .meta { flex-direction: row; justify-content: space-between; font-size: var(--text-xs); }
  .hero-card .meta strong { font-size: 1rem; }
  .hero-card .meta .price { font-size: 1rem; }
  
  .hero__ai-chip { 
    width: auto; height: auto; border-radius: var(--radius-full); 
    flex-direction: row; font-size: var(--text-sm); padding: 12px 18px; gap: 10px;
    top: 56%; left: 38%;
  }
}

/* ── Marquee strip ────────────────────────────────────────────────── */
.marquee {
  background: var(--ink-500);
  color: var(--cream-100);
  padding: 12px 0; /* Mobile first */
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 30px; /* Mobile first */
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem; /* Mobile first */
  white-space: nowrap;
  font-style: italic;
  color: var(--cream-100);
  font-variation-settings: "opsz" 144;
}
.marquee__item .star { color: var(--clay-300); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (min-width: 601px) {
  .marquee { padding: 18px 0; }
  .marquee__track { gap: 60px; }
  .marquee__item { font-size: 1.5rem; gap: 12px; }
}

/* ── Section: How it works ────────────────────────────────────────── */
.how { padding: 80px 0; }
.how__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 48px;
}
.how__head h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); max-width: 14ch; }
.how__head p { color: var(--text-muted); max-width: 50ch; font-size: var(--text-md); }

.how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px 28px;
  position: relative;
  z-index: 1;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  width: 40px; height: 40px; font-size: 1rem;
  background: var(--ink-500);
  color: var(--cream-50);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 24px;
}
.step:nth-child(2) .step__num { background: var(--clay-500); }
.step:nth-child(3) .step__num { background: var(--sage-500); }
.step h4 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: var(--text-sm); }
.step__icons { margin-top: 24px; display: flex; gap: 8px; font-size: 1.2rem; }

@media (min-width: 801px) {
  .how { padding: clamp(80px, 12vw, 140px) 0; }
  .how__head { grid-template-columns: 1.1fr 0.9fr; gap: 60px; margin-bottom: 72px; }
  .how__steps { grid-template-columns: repeat(3, 1fr); }
  .how__steps::before {
    content: "";
    position: absolute;
    top: 56px; left: 16%; right: 16%; height: 1px;
    background: repeating-linear-gradient(90deg, var(--border-strong), var(--border-strong) 4px, transparent 4px, transparent 12px);
    z-index: 0;
  }
  .step__num { width: 48px; height: 48px; font-size: 1.2rem; }
}

/* ── Features grid ────────────────────────────────────────────────── */
.features { padding: 40px 0 80px; }
.features__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.feature {
  grid-column: span 12;
  border-radius: var(--radius-xl);
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--dur-base) var(--ease-out);
  overflow: hidden;
  position: relative;
}
.feature:hover { transform: translateY(-3px); }
.feature h4 { font-size: 1.6rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.feature p { color: var(--text-muted); font-size: var(--text-sm); }

.feature--lg { background: var(--ink-500); color: var(--cream-50); }
.feature--lg h4 { color: var(--cream-50); font-size: 1.8rem; }
.feature--lg p { color: rgba(247, 242, 232, 0.7); max-width: 36ch; }
.feature--md { background: var(--clay-500); color: var(--cream-50); }
.feature--md h4 { color: var(--cream-50); }
.feature--md p { color: rgba(247, 242, 232, 0.8); }
.feature--sm-2 { background: var(--cream-100); border: 0; }
.feature--sm-3 { background: var(--sage-50); border: 0; }

.feature__visual { margin-top: 20px; height: 120px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }

@media (min-width: 901px) {
  .features { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 12vw, 140px); }
  .feature { padding: 32px; min-height: 280px; }
  .feature--lg { grid-column: span 7; min-height: 360px; }
  .feature--lg h4 { font-size: 2.4rem; }
  .feature--md { grid-column: span 5; }
  .feature--sm { grid-column: span 4; }
  .feature--sm-2 { grid-column: span 4; }
  .feature--sm-3 { grid-column: span 4; }
}

/* ── Testimonial ──────────────────────────────────────────────────── */
.testimonial { padding: 60px 0; text-align: center; position: relative; }
.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 6vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0 auto 36px;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.testimonial__quote::before {
  content: "❝"; display: block; font-size: 4rem; color: var(--clay-500);
  line-height: 0.5; margin-bottom: 24px;
}
.testimonial__author { display: inline-flex; align-items: center; gap: 12px; }
.testimonial__author .name { font-weight: 500; }
.testimonial__author .role { color: var(--text-muted); font-size: var(--text-sm); }
@media (min-width: 601px) {
  .testimonial { padding: clamp(60px, 10vw, 120px) 0; }
  .testimonial__quote { font-size: clamp(1.8rem, 4vw, 3rem); }
}

/* ── CTA banner ──────────────────────────────────────────────────── */
.cta-banner {
  margin: 40px 0;
  background: var(--ink-500);
  border-radius: 24px;
  padding: 40px 24px;
  color: var(--cream-50);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  color: var(--cream-50);
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 0 auto 24px;
}
.cta-banner h2 em { font-style: italic; color: var(--clay-300); }
.cta-banner p {
  color: rgba(247, 242, 232, 0.7);
  max-width: 48ch;
  margin: 0 auto 36px;
  font-size: var(--text-md);
}
.cta-banner::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--clay-500), transparent 70%);
  opacity: 0.5; filter: blur(30px);
}
.cta-banner::after {
  content: ""; position: absolute; bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--plum-500), transparent 70%);
  opacity: 0.4; filter: blur(30px);
}
@media (min-width: 601px) {
  .cta-banner { margin: 60px 0; border-radius: var(--radius-2xl); padding: clamp(48px, 8vw, 80px); }
}

/* ── Pricing / Plan teaser ────────────────────────────────────────── */
.differ { padding: 60px 0; }
.differ__head { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: end; margin-bottom: 48px; }
.differ__head h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.03em; }
.differ__head p { color: var(--text-muted); font-size: var(--text-md); }
.differ__list {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
}
.differ__item {
  background: var(--bg); padding: 36px; display: flex; flex-direction: column; gap: 12px;
  transition: background var(--dur-base) var(--ease-out);
}
.differ__item:hover { background: var(--surface); }
.differ__item .num {
  font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: var(--clay-500); line-height: 1;
}
.differ__item h5 { font-size: 1.35rem; }
.differ__item p { color: var(--text-muted); font-size: var(--text-sm); }
@media (min-width: 801px) {
  .differ { padding: clamp(60px, 10vw, 120px) 0; }
  .differ__head { grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 64px; }
  .differ__list { grid-template-columns: repeat(2, 1fr); }
}
