.v2-home {
  --v2-bg: #070f1a;
  --v2-panel: #0f1d2f;
  --v2-accent: #4bb2ff;
  --v2-soft: rgba(255, 255, 255, 0.72);
}

.v2-loader {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 60% at 50% 10%, rgba(82, 184, 255, 0.14), transparent 64%),
    radial-gradient(70% 55% at 85% 88%, rgba(121, 98, 255, 0.12), transparent 64%),
    rgba(244, 248, 252, 0.42);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.v2-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.v2-loader.is-done .v2-loader__inner {
  transform: scale(0.94);
  opacity: 0;
}

.v2-loader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  place-items: center;
  justify-content: center;
  width: min(62vw, 240px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  animation: v2-loader-shell 2.2s ease-in-out infinite;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.66), rgba(239, 247, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 18px 42px rgba(14, 40, 80, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  overflow: hidden;
  padding: 1.4rem;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.v2-loader__inner::before {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border-radius: 999px;
  border: 8px solid transparent;
  background:
    conic-gradient(
      from 0deg,
      rgba(57, 167, 255, 0) 0deg,
      rgba(57, 167, 255, 0.2) 120deg,
      rgba(57, 167, 255, 0.95) 210deg,
      rgba(145, 113, 255, 0.95) 260deg,
      rgba(57, 167, 255, 0) 360deg
    ) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: v2-loader-spin 1.05s linear infinite;
  pointer-events: none;
}

.v2-loader__inner::after {
  content: "";
  position: absolute;
  inset: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 127, 212, 0.12);
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.62), rgba(239, 248, 255, 0.25));
  pointer-events: none;
}

.v2-loader__logo {
  position: relative;
  z-index: 2;
  max-width: min(42vw, 140px);
  width: auto;
  max-height: 44px;
  filter: drop-shadow(0 7px 12px rgba(31, 111, 199, 0.18));
  animation: v2-loader-pop 0.9s var(--ease-out) infinite alternate;
}

.v2-loader__title {
  position: relative;
  z-index: 2;
  color: #0e3966;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(1.2rem, 4vw, 2rem);
}

.v2-loader__line {
  position: relative;
  z-index: 2;
  width: min(44vw, 84px);
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(14, 75, 128, 0.09);
}

.v2-loader__line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(88, 209, 255, 0.32) 0%, #2aa6ff 60%, rgba(161, 108, 255, 0.42) 100%);
  animation: v2-loader-line 1.1s ease-in-out infinite;
}

.v2-loader__line::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 28%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(92, 220, 255, 0.2), rgba(72, 142, 255, 0.3));
  animation: v2-loader-line-2 1.35s ease-in-out infinite;
}

.v2-hero {
  position: relative;
  padding: 0 0 1.1rem;
  background: linear-gradient(180deg, #050a12 0%, #0c1728 100%);
}

.v2-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  background: linear-gradient(180deg, rgba(12, 23, 40, 0.05) 0%, #f5f8fc 100%);
  pointer-events: none;
}

.v2-hero__slider {
  position: relative;
  min-height: min(76vh, 640px);
  overflow: hidden;
}

.v2-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 0.9s ease, transform 1.2s ease, visibility 0.9s;
}

.v2-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.v2-slide__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.v2-slide__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(75, 178, 255, 0.24), transparent 45%),
    linear-gradient(120deg, rgba(5, 10, 18, 0.84) 5%, rgba(8, 16, 30, 0.4) 48%, rgba(5, 10, 18, 0.84) 100%);
}

.v2-slide__inner {
  position: relative;
  z-index: 1;
  min-height: min(76vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  color: #f8fbff;
}

.v2-slide__eyebrow {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.v2-slide__title {
  margin: 0;
  max-width: 13ch;
  line-height: 1.05;
  font-size: clamp(2rem, 5vw, 3.9rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.v2-slide__lead {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.v2-slide__actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.22rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.v2-btn:hover {
  transform: translateY(-2px);
}

.v2-btn--solid {
  background: linear-gradient(145deg, #52b8ff 0%, #2b8ee8 100%);
  color: #fff;
}

.v2-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.v2-slider-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 20, 36, 0.42);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.v2-slider-nav--prev { left: max(10px, 2vw); }
.v2-slider-nav--next { right: max(10px, 2vw); }

.v2-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  translate: -50% 0;
  display: flex;
  gap: 0.45rem;
  z-index: 3;
}

.v2-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
}

.v2-dot.is-active { background: #fff; }

.v2-intro {
  position: relative;
  padding: 2.8rem 0 2.6rem;
}

.v2-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(245, 248, 252, 0) 0%, rgba(11, 79, 140, 0.045) 100%);
  pointer-events: none;
}

.v2-intro__grid {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: grid;
  gap: 1.2rem 2rem;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(11, 79, 140, 0.1);
  border-radius: 1.1rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px rgba(11, 36, 67, 0.08);
}

.v2-intro.has-bg .v2-intro__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--v2-intro-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.09;
  filter: grayscale(0.1) blur(1px);
  pointer-events: none;
}

.v2-intro__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3f3f75;
}

