﻿/* Solutions landing — no white strip behind fixed menu */
body.purple-mode-solutions {
  padding-top: 0 !important;
  background: #160d24 !important;
}

body.purple-mode-solutions .hdl-content-wrap {
  background: transparent !important;
}

body.purple-mode-solutions .site-header {
  background: transparent !important;
}

.sol-landing {
  --sol-ink: #160d24;
  --sol-deep: #2a1b45;
  --sol-mid: #45256e;
  --sol-bright: #5a368c;
  --sol-fog: rgba(255, 255, 255, 0.72);
  --sol-line: rgba(255, 255, 255, 0.14);
  --sol-paper: #f7f4fb;
  --sol-text: #2a1b45;
  --sol-mute: #6b5b85;
  direction: rtl;
  font-family: 'ModamPro', sans-serif;
  color: var(--sol-text);
  background: var(--sol-paper);
  overflow: hidden;
}

.sol-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sol-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sol-bright);
}

.sol-kicker--light {
  color: rgba(255, 255, 255, 0.7);
}

.sol-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.sol-btn:hover {
  transform: translateY(-2px);
}

.sol-btn--solid {
  background: #fff;
  color: var(--sol-deep) !important;
  box-shadow: 0 14px 36px rgba(15, 7, 23, 0.28);
}

.sol-btn--ghost {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.sol-btn--light {
  background: #fff;
  color: var(--sol-deep) !important;
  box-shadow: 0 16px 40px rgba(15, 7, 23, 0.22);
}

/* Hero — one viewport composition */
.sol-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 120px 0 80px;
  color: #fff;
  background: linear-gradient(165deg, #1c1230 0%, #3d2568 46%, #160d24 100%);
  overflow: hidden;
}

.sol-hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sol-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
}

.sol-hero__orb--a {
  width: min(58vw, 560px);
  height: min(58vw, 560px);
  top: -18%;
  left: -10%;
  background: radial-gradient(circle, rgba(155, 127, 212, 0.5), transparent 68%);
  animation: solFloat 12s ease-in-out infinite;
}

.sol-hero__orb--b {
  width: min(46vw, 440px);
  height: min(46vw, 440px);
  bottom: -20%;
  right: -8%;
  background: radial-gradient(circle, rgba(90, 54, 140, 0.55), transparent 70%);
  animation: solFloat 15s ease-in-out infinite reverse;
}

.sol-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
}

.sol-hero__beam {
  position: absolute;
  inset-inline: 10% 20%;
  top: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0.55;
}

.sol-hero__inner {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
  text-align: center;
}

.sol-hero__brand {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  animation: solRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sol-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  animation: solRise 0.9s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sol-hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  animation: solRise 0.9s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sol-hero__title em {
  display: block;
  font-style: normal;
  background: linear-gradient(120deg, #efe8fb 0%, #c4b0e8 50%, #9ad7c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sol-hero__lead {
  margin: 0 auto 28px;
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--sol-fog);
  animation: solRise 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sol-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
  animation: solRise 0.9s 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sol-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.58);
  animation: solRise 0.9s 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sol-hero__meta strong {
  color: #fff;
  font-weight: 700;
}

.sol-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  z-index: 1;
}

.sol-hero__scroll span {
  display: block;
  width: 4px;
  height: 10px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #fff;
  animation: solScroll 1.6s ease-in-out infinite;
}

/* Advantage strip */
.sol-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 20px;
}

.sol-strip__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sol-strip__row article {
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(90, 54, 140, 0.1);
  box-shadow: 0 18px 40px rgba(42, 27, 69, 0.1);
  backdrop-filter: blur(10px);
}

.sol-strip__row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sol-deep);
  font-size: 1.05rem;
}

.sol-strip__row p {
  margin: 0;
  color: var(--sol-mute);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* Showcase */
.sol-showcase {
  padding: 72px 0 40px;
}

.sol-showcase__head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.sol-showcase__head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sol-deep);
}

.sol-showcase__head p {
  margin: 0;
  color: var(--sol-mute);
  line-height: 1.8;
}

.sol-rails {
  display: grid;
  gap: 28px;
}

.sol-card {
  --sol-accent: #c4b0e8;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(90, 54, 140, 0.1);
  box-shadow: 0 22px 50px rgba(42, 27, 69, 0.08);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sol-card.is-in {
  opacity: 1;
  transform: translateY(0);
}

.sol-card.is-flip .sol-card__visual {
  order: 2;
}

.sol-card.is-flip .sol-card__body {
  order: 1;
}

.sol-card__visual {
  position: relative;
  min-height: 280px;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--sol-accent) 42%, transparent), transparent 55%),
    linear-gradient(160deg, #2a1b45 0%, #45256e 55%, #1c1230 100%);
  overflow: hidden;
}

.sol-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sol-card__motif {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.sol-card__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sol-accent) 55%, transparent), transparent 70%);
  filter: blur(8px);
}

.sol-card__icon {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  color: #fff;
  opacity: 0.92;
}

.sol-card__icon svg {
  width: 100%;
  height: 100%;
}

.sol-card__ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: solSpin 18s linear infinite;
}

.sol-card__ring::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.sol-card__index {
  position: absolute;
  inset-inline-start: 22px;
  bottom: 18px;
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.18);
}

.sol-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #fff),
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--sol-accent) 12%, transparent));
}

.sol-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sol-deep);
  background: color-mix(in srgb, var(--sol-accent) 28%, #fff);
  border: 1px solid color-mix(in srgb, var(--sol-accent) 40%, transparent);
}

.sol-card__body h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sol-deep);
}

.sol-card__body p {
  margin: 0;
  color: var(--sol-mute);
  line-height: 1.85;
  font-size: 1rem;
}

.sol-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  width: fit-content;
  font-weight: 700;
  color: var(--sol-bright) !important;
  text-decoration: none;
}

.sol-card__link span {
  transition: transform 0.25s ease;
}

.sol-card__link:hover span {
  transform: translateX(-4px);
}

.sol-empty {
  text-align: center;
  color: var(--sol-mute);
  padding: 40px 0;
}

/* CTA */
.sol-cta {
  padding: 40px 0 80px;
}

.sol-cta__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(196, 176, 232, 0.28), transparent 42%),
    linear-gradient(135deg, #5a368c 0%, #45256e 55%, #2a1b45 100%);
  box-shadow: 0 24px 60px rgba(42, 27, 69, 0.22);
}

.sol-cta__panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
}

.sol-cta__panel p:last-child {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

@keyframes solRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes solFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -22px, 0); }
}

@keyframes solScroll {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

@keyframes solSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .sol-hero {
    min-height: auto;
    padding: 110px 0 72px;
  }

  .sol-strip {
    margin-top: -24px;
  }

  .sol-strip__row {
    grid-template-columns: 1fr;
  }

  .sol-card,
  .sol-card.is-flip {
    grid-template-columns: 1fr;
  }

  .sol-card.is-flip .sol-card__visual,
  .sol-card.is-flip .sol-card__body {
    order: initial;
  }

  .sol-card__visual {
    min-height: 220px;
  }

  .sol-cta__panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sol-hero__brand,
  .sol-hero__eyebrow,
  .sol-hero__title,
  .sol-hero__lead,
  .sol-hero__actions,
  .sol-hero__meta,
  .sol-card,
  .sol-hero__orb--a,
  .sol-hero__orb--b,
  .sol-card__ring,
  .sol-hero__scroll span {
    animation: none !important;
  }

  .sol-card {
    opacity: 1;
    transform: none;
  }
}
