

:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;

  --footer-bg-color: #0d0d0d50;
  --link-color: #e8dae9;
  --box-color: #0d644a;
  --header-bg-color: #ffffff;
  --font-family: 'Garamond', 'Times New Roman', serif;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
    
}

  body {
  background: #10141F;
 
}
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
  
  section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2, h3 {
  color: var(--heading-color) !important;
}



.content-area section {
  margin: 15px 0;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.content-area section.main-section-style-centered {
  text-align: center;
}


.content-area section.main-section-style-contrast {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--box-color);
  color: #ffffff;
}

.content-area section.main-section-style-contrast h2,
.content-area section.main-section-style-contrast h3,
.content-area section.main-section-style-contrast a {
  color: #ffffff !important;
}



.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

  
  
.error_page {
  min-height: 70vh;
}


    .footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}


 .navbar {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;

}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 155px 0 60px;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.with-bg {
  background-image: url('/images/девицес-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section.with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.473));
  opacity: 0.5;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

  
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 30px;
  }
  
}
  .navbar-light .navbar-nav .nav-link {
    color: var(--nav-link-color, #141414) !important;
  }

  .navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
  /* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(in srgb, var(--header-bg-color) 65%, transparent);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}


.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

            
.device-match-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(126, 168, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255, 204, 170, 0.12), transparent 28%),
    radial-gradient(circle at 72% 82%, rgba(85, 112, 170, 0.16), transparent 35%),
    linear-gradient(135deg, #0b101b 0%, #111827 45%, #080c14 100%);
  isolation: isolate;
}

.device-match-section::before,
.device-match-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.45;
  z-index: -1;
  animation: floatGlow 9s ease-in-out infinite alternate;
}

.device-match-section::before {
  width: 320px;
  height: 320px;
  top: 8%;
  left: -120px;
  background: radial-gradient(circle, rgba(117, 164, 255, 0.45), transparent 68%);
}

.device-match-section::after {
  width: 380px;
  height: 380px;
  right: -140px;
  bottom: 4%;
  background: radial-gradient(circle, rgba(232, 190, 156, 0.24), transparent 70%);
  animation-delay: 1.5s;
}

.section-glass {
  position: relative;
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.035)
  );
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.section-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 58%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 80px
    );
  opacity: 0.55;
  pointer-events: none;
  animation: softScan 8s linear infinite;
}

.section-heading {
  position: relative;
  max-width: 920px;
  margin-bottom: 42px;
  z-index: 1;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #9db9ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, #9db9ff, transparent);
}

.section-heading h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

.section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  line-height: 1.8;
}

.box-one {
  position: relative;
  height: 100%;
  padding: 34px 32px 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 20% 0%, rgba(134, 171, 255, 0.18), transparent 42%);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  z-index: 1;
}

.box-one::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(160, 190, 255, 0.55),
    transparent 38%,
    rgba(255, 210, 176, 0.28)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.box-one::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 167, 255, 0.22), transparent 70%);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.box-one:hover {
  transform: translateY(-8px);
  border-color: rgba(180, 205, 255, 0.32);
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.36),
    0 0 38px rgba(124, 160, 255, 0.12);
}

.box-one:hover::before {
  opacity: 1;
}

.box-one:hover::after {
  transform: scale(1.35);
  opacity: 0.9;
}

.box-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  border-radius: 20px;
  color: #dce7ff;
  font-size: 1.75rem;
  background:
    linear-gradient(145deg, rgba(138, 172, 255, 0.26), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(178, 202, 255, 0.22);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(116, 156, 255, 0.18);
  animation: iconPulse 3.8s ease-in-out infinite;
}

.box-icon::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.7;
}

.box-one h3 {
  position: relative;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.box-one p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.75;
}

.box-one p + p {
  margin-top: 14px;
}

@keyframes floatGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(28px, -22px, 0) scale(1.08);
  }
}

@keyframes softScan {
  0% {
    transform: translateX(-4%);
  }

  100% {
    transform: translateX(4%);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.28),
      0 0 26px rgba(116, 156, 255, 0.18);
  }

  50% {
    transform: translateY(-4px);
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.34),
      0 0 38px rgba(116, 156, 255, 0.28);
  }
}

@media (max-width: 991px) {
  .device-match-section {
    padding: 70px 0;
  }

  .section-glass {
    padding: 38px 26px;
    border-radius: 28px;
  }

  .box-one {
    padding: 30px 26px;
  }
}

@media (max-width: 575px) {
  .device-match-section {
    padding: 56px 0;
  }

  .section-glass {
    padding: 30px 18px;
  }

  .box-icon {
    width: 56px;
    height: 56px;
    font-size: 1.55rem;
  }
}


.fancy-section {
  position: relative;
  margin: 50px auto;
  padding: 58px 40px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 20%, rgba(126, 168, 255, 0.22), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 205, 170, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  isolation: isolate;
}


.fancy-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 44%, transparent 58%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 76px
    );
  opacity: 0.6;
  pointer-events: none;
  animation: fancyLightSweep 9s linear infinite;
  z-index: -1;
}

.fancy-section h2 {
  position: relative;
  max-width: 900px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
}

.fancy-section h2::before {
  content: "";
  display: block;
  width: 82px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, #9db9ff, rgba(255, 214, 184, 0.85), transparent);
  box-shadow: 0 0 24px rgba(157, 185, 255, 0.42);
}

.fancy-section h2::after {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  top: -10px;
  right: 0;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  color: #dce7ff;
  font-size: 2rem;
  background:
    linear-gradient(145deg, rgba(138, 172, 255, 0.25), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(178, 202, 255, 0.22);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.28),
    0 0 32px rgba(116, 156, 255, 0.18);
  animation: fancyIconPulse 3.8s ease-in-out infinite;
}

.fancy-section p {
  position: relative;
  max-width: 1040px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  line-height: 1.9;
}

.fancy-section p::first-letter {
  color: #bcd0ff;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 700;
  padding-right: 4px;
}

@keyframes fancyFloatOne {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-28px, 30px, 0) scale(1.08);
  }
}

@keyframes fancyLightSweep {
  0% {
    transform: translateX(-5%);
  }

  100% {
    transform: translateX(5%);
  }
}

@keyframes fancyIconPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.28),
      0 0 32px rgba(116, 156, 255, 0.18);
  }

  50% {
    transform: translateY(-5px);
    box-shadow:
      0 22px 46px rgba(0, 0, 0, 0.34),
      0 0 44px rgba(116, 156, 255, 0.3);
  }
}

@media (max-width: 991px) {
  .fancy-section {
    margin: 70px 18px;
    padding: 46px 36px;
    border-radius: 28px;
  }

  .fancy-section h2::after {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    margin: 22px 0 0;
  }
}

@media (max-width: 575px) {
  .fancy-section {
    margin: 56px 14px;
    padding: 36px 24px;
  }

  .fancy-section p {
    font-size: 0.98rem;
    line-height: 1.8;
  }
}
.styled-section {
  position: relative;
  overflow: hidden;
  margin: 90px auto;
  padding: 64px;
  border-radius: 36px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 12%, rgba(144, 176, 255, 0.2), transparent 32%),
    radial-gradient(circle at 90% 86%, rgba(255, 208, 176, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(18, 25, 40, 0.92), rgba(9, 13, 22, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  isolation: isolate;
}

.styled-section::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -140px;
  left: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 165, 255, 0.34), transparent 68%);
  filter: blur(14px);
  animation: styledFloat 8s ease-in-out infinite alternate;
  z-index: -1;
}

.styled-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.075) 44%, transparent 58%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 72px
    );
  opacity: 0.62;
  pointer-events: none;
  animation: styledSweep 9s linear infinite;
  z-index: -1;
}

.styled-section h2 {
  position: relative;
  max-width: 900px;
  margin: 0 0 26px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.styled-section h2::before {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, #9db9ff, rgba(255, 214, 184, 0.85), transparent);
  box-shadow: 0 0 24px rgba(157, 185, 255, 0.42);
}

.styled-section h2::after {
  content: "\F3E7";
  font-family: "bootstrap-icons";
  position: absolute;
  top: -8px;
  right: 0;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  color: #dce7ff;
  font-size: 2rem;
  background:
    linear-gradient(145deg, rgba(138, 172, 255, 0.24), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(178, 202, 255, 0.22);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.28),
    0 0 32px rgba(116, 156, 255, 0.18);
  animation: styledIconPulse 3.8s ease-in-out infinite;
}

.styled-section p {
  position: relative;
  max-width: 1040px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
  line-height: 1.85;
}

.styled-section p + p {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.styled-section p:nth-of-type(1) {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.styled-section p:nth-of-type(n + 2) {
  padding-left: 22px;
}

.styled-section p:nth-of-type(n + 2)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9db9ff;
  box-shadow: 0 0 18px rgba(157, 185, 255, 0.65);
}

@keyframes styledFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(30px, 24px, 0) scale(1.08);
  }
}

@keyframes styledSweep {
  0% {
    transform: translateX(-5%);
  }

  100% {
    transform: translateX(5%);
  }
}

@keyframes styledIconPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.28),
      0 0 32px rgba(116, 156, 255, 0.18);
  }

  50% {
    transform: translateY(-5px);
    box-shadow:
      0 22px 46px rgba(0, 0, 0, 0.34),
      0 0 44px rgba(116, 156, 255, 0.3);
  }
}

@media (max-width: 991px) {
  .styled-section {
    margin: 70px 18px;
    padding: 46px 36px;
    border-radius: 28px;
  }

  .styled-section h2::after {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    margin: 22px 0 0;
  }
}

@media (max-width: 575px) {
  .styled-section {
    margin: 56px 14px;
    padding: 36px 24px;
  }

  .styled-section p {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .styled-section p:nth-of-type(1) {
    font-size: 1.02rem;
  }
}