:root {
  --bg-main: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #162032;
  --border-color: #1f293d;
  --border-color-glow: rgba(16, 185, 129, 0.3);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-cyan: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 23, 0.85);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-main);
}

.btn-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-channel-link:hover {
  background: rgba(56, 189, 248, 0.2);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #04140e;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-large {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.stat-item h4 {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-cyan);
}

.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Section Common */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

/* How It Works Images & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--border-color-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.card-step {
  display: flex;
  flex-direction: column;
}

.step-img-box {
  width: 100%;
  height: 170px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: #080c14;
  border: 1px solid var(--border-color);
}

.step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* How to Use Grid */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.usage-card {
  position: relative;
  padding: 26px;
}

.usage-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.usage-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

/* Pricing Box */
.pricing-card {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, #131c2e 0%, #0d1424 100%);
  border: 1px solid var(--border-color-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
}

.pricing-amount {
  font-size: 52px;
  font-weight: 800;
  margin: 16px 0;
  color: #fff;
}

.pricing-list {
  text-align: left;
  list-style: none;
  margin: 28px 0;
}

.pricing-list li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-list li::before {
  content: "✔";
  color: var(--accent);
  font-weight: bold;
}

/* FAQ Accordion */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-toggle {
  font-size: 18px;
  transition: transform 0.2s;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background: #080c14;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-label {
  color: var(--text-muted);
  font-size: 14px;
  margin-right: 4px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.tg-btn {
  background: rgba(56, 189, 248, 0.08);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.2);
}

.tg-btn:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.wa-btn {
  background: rgba(74, 222, 128, 0.08);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.2);
}

.wa-btn:hover {
  background: rgba(74, 222, 128, 0.16);
  border-color: #4ade80;
  transform: translateY(-2px);
}

.copyright {
  font-size: 13px;
  color: var(--text-muted);
}
/* Стили для скриншотов терминала в шагах */
.step-img-box {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: #05080f;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}

.card-step:hover .step-img {
  transform: scale(1.04);
}
/* Дисклеймер под step-2.png */
.step-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.75;
  margin-top: -6px;
  margin-bottom: 14px;
  font-style: italic;
  line-height: 1.4;
}

/* Отдельная карточка демонстрации step-3.png */
.live-demo-card {
  margin-top: 32px;
  padding: 24px;
  text-align: center;
}

.live-img-box {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #05080f;
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.live-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.live-demo-caption {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
}
/* Отдельный ряд превью под 3 шагами */
.preview-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.preview-showcase-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.preview-img-box {
  width: 100%;
  height: 280px;
  background: #05080f;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 12px;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.25s ease;
}

.preview-showcase-card:hover .preview-img {
  transform: scale(1.02);
}

.preview-caption {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.85;
  line-height: 1.45;
  text-align: center;
}