/* ----------------------------------------------------------------------------
 * Orion Home Page Styles
 * --------------------------------------------------------------------------
 * The landing page uses bespoke hero, trust and feature sections. They live in
 * this file so we can keep base.css focused on shared UI building blocks.
 * -------------------------------------------------------------------------- */

.hero,
.sub-hero {
  padding: 2rem clamp(1.1rem, 4vw, 4.75rem) 3.1rem;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  position: relative;
}

.hero {
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(120% 120% at 90% 10%, rgba(99, 102, 241, 0.25), transparent 65%),
    radial-gradient(80% 120% at 15% 15%, rgba(34, 211, 238, 0.18), transparent 60%),
    linear-gradient(120deg, rgba(10, 14, 28, 0.6), rgba(6, 8, 18, 0.9));
}

.hero__grid {
  position: absolute;
  inset: 8%;
  border-radius: 40px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  filter: blur(0.4px);
}

.hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero__orb--violet {
  width: clamp(260px, 34vw, 420px);
  height: clamp(260px, 34vw, 420px);
  top: -14%;
  right: -8%;
  background: radial-gradient(circle at 30% 30%, rgba(120, 124, 255, 0.9), rgba(99, 102, 241, 0));
}

.hero__orb--cyan {
  width: clamp(200px, 28vw, 320px);
  height: clamp(200px, 28vw, 320px);
  bottom: 8%;
  right: 18%;
  background: radial-gradient(circle at 70% 30%, rgba(34, 211, 238, 0.85), rgba(34, 211, 238, 0));
}

.hero__orb--pink {
  width: clamp(220px, 30vw, 360px);
  height: clamp(220px, 30vw, 360px);
  bottom: -12%;
  left: -8%;
  background: radial-gradient(circle at 40% 40%, rgba(244, 114, 182, 0.75), rgba(244, 114, 182, 0));
}

.hero__confidence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.85rem;
}

.hero__confidence-item {
  padding: 0.95rem 1.15rem;
  border-radius: 20px;
  background: rgba(14, 18, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(6, 10, 26, 0.35);
  display: grid;
  gap: 0.25rem;
}

.hero__confidence-item strong {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.hero__confidence-item span {
  font-size: 0.85rem;
  color: rgba(226, 231, 255, 0.7);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Highlight section ------------------------------------------------------- */
.highlight {
  position: relative;
  display: grid;
  gap: 2.6rem;
  padding: clamp(3.2rem, 8vw, 5rem) clamp(1.1rem, 4vw, 4.75rem);
  border-radius: 42px;
  margin: 3rem clamp(1.1rem, 4vw, 4.75rem) 4rem;
  background:
    radial-gradient(140% 140% at 100% 0%, rgba(99, 102, 241, 0.22), rgba(9, 12, 26, 0.85)),
    linear-gradient(120deg, rgba(8, 10, 22, 0.95), rgba(13, 16, 30, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.highlight::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(34, 211, 238, 0.22), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.highlight__intro {
  position: relative;
  max-width: 680px;
  display: grid;
  gap: 1rem;
}

.highlight__intro h2 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
}

.highlight__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.highlight__card {
  position: relative;
  padding: 1.8rem;
  border-radius: 24px;
  background: rgba(10, 12, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 45px rgba(5, 9, 24, 0.35);
  display: grid;
  gap: 0.85rem;
}

.highlight__card h3 {
  font-size: 1.2rem;
}

.highlight__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 24px rgba(8, 12, 32, 0.3);
}

.highlight__icon::before {
  content: '✦';
}

.highlight__icon--spark {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(129, 140, 248, 0.15));
}

.highlight__icon--spark::before {
  content: '⚡';
}

.highlight__icon--shield {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(14, 116, 144, 0.25));
}

.highlight__icon--shield::before {
  content: '🛡';
}

.highlight__icon--pulse {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(244, 63, 94, 0.15));
}

.highlight__icon--pulse::before {
  content: '⏱';
}

.highlight__icon--infinity {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(129, 230, 217, 0.18));
}

.highlight__icon--infinity::before {
  content: '∞';
}

.highlight__icon::before {
  font-size: 1.15rem;
}

/* Journey timeline ------------------------------------------------------- */
.journey {
  padding: 4.5rem clamp(1.1rem, 4vw, 4.75rem) 3.5rem;
}

.journey__timeline {
  position: relative;
  display: grid;
  gap: 1.8rem;
  margin-top: 2.5rem;
  padding-left: clamp(0.5rem, 2vw, 1.25rem);
}

.journey__timeline::before {
  content: '';
  position: absolute;
  left: clamp(0.6rem, 2vw, 1.4rem);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.45), rgba(14, 23, 43, 0));
}

