:root {
  color-scheme: dark;
  --bg: #080b0f;
  --panel: #10161d;
  --panel-strong: #151d25;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f7fb;
  --muted: #aab8c5;
  --soft: #748493;
  --green: #00f0a0;
  --green-2: #00c982;
  --green-text: #002d1d;
  --warning: #ffd08a;
  --shadow: rgba(0, 240, 160, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 50% -20%, rgba(0, 240, 160, 0.16), transparent 34%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.page {
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 15, 0.86);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(1120px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 240, 160, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(0, 240, 160, 0.24);
  box-shadow: 0 0 22px rgba(0, 240, 160, 0.14);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand span span {
  color: var(--green);
}

.brand-logo {
  width: 160px;
  height: auto;
  display: block;
}

.hero-logo {
  width: min(360px, 80vw);
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  border: 0;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--green-text);
  box-shadow: 0 12px 40px rgba(0, 240, 160, 0.18);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 240, 160, 0.2);
  background: rgba(0, 240, 160, 0.08);
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1, h2, h3, p {
  margin: 0;
}

h1 {
  margin-top: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  font-weight: 950;
}

h1 span,
h2 span {
  color: var(--green);
}

.lead {
  margin-top: 24px;
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.56;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  position: relative;
  min-height: 560px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(21, 29, 37, 0.86), rgba(11, 16, 22, 0.94)),
    radial-gradient(circle at 50% 36%, rgba(0, 240, 160, 0.22), transparent 36%);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.hero-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 92px;
  height: 92px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 36px rgba(0, 240, 160, 0.16);
}

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

.phone {
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: min(330px, 82%);
  height: 600px;
  transform: translateX(-50%);
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #080b0f;
  box-shadow: 0 0 70px rgba(0, 240, 160, 0.14);
  padding: 26px 22px;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.phone-header img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.phone-header strong {
  font-size: 20px;
  font-weight: 950;
}

.status-pill {
  margin: 28px auto 20px;
  width: max-content;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 240, 160, 0.24);
  background: rgba(0, 240, 160, 0.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.connect-ring {
  width: 210px;
  height: 210px;
  margin: 32px auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 240, 160, 0.22);
  box-shadow: inset 0 0 0 12px rgba(0, 240, 160, 0.04), 0 0 44px rgba(0, 240, 160, 0.13);
}

.connect-ring strong {
  color: var(--green);
  font-size: 20px;
  font-weight: 950;
}

.server-card {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.server-card small {
  color: var(--soft);
  font-weight: 850;
}

.server-card strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.section h2 {
  max-width: 760px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  font-weight: 950;
}

.section-copy {
  margin-top: 16px;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 210px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 29, 37, 0.88), rgba(12, 17, 23, 0.84));
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 240, 160, 0.1);
  color: var(--green);
  font-size: 24px;
}

.card h3 {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 950;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.legal-layout {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

.legal-layout h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.legal-layout .lead {
  max-width: 760px;
}

.legal-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(16, 22, 29, 0.86);
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 26px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-card a,
.support-copy a,
.checkbox-row a {
  color: var(--green);
  font-weight: 850;
}

.support-layout {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
}

.support-copy {
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(16, 22, 29, 0.72);
}

.support-copy h1 {
  font-size: clamp(40px, 6vw, 70px);
}

.support-copy p {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.form-card {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 29, 37, 0.9), rgba(12, 17, 23, 0.9));
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.field {
  margin-bottom: 16px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

select option {
  color: #111;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-status {
  margin-top: 14px;
  min-height: 24px;
  color: var(--muted);
  font-weight: 800;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--warning);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--soft);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav-inner {
    height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-panel {
    min-height: 500px;
  }

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

  .phone {
    height: 540px;
  }
}

@media (max-width: 520px) {
  .hero-actions .button {
    width: 100%;
  }

  .brand {
    font-size: 18px;
  }

  h1 {
    font-size: 48px;
  }

  .legal-card,
  .support-copy,
  .form-card {
    padding: 20px;
  }
}
