/* ==========================================================================
   Cenematic home-c — "feature" section (split: centered head, text | image)
   ========================================================================== */

.feature {
  position: relative;
  overflow: hidden;
  padding: 84px 40px;
  background: #fbfbfe;
  color: var(--ink);
}

/* Faint warm aurora */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 50% at 15% 0%, rgba(255, 193, 7, 0.06), transparent 70%),
    radial-gradient(45% 50% at 85% 100%, rgba(255, 61, 0, 0.04), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.feature__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "title title"
    "tag   tag"
    "vs    vs";
  gap: 0 56px;
  align-items: center;
}

.feature__title {
  grid-area: title;
  margin: 0 0 10px;
  font-size: clamp(27px, 3.3vw, 44px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-align: center;
}

/* Darker burnt ramp — holds contrast on the light background */
.feature__title-accent {
  background: linear-gradient(105deg, #d97706, #ea580c, #c2410c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature__tag {
  grid-area: tag;
  display: inline-block;
  justify-self: center;
  margin: 0 0 36px;
  padding: 4px 14px;
  border-radius: 8px;
  background: linear-gradient(100deg, #ffc107, #ff8a00);
  color: #141414;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  transform: rotate(-1.2deg);
}

/* Old Way vs Cénematic Way comparison ------------------------------------- */
.vs {
  grid-area: vs;
  position: relative;
  max-width: 900px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.vs__card { padding: 36px 34px; border-radius: 24px; }
.vs__card--old { background: #f1f2f6; color: var(--ink); }
.vs__card--new {
  position: relative;
  overflow: hidden;
  color: #fff;
  /* Warm glow pooled at the top, fading to near-black */
  background:
    radial-gradient(130% 75% at 50% -20%, rgba(255, 168, 64, 0.30), transparent 60%),
    #0a0a12;
  box-shadow: 0 30px 70px -34px rgba(255, 138, 0, 0.5);
}
/* Film grain, strongest toward the top (overlay shows it on the dark areas only) */
.vs__card--new::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
  /* white speckles: noise luminance -> alpha, then gamma-sparsified for grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.299 0.587 0.114 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='gamma' exponent='3' amplitude='1' offset='0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 70%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 70%);
}

.vs__title {
  margin-bottom: 20px;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.vs__media { margin: 0 0 22px; }
.vs__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }

.vs__list { list-style: none; }
.vs__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 1.4;
}
.vs__list li + li { border-top: 1px solid rgba(13, 15, 28, 0.08); }
.vs__card--new .vs__list li + li { border-top-color: rgba(255, 255, 255, 0.1); }
.vs__list li::before { flex-shrink: 0; font-weight: 900; font-size: 1.05em; line-height: 1.35; }
.vs__card--old .vs__list li::before { content: "✕"; color: #ef4444; }
.vs__card--new .vs__list li::before { content: "✓"; color: #ffc107; }

/* Creative emphasis on the Cénematic steps */
.vs__card--new .vs__list strong {
  font-weight: 800;
  background: linear-gradient(100deg, #ffd24d, #ff8a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vs__go {
  display: inline-block;
  padding: 0.02em 0.42em 0.1em;
  border-radius: 0.28em;
  background: linear-gradient(100deg, #ff8a00, #ff3d00);
  color: #fff;
  font-weight: 800;
  font-size: 0.94em;
  letter-spacing: 0.02em;
  transform: rotate(-2deg);
}

/* "VS" mark on the seam — bare handwritten text, no container */
.vs__badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 3;
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1;
  background: linear-gradient(135deg, #ffc107, #ff8a00, #ff3d00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* precise hard shadow (0 blur), works with gradient-clipped text */
  filter: drop-shadow(3px 3px 0 #0d0f1c);
}

/* Hand-painted brush underline */
.paint-underline {
  background: url(../assets/icons/underline-brush.svg) no-repeat left bottom;
  background-size: 100% 1.05em;
  padding-bottom: 0.5em;
}

/* Thinner brush under the headline's ANYONE */
.feature__title .paint-underline {
  background-size: 100% 0.5em;
  padding-bottom: 0.26em;
}

@media (max-width: 880px) {
  .feature { padding: 56px 24px; }
  .feature__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "tag"
      "vs";
    gap: 0;
  }
  .vs { grid-template-columns: 1fr; gap: 16px; }
  .vs__badge { position: static; transform: rotate(-8deg); display: block; text-align: center; margin: 4px 0; }
}