.journey__step {
  position: relative;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.4rem 1.6rem 1.4rem clamp(1.6rem, 4vw, 2.6rem);
  background: rgba(9, 12, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  box-shadow: 0 24px 44px rgba(5, 8, 20, 0.35);
}

.journey__badge {
  position: relative;
  min-width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.55), rgba(129, 140, 248, 0.25));
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 32px rgba(11, 13, 28, 0.5);
}

.journey__step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.journey__step p {
  color: rgba(226, 231, 255, 0.78);
}

/* Testimonials ----------------------------------------------------------- */
.testimonials {
  padding: 4.2rem clamp(1.1rem, 4vw, 4.75rem) 4.6rem;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(120, 124, 255, 0.18), transparent 55%),
    radial-gradient(120% 160% at 80% 0%, rgba(236, 72, 153, 0.14), transparent 70%),
    rgba(7, 9, 18, 0.85);
  border-radius: 40px;
  margin: 4rem clamp(1.1rem, 4vw, 4.75rem);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 32px 80px rgba(5, 8, 20, 0.42);
}

.testimonials__grid {
  display: grid;
  gap: 1.8rem;
  margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
  background: rgba(10, 12, 26, 0.86);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
  display: grid;
  gap: 1.35rem;
  box-shadow: 0 20px 44px rgba(6, 10, 26, 0.35);
}

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(56, 189, 248, 0.35));
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.testimonial-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}

.testimonial-card span {
  font-size: 0.9rem;
  color: rgba(224, 231, 255, 0.68);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(244, 246, 255, 0.92);
  white-space: pre-wrap;
}

/* Landing hero with GPU metrics and CTA buttons */
.hero--landing {
  padding-top: clamp(5.3rem, 10.5vw, 8rem);
}

/* Secondary hero used on the platform page but visually aligned with the main hero */
.sub-hero {
  padding-top: clamp(5rem, 9.5vw, 7.5rem);
}

/* --- Trust marquee -------------------------------------------------------- */
.trust {
  display: grid;
  gap: 1.6rem;
  padding: 2.4rem clamp(1.1rem, 4vw, 4.75rem) 3rem;
}

.trust__headline {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
}

.trust__headline p {
  color: var(--muted);
  margin: 0;
}

.trust__marquee {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(14, 23, 43, 0.6));
  padding: 1.35rem 0;
}

.trust__marquee--static {
  overflow: visible;
  padding: 1.35rem 1.9rem;
}

.trust__marquee--static p {
  margin: 0;
  color: rgba(224, 231, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.6;
}

.trust__marquee--static a {
  color: #a5b4fc;
  font-weight: 600;
  text-decoration: underline;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 18s linear infinite;
  padding-left: 3.5rem;
}

.marquee--paused .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(224, 231, 255, 0.75);
  position: relative;
}

