/* =====================================================================
   RIA — FINAL "READY?" CTA SECTION
   Loaded after every other landing CSS. Sits at the very end of the
   page as the closing pitch — Oryzo-style: small eyebrow → massive
   display type → CTA + secondary action → credibility bullets.

   Single section, no scrollytelling. Goal is to leave the visitor
   with a clean conversion moment after the long product story.
   ===================================================================== */

.ready-cta {
  position: relative;
  margin: 6rem 0 4rem;
  padding: clamp(4rem, 8vw, 8rem) 1rem clamp(4rem, 7vw, 6rem);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Ambient aura behind the section — pulses softly. */
.ready-aura {
  position: absolute;
  inset: -10%;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 55%,
      rgba(139, 92, 246, 0.20) 0%,
      rgba(34, 211, 238, 0.08) 35%,
      transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  animation: readyAura 9s ease-in-out infinite;
}
@keyframes readyAura {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.9; }
  50%      { transform: scale(1.04) translateY(-1%); opacity: 1; }
}

/* Eyebrow */
.ready-eyebrow {
  display: inline-block;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent-color, #22d3ee);
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.95rem;
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
}

/* Display — same gigantic energy as Oryzo's product hero. */
.ready-display {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  /* clamp() scales fluidly. Min 3rem (small phone), max 9rem (4k). */
  font-size: clamp(3rem, 12vw, 9rem);
  margin: 0 auto 1.2rem;
  max-width: 14ch;
  background: linear-gradient(180deg,
    #ffffff 0%,
    #ededef 35%,
    rgba(237, 237, 239, 0.6) 80%,
    rgba(237, 237, 239, 0.35) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  /* If the rest of the page applies the split-text gradient to .char
     spans, our same gradient is mirrored there in landing-cinematic.css —
     it'll still look right after the splitText runs. */
}

.ready-tagline {
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.18rem);
  line-height: 1.5;
  max-width: 46ch;
  margin: 0 auto 2.4rem;
  letter-spacing: -0.005em;
}

/* CTA row */
.ready-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
  perspective: 1200px;
}

.ready-cta-primary {
  padding: 1.05rem 1.85rem !important;
  font-size: 1.05rem !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  background: linear-gradient(135deg,
    var(--primary-color, #8b5cf6) 0%,
    var(--accent-color, #22d3ee) 100%) !important;
  color: #0a0a0a !important;
  border: none !important;
  box-shadow:
    0 14px 40px -14px rgba(139, 92, 246, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.ready-cta-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 20px 56px -18px rgba(139, 92, 246, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}
.ready-cta-primary::after {
  /* Sheen sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 65%);
  transform: translateX(-130%);
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.ready-cta-primary:hover::after {
  transform: translateX(130%);
}
.ready-cta-primary svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ready-cta-primary:hover svg {
  transform: translateX(3px);
}

.ready-cta-secondary {
  padding: 1.05rem 1.6rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.14)) !important;
  color: var(--text-primary, #ededef) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.ready-cta-secondary:hover {
  border-color: var(--primary-color, #8b5cf6) !important;
  background: rgba(139, 92, 246, 0.06) !important;
  transform: translateY(-1px);
}

/* Credibility bullets */
.ready-bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.ready-bullet {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  letter-spacing: -0.005em;
}
.ready-bullet .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.55);
  flex-shrink: 0;
}

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ready-aura { animation: none !important; }
  .ready-cta-primary { transition: none !important; }
  .ready-cta-primary::after { display: none !important; }
}

/* ── Mobile tightening ───────────────────────────────────────────────── */
@media (max-width: 700px) {
  .ready-cta { margin: 4rem 0 3rem; }
  .ready-display {
    font-size: clamp(2.6rem, 18vw, 4.5rem);
    max-width: 12ch;
  }
  .ready-tagline { font-size: 0.95rem; max-width: 34ch; }
  .ready-cta-row { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto 2.5rem; }
  .ready-cta-primary,
  .ready-cta-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.4rem !important;
    font-size: 0.98rem !important;
  }
  .ready-bullets { flex-direction: column; gap: 0.7rem; }
  .ready-bullet { font-size: 0.85rem; }
}

@media (max-width: 500px) {
  .ready-display { font-size: clamp(2.4rem, 20vw, 3.8rem); }
}
