:root {
  --bg: #020814;
  --bg-deep: #01050e;
  --panel: #07152a;
  --panel-soft: #0a1d37;
  --line: rgba(80, 154, 255, 0.22);
  --text: #eef5ff;
  --muted: #8ea6c5;
  --dim: #5f789a;
  --blue: #087bff;
  --blue-soft: #32a9ff;
  --purple: #7a5cff;
  --purple-soft: #9c79ff;
  --green: #39d7aa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(13, 105, 226, 0.24), transparent 30rem),
    radial-gradient(circle at 88% 21rem, rgba(103, 67, 255, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 58%, #020713);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(39, 128, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 128, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

nav,
.page-hero,
.partner-types,
.why-inner,
.process-section,
.partner-form-section,
footer {
  width: min(100%, 1460px);
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  background: rgba(2, 8, 20, 0.86);
  border-bottom: 1px solid rgba(57, 132, 255, 0.12);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(39, 143, 255, 0.8));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.1vw, 34px);
  flex: 1;
}

.nav-links a,
.nav-links button {
  color: #dbe8fb;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.76rem;
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links button:hover,
.nav-dropdown:focus-within > button {
  color: var(--blue-soft);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 16px);
  display: grid;
  min-width: 190px;
  padding: 10px;
  border: 1px solid rgba(79, 148, 247, 0.22);
  border-radius: 8px;
  background: rgba(4, 13, 28, 0.96);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34), 0 0 30px rgba(0, 119, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu a {
  justify-content: flex-start;
  padding: 11px 12px;
  border-radius: 6px;
  color: #dbe8fb;
}

.nav-menu a:hover {
  background: rgba(18, 112, 255, 0.12);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0b84ff, #126bff);
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 119, 255, 0.3);
}

.nav-links a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: linear-gradient(135deg, #0b83ff, #1268ff);
  color: #fff;
  font-size: 0.76rem;
  box-shadow: 0 0 24px rgba(10, 123, 255, 0.28);
}

.nav-links a.btn-primary:hover {
  color: #fff;
  box-shadow: 0 0 30px rgba(10, 123, 255, 0.38);
}

.btn-ghost {
  background: rgba(4, 14, 29, 0.62);
  border-color: rgba(119, 155, 213, 0.28);
  color: #e4eeff;
}

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

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.72fr);
  align-items: center;
  column-gap: clamp(34px, 5vw, 78px);
  align-content: center;
  min-height: 520px;
  padding-top: 88px;
  padding-bottom: 72px;
  overflow: hidden;
}

.page-hero::before {
  display: none;
}

.section-label {
  margin: 0 0 12px;
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label::before {
  display: none;
}

.page-hero h1 {
  position: relative;
  max-width: 760px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.highlight {
  color: var(--blue-soft);
}

.page-hero p {
  position: relative;
  max-width: 680px;
  margin: 0;
  color: #d3e0f0;
  font-size: 1.12rem;
  line-height: 1.62;
}

.hero-actions {
  position: relative;
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.page-hero .section-label,
.page-hero h1,
.page-hero p {
  grid-column: 1;
}

.hero-art {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.hero-panel {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1.34;
  border: 1px solid rgba(80, 154, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 39, 76, 0.74), rgba(5, 16, 32, 0.84)),
    linear-gradient(rgba(50, 169, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 169, 255, 0.055) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.26), 0 0 42px rgba(0, 119, 255, 0.12);
  overflow: hidden;
  animation: heroPanelFloat 7s ease-in-out infinite;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(50, 169, 255, 0.12);
  border-radius: 8px;
}

.hero-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 7px;
  width: 176px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(50, 169, 255, 0.28);
  border-radius: 8px;
  background: rgba(2, 10, 24, 0.82);
  box-shadow: 0 0 36px rgba(0, 119, 255, 0.2);
  transform: translate(-50%, -50%);
  animation: heroCorePulse 4.8s ease-in-out infinite;
}

.hero-core img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(50, 169, 255, 0.7));
}

.hero-core strong {
  color: #f4f8ff;
  font-size: 1rem;
}

.hero-core small {
  color: #91a7c5;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-node {
  position: absolute;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid rgba(80, 154, 255, 0.2);
  border-radius: 8px;
  background: rgba(6, 22, 45, 0.84);
  color: #cfe0f6;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  animation: heroNodeDrift 5.8s ease-in-out infinite;
}

.node-a {
  left: 34px;
  top: 34px;
}

.node-b {
  right: 34px;
  top: 54px;
  animation-delay: -2.4s;
}

.node-c {
  left: 44px;
  bottom: 50px;
  animation-delay: -1.2s;
}

.node-d {
  right: 42px;
  bottom: 34px;
  animation-delay: -3.2s;
}

.hero-line {
  position: absolute;
  z-index: 1;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50, 169, 255, 0.42), transparent);
  animation: heroLinePulse 3.6s ease-in-out infinite;
}

.line-a {
  top: 42%;
  transform: rotate(16deg);
}

.line-b {
  top: 57%;
  transform: rotate(-16deg);
  animation-delay: -1.8s;
}

@keyframes heroPanelFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes heroCorePulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 36px rgba(0, 119, 255, 0.2);
  }

  50% {
    transform: translate(-50%, -52%) scale(1.02);
    box-shadow: 0 0 52px rgba(50, 169, 255, 0.32);
  }
}

