﻿:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --surface: #0e1d31;
  --surface-light: #13243a;

  --text: #f5f7fb;
  --text-muted: #9caabd;

  --accent: #2f80ff;
  --accent-light: #65a3ff;

  --border: rgba(255, 255, 255, 0.09);

  --max-width: 1200px;
  --radius: 18px;
}


/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--bg);
  color: var(--text);

  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}


/* GLOBAL */

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-dark {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(47, 128, 255, 0.12),
      transparent 35%
    ),
    var(--bg-soft);
}

.section-muted {
  background: #091524;
}

.section-label,
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 28px;

  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 800px;
  margin-bottom: 24px;

  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 760px;

  color: var(--text-muted);
  font-size: 1.12rem;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(7, 17, 31, 0.84);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(18px);
}

.header-inner {
    position: relative;
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(101, 163, 255, 0.45);
  border-radius: 10px;

  background:
    linear-gradient(
      135deg,
      rgba(47, 128, 255, 0.22),
      rgba(47, 128, 255, 0.04)
    );

  color: #ffffff;
  font-size: 0.8rem;
}

.brand-text {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 30px;

  color: #c2ccda;
  font-size: 0.93rem;
}

.main-nav a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.main-nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.login-button {
  padding: 10px 18px;

  border: 1px solid rgba(101, 163, 255, 0.4);
  border-radius: 10px;

  background: rgba(47, 128, 255, 0.08);

  color: #dce9ff;
  font-size: 0.9rem;
  font-weight: 650;

  cursor: not-allowed;
}


/* HERO */

.hero {
  min-height: calc(100vh - 76px);

  display: flex;
  align-items: center;

  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 70% 35%,
      rgba(47, 128, 255, 0.20),
      transparent 32%
    ),
    radial-gradient(
      circle at 25% 70%,
      rgba(101, 163, 255, 0.08),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #07111f 0%,
      #081522 100%
    );
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 54px 54px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.8),
      transparent 85%
    );
}

.hero-content {
  position: relative;
  z-index: 1;

  padding-top: 90px;
  padding-bottom: 110px;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 38px;

  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 22px;

  border-radius: 11px;

  font-weight: 650;

  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.primary-button {
  background: var(--accent);
  color: #ffffff;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: #3d8aff;
}

.secondary-button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: #d5dfec;
}

.secondary-button:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 163, 255, 0.35);
}


/* FEATURES */

.feature-grid {
  margin-top: 58px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  min-height: 260px;
  padding: 30px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(101, 163, 255, 0.32);
}

.feature-number {
  display: block;
  margin-bottom: 54px;

  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}


/* FAQ */

.faq-list {
  max-width: 850px;
  margin-top: 50px;

  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  padding: 24px 0;

  color: #edf3fa;
  font-size: 1.04rem;
  font-weight: 600;

  cursor: pointer;
}

.faq-list details p {
  max-width: 700px;
  padding-bottom: 24px;

  color: var(--text-muted);
}


/* FOOTER */

.site-footer {
  padding: 48px 0;

  border-top: 1px solid var(--border);

  background: #050d17;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 40px;
}

.footer-inner p {
  margin: 8px 0 0;

  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 22px;

  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}


/* RESPONSIVE */

@media (max-width: 900px) {

  .main-nav {
    display: none;
  }

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

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

  .feature-number {
    margin-bottom: 30px;
  }

}


@media (max-width: 600px) {

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 80px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text {
    display: none;
  }

  .login-button {
    padding: 9px 13px;
  }

  .hero {
    min-height: calc(100vh - 68px);
  }

  .hero-content {
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

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

}

/* MOBILE NAVIGATION */

.mobile-menu-button,
.mobile-menu-panel {
  display: none;
}

@media (max-width: 900px) {

  .header-inner {
    justify-content: flex-start;
  }

  .login-button {
    margin-left: auto;
  }

  .mobile-menu-button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;
    padding: 0;

    border: 1px solid rgba(101, 163, 255, 0.35);
    border-radius: 10px;

    background: rgba(47, 128, 255, 0.06);
    cursor: pointer;
  }

  .mobile-menu-button span {
    width: 18px;
    height: 2px;

    display: block;

    border-radius: 999px;
    background: #dce9ff;

    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu-panel {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;
    z-index: 200;

    width: min(320px, calc(100vw - 40px));
    padding: 10px;

    flex-direction: column;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(9, 21, 36, 0.98);

    box-shadow:
      0 22px 60px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(20px);
  }

  .mobile-menu-panel:not([hidden]) {
    display: flex;
  }

  .mobile-menu-panel a {
    padding: 14px 16px;

    border-radius: 9px;

    color: #dce5f1;

    font-size: 0.96rem;
    font-weight: 600;
  }

  .mobile-menu-panel a:hover,
  .mobile-menu-panel a:focus-visible {
    background: rgba(47, 128, 255, 0.10);
    color: #ffffff;
    outline: none;
  }

}