.v2-intro__head {
  grid-column: 1;
}

.v2-intro__title {
  margin: 0;
  color: #161f2f;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.14;
  max-width: 18ch;
  opacity: 0;
  transform: translate3d(36px, 0, 0);
  filter: blur(6px);
}

.v2-intro__body {
  grid-column: 2;
  color: #334155;
  font-size: 1.03rem;
  line-height: 1.75;
  opacity: 0;
  transform: translate3d(52px, 0, 0);
  filter: blur(8px);
}

.v2-intro__line + .v2-intro__line { margin-top: 0.42rem; }
.v2-intro__spacer { height: 0.55rem; }

.v2-intro__line--tick {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.v2-intro__line-icon {
  flex: 0 0 auto;
  margin-top: 0.16rem;
  width: 1rem;
  text-align: center;
  color: #1a7fd4;
  font-weight: 700;
}

.v2-intro.is-visible .v2-intro__title {
  animation: v2-intro-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.v2-intro.is-visible .v2-intro__body {
  animation: v2-intro-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.13s forwards;
}

.v2-showcase {
  position: relative;
  padding: 1.9rem 0 3rem;
  background:
    radial-gradient(120% 70% at 15% 20%, rgba(26, 127, 212, 0.07), rgba(26, 127, 212, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.v2-showcase::before,
.v2-showcase::after {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
  width: min(1120px, calc(100% - 2rem));
  height: 1px;
  background: linear-gradient(90deg, rgba(11, 79, 140, 0), rgba(11, 79, 140, 0.18), rgba(11, 79, 140, 0));
}

.v2-showcase::before { top: 0; }
.v2-showcase::after { bottom: 0; }

.v2-showcase .container {
  position: relative;
  z-index: 1;
}

.v2-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(244, 246, 249, 0.95), rgba(238, 243, 250, 0.88));
  border: 1px solid rgba(11, 79, 140, 0.1);
  border-radius: 0.9rem;
  padding: clamp(1rem, 2.2vw, 1.4rem);
  box-shadow: 0 14px 30px rgba(12, 34, 64, 0.08);
}

.v2-showcase__content {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(1.1rem, 3vw, 1.8rem);
}

.v2-showcase__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3f3f75;
}

.v2-showcase__title {
  margin: 0;
  color: #161f2f;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.14;
  max-width: 18ch;
}

.v2-showcase__lead {
  margin: 1.05rem 0 0;
  color: #3f4e61;
  line-height: 1.7;
  font-size: 1.02rem;
}

.v2-showcase__list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.v2-showcase__list li {
  position: relative;
  padding-left: 1.38rem;
  color: #1f2c40;
}

.v2-showcase__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08rem;
  color: #1a7fd4;
  font-weight: 700;
}

.v2-showcase__btn {
  margin-top: 1.2rem;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 0.45rem;
  padding: 0.7rem 1.2rem;
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(145deg, #273a92 0%, #1a7fd4 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.v2-showcase__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(26, 127, 212, 0.22);
}

.v2-showcase__media {
  position: relative;
  min-height: 460px;
  display: flex;
  justify-content: flex-end;
}

.v2-showcase__main,
.v2-showcase__small,
.v2-showcase__ph {
  border-radius: 0.7rem;
  object-fit: cover;
}

.v2-showcase__main {
  width: min(74%, 430px);
  height: 100%;
  min-height: 460px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(11, 79, 140, 0.08);
  box-shadow: 0 14px 28px rgba(12, 34, 64, 0.12);
}

.v2-showcase__small {
  position: absolute;
  width: min(42%, 210px);
  height: auto;
  top: 50%;
  left: calc(26% - min(42%, 210px) / 2);
  transform: translateY(-50%) translateX(-2px);
  aspect-ratio: 5 / 4;
  border: 4px solid #fff;
  box-shadow: 0 16px 28px rgba(18, 36, 58, 0.24);
  z-index: 2;
  animation: v2-showcase-float 3.6s ease-in-out infinite;
}

.v2-showcase__ph {
  display: block;
  background: linear-gradient(135deg, #d9e7f6, #bfd5ef);
}

.v2-categories {
  position: relative;
  padding: 2.1rem 0 3rem;
}

.v2-process {
  padding: 0.6rem 0 3rem;
}

.v2-process .container {
  position: relative;
}

.v2-process__line {
  position: absolute;
  top: 34px;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(11, 79, 140, 0.08), rgba(11, 79, 140, 0.22), rgba(11, 79, 140, 0.08));
}

.v2-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.v2-process__item {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0.25rem 0.2rem;
  min-height: 0;
  transition: transform 0.28s ease;
}

.v2-process__item:hover {
  transform: translateY(-4px);
}

.v2-process__icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b4f8c;
  background: #fff;
  border: 1px solid rgba(11, 79, 140, 0.12);
  box-shadow: 0 6px 14px rgba(11, 79, 140, 0.08);
  margin: 0 0 0.95rem;
  transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.v2-process__icon svg {
  width: 30px;
  height: 30px;
}

.v2-process__item:hover .v2-process__icon {
  color: #1a7fd4;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 20px rgba(26, 127, 212, 0.16);
}

.v2-process__item h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.1rem, 1.65vw, 1.26rem);
  font-weight: 700;
  line-height: 1.3;
  color: #0f243f;
}

