@import url("hero-shared.css");

/* Landing page specific styling (home index.php) */

.rv-usecases-grid {
  padding: 40px 0 96px;
  background: transparent;
}

.rv-usecases-grid .rv-section-head {
  margin-bottom: 74px;
}

.rv-usecases-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* 5 cards: 3 on the first row, remaining left-aligned on the second */
.card-grid-5 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
}

.card-grid-5 > * {
  grid-column: span 2;
}

.rv-industries .featured-grid {
  overflow: visible;
  padding: 16px 0 0;
}

.rv-industries .featured-grid > .feature-card {
  flex: none;
  max-width: none;
  width: auto;
}

.rv-usecase-card {
  padding: 30px 36px;
  border: 2px solid var(--glass-border);
  border-radius: 16px;
  background: #0b1122;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.rv-usecase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 141, 255, 0.65);
}

.rv-usecase-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
  color: var(--neon-blue);
  background: linear-gradient(135deg, rgba(77, 141, 255, 0.18), rgba(157, 108, 255, 0.1));
  border: 1px solid rgba(77, 141, 255, 0.26);
}

.rv-usecase-card h3 {
  font-size: 1.5rem;
  line-height: 1.45;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.rv-usecase-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--neon-blue);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

.rv-usecase-card__link:hover {
  gap: 12px;
  opacity: 0.95;
}

.feature-card__points,
.rv-usecase-card__points,
.card-points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-card__points li,
.rv-usecase-card__points li,
.card-points li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
}

.feature-card__points li::before,
.rv-usecase-card__points li::before,
.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(94, 231, 255, 0.35);
}

.feature-card .uc-learn-more {
  margin-top: auto;
}

/* Homepage hero */
.rv-hero--index3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 20px;
}

.rv-hero--index3 .rv-hero__glow {
  opacity: 0.2;
  filter: blur(72px);
  animation: none;
}

.rv-hero--index3 .rv-hero__glow--1 {
  background: radial-gradient(circle, rgba(77, 141, 255, 0.32) 0%, transparent 72%);
}

.rv-hero--index3 .rv-hero__glow--2 {
  background: radial-gradient(circle, rgba(77, 141, 255, 0.26) 0%, transparent 72%);
}

.rv-hero--index3 .index3-hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 0 3rem 0;
}

.rv-hero--index3 .v1-headline {
  width: 100%;
  max-width: 1080px;
  font-size: clamp(2.8rem, 8.5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 22px;
}

.rv-hero--index3 .v1-grad-line {
  color: var(--neon-blue);
  -webkit-text-fill-color: var(--neon-blue);
}

.rv-hero--index3 .v1-title-ai {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-weight: 600;
}

.rv-hero--index3 .rv-hero__ctas {
  margin-bottom: 14px;
}

/* Industry list in hero centre (desktop + mobile) */
.index3-mobile-industries {
  display: block;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto 28px;
  text-align: left;
  padding-top: 2rem;
}

.index3-mobile-industries__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.index3-mobile-industries__item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
}

.index3-mobile-industries__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neon-blue);
  border: 1px solid rgba(130, 180, 255, 0.5);
  box-shadow: 0 0 12px rgba(77, 141, 255, 0.4);
  color: #ffffff;
  font-size: 0.7rem;
  line-height: 1;
}

.index3-mobile-industries__text {
  margin: 0;
  flex: 1;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(234, 237, 245, 0.92);
}

.index3-mobile-industries__title {
  font-weight: 600;
  color: #ffffff;
}

.index3-mobile-industries__action {
  display: inline;
  margin-left: 0.15em;
  color: var(--neon-blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 0.2s var(--ease-out, ease), opacity 0.2s ease;
}

.index3-mobile-industries__action:hover {
  color: #ffffff;
  opacity: 0.9;
}

.index3-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: min(330px, 27vw);
  padding: 22px 20px 24px;
  border-radius: 18px;
  background: linear-gradient(88deg, #080b18bd, #0e183100);
  display: none;
}

.index3-side2 {
  background: linear-gradient(270deg, #080b18bd, #0e183100);
}

.index3-side--left {
  left: max(16px, calc((100vw - 1400px) / 2));
  border-left: 3px solid #4d8dff;
}

.index3-side--right {
  right: max(16px, calc((100vw - 1400px) / 2));
  border-right: 3px solid #4d8dff;
}

.index3-side__label {
  margin: 0 0 20px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-blue);
  text-align: left;
}

.index3-side--right .index3-side__label {
  text-align: right;
}

.index3-side__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.index3-side__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: clamp(1.1rem, 1.05vw, 1.1rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgb(170 176 210);
}

.index3-side__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.index3-side__link {
  flex: 1;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out, ease);
}

