:root {
  --bg: #08090b;
  --panel: #101216;
  --text: #f2f3f5;
  --muted: #a3a8b3;
  --line: #242833;
  --accent: #d9dce3;
  --copper: #b87333;
  --blue: #0c84d6;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ── Header ── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand .logo {
  height: 48px;
  width: auto;
}

nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

nav a, nav button {
  color: var(--muted);
  transition: color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown .nav-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown .nav-trigger::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 2px;
}

.nav-dropdown .nav-trigger.open::after {
  transform: rotate(135deg);
  margin-bottom: 2px;
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 8px;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 1000;
}

.nav-dropdown.open .nav-menu {
  display: flex;
}

.nav-menu a {
  padding: 10px 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

/* ── Hero ── */

.hero {
  padding-bottom: 8px;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 650;
  max-width: 900px;
}

.lead {
  max-width: 660px;
  margin: 0 0 36px;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--muted);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

/* ── CTAs ── */

.cta-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--text);
  color: var(--bg) !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.btn:hover { opacity: 0.88; }

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.link-muted {
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: color 0.15s;
}

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

/* ── Sections ── */

main { display: grid; gap: 0; }

.section {
  border-top: 1px solid var(--line);
  padding: 60px 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}

.section h2 {
  margin: 0 0 24px;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 650;
  line-height: 1.15;
  max-width: 740px;
}

.section p {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 20px;
  line-height: 1.65;
}

.section p:last-child { margin-bottom: 0; }

/* ── Product card ── */

.product-card {
  background: rgba(16, 18, 22, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.product-tagline {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 28px;
}

.product-card .body-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 680px;
}

.product-card .body-text:last-of-type { margin-bottom: 0; }

/* ── Lists ── */

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet-list li {
  color: var(--muted);
  font-size: 15px;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--muted);
}

/* ── How-it-works cards ── */

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

.how-card {
  background: rgba(16, 18, 22, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.how-card h4 {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.how-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: none !important;
}

/* ── Beliefs list ── */

.beliefs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.beliefs li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.beliefs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--muted);
}

/* ── Map Section ── */

/* ── Video Section ── */

.video-section {
  border-top: 1px solid var(--line);
  padding: 60px 24px 0;
}

.video-section .wrap {
  padding: 0 0 32px 0;
}

.video-wrapper {
  position: relative;
  width: 50%;
  margin: 0 auto;
  line-height: 0;
  aspect-ratio: 16 / 9;
}

.bg-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
  padding-top: 80px;
}

.ticker {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.65);
  padding: 14px 0;
  backdrop-filter: blur(6px);
}

.ticker span {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-scroll 40s linear infinite;
  color: #00d4ff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.ticker span:hover {
  animation-play-state: paused;
}

.ticker img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  border-radius: 2px;
}

.ticker img + img {
  margin-left: -2px;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ── Footer ── */

footer {
  position: sticky;
  bottom: 0;
  z-index: 100;
  background: var(--bg);
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--muted);
  transition: color 0.15s;
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  grid-column: 1;
  grid-row: 1;
}

.footer-left > span:first-child {
  color: var(--text);
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

/* ── Contact form modal ── */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 11, 0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
}

.modal-title {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.modal-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
  line-height: 1.5;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.form-fields input,
.form-fields textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.form-fields input::placeholder,
.form-fields textarea::placeholder { color: var(--muted); }

.form-fields input:focus,
.form-fields textarea:focus { border-color: #444; }

.form-fields textarea {
  resize: vertical;
  min-height: 160px;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-success {
  display: none;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px 0 0;
}

/* ── Telegram FAB (third bottom icon) ── */

#tg-fab {
  position: fixed;
  bottom: 30px;
  right: 170px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #229ED9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(34,158,217,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

#tg-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(34,158,217,0.5);
}

#tg-fab svg { width: 24px; height: 24px; fill: #fff; }

/* ── CTA secondary line ── */

.cta-secondary {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cta-secondary a,
.cta-secondary button {
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  transition: color 0.15s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-secondary a:hover,
.cta-secondary button:hover { color: var(--text); }

.cta-secondary .sep { opacity: 0.4; }

/* ── Articles ── */

.article-list {
  display: grid;
  gap: 32px;
  margin: 32px 0;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  transition: border-color 0.15s, background 0.15s;
}

.article-card:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
}

.article-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.article-card p {
  color: #c0c3c8;
  line-height: 1.6;
  margin: 12px 0;
}

.article-card p:last-of-type {
  margin-bottom: 20px;
}

/* ── Utilities ── */

.margin-top-32 { margin-top: 32px; }
.margin-bottom-24 { margin-bottom: 24px; }


.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

.small-muted {
  font-size: 13px;
  color: var(--muted);
}

.error-text {
  color: #c0392b;
}

/* ── Guta buttons ── */

.guta-option {
  background: rgba(16, 18, 22, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.15s;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.guta-option:hover { border-color: #444; }

.guta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a5c, #2471a3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guta-icon svg { width: 18px; height: 18px; fill: #fff; }

.guta-label { display: flex; flex-direction: column; gap: 2px; }

.guta-label strong { font-size: 15px; color: var(--text); font-weight: 600; }

.guta-label span { font-size: 13px; color: var(--muted); }

/* ── Responsive ── */

@media (max-width: 760px) {
  header { padding-bottom: 56px; }
  nav { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
  .modal { padding: 28px 20px; }
}
