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

:root {
  --bg: #0a0a0a;
  --bg-card: rgba(17,17,17,0.85);
  --bg-card-hover: rgba(22,22,22,0.92);
  --bg-cta: rgba(15,26,31,0.9);
  --accent: #00d4ff;
  --text: #f0f0f0;
  --text-muted: #888888;
  --border: #222222;
  --border-hover: #00d4ff33;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  background: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Плавающие эмодзи фон */
#emojiBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.emoji-float {
  position: absolute;
  font-size: 32px;
  opacity: 0;
  user-select: none;
  will-change: transform, opacity;
  filter: blur(0.5px);
}

/* Фоновый canvas на весь сайт */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Всё содержимое поверх canvas */
.nav, .hero, .hermes, .tgsales, .stats, .projects, .process,
.audience, .cta, .about, .contact, .footer {
  position: relative;
  z-index: 1;
}

/* Навигация */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  text-decoration: none;
  margin-right: auto;
}

.nav__menu {
  display: flex;
  gap: 32px;
}

.nav__menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

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

/* Кнопки */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
  padding: 14px 32px;
}

.btn--primary:hover {
  box-shadow: 0 0 20px #00d4ff44;
  filter: brightness(1.1);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 9px 20px;
  font-size: 14px;
}

.btn--outline:hover { background: #00d4ff11; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 24px;
  display: block;
}

.hero__line {
  display: block;
  opacity: 0;
}

.hero__sub {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  opacity: 0;
  line-height: 1.5;
}

.hero__btn { opacity: 0; }

.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0;
}

/* Цифры */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px;
  background: rgba(10,10,10,0.6);
}

.stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.stats__item { text-align: center; }

.stats__num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}

.stats__label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Секции */
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.projects,
.process,
.audience,
.about,
.contact {
  padding: 120px 0;
}

.section__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section__sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 56px;
}

/* Карточки */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px #00d4ff1a;
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.card__tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card__title {
  font-size: 20px;
  font-weight: 600;
}

.card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card__link {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
}

.card__link:hover { text-decoration: underline; }

.card__status {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
}

.card__status::before {
  content: '● ';
  color: #00d4ff88;
}

/* Процесс */
.process__steps {
  display: flex;
  gap: 40px;
  margin-top: 56px;
}

.process__step { flex: 1; }

.process__icon {
  display: block;
  font-size: 32px;
  margin-bottom: 16px;
}

.process__name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.process__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Аудитория */
.audience__grid {
  display: flex;
  gap: 40px;
  margin-top: 56px;
}

.audience__item { flex: 1; }

.audience__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.audience__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA блок */
.cta {
  background: var(--bg-cta);
  backdrop-filter: blur(8px);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid #00d4ff18;
  border-bottom: 1px solid #00d4ff18;
}

.cta__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta__text {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Обо мне */
.about__inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.about__text { flex: 1; }

.about__text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.about__list {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 280px;
}

.about__list li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.about__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Telegram кнопка в контакте */
.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 24px 36px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tg-btn:hover {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 40px rgba(0,212,255,0.15);
  transform: translateY(-2px);
}

.tg-btn__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  flex-shrink: 0;
}

.tg-btn__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.tg-btn__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.tg-btn__hint {
  font-size: 14px;
  color: var(--text-muted);
}

/* Подвал */
.footer {
  padding: 32px 48px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(10,10,10,0.6);
}

/* Hermes секция */
.hermes {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 65% 50%, rgba(0,212,255,0.07) 0%, transparent 60%);
}

.hermes > .section__inner {
  width: 100%;
}

.hermes__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.hermes__title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hermes__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 64px;
  max-width: 680px;
}

.hermes__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.hermes__feat {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(17,17,17,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.hermes__feat:hover {
  border-color: rgba(0,212,255,0.2);
  background: rgba(22,22,22,0.85);
}

.hermes__feat-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hermes__feat-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hermes__feat-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hermes__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hermes__cta-btn {
  font-size: 18px;
  padding: 18px 40px;
}

.hermes__cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* TG Продажи секция */
.tgsales {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 30% 60%, rgba(0,212,255,0.05) 0%, transparent 55%);
}

.tgsales__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.tgsales__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.tgsales__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 56px;
  max-width: 740px;
}

.tgsales__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.tgsales__step {
  background: rgba(17,17,17,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}

.tgsales__step:hover { border-color: rgba(0,212,255,0.2); }

.tgsales__step-num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 14px;
}

.tgsales__step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.tgsales__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.tgsales__col-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 18px;
}

.tgsales__col-title--mt { margin-top: 32px; }

.tgsales__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tgsales__list li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.tgsales__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.tgsales__audience {
  background: rgba(17,17,17,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 48px;
}

.tgsales__audience p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.tgsales__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.tgsales__cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Слайдер */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(17,17,17,0.7);
  margin-bottom: 56px;
  user-select: none;
}

.slider__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slider__slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,10,10,0.75);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
  padding: 0;
  line-height: 1;
}

.slider__btn:hover {
  background: rgba(0,212,255,0.15);
  border-color: rgba(0,212,255,0.4);
}

.slider__prev { left: 12px; }
.slider__next { right: 12px; }

.slider__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.slider__dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* Фото в Обо мне */
.about__photo {
  flex-shrink: 0;
  width: 300px;
}

.about__photo img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

/* Эмодзи в карточках */
.card__emoji {
  font-size: 28px;
  display: block;
  margin-bottom: 4px;
}

/* Анимации при скролле */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Мобильный */
@media (max-width: 768px) {
  .nav__inner { padding: 0 24px; }
  .nav__menu { display: none; }

  .hero { padding: 100px 24px 60px; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 16px; }

  .stats { padding: 40px 24px; }
  .stats__inner { gap: 32px; }
  .stats__num { font-size: 36px; }

  .projects,
  .process,
  .audience,
  .about,
  .contact { padding: 80px 0; }

  .section__inner { padding: 0 24px; }
  .section__title { font-size: 24px; }

  .projects__grid { grid-template-columns: 1fr; }

  .process__steps { flex-direction: column; gap: 32px; }
  .audience__grid { flex-direction: column; gap: 32px; }

  .cta { padding: 72px 0; }
  .cta__title { font-size: 24px; padding: 0 24px; }
  .cta__text { font-size: 16px; padding: 0 24px; }
  .cta__note { padding: 0 24px; }

  .hermes__title { font-size: 28px; }
  .hermes__sub { font-size: 16px; }
  .hermes__features { grid-template-columns: 1fr; gap: 16px; }
  .hermes__cta-btn { font-size: 16px; padding: 14px 28px; }

  .tgsales__title { font-size: 26px; }
  .tgsales__sub { font-size: 16px; }
  .tgsales__steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tgsales__cols { grid-template-columns: 1fr; gap: 32px; }

  .about__inner { flex-direction: column; gap: 40px; }
  .about__list { min-width: unset; }
  .about__photo { width: 100%; }

  .tg-btn { padding: 20px 24px; gap: 16px; }
  .tg-btn__name { font-size: 18px; }
  .tg-btn__icon { width: 36px; height: 36px; }

  .footer { padding: 24px; }
}