@keyframes heroNodeDrift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes heroLinePulse {
  0%,
  100% {
    opacity: 0.36;
  }

  50% {
    opacity: 0.96;
  }
}

.partner-types,
.why-partner,
.process-section,
.partner-form-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.partner-types,
.process-section {
  border-top: 1px solid rgba(80, 154, 255, 0.14);
}

.why-partner {
  margin: 0;
  background: linear-gradient(180deg, rgba(2, 11, 24, 0.3), rgba(4, 16, 32, 0.48));
  border-top: 1px solid rgba(80, 154, 255, 0.12);
  border-bottom: 1px solid rgba(80, 154, 255, 0.12);
}

.section-title {
  max-width: 820px;
  margin: 0 0 14px;
  color: #f4f8ff;
  font-size: clamp(1.6rem, 2.45vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-desc {
  max-width: 680px;
  margin: 0 0 32px;
  color: #a8bad3;
  font-size: 1rem;
  line-height: 1.65;
}

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

.partner-card,
.why-card,
.partner-form-inner {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 39, 76, 0.76), rgba(5, 16, 32, 0.82)),
    radial-gradient(circle at 20% 0%, rgba(12, 124, 255, 0.16), transparent 16rem);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.partner-card {
  min-height: 420px;
  padding: 28px;
}

.pc-icon,
.why-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border: 1px solid rgba(50, 169, 255, 0.3);
  border-radius: 8px;
  background: rgba(10, 35, 70, 0.62);
  color: var(--blue-soft);
  filter: drop-shadow(0 0 16px rgba(0, 126, 255, 0.28));
}

.pc-icon svg,
.why-icon svg {
  width: 28px;
  height: 28px;
}

.partner-card h3,
.why-card h4,
.ps-step h4 {
  margin: 0 0 10px;
  color: #f4f8ff;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0;
}

.partner-card > p,
.why-card p,
.ps-step p {
  margin: 0;
  color: #a8bad3;
  font-size: 0.94rem;
  line-height: 1.58;
}

.pc-benefits {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.pc-benefit {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: #c5d4e9;
  font-size: 0.88rem;
  line-height: 1.5;
}

.check {
  color: var(--green);
  font-weight: 900;
}

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

.why-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
}

.why-card .why-icon {
  margin-bottom: 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ps-step {
  position: relative;
  padding: 24px 18px 20px;
  border-top: 1px solid rgba(80, 154, 255, 0.22);
}

.ps-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e83ff, #1a4da7);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(18, 112, 255, 0.44);
}

.partner-form-section {
  width: min(100%, 980px);
}

.partner-form-inner {
  padding: 30px;
}

.partner-form-inner h2 {
  margin: 0 0 12px;
  color: #f4f8ff;
  font-size: clamp(1.55rem, 2.4vw, 2.12rem);
  font-weight: 800;
}

.partner-form-inner > p,
.partner-form-inner form > p {
  margin: 0 0 28px;
  color: #a8bad3;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group label {
  color: #d7e5f7;
  font-size: 0.88rem;
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(79, 137, 220, 0.16);
  border-radius: 7px;
  outline: none;
  background: rgba(10, 28, 54, 0.92);
  color: #f1f7ff;
  padding: 15px 17px;
  transition: border-color 170ms ease, box-shadow 170ms ease;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7189a8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(40, 139, 255, 0.74);
  box-shadow: 0 0 0 3px rgba(9, 117, 255, 0.16);
}

.form-submit .btn {
  width: 100%;
  min-height: 58px;
}

.success-message {
  margin-top: 20px;
  color: #d3e0f0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(76, 140, 218, 0.14);
}

footer p {
  margin: 0;
  color: #6f85a3;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

.footer-links a {
  color: #93a7c3;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--blue-soft);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  align-items: start;
  gap: 34px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(76, 140, 218, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 270px;
  margin: 12px 0 0;
  color: #8ba0bc;
  font-size: 0.83rem;
}

.footer-group {
  display: grid;
  gap: 8px;
}

.footer-group h3 {
  margin: 0 0 4px;
  color: #d6e3f5;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-group a {
  color: #8ba0bc;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-group a:hover {
  color: var(--blue-soft);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(76, 140, 218, 0.1);
}

.footer-bottom p {
  color: #6f85a3;
  font-size: 0.76rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .hero-core,
  .hero-node,
  .hero-line {
    animation: none;
  }
}

@media (max-width: 1180px) {
  nav,
  .page-hero,
  .partner-types,
  .why-inner,
  .process-section,
  .partner-form-section,
  footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .partner-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  nav,
  .page-hero,
  .partner-types,
  .why-inner,
  .process-section,
  .partner-form-section,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-links a:not(.btn),
  .nav-dropdown {
    display: none;
  }

  .page-hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 56px;
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.55rem);
  }

  .hero-art {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
    margin-top: 34px;
  }

  .hero-panel {
    aspect-ratio: 1 / 0.82;
  }

  .hero-node {
    font-size: 0.72rem;
  }

  .node-a,
  .node-c {
    left: 18px;
  }

  .node-b,
  .node-d {
    right: 18px;
  }

  .partner-grid,
  .why-grid,
  .process-steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: auto;
  }

  .why-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
