:root {
  --bg: #0b0b0b;
  --text: #0b0b0b;
  --muted: #6b6b6b;
  --accent: #9fc3ff; /* light blue for JOIN */
  --white: #ffffff;
  --container: 1200px;
  --max-width: 1100px;
  --gap: 28px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Top fixed strip */
.top-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  z-index: 1200;
  background: linear-gradient(rgba(0,0,0,0.42), rgba(0,0,0,0.32));
  backdrop-filter: blur(4px);
}

.top-strip a {
  color: var(--white);
  font-weight: 600;
  margin-right: 18px;
}

.top-strip .nav-left a {
  margin-right: 22px;
}

.top-strip .nav-right a {
  margin-left: 14px;
  color: rgba(255,255,255,0.95);
}

.top-strip .nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  color: var(--white);
  opacity: 0.95;
}

/* spacer under fixed header */
.header-spacer {
  height: 72px;
}

/* HERO SECTION */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 48px 20px;

  /* фон — звёздное небо */
  background-image: url("/static/images/pexels-pixabay-207529.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay для затемнения */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,8,14,0.6), rgba(3,8,14,0.65));
  z-index: 0;
}

/* Анимация мерцающих звёзд */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='10' cy='10' r='1.5' fill='white'/%3E%3Ccircle cx='50' cy='80' r='1' fill='white'/%3E%3Ccircle cx='120' cy='30' r='0.8' fill='white'/%3E%3Ccircle cx='170' cy='150' r='1.2' fill='white'/%3E%3C/svg%3E") repeat;
  animation: twinkle 4s infinite linear;
  z-index: 1;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Контент поверх overlay */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: var(--max-width);
  width: 100%;
  padding: 40px;
}

/* Title - large and white with subtle glow */
.hero-title {
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 6px 30px rgba(0,0,0,0.6), 0 0 14px rgba(255,255,255,0.07);
  margin-bottom: 18px;
}

.hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 28px;
}

/* CTA (JOIN) */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-decoration: none;
}

.btn-cta {
  background: var(--accent);
  color: #052236;
  border: none;
  box-shadow: 0 8px 30px rgba(15,40,65,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(15,40,65,0.22);
}

/* small down chevron */
.scroll-down {
  margin-top: 40px;
  color: rgba(255,255,255,0.85);
  font-size: 28px;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

/* ==============
   ABOUT
   ============== */
.about {
  background: #fff;
  padding: 100px 20px;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.about-text {
  flex: 1 1 420px;
  max-width: 500px;
}
.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: #000; /* заголовок черный */
}
.about-text .underline {
  width: 80px;
  height: 4px;
  background: #f7903d;
  margin: 12px 0 20px;
}
.about-text .lead {
  font-size: 18px;
  color: #000; /* текст черный */
}
.about-image {
  flex: 1 1 400px;
}
.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* ==============
   INVEST TODAY
   ============== */
.invest {
  position: relative;
  background: url("/static/images/ekran-s-grafikom-na-kotorom-napisano-slovo-finansovyi.jpg") center/cover no-repeat;
  text-align: center;
  color: #fff;
  padding: 140px 20px;
}
.invest-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.invest-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.invest h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}
.invest p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #ddd;
}
.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.btn-primary {
  background: #f7903d;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}
/* BENEFITS SECTION */
.benefits {
  background: #f5f5f6;
  color: #111;
  padding: 80px 20px;
  text-align: center;
}

.benefits h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.benefits-sub {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Список преимуществ */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 800px;
  margin: 0 auto;
}

/* Один пункт */
.benefit-item {
  display: flex;
  align-items: flex-start; /* выравнивание по верхней линии */
  gap: 14px;
  text-align: left;
}

/* Галочка */
.benefit-item .check {
  color: #9fc3ff; /* тот же оттенок, что у accent */
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1.2;
  margin-top: 3px; /* небольшая корректировка выравнивания */
}

/* Заголовок и описание */
.benefit-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.benefit-item p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* адаптация для мобильных */
@media (max-width:700px){
  .benefit-list { gap: 18px; }
  .benefit-item { align-items: flex-start; }
  .benefit-item h3 { font-size: 17px; }
}
/* ==============
   SIGNUP
   ============== */
.signup {
  position: relative;
  background: url("/static/images/sovremennye-ofisnye-pomesenia-s-futuristiceskim-dekorom-i-mebel-u.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}
.signup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.signup-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.signup h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}
.signup p {
  margin-bottom: 30px;
  color: #ddd;
}
.signup-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.signup-form input {
  padding: 12px 14px;
  border-radius: 6px;
  border: none;
  min-width: 180px;
}
.signup-form button {
  background: #f7903d;
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
.signup-form button:hover {
  background: #e97c1d;
}

/* ==============
   SERVICES / CRYPTO INVESTMENT
   ============== */
.services {
  background: #f8f8f8;
  padding: 100px 20px;
  text-align: center;
}
.services h2,
.services p,
.service-card h3,
.service-card p {
  color: #000; /* заголовки и тексты черные */
}
.services h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 40px;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  flex: 1 1 280px;
  max-width: 360px;
}
.service-card-wide {
  flex: 1 1 100%;
  max-width: 100%;
}
.service-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  stroke: #f7903d;
  stroke-width: 2;
}
/* ==============
   FOOTER
   ============== */
.site-footer {
  background: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.site-footer a {
  color: #f7903d;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* ==============
   RESPONSIVE
   ============== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
  .invest h2 {
    font-size: 36px;
  }
  .signup h2 {
    font-size: 32px;
  }
  .btn-group {
    flex-direction: column;
  }
}
/* ==============
   SIGNUP MODAL
   ============== */
.signup-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}
.signup-modal.show {
  display: flex;
}
.signup-modal-content {
  position: relative;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.signup-modal-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}
.signup-modal-content p {
  color: #555;
  margin-bottom: 20px;
}
.signup-modal-content .signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.signup-modal-content input {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.signup-modal-content button {
  background: #f7903d;
  border: none;
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
.signup-modal-content button:hover {
  background: #e97c1d;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #555;
  cursor: pointer;
}
.close-modal:hover {
  color: #000;
}