.index3-side__link:hover {
  color: rgba(235, 240, 255, 0.98);
}

.index3-side--right .index3-side__item {
  flex-direction: row-reverse;
  text-align: right;
}

@media (max-width: 1100px) {
  .rv-hero--index3 {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 20px 0px;
    gap: 24px;
    min-height: unset;
  }

  .index3-hero-center {
    order: 1;
    flex: 0 0 100%;
    width: 100%;
  }

  .index3-side {
    position: static;
    transform: none;
    order: 2;
    flex: 1 1 0;
    width: auto;
    max-width: calc(50% - 12px);
    border-radius: 14px;
    border: none;
    background: transparent;
  }

  .index3-side--left,
  .index3-side--right {
    border: none;
  }

  .index3-side--right .index3-side__label,
  .index3-side--right .index3-side__list {
    text-align: left;
  }

  .index3-side--right .index3-side__item {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 980px) {
  .rv-usecases-grid__cards,
  .card-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-5 > * {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .rv-usecases-grid {
    padding: 70px 0;
  }

  .rv-usecases-grid .rv-section-head {
    margin-bottom: 52px;
  }

  .rv-usecases-grid__cards,
  .card-grid-5 {
    grid-template-columns: 1fr;
  }

  .card-grid-5 > * {
    grid-column: auto;
    width: auto;
  }

  .rv-hero--index3 .index3-hero-center{
    padding: 1rem 0 0rem 0;
  }
}

@media (max-width: 600px) {
  .rv-hero--index3 {
    padding: 80px 12px 10px;
    gap: 12px;
  }

  .index3-side {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 16px 12px 18px;
    display: none;
  }


  .rv-hero--index3 .v1-headline {
    width: 100%;
    max-width: 100%;
    line-height: 1.3;
    margin: 0 0 40px;
  }

  .index3-mobile-industries {
    align-self: flex-start;
    max-width: 100%;
    margin: 0 0 24px;
    padding-top: 0;
  }

  .rv-industries .section-eyebrow,
  .rv-industries .featured-usecases-head .section-subtitle {
    display: none;
  }

  .section-subtitle {
    margin-bottom: 5px;
  }
}

/* ── Cloud LLM vs On-Prem AI comparison (home index.php) ──────────────── */
.rv-compare {
  padding: 96px 0;
}

.rv-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.rv-compare-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px;
  border: 2px solid var(--glass-border);
  border-radius: 16px;
  background: #0b1122;
  transition: transform 0.3s, border-color 0.3s;
}

.rv-compare-card:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 141, 255, 0.65);
}

/* On-prem is the outcome this page argues for, so it carries a standing accent */
.rv-compare-card--featured {
  border-color: rgba(77, 141, 255, 0.32);
}

.rv-compare-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rv-compare-card__icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--neon-blue);
  background: linear-gradient(135deg, rgba(77, 141, 255, 0.18), rgba(157, 108, 255, 0.1));
  border: 1px solid rgba(77, 141, 255, 0.26);
}

.rv-compare-card__head h3 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.rv-compare-card__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--compare-tone);
}

/* Outlined glyph, set larger than the label text it sits beside */
.rv-compare-card__label i {
  font-size: 1.35rem;
}

.rv-compare-card__group--pros {
  --compare-tone: var(--neon-blue);
}

.rv-compare-card__group--cons {
  --compare-tone: var(--accent-orange);
}

/* Reuse the page's bullet list; only the flow, scale, and dot colour change
   here, since the card spaces its own blocks with a flex gap */
.rv-compare-card .card-points {
  flex: none;
  margin: 0;
  gap: 12px;
}

.rv-compare-card .card-points li {
  padding-left: 24px;
  font-size: 1.15rem;
}

.rv-compare-card .card-points li::before {
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--compare-tone, var(--neon-blue));
}

.rv-compare-card__verdict {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--glass-border);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 880px) {
  .rv-compare__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .rv-compare {
    padding: 70px 0;
  }

  .rv-compare-card {
    gap: 22px;
    padding: 24px;
  }

  .rv-compare-card__head h3 {
    font-size: 1.5rem;
  }

  .rv-compare-card .card-points li {
    font-size: 1.05rem;
  }

  .rv-compare-card__verdict {
    font-size: 1.05rem;
  }
}

/* ── AI homepage sections (index.php) ─────────────────────────────────── */
.ai-home-panel {
  --ai-home-ink: #e8eefc;
  --ai-home-muted: rgba(200, 214, 240, 0.78);
  --ai-home-line: rgba(255, 255, 255, 0.12);
  --ai-home-card: rgba(11, 17, 34, 0.92);
  --ai-home-pro: #3dd68c;
  --ai-home-con: #ff6b6b;
  padding: clamp(0px, 8vw, 0px) 0;
}

