* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #0f172a; background: #0b1020; }

.container { width: min(1200px, 92%); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); background: rgba(11,16,32,0.6); border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-header .container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 0; }
.brand { font-weight: 700; color: #fff; letter-spacing: 0.3px; }
.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 6px 10px; font-size: 18px; }
.nav { display: flex; gap: 16px; justify-self: center; }
.nav a { color: #cbd5e1; text-decoration: none; font-weight: 500; }
.nav a:hover { color: #fff; }

.hero { padding: 64px 0 32px; background: radial-gradient(60% 50% at 20% 10%, rgba(59,130,246,0.2), transparent 60%), radial-gradient(40% 35% at 80% 30%, rgba(139,92,246,0.18), transparent 60%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero__content h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 0 0 12px; }
.hero__content p { color: #94a3b8; font-size: 16px; margin: 0 0 20px; }
.hero__actions { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.primary { background: linear-gradient(135deg,#22c55e,#16a34a); color: #fff; border: 0; padding: 12px 18px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.secondary { color: #9bdcff; text-decoration: none; font-weight: 600; }
.hero__badges { display: flex; gap: 10px; color: #94a3b8; font-size: 13px; }
.hero__visual { display: grid; place-items: center; }
.glass-card { width: 100%; max-width: 440px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.stat { display: flex; align-items: baseline; gap: 10px; color: #e2e8f0; }
.stat__value { font-size: 28px; font-weight: 800; }
.stat__label { color: #94a3b8; font-size: 12px; }

.section { padding: 56px 0; background: #0b1020; }
.section--alt { background: #0d1326; }
.section__title { color: #fff; font-size: 28px; margin: 0 0 12px; }
.section__lead { color: #94a3b8; margin: 0 0 18px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }
.feature { padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #cbd5e1; }
.feature__icon { font-size: 22px; }
.feature__title { color: #fff; font-weight: 700; margin-top: 6px; }
.feature__desc { color: #94a3b8; font-size: 14px; }

.timeline { border-left: 2px solid rgba(255,255,255,0.08); margin-left: 10px; padding-left: 16px; display: grid; gap: 16px; }
.timeline__item { position: relative; }
.timeline__dot { position: absolute; left: -10px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,0.25); }
.timeline__year { color: #cbd5e1; font-weight: 700; }
.timeline__text { color: #94a3b8; }

.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; }
.card { padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #cbd5e1; }
.card h3 { color: #fff; margin: 0 0 8px; font-size: 18px; }
.card canvas { display:block; width: 100% !important; height: 260px !important; }
#miniSparkline { height: 80px !important; }
/* Делаем круговую диаграмму квадратной */
canvas#assetsPie { width: 200px !important; height: auto !important; aspect-ratio: 1 / 1; display: block; margin-inline: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
@media (max-width: 480px) {
  canvas#assetsPie { width: 160px !important; }
}

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 16px; }
.testimonial { padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #cbd5e1; font-style: italic; }
.testimonial__author { color: #94a3b8; margin-top: 8px; font-style: normal; font-weight: 600; }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }
.member { padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #cbd5e1; text-align: center; }
.avatar { font-size: 34px; }
.name { color: #fff; font-weight: 700; margin-top: 6px; }
.role { color: #94a3b8; font-size: 14px; }

.faq details { padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #cbd5e1; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; color: #fff; font-weight: 600; }

.site-footer { background: #0d1326; padding: 28px 0; color: #cbd5e1; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.footer__title { color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer__bottom { padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 16px; color: #94a3b8; font-size: 14px; }

/* Кнопка кошелька совместима с существующим JS */
.connect-button { background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: #fff; border: none; padding: 12px 18px; font-weight: 700; border-radius: 12px; cursor: pointer; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .site-header .container { grid-template-columns: auto auto 1fr; }
  .nav { display: none; grid-column: 1 / -1; flex-direction: column; gap: 10px; padding: 10px 0; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .lang-switcher { justify-self: end; }
}
