:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --sky: #38bdf8;
  --sky-light: #7dd3fc;
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(124, 58, 237, .15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Навигация */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all .3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 15, 26, .95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span { color: var(--primary-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .3s;
}

.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 15, 26, .85) 0%, rgba(91, 33, 182, .6) 50%, rgba(56, 189, 248, .3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp .8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s ease;
  border: 2px solid transparent;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, .4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 48px; font-size: 1.1rem; }
.btn-full { width: 100%; text-align: center; }

/* Секции */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 60px;
}

/* Преимущества */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all .3s ease;
  border: 1px solid rgba(124, 58, 237, .1);
}

.advantage-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(124, 58, 237, .3);
  box-shadow: var(--shadow);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.advantage-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* О продукте */
.about { background: var(--bg-card); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all .3s ease;
  border: 1px solid rgba(124, 58, 237, .1);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, .3);
  box-shadow: var(--shadow);
}

.about-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .2), rgba(56, 189, 248, .2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-light);
}

.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* Отзывы */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(124, 58, 237, .1);
  transition: all .3s ease;
}

.review-card:hover {
  border-color: rgba(124, 58, 237, .3);
  box-shadow: var(--shadow);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: .95rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--white);
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: .9rem;
}

.review-author span {
  color: var(--text-muted);
  font-size: .8rem;
}

/* Тарифы */
.pricing { background: var(--bg-card); }

/* Вкладки тарифов */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pricing-tab {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid rgba(124, 58, 237, .3);
  background: transparent;
  color: var(--text-muted);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s ease;
  font-family: inherit;
}

.pricing-tab:hover {
  border-color: var(--primary-light);
  color: var(--white);
}

.pricing-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: var(--white);
}

.pricing-panel { display: none; }
.pricing-panel.active { display: block; }

/* Скидка */
.pricing-discount {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pricing-old-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: .9rem;
  display: block;
  margin-bottom: 4px;
}

/* Токены */
.token-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 24px;
  padding: 20px 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(124, 58, 237, .1);
}

.token-intro p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}

.token-heading {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.token-card .pricing-header {
  padding: 16px 0;
}

.token-amount {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.token-label {
  display: block;
  color: var(--text-muted);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  border: 1px solid rgba(124, 58, 237, .1);
  transition: all .3s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(124, 58, 237, .3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.pricing-featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 8px 40px rgba(124, 58, 237, .25);
}

.pricing-featured:hover { transform: scale(1.05) translateY(-4px); }

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: var(--white);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.pricing-period {
  color: var(--text-muted);
  font-size: .85rem;
}

.pricing-features {
  list-style: none;
  margin: 28px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  color: var(--text-muted);
  font-size: .9rem;
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

/* Команда — основатели */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto 48px;
}

.founder-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(124, 58, 237, .15);
  transition: all .3s ease;
}

.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, .4);
  box-shadow: var(--shadow);
}

.founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 auto 20px;
}

.founder-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.founder-role {
  display: block;
  color: var(--primary-light);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.founder-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.team-sub-title {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 32px;
  color: var(--text);
}

/* Команда — карточки с фото */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
  border: 1px solid rgba(124, 58, 237, .1);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, .3);
  box-shadow: var(--shadow);
}

.team-photo {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-card h3 {
  padding: 20px 24px 4px;
  font-size: 1.15rem;
}

.team-card p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* FAQ */
.faq { background: var(--bg-card); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: color .3s;
}

.faq-question:hover { color: var(--primary-light); }

.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .3s ease;
  color: var(--primary-light);
}

.faq-item.active .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer p {
  padding-bottom: 22px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* Контакты */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item svg {
  width: 40px;
  height: 40px;
  color: var(--primary-light);
  flex-shrink: 0;
  background: rgba(124, 58, 237, .1);
  padding: 8px;
  border-radius: 10px;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: .9rem;
}

.contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .3s;
}

.contact-item a:hover { color: var(--primary-light); }

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(124, 58, 237, .1);
}

.form-group { margin-bottom: 18px; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* Футер */
.footer {
  background: var(--bg-card);
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: .9rem;
  max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 16px;
  font-size: .95rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  font-size: .9rem;
  transition: color .3s;
}

.footer-links a:hover { color: var(--primary-light); }

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124, 58, 237, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  transition: all .3s;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.social-links svg { width: 20px; height: 20px; }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  color: var(--text-muted);
  font-size: .85rem;
}

/* Анимации */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all .6s ease;
}

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

/* Уведомление формы */
.form-success {
  text-align: center;
  padding: 24px;
  color: #4ade80;
  font-weight: 500;
}

/* Адаптив */
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-featured { transform: scale(1); }
  .pricing-featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, .98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    backdrop-filter: blur(12px);
  }

  .nav-links.active { display: flex; }

  .advantages-grid,
  .about-grid,
  .reviews-grid,
  .pricing-grid,
  .team-grid,
  .founders-grid { grid-template-columns: 1fr; }

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

  .footer-content { grid-template-columns: 1fr; gap: 32px; }

  .section { padding: 64px 0; }

  .pricing-tabs { gap: 6px; }
  .pricing-tab { padding: 10px 18px; font-size: .85rem; }
}