.ai-home-panel + .ai-home-panel {
  padding-top: clamp(36px, 5vw, 80px);
}

.ai-home-panel__head {
  text-align: center;
  max-width: 60rem;
  margin: 0 auto clamp(36px, 5vw, 52px);
}

.ai-home-panel__title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ai-home-ink);
  letter-spacing: -0.02em;
}

.ai-home-panel__sub {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--ai-home-muted);
}

/* AI Trends — pillar cards */
.ai-trends__title {
  margin: 0 0 2.75rem;
  text-align: center;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--ai-home-ink);
  letter-spacing: -0.02em;
}

.ai-trends__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ai-trends__card {
  display: flex;
  flex-direction: column;
  padding: 0 0 8px;
  border-radius: 18px;
  border: 1px solid var(--ai-home-line);
  border-top: 3px solid var(--neon-blue);
  background: var(--ai-home-card);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.ai-trends__card:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 141, 255, 0.55);
  border-top-color: var(--neon-blue);
}

.ai-trends__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 22px 24px 18px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ai-home-ink);
}

.ai-trends__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--neon-blue);
  background: linear-gradient(135deg, rgba(77, 141, 255, 0.18), rgba(157, 108, 255, 0.1));
  border: 1px solid rgba(77, 141, 255, 0.26);
}

.ai-trends__dir {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--neon-blue);
}

.ai-trends__list {
  list-style: none;
  margin: 0;
  padding: 0 8px 16px;
}

.ai-trends__list li {
  padding: 16px 16px 16px 24px;
  border-top: 1px solid var(--ai-home-line);
}

.ai-trends__list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ai-home-ink);
  line-height: 1.35;
}

.ai-trends__list span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ai-home-muted);
}

@media (max-width: 900px) {
  .ai-trends__grid {
    grid-template-columns: 1fr;
  }
}

/* Frontier vs On-Prem */
.ai-llm-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ai-llm-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: clamp(26px, 3vw, 38px);
  border-radius: 18px;
  border: 1px solid var(--ai-home-line);
  background: var(--ai-home-card);
}

.ai-llm-card__title {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
  font-weight: 700;
  color: var(--ai-home-ink);
}

.ai-llm-card__group-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 700;
}

.ai-llm-card__group--pros .ai-llm-card__group-label { color: var(--ai-home-pro); }
.ai-llm-card__group--cons .ai-llm-card__group-label { color: var(--ai-home-con); }

.ai-llm-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-llm-card__list strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(1.12rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--ai-home-ink);
}

.ai-llm-card__list span {
  display: block;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  color: var(--ai-home-muted);
}

/* AI STACK — layered cards (no step numbers) */
.ai-stack-a__layers {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ai-stack-a__card {
  display: grid;
  grid-template-columns: minmax(142px, 1fr) minmax(0, 2fr);
  gap: 6rem;
  align-items: center;
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px);
  border-radius: 16px;
  border: 1px solid var(--ai-home-line);
  background: linear-gradient(135deg, rgba(77, 141, 255, 0.08), transparent 42%), var(--ai-home-card);
}

.ai-stack-a__copy {
  min-width: 0;
}

.ai-stack-a__layer-title {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  font-weight: 700;
  color: var(--ai-home-ink);
  margin-bottom: 8px;
}

.ai-stack-a__copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ai-home-muted);
}

.ai-stack-a__card > .ai-stack-chips {
  justify-content: flex-start;
}

.ai-stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-stack-chips li {
  padding: 0;
  border: 0;
  background: transparent;
}

.ai-stack-chips a,
.ai-stack-chips span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight:500;
  color: var(--ai-home-ink);
  background: rgba(77, 141, 255, 0.14);
  border: 1px solid rgba(120, 170, 255, 0.32);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ai-stack-chips a:hover {
  border-color: rgba(120, 170, 255, 0.7);
  background: rgba(77, 141, 255, 0.24);
  transform: translateY(-1px);
}

.ai-stack-note {
  margin: 28px 0 30px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ai-home-muted);
}

@media (max-width: 980px) {
  .rv-hero--index3 .index3-hero-center{
    padding: 1rem 0 2rem 0;
  }

  .ai-llm-compare__grid {
    grid-template-columns: 1fr;
  }

  .ai-stack-a__card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: clamp(30px, 3vw, 30px) clamp(24px, 3vw, 36px);
  }

  .ai-stack-a__card > .ai-stack-chips {
    justify-content: flex-start;
  }
}
@media (max-width: 426px) {
  .ai-stack-chips{
    gap: 16px 10px;
  }
}