.v2-process__item p {
  margin: 0;
  color: #36465c;
  line-height: 1.66;
  font-size: 1rem;
}

.v2-categories__head {
  margin-bottom: 1rem;
  position: relative;
  text-align: center;
}

.v2-kicker {
  margin: 0 0 0.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a7fd4;
  font-weight: 700;
  font-size: 0.76rem;
}

.v2-categories__head h2 {
  margin: 0;
  color: #0b3159;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.v2-categories__copy {
  margin-top: 0.55rem;
  max-width: 100%;
}

.v2-categories__copy p {
  margin: 0.72rem 0 0;
  color: #5b6778;
  line-height: 1.72;
  font-size: 1rem;
  max-width: 100%;
}

.v2-categories__head::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1a7fd4 0%, rgba(26, 127, 212, 0.15) 100%);
}

.v2-cat-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.v2-cat {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11, 79, 140, 0.1);
  box-shadow: 0 8px 24px rgba(12, 34, 64, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.v2-cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(12, 34, 64, 0.16);
  border-color: rgba(26, 127, 212, 0.28);
}

.v2-cat__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.v2-cat__media img,
.v2-cat__ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-cat__media img { transition: transform 0.55s ease; }
.v2-cat:hover .v2-cat__media img { transform: scale(1.06); }

.v2-cat__ph {
  display: block;
  background: linear-gradient(135deg, #d9e7f6, #bfd5ef);
}

.v2-cat__body {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.v2-cat__title {
  color: #12233c;
  font-size: 1rem;
}

.v2-cat__meta {
  color: #5f6f84;
}

html.js .v2-home [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

html.js .v2-home [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes v2-loader-pop {
  from { transform: translateY(0) scale(1); opacity: 0.9; }
  to { transform: translateY(-1px) scale(1.02); opacity: 1; }
}

@keyframes v2-loader-line {
  from { transform: translateX(-120%); }
  to { transform: translateX(190%); }
}

@keyframes v2-loader-line-2 {
  from { transform: translateX(220%); }
  to { transform: translateX(-150%); }
}

@keyframes v2-loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes v2-loader-shell {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes v2-intro-in {
  from {
    opacity: 0;
    transform: translate3d(44px, 0, 0);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes v2-showcase-float {
  0% {
    transform: translateY(-50%) translateX(-2px);
    box-shadow: 0 14px 24px rgba(18, 36, 58, 0.2);
  }
  50% {
    transform: translateY(calc(-50% - 9px)) translateX(3px);
    box-shadow: 0 22px 34px rgba(18, 36, 58, 0.24);
  }
  100% {
    transform: translateY(-50%) translateX(-2px);
    box-shadow: 0 14px 24px rgba(18, 36, 58, 0.2);
  }
}

@media (max-width: 860px) {
  .v2-intro__grid { grid-template-columns: 1fr; }
  .v2-intro__body { grid-column: 1; }
  .v2-showcase__grid { grid-template-columns: 1fr; }
  .v2-showcase { padding: 1.45rem 0 2.4rem; }
  .v2-showcase__media { min-height: 360px; }
  .v2-showcase__main {
    width: min(78%, 420px);
    min-height: 360px;
  }
  .v2-showcase__small {
    width: min(40%, 178px);
    left: calc(22% - min(40%, 178px) / 2);
    top: 50%;
    transform: translateY(-50%);
  }
  .v2-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .v2-hero__slider,
  .v2-slide__inner {
    min-height: 68vh;
  }

  .v2-slide__title { max-width: 18ch; }
  .v2-slider-nav { display: none; }
  .v2-loader__inner {
    width: min(74vw, 216px);
  }
  .v2-intro { padding: 2.3rem 0 2rem; }
  .v2-showcase__grid { gap: 1rem; }
  .v2-showcase__media { min-height: 320px; }
  .v2-showcase__main {
    width: min(84%, 360px);
    min-height: 320px;
  }
  .v2-showcase__small {
    width: min(44%, 156px);
    left: calc(18% - min(44%, 156px) / 2);
    top: 50%;
    transform: translateY(-50%);
  }
  .v2-process__line { display: none; }
  .v2-process__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-slide,
  .v2-btn,
  .v2-cat,
  .v2-cat__media img,
  html.js .v2-home [data-reveal] {
    transition: none !important;
  }

  .v2-loader,
  .v2-loader__inner,
  .v2-loader__inner::before,
  .v2-loader__logo,
  .v2-loader__line::before,
  .v2-loader__line::after,
  .v2-showcase__small,
  .v2-intro.is-visible .v2-intro__title,
  .v2-intro.is-visible .v2-intro__body {
    animation: none !important;
  }

  .v2-intro__title,
  .v2-intro__body {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
