@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 800; font-display: swap; src: local('Montserrat'); }

:root {
  --bg: #0a0a0a;
  --bg2: #111113;
  --text: #ffffff;
  --text2: rgba(255,255,255,0.65);
  --text3: rgba(255,255,255,0.35);
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.06);
  --input-bg: rgba(255,255,255,0.03);
  --input-border: rgba(255,255,255,0.08);
  --accent: #00d4c8;
  --accent2: #00b8ad;
  --accent-glow: rgba(0,212,200,0.25);
  --border-blue: rgba(0,212,200,0.3);
}

[data-theme="light"] {
  --bg: #f5f5f7;
  --bg2: #ffffff;
  --text: #1a1a1a;
  --text2: rgba(0,0,0,0.6);
  --text3: rgba(0,0,0,0.35);
  --card-bg: rgba(0,0,0,0.03);
  --card-border: rgba(0,0,0,0.08);
  --input-bg: rgba(0,0,0,0.03);
  --input-border: rgba(0,0,0,0.1);
  --accent: #00bfa5;
  --accent2: #009e89;
  --accent-glow: rgba(0,191,165,0.12);
  --border-blue: rgba(0,191,165,0.25);
}

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

html { scroll-behavior: smooth; background: var(--bg); color: var(--text); font-family: 'Montserrat', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* HEADER */
.header { position: sticky; top: 8px; z-index: 50; display: flex; justify-content: space-between; align-items: center; margin: 0 16px; padding: 16px 24px; background: var(--card-bg); backdrop-filter: blur(20px); border-radius: 40px; border: 1px solid var(--card-border); }
.header__logo { font-size: 14px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.header__logo svg { width: 32px; height: 32px; }
.header__nav { display: flex; align-items: center; gap: 24px; }
.header__nav a { font-size: 14px; font-weight: 500; color: var(--text3); transition: color 0.3s; cursor: pointer; }
.header__nav a:hover, .header__nav a.active { color: var(--text); }
.header__cta { padding: 10px 28px; border-radius: 50px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: background 0.3s; font-family: inherit; }
.header__cta:hover { background: var(--accent2); }
.header__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.header__burger svg { width: 24px; height: 18px; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__theme-btn, .header__lang-btn { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text2); font-size: 13px; font-weight: 600; font-family: inherit; transition: all 0.3s; }
.header__theme-btn:hover, .header__lang-btn:hover { border-color: var(--accent); color: var(--accent); }

/* HERO */
.hero { padding: 40px 24px 80px; position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto; }
.hero::after { content: ''; position: absolute; top: -100px; right: 0; width: 100%; height: 600px; background: radial-gradient(ellipse at 70% 30%, var(--accent-glow) 0%, transparent 60%); pointer-events: none; z-index: 0; }
.hero__content { position: relative; z-index: 1; }
.hero__title { font-size: clamp(38px, 6vw, 82px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; max-width: 900px; }
.hero__title-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__title .highlight { display: inline-flex; align-items: center; gap: 8px; }
.hero__title .highlight-box { display: inline-block; padding: 8px 24px; border: 1px solid var(--border-blue); border-radius: 20px; font-size: inherit; }
.hero__subtitle { font-size: 15px; color: var(--text2); max-width: 420px; margin-top: 16px; line-height: 1.5; }
.hero__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s; font-family: inherit; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent2); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--card-border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* SECTION LABEL */
.section-label { display: inline-block; position: relative; padding: 6px 20px; margin-bottom: 16px; }
.section-label__text { position: relative; z-index: 1; font-size: 14px; font-weight: 600; color: var(--accent); }
.section-label__border { position: absolute; inset: 0; border: 1px solid var(--border-blue); border-radius: 12px; }

/* SECTION */
.section__title { font-size: clamp(22px, 3vw, 30px); font-weight: 500; text-transform: uppercase; line-height: 1.2; margin-bottom: 12px; }
.section__desc { font-size: 15px; color: var(--text2); line-height: 1.6; max-width: 600px; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 30px; padding: 28px; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,212,200,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card__icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.card__text { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* PROMO CARDS */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card { background: linear-gradient(180deg, rgba(0,212,200,0.06) 0%, var(--card-bg) 100%); border: 1px solid var(--card-border); border-radius: 30px; padding: 32px; position: relative; overflow: hidden; }
.promo-card__num { font-size: 50px; font-weight: 900; color: rgba(0,212,200,0.1); position: absolute; top: 12px; right: 20px; font-family: 'Outfit', sans-serif; }
.promo-card__title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.promo-card__text { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* TICKER */
.ticker-wrap { overflow: hidden; padding: 8px 0; }
.ticker { display: flex; gap: 12px; width: max-content; animation: ticker 50s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 50px; background: var(--card-bg); border: 1px solid var(--card-border); white-space: nowrap; flex-shrink: 0; transition: border-color 0.3s; }
.ticker__item:hover { border-color: var(--border-blue); }
.ticker__item img { width: 28px; height: 28px; border-radius: 6px; object-fit: contain; }
.ticker__item span { font-size: 13px; font-weight: 500; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* FAQ */
.faq { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--card-border); }
.faq-item__q { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 15px; font-weight: 500; color: var(--text); font-family: inherit; text-align: left; }
.faq-item__q svg { width: 26px; height: 26px; flex-shrink: 0; border: 1px solid var(--text3); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.faq-item.open .faq-item__q svg { transform: rotate(45deg); border-color: var(--accent); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-item__a { max-height: 400px; padding-bottom: 20px; }
.faq-item__a p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* FORM */
.form-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 30px; padding: 36px; max-width: 520px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text3); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); font-size: 14px; font-family: inherit; transition: border-color 0.3s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-btn { width: 100%; padding: 14px; border-radius: 50px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; border: none; cursor: pointer; font-family: inherit; transition: background 0.3s; }
.form-btn:hover { background: var(--accent2); }

/* FOOTER */
.footer { padding: 40px 24px 24px; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--card-border); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer__brand-desc { font-size: 13px; color: var(--text3); margin-top: 12px; line-height: 1.6; max-width: 280px; }
.footer__col-title { font-size: 12px; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 13px; color: var(--text2); transition: color 0.3s; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--card-border); font-size: 12px; color: var(--text3); }

/* PAGE HERO */
.hero--page { padding: 120px 24px 40px; }

/* REVEAL */
.reveal, .section-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible, .section-reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .promo-grid, .cards-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__burger { display: block; }
  .header__nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg2); border: 1px solid var(--card-border); border-radius: 24px; padding: 20px; backdrop-filter: blur(20px); }
  .hero__title { font-size: 36px; }
}

/* PLATFORM CARDS */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 16px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  aspect-ratio: 1;
  transition: border-color 0.3s, transform 0.3s;
}
.platform-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.platform-card__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 12px;
}
.platform-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  line-height: 1.3;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 360px;
  width: 90%;
}
.modal__icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.modal__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.modal__text {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 24px;
}
.modal__btn {
  padding: 12px 32px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s;
}
.modal__btn:hover {
  background: var(--accent2);
}

/* TELEGRAM CARD */
.tg-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 48px;
  text-align: center;
  max-width: 400px;
  width: 100%;
}
.tg-card__icon {
  color: var(--accent);
  margin-bottom: 20px;
}
.tg-card__icon svg {
  width: 56px;
  height: 56px;
}
.tg-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}
.tg-card__username {
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.tg-card__desc {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 28px;
}
.tg-card__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.tg-card__btn:hover {
  background: var(--accent2);
}
