﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --mw-bg-main: #071426;
  --mw-bg-nav: #0b1f3a;
  --mw-bg-card: #0a1d37;
  --mw-bg-card-2: #071426;
  --mw-border: #1f2a44;
  --mw-text-main: #ffffff;
  --mw-text-sub: #a0a0a0;
  --mw-text-soft: #d2dcef;
  --mw-blue: #2f80ed;
  --mw-orange: #ff7a00;
  --mw-success: #72d59b;
  --mw-error: #ff8c8c;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--mw-bg-main);
  color: var(--mw-text-main);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.mw-container {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* NAV */

.mw-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 31, 58, 0.88);
  border-bottom: 1px solid var(--mw-border);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: none;
  will-change: transform;
}

main {
  position: relative;
  z-index: auto;
}

main section {
  position: relative;
}

.mw-nav {
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 28px;
}

.mw-brand {
  display: flex;
  align-items: center;
}

.mw-brand-logo {
  width: 92px;
  height: auto;
}

.mw-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-right: 28px;
}

.mw-nav-links a,
.mw-login-link {
  color: var(--mw-text-main);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transition: color 180ms ease;
}

.mw-nav-links a:hover,
.mw-login-link:hover {
  color: var(--mw-blue);
}

.mw-nav-links .mw-is-active {
  color: var(--mw-blue);
}

.mw-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mw-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: var(--mw-orange);
  color: var(--mw-text-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mw-btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.mw-hero-actions .mw-btn-primary {
  min-height: 50px;
  padding: 0 28px;
  font-size: 17px;
}

/* HERO */

.mw-hero {
  padding: 88px 0 36px;
}

.mw-hero-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.mw-kicker {
  color: var(--mw-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mw-hero-title {
  font-size: 66px;
  line-height: 0.95;
  font-weight: 700;
  max-width: 940px;
  margin: 0 auto 18px;
}

.mw-hero-sub {
  color: var(--mw-text-soft);
  font-size: 20px;
  line-height: 1.7;
  max-width: 920px;
  margin: 0 auto 28px;
}

.mw-hero-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.mw-hero-note {
  color: #9eb3d8;
  font-size: 15px;
  line-height: 1.6;
}

/* TRUST */

.mw-trust-section {
  padding: 22px 0 52px;
}

.mw-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mw-trust-card {
  background: linear-gradient(180deg, rgba(16, 40, 74, 0.85) 0%, rgba(7, 20, 38, 0.96) 100%);
  border: 1px solid rgba(47, 128, 237, 0.16);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.mw-trust-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 128, 237, 0.12);
  border: 1px solid rgba(47, 128, 237, 0.24);
  color: #dceaff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.mw-trust-title {
  font-size: 26px;
  line-height: 1.06;
  font-weight: 700;
  margin-bottom: 12px;
}

.mw-trust-text {
  color: var(--mw-text-soft);
  font-size: 16px;
  line-height: 1.75;
}

/* FORM */

.mw-form-section {
  padding: 0 0 88px;
}

.mw-form-shell {
  max-width: 1040px;
  margin: 0 auto;
}

.mw-form-head {
  text-align: center;
  margin-bottom: 28px;
}

.mw-form-title {
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 14px;
}

.mw-form-sub {
  max-width: 860px;
  margin: 0 auto;
  color: var(--mw-text-soft);
  font-size: 18px;
  line-height: 1.8;
}

.mw-form-card {
  background:
    linear-gradient(180deg, rgba(16, 40, 74, 0.82) 0%, rgba(7, 20, 38, 0.98) 100%);
  border: 1px solid rgba(47, 128, 237, 0.20);
  border-radius: 30px;
  padding: 32px;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.mw-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mw-field {
  display: flex;
  flex-direction: column;
}

.mw-field-full {
  grid-column: 1 / -1;
}

.mw-label {
  color: var(--mw-text-main);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.mw-label span {
  color: var(--mw-orange);
}

.mw-input,
.mw-textarea,
.mw-select {
  width: 100%;
  border: 1px solid var(--mw-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--mw-text-main);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mw-input,
.mw-select {
  min-height: 54px;
  padding: 0 16px;
}

.mw-textarea {
  padding: 14px 16px;
  resize: vertical;
  min-height: 140px;
}

.mw-input::placeholder,
.mw-textarea::placeholder {
  color: #7f96bb;
}

.mw-input:focus,
.mw-textarea:focus,
.mw-select:focus {
  border-color: var(--mw-blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.mw-checkbox-row {
  margin-top: 22px;
}

.mw-checkbox-wrap {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.mw-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mw-checkbox-custom {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid var(--mw-border);
  background: rgba(255, 255, 255, 0.03);
  flex: 0 0 auto;
  margin-top: 1px;
  transition: border-color 180ms ease, background 180ms ease;
}

.mw-checkbox:checked + .mw-checkbox-custom {
  background: var(--mw-blue);
  border-color: var(--mw-blue);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.92);
}

.mw-checkbox-text {
  color: var(--mw-text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.mw-checkbox-text span {
  color: var(--mw-orange);
}

.mw-form-actions {
  margin-top: 24px;
}

.mw-submit-btn {
  min-height: 50px;
  padding: 0 28px;
  font-size: 17px;
}

.mw-error {
  min-height: 18px;
  margin-top: 8px;
  color: var(--mw-error);
  font-size: 13px;
  line-height: 1.4;
}

.mw-form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.7;
  display: none;
}

.mw-form-status.is-success {
  display: block;
  background: rgba(114, 213, 155, 0.10);
  border: 1px solid rgba(114, 213, 155, 0.24);
  color: #d9ffe6;
}

.mw-form-status.is-error {
  display: block;
  background: rgba(255, 140, 140, 0.10);
  border: 1px solid rgba(255, 140, 140, 0.24);
  color: #ffdede;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .mw-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .mw-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mw-nav {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .mw-nav-links {
    justify-content: flex-start;
    margin-right: 0;
    flex-wrap: wrap;
  }

  .mw-nav-actions {
    justify-content: flex-start;
  }

  .mw-brand-logo {
    width: 78px;
  }

  .mw-hero {
    padding-top: 56px;
  }

  .mw-hero-title {
    font-size: 42px;
  }

  .mw-hero-sub {
    font-size: 17px;
  }

  .mw-form-title {
    font-size: 34px;
  }

  .mw-form-sub {
    font-size: 16px;
  }

  .mw-form-grid {
    grid-template-columns: 1fr;
  }

  .mw-form-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .mw-hero-title {
    font-size: 34px;
  }

  .mw-hero-sub {
    font-size: 16px;
  }

  .mw-trust-title {
    font-size: 22px;
  }

  .mw-form-title {
    font-size: 30px;
  }
}