.marquee__item::after {
  content: '';
  position: absolute;
  right: -1.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.marquee__item:last-child::after {
  display: none;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Account CTA ------------------------------------------------------------- */
.account-cta {
  margin-top: 6rem;
}

.account-cta__card {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 360px);
  padding: 3rem;
  border-radius: 32px;
  background: radial-gradient(120% 160% at 100% 0%, rgba(90, 88, 255, 0.28), rgba(14, 16, 36, 0.92));
  box-shadow: 0 28px 60px rgba(14, 16, 36, 0.28);
  color: #f4f6ff;
}

.account-cta__info .badge {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fefeff;
}

.account-cta__info h2 {
  margin: 1.5rem 0 1rem;
  font-size: clamp(2rem, 2.6vw, 2.6rem);
}

.account-cta__info p {
  margin: 0;
  line-height: 1.7;
  color: rgba(236, 238, 255, 0.85);
}

.account-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.account-cta__preview {
  position: relative;
  display: grid;
  place-items: center;
}

.account-cta__chip {
  position: absolute;
  top: -1.5rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-cta__modal-mock {
  width: 100%;
  max-width: 280px;
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  background: rgba(8, 10, 24, 0.85);
  box-shadow: 0 24px 48px rgba(8, 10, 24, 0.4);
  display: grid;
  gap: 1.25rem;
}

.account-cta__modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: rgba(240, 242, 255, 0.9);
}

.account-cta__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8ea3ff;
  box-shadow: 0 0 8px rgba(142, 163, 255, 0.6);
}

.account-cta__modal-body {
  display: grid;
  gap: 0.9rem;
}

.account-cta__skeleton {
  display: block;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.12));
  background-size: 160% 160%;
  animation: account-shimmer 2.4s ease-in-out infinite;
}

.account-cta__skeleton--title {
  height: 18px;
}

.account-cta__skeleton--field {
  height: 42px;
}

.account-cta__skeleton--button {
  height: 44px;
}

@keyframes account-shimmer {
  0% {
    background-position: 160% 0;
  }
  50% {
    background-position: 0 0;
  }
  100% {
    background-position: 160% 0;
  }
}

@media (max-width: 960px) {
  .hero,
  .sub-hero {
    gap: 2.2rem;
  }

  .hero__confidence {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .highlight {
    margin: 2.5rem clamp(1rem, 5vw, 3rem) 3.5rem;
    border-radius: 34px;
  }

  .highlight__grid {
    gap: 1.25rem;
  }

  .journey__step {
    flex-direction: column;
    padding: 1.35rem 1.35rem 1.5rem clamp(1.35rem, 4vw, 2.1rem);
  }

  .journey__badge {
    min-width: 44px;
  }

  .testimonials {
    margin: 3.5rem clamp(1rem, 5vw, 3rem);
  }

  .account-cta__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .account-cta__preview {
    justify-items: center;
  }

  .account-cta__actions {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .hero,
  .sub-hero {
    padding-bottom: 2.5rem;
    gap: 2rem;
  }

  .hero__stats {
    margin-top: 0.5rem;
  }

  .hero__confidence {
    grid-template-columns: 1fr;
  }

  .highlight {
    padding: clamp(2.6rem, 8vw, 3.5rem) clamp(1rem, 6vw, 2.2rem);
    margin: 2.25rem clamp(0.8rem, 5vw, 2.4rem) 3rem;
  }

  .highlight__grid {
    grid-template-columns: 1fr;
  }

  .journey__timeline {
    padding-left: 0.25rem;
  }

  .journey__timeline::before {
    left: 1.15rem;
  }

  .journey__step {
    padding: 1.25rem 1.15rem 1.3rem 2.6rem;
  }

  .journey__badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
  }

  .journey__step div {
    margin-left: 2.6rem;
  }

  .testimonials {
    padding: 3rem clamp(0.9rem, 5vw, 2rem) 3.6rem;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .trust {
    padding: 2.2rem clamp(0.9rem, 4vw, 3.25rem) 2.75rem;
    gap: 1.4rem;
  }

  .marquee__track {
    gap: 2.4rem;
    padding-left: 2.4rem;
  }

  .feature-grid {
    gap: 1.4rem;
  }
}

@media (max-width: 560px) {
  .hero__ticks {
    gap: 0.55rem;
  }

  .hero__actions {
    width: 100%;
  }

  .trust__marquee {
    border-radius: 20px;
  }

  .marquee__item {
    letter-spacing: 0.04em;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card__avatar {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 600px) {
  .account-cta__card {
    padding: 2.5rem 1.75rem;
    border-radius: 26px;
  }

  .account-cta__chip {
    top: -1rem;
    right: 0;
    left: 0;
    margin: 0 auto;
  }
}
