:root {
  --bg: #070b16;
  --bg-soft: #0f1730;
  --text: #eaf2ff;
  --muted: #9ab0d6;
  --brand: #1b4391;
  --brand-bright: #36b9ff;
  --line: rgba(137, 183, 255, 0.24);
  --card: rgba(12, 25, 52, 0.72);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 12% 10%, #15377f 0%, rgba(7, 11, 22, 0) 40%),
    radial-gradient(circle at 86% 80%, #0f2454 0%, rgba(7, 11, 22, 0) 38%),
    var(--bg);
  color: var(--text);
  font-family: "Exo 2", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.site-bg-glow {
  background: url("Assets/Asset 5@4x.png");
  background-size: 260px 260px;
  filter: saturate(0.9) opacity(0.05);
  position: fixed;
  inset: 0;
  z-index: -1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, #50e5ff, #2f65dd 56%, #8ad7ff);
  box-shadow: 0 0 18px rgba(80, 229, 255, 0.75);
}

.parallax-orb {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
  background: url("Assets/Asset 2@4x.png") center/contain no-repeat;
  filter: drop-shadow(0 0 36px rgba(54, 185, 255, 0.28));
  transform-origin: center center;
}

.parallax-orb.orb-a {
  width: 340px;
  height: 340px;
  top: 18%;
  left: -120px;
}

.parallax-orb.orb-b {
  width: 280px;
  height: 280px;
  top: 58%;
  right: -80px;
  opacity: 0.12;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(7, 11, 22, 0.74);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.2rem;
  transition: background 0.28s ease, padding 0.28s ease, border-color 0.28s ease;
}

.site-header.scrolled {
  background: rgba(7, 11, 22, 0.9);
  padding: 0.55rem 1.2rem;
  border-bottom-color: rgba(137, 183, 255, 0.35);
}

.brand img {
  width: 170px;
  max-width: 100%;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
}

main {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 74px);
  padding-top: 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: #8ec8ff;
  margin: 0 0 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.3rem);
}

p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.hero-copy p {
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-bright));
  color: #ffffff;
}

.btn-outline {
  border-color: var(--line);
  color: #d8e7ff;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #102046, #0a1122);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-visual img {
  width: min(80%, 380px);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5));
  transition: transform 0.15s linear;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.4;
  animation: drift 18s linear infinite;
}

@keyframes drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-26px, -26px);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.panel:hover {
  transform: translateY(-4px);
  border-color: rgba(137, 183, 255, 0.45);
}

.section-head {
  margin-bottom: 1.2rem;
}

.widget-shell {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(6, 15, 34, 0.9);
  padding: 0.45rem;
  overflow: hidden;
}

.tradingview-widget-container {
  height: 860px;
  min-height: 860px;
  width: 100%;
}

.tradingview-widget-container__widget,
.tradingview-widget-container iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
}

.tradingview-widget-container.compact-chart {
  height: 430px;
  min-height: 430px;
}

.widget-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
}

.telegram-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.telegram-shell {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  justify-content: space-between;
}

.telegram-shell iframe {
  width: 100% !important;
  min-height: 220px !important;
}

.telegram-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.telegram-head h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.28;
}

.telegram-head time {
  color: #91a9d4;
  font-size: 0.82rem;
  white-space: nowrap;
}

.telegram-text {
  margin: 0;
  color: #bdd0ef;
  font-size: 1rem;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.telegram-btn {
  align-self: flex-start;
  border-radius: 12px;
  padding: 0.56rem 0.92rem;
}

.process .timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item span {
  display: inline-block;
  color: #9ecfff;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.cta-band {
  padding-bottom: 5rem;
}

.cta-band > div {
  border: 1px solid var(--line);
  background: linear-gradient(105deg, rgba(25, 67, 145, 0.48), rgba(18, 26, 48, 0.78));
  border-radius: 20px;
  padding: 1.4rem;
}

.page-hero {
  padding-top: 5rem;
  max-width: 78ch;
}

.split,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.contact-form {
  display: grid;
  gap: 0.6rem;
}

label {
  font-size: 0.84rem;
  color: #c7dcff;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(7, 13, 27, 0.76);
  color: #ebf5ff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font-family: "Exo 2", sans-serif;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.site-footer img {
  width: 26px;
  height: 26px;
}

.site-footer p {
  font-size: 0.84rem;
}

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: opacity 0.65s ease, transform 0.65s ease, filter 0.65s ease;
}

.reveal-up.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

@media (max-width: 980px) {
  .hero,
  .stats,
  .process .timeline,
  .split,
  .contact-layout,
  .grid-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-visual {
    min-height: 350px;
  }

  .tradingview-widget-container {
    height: 620px;
    min-height: 620px;
  }

  .tradingview-widget-container.compact-chart {
    height: 310px;
    min-height: 310px;
  }

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

  .telegram-shell {
    min-height: 235px;
  }

  .telegram-shell iframe {
    min-height: 200px !important;
  }

  .telegram-head {
    flex-direction: column;
    gap: 4px;
  }

  .telegram-head time {
    white-space: normal;
  }
}

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

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

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
  }

  .site-nav.open {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero-grid {
    animation: none;
  }
}
