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

/* Landing page specific styling (home index.php; also index3.php via header) */

/* Featured use-case matrix: 3x3 with middle dividers only */
.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;
}

.rv-usecase-card {
  padding: 48px 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: 10px;
  color: var(--text-primary);
}

.rv-usecase-card p {
  margin: 0 0 14px;
  flex: 1;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}

.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;
}

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

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

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

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

/* ── Homepage index3 hero (index.php + index3.php) ───────────────────── */
.rv-hero--index3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 10px;
}

.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: 960px;
  font-size: clamp(3.75rem, 11vw, 6.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 22px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: clamp(0.16em, 2vw, 0.38em);
}

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

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

.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);
}

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

.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--right .index3-side__item {
  flex-direction: row-reverse;
  text-align: right;
}

.index3-side__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(160, 205, 255, 0.95);
  background: rgba(77, 141, 255, 0.12);
  border: 1px solid rgba(77, 141, 255, 0.22);
  margin-top: 2px;
}

.index3-side--right .index3-side__icon {
  background: rgba(94, 231, 255, 0.08);
  border-color: rgba(94, 231, 255, 0.22);
  color: rgba(180, 245, 255, 0.95);
}

/* ── Mobile / tablet: show side panels below the centre hero content ─── */
@media (max-width: 1100px) {
  .rv-hero--index3 {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 20px 60px;
    gap: 24px;
    min-height: unset;
  }

  /* Centre block takes the full width first */
  .index3-hero-center {
    order: 1;
    flex: 0 0 100%;
    width: 100%;
  }

  /* Both panels sit side-by-side below the hero — no borders */
  .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 {
    border: none;
  }

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

  /* Right panel: left-align everything, single column stacked */
  .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;
  }
}

/* ── Small mobile: panels stay side-by-side, tighten sizing ─────────── */
@media (max-width: 600px) {
  .rv-hero--index3 {
    padding: 80px 12px 10px;
    gap: 12px;
  }

  /* Stack panels full-width: AI FOR first, Agentic AI Security below */
  .index3-side {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 16px 12px 18px;
    display: none;
  }

  /* AI FOR (left): 2×2 grid — mobile only */
  .index3-side--left .index3-side__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .index3-side--left .index3-side__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 6px 10px 0;
    font-size: 1rem;
  }

  /* Remove divider on the last two items (bottom row) */
  .index3-side--left .index3-side__item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .index3-side__item {
    padding: 10px 0;
    font-size: 1rem;
    gap: 8px;
  }

  .index3-side__label {
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
  }

  .index3-side__icon {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }
  .rv-hero--index3 .index3-hero-center {
    align-items: flex-start;
    text-align: left;
    padding: 1rem 20px 1rem;
  }

  .rv-hero--index3 .v1-headline {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    line-height: 1.3;
  }

  .rv-hero--index3 .rv-hero__ctas {
    justify-content: flex-start;
    width: 100%;
  }

  .rv-industries .section-eyebrow{
    display: none;
  }
  .section-subtitle {
    margin-bottom: 5px;
  }
  .rv-industries .featured-usecases-head .section-subtitle{
    display: none;
  }
  .rv-industries .featured-industries-grid .feature-card .tag{
    font-weight: 600;
    font-size: 0.85rem;
    color: #eaedff;
  }
  .rv-hero__lead {
    display: none;
    font-size: clamp(1rem, 1.4vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 14px;
  }

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

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

.index3-hero-models {
  width: 100%;
  max-width: 720px;
  margin: 24px auto 0;
}

.index3-hero-models__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
}

.index3-hero-models__list li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #eeeef1;
  background: rgba(77, 141, 255, 0.05);
  border: 1px solid rgba(77, 141, 255, 0.14);
}

/* Featured industries: four cards in a grid (no horizontal scroll; index.php + index3.php) */
.rv-industries .featured-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 4px 32px;
  overflow: visible;
}

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

@media (max-width: 1100px) {
  .rv-industries .featured-industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rv-industries .featured-industries-grid {
    grid-template-columns: 1fr;
  }
}

