:root {
  --bg: #0b1020;
  --bg-alt: #10172f;
  /* Brand accents (blue → orange) */
  --accent: #1f7aff;
  --accent-2: #ff7a00;
  --accent-soft: rgba(31, 122, 255, 0.12);
  --accent-2-soft: rgba(255, 122, 0, 0.14);
  --accent-gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --accent-gradient-hover: linear-gradient(135deg, #2b86ff, #ff8b1a);
  --text-main: #f8fafc;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
  --transition-fast: 0.18s ease-out;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Roboto", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.9), rgba(15,23,42,0.3), transparent);
  border-bottom: 1px solid rgba(15,23,42,0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

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

.logo-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 10px;
  /* Keep header height stable: logo can overflow */
  margin-top: -14px;
  margin-bottom: -14px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: conic-gradient(from 210deg, var(--accent), var(--accent-2), #6366f1, var(--accent));
  position: relative;
  padding: 3px;
}

.logo-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  background: radial-gradient(circle at 20% 0%, #0b1120 0, #020617 60%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}

.logo-text-sub {
  font-size: 12px;
  color: var(--text-muted);
}

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

nav a {
  position: relative;
  padding: 4px 0;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width var(--transition-fast);
}

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

nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.link-ghost {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148,163,184,0.3);
  color: var(--text-muted);
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.link-ghost:hover {
  background: rgba(15,23,42,0.98);
  border-color: rgba(148,163,184,0.7);
  color: var(--text-main);
  transform: translateY(-1px);
}

.btn-primary {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: var(--accent-gradient);
  color: #020617;
  text-shadow: 0 1px 0 rgba(2, 6, 23, 0.12);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  white-space: nowrap;
}

.btn-primary span.arrow {
  font-size: 14px;
  transform: translateY(0.5px);
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.9);
  filter: brightness(1.05);
  background: var(--accent-gradient-hover);
}

/* Hero */

.hero {
  padding: 48px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.3);
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 18px;
}

.hero-label-pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-2-soft));
  color: var(--text-main);
  border: 1px solid rgba(31, 122, 255, 0.55);
}

.hero-title {
  font-size: clamp(30px, 4.1vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #dbeafe, #ffd7b5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 480px;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-secondary {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--accent-gradient);
  color: #020617;
  text-shadow: 0 1px 0 rgba(2, 6, 23, 0.12);
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-1px);
}

.hero-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--text-muted);
  align-items: center;
}

.hero-metric-row strong {
  color: var(--accent-2);
  font-weight: 600;
}

.hero-metric-pill {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.2);
}

/* Hero visual */

.hero-visual {
  position: relative;
  padding: 18px;
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(31,122,255,0.14), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255,122,0,0.12), transparent 55%),
              rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

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

.card-mini {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.95);
  padding: 12px 12px 11px;
  font-size: 12px;
}

.card-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-accent {
  background: rgba(31,122,255,0.16);
  color: #e0f2fe;
  border: 1px solid rgba(31,122,255,0.6);
}

.pill-soft {
  background: rgba(255,122,0,0.16);
  color: #fff7ed;
  border: 1px solid rgba(255,122,0,0.55);
}

.card-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 3px;
}

.card-text {
  color: var(--text-muted);
  font-size: 11px;
}

.hero-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
}

.hero-tag {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.35);
  color: var(--text-muted);
}

.hero-orbit {
  position: absolute;
  inset: -40%;
  border-radius: 999px;
  border: 1px dashed rgba(148,163,184,0.18);
  opacity: 0.6;
}

/* Sections */

section {
  padding: 30px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 20px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 420px;
}

/* Cards grid */

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

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(31,122,255,0.18), transparent 60%),
              rgba(15,23,42,0.95);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 15px;
}

.card-alt {
  background: radial-gradient(circle at top right, rgba(255,122,0,0.16), transparent 60%),
              rgba(15,23,42,0.95);
}

.card-header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.card-description {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.chip {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.35);
  color: var(--text-muted);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.card-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.card-list li::before {
  content: "•";
  color: var(--accent-2);
  margin-top: 1px;
}

.card-footer-link {
  font-size: 12px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.card-footer-link span.arrow {
  font-size: 13px;
}

/* Steps */

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

.step-card {
  border-radius: 16px;
  border: 1px dashed rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.9);
  padding: 12px 11px;
  font-size: 12px;
  position: relative;
  overflow: hidden;
}

.step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  background: rgba(15,23,42,1);
  border: 1px solid rgba(148,163,184,0.6);
  margin-bottom: 7px;
}

.step-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
}

.step-text {
  color: var(--text-muted);
}

/* Stats / About */

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

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.stat-card {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.4);
  min-width: 120px;
  font-size: 12px;
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 3px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 11px;
}

/* FAQ */

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

.faq-item {
  border-radius: 14px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.35);
  padding: 11px 12px;
  font-size: 13px;
}

.faq-q {
  font-weight: 500;
  margin-bottom: 4px;
}

.faq-a {
  color: var(--text-muted);
  font-size: 12px;
}

/* Contacts */

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

.contact-card {
  border-radius: var(--radius-lg);
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.4);
  padding: 14px 14px 13px;
  font-size: 13px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.contact-pill {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.95);
  font-size: 12px;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}

.field label {
  color: var(--text-muted);
}

.field input,
.field textarea {
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.95);
  padding: 7px 9px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(31, 122, 255, 0.55);
}

.field textarea {
  min-height: 70px;
  resize: vertical;
}

.form-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* Footer */

footer {
  border-top: 1px solid rgba(15,23,42,0.85);
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), #020617 55%);
  padding: 14px 0 18px;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

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

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* Responsive */

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  nav {
    display: none;
  }

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

  .hero {
    padding-top: 26px;
  }

  .hero-visual {
    order: -1;
  }

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

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

  .about-grid,
  .contacts-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 26px;
  }

  .logo-img {
    width: 60px;
    height: 60px;
    margin-top: -10px;
    margin-bottom: -10px;
  }

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

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
