﻿@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
}

:root {
  --bg: #07101f;
  --bg-soft: #0b1629;
  --bg-deep: #040b16;
  --surface: rgba(14, 26, 47, 0.84);
  --surface-strong: rgba(9, 19, 36, 0.94);
  --card: rgba(18, 33, 60, 0.9);
  --card-soft: rgba(14, 28, 50, 0.8);
  --card-hover: rgba(22, 40, 71, 0.95);
  --border: rgba(153, 188, 255, 0.15);
  --border-strong: rgba(153, 188, 255, 0.28);
  --accent: #3d8bff;
  --accent-strong: #77b1ff;
  --accent-soft: #d8e8ff;
  --accent-faint: rgba(61, 139, 255, 0.14);
  --text-high: #f2f7ff;
  --text-med: #b7c8e6;
  --text-low: #7f97ba;
  --shadow-xl: 0 32px 80px rgba(2, 8, 20, 0.42);
  --shadow-card: 0 18px 40px rgba(2, 8, 20, 0.28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --page-pad: clamp(20px, 3vw, 36px);
  --section-gap: clamp(72px, 10vw, 132px);
  --content-gap: clamp(20px, 2.8vw, 30px);
  --header-height: 86px;
  --font-display: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-tech: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 4px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-ui);
  color: var(--text-high);
  line-height: 1.55;
  background:
    radial-gradient(circle at 12% 8%, rgba(61, 139, 255, 0.16), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(119, 177, 255, 0.08), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 48%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 88%);
  opacity: 0.35;
}

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

button,
a,
.btn {
  font: inherit;
}

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

button {
  background: none;
  border: 0;
}

.site-shell {
  position: relative;
}

.container {
  width: min(var(--max-width), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(4, 11, 22, 0.94), rgba(4, 11, 22, 0.74));
  border-bottom: 1px solid rgba(153, 188, 255, 0.08);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(153, 188, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-tag {
  display: block;
  margin-top: 4px;
  color: var(--text-low);
  font-size: 0.8rem;
}

.site-header .brand-tag {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--text-high);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a:not(.btn),
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-med);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--text-high);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  display: none;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: var(--shadow-xl);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: grid;
  gap: 4px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  background: linear-gradient(180deg, #9fd1ff, #58abff);
  color: #061121;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(88, 171, 255, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(88, 171, 255, 0.36);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-high);
}

.btn-ghost-link {
  color: var(--text-med);
  font-size: 0.92rem;
  font-weight: 500;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8ebcff, #3d8bff);
}

.hero,
.page-hero {
  padding: clamp(40px, 8vw, 88px) 0 clamp(56px, 8vw, 96px);
}

.hero h1,
.page-hero h1,
.section-head h2,
.cta-panel h2,
.empty-card h1,
.copy-block h2,
.copy-block h3,
.feature-card h3,
.workflow-card h3,
.trust-card h3,
.support-card h3,
.privacy-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero h1,
.page-hero h1,
.empty-card h1 {
  font-size: clamp(3rem, 6.5vw, 5rem);
  line-height: 0.94;
}

.page-hero h1 {
  margin-top: 18px;
}

.hero .lead,
.page-hero .lead,
.section-head p,
.copy-block p,
.faq-answer,
.feature-card p,
.workflow-card p,
.trust-card p,
.support-card p,
.privacy-card p,
.cta-panel p,
.empty-card p {
  color: var(--text-med);
}

.hero .lead,
.page-hero .lead {
  margin: 18px 0 0;
  max-width: 740px;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
}

.hero-actions,
.page-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-med);
  font-size: 0.92rem;
}

.section {
  padding-bottom: var(--section-gap);
}

.section-head,
.page-section-head {
  max-width: 760px;
  margin-bottom: clamp(22px, 4vw, 32px);
}

.section-head h2,
.page-section-head h2,
.cta-panel h2 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.section-head p,
.page-section-head p,
.cta-panel p {
  margin-top: 12px;
  font-size: 1rem;
}

.card-grid,
.page-grid,
.workflow-grid {
  display: grid;
  gap: var(--content-gap);
}

.card-grid,
.page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.workflow-card,
.trust-card,
.support-card,
.privacy-card,
.copy-block,
.cta-panel,
.empty-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)), var(--card-soft);
  box-shadow: var(--shadow-card);
}

.feature-card,
.workflow-card,
.trust-card,
.support-card,
.privacy-card,
.copy-block,
.cta-panel {
  padding: clamp(22px, 3vw, 30px);
}

.feature-card:hover,
.workflow-card:hover,
.trust-card:hover,
.support-card:hover,
.privacy-card:hover,
.copy-block:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)), var(--card-hover);
}

.feature-card h3,
.workflow-card h3,
.trust-card h3,
.support-card h3,
.privacy-card h3,
.copy-block h2,
.copy-block h3 {
  font-size: clamp(1.25rem, 2vw, 1.52rem);
}

.feature-card p,
.workflow-card p,
.trust-card p,
.support-card p,
.privacy-card p,
.copy-block p {
  margin: 12px 0 0;
}

.copy-stack {
  display: grid;
  gap: 10px;
}

.copy-stack > .page-section-head {
  margin-bottom: 0;
}

.copy-stack > .page-grid + .page-section-head {
  margin-top: clamp(26px, 5vw, 44px);
}

.copy-block ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent-soft);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 20px 20px;
}

.faq-answer p {
  margin: 0;
}

.compact-list,
.bullet-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.compact-list li,
.bullet-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 18px;
  color: var(--text-med);
}

.compact-list li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  outline: none;
}

.contact-label {
  display: block;
  color: var(--text-low);
  font-size: 0.82rem;
}

.contact-value {
  display: block;
  margin-top: 4px;
  font-weight: 600;
}

.site-footer {
  padding: 0 0 34px;
}

.footer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(5, 12, 25, 0.78);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-med);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text-high);
  outline: none;
}

.footer-copy {
  color: var(--text-low);
  font-size: 0.92rem;
}

.page-content {
  padding-bottom: var(--section-gap);
}

main section[id] {
  scroll-margin-top: calc(var(--header-height) + 4px);
}

.empty-state {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 48px 0 72px;
}

.empty-card {
  width: min(760px, calc(100% - (var(--page-pad) * 2)));
  padding: clamp(28px, 4vw, 42px);
}

.empty-card p {
  margin-top: 14px;
}

.empty-card .cta-actions {
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .card-grid,
  .page-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    background: linear-gradient(180deg, rgba(4, 11, 22, 0.97), rgba(4, 11, 22, 0.86));
  }

  .nav {
    min-height: 76px;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--surface-strong);
    box-shadow: var(--shadow-xl);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.btn),
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 46px;
    border-radius: 16px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    border-radius: 18px;
    box-shadow: none;
  }

  .nav-links .btn {
    width: 100%;
    margin-top: 4px;
  }

  .footer-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .empty-card {
    width: min(100%, calc(100% - 24px));
  }

  .hero,
  .page-hero {
    padding-top: 30px;
  }

  .hero h1,
  .page-hero h1,
  .empty-card h1 {
    font-size: clamp(2.4rem, 13vw, 3.2rem);
  }

  .section-head h2,
  .page-section-head h2,
  .cta-panel h2 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .feature-card,
  .workflow-card,
  .trust-card,
  .support-card,
  .privacy-card,
  .copy-block,
  .cta-panel,
  .empty-card {
    padding: 20px;
  }

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

  .hero-actions .btn,
  .page-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .contact-link {
    align-items: flex-start;
    flex-direction: column;
  }
}
