:root {
  --primary: #27c96d;
  --primary-hover: #1fa85a;
  --primary-glow: rgba(39, 201, 109, 0.4);
  --primary-dim: rgba(39, 201, 109, 0.12);
  --primary-dim2: rgba(39, 201, 109, 0.08);
  --bg: #070708;
  --bg-alt: #0b0f19;
  --bg-card: #0d0d0f;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --danger: #ef4444;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', -apple-system, sans-serif;
  --max-w: 1100px;
  --nav-h: 72px;
  --radius: 24px;
  --radius-sm: 12px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #5ee5a0 40%, #a78bfa 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(7, 7, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: -0.02em;
}

.navbar-logo svg { width: 28px; height: 28px; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.navbar-link:hover { color: #fff; }
.navbar-link.active { color: var(--primary); }
.navbar-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--card-border);
}

.lang-switcher a {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all .2s;
  letter-spacing: .04em;
}
.lang-switcher a:hover { color: #fff; background: var(--card-bg); }
.lang-switcher a.active { color: var(--primary); background: var(--primary-dim); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .2s; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 30px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 50px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 40px; font-size: 1.0625rem; }
.btn-sm { padding: 8px 20px; font-size: .8125rem; }
.btn-full { width: 100%; }
.btn-glow { animation: glow-pulse 3s ease-in-out infinite; }

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, var(--primary-dim) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(39,201,109,0.05) 0%, transparent 50%),
    var(--bg);
}

.hero-content { max-width: 800px; padding: 0 24px; position: relative; z-index: 2; }

.hero-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--primary-dim);
  border: 1px solid rgba(39,201,109,0.3);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: pulse-ai 2s infinite;
}

@keyframes pulse-ai {
  0% { box-shadow: 0 0 0 0 rgba(39,201,109,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(39,201,109,0); }
  100% { box-shadow: 0 0 0 0 rgba(39,201,109,0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.telegram-notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--primary-dim);
  border: 1px solid rgba(39,201,109,0.2);
  border-radius: 50px;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 24px;
}
.telegram-notice svg { width: 20px; height: 20px; flex-shrink: 0; }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.stat-box { text-align: center; }

.stat-box .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, #5ee5a0 50%, var(--text) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-box .stat-label {
  font-size: .8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-optim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-dim);
  border: 1px solid rgba(39,201,109,0.2);
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 32px;
}
.hero-optim svg { width: 16px; height: 16px; }

/* ====== SECTION BASE ====== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-dark { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ====== STEPS (HOW IT WORKS) ====== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(39,201,109,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.step-card.highlight {
  border-color: var(--primary);
  background: rgba(39,201,109,0.04);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card.highlight .step-number {
  background: var(--primary);
  color: #000;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 8px;
  font-size: 1.5rem;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

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

.step-card.highlight h3 { color: var(--primary); }

/* ====== STATS COUNTER ====== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item { padding: 32px 16px; }

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, #fff 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: .875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ====== PRICING ====== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39,201,109,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.price-card.featured {
  border-color: var(--primary);
  background: rgba(39,201,109,0.04);
  transform: scale(1.03);
  z-index: 2;
}
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.price-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary);
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}
.price-amount small { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.price-period {
  font-size: .8125rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}
.price-features li {
  padding: 8px 0;
  font-size: .875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--card-border);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

/* ====== FAQ ====== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: rgba(39,201,109,0.15); }
.faq-item.open { border-color: rgba(39,201,109,0.3); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  font-family: inherit;
}

.faq-question .faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .3s;
  color: var(--text-muted);
}
.faq-item.open .faq-question .faq-icon { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ====== TELEGRAM SECTION ====== */
.telegram-section {
  text-align: center;
  padding: 100px 0;
  background: radial-gradient(ellipse at 50% 50%, var(--primary-dim) 0%, transparent 60%);
}

.telegram-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.telegram-section p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 500px;
  margin: 0 auto 40px;
}

.telegram-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: .875rem;
  transition: all var(--transition);
}
.telegram-btn:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
  transform: translateY(-2px);
}
.telegram-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ====== FOOTER ====== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 30px;
}

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

.footer-brand p {
  font-size: .875rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}
.footer-logo svg { width: 28px; height: 28px; }

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: .75rem; color: var(--text-dim); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: .75rem;
  color: var(--text-dim);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ====== DISCLAIMER ====== */
.disclaimer {
  font-size: .6875rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--card-bg);
}
.disclaimer-inline {
  font-size: .6875rem;
  color: var(--text-dim);
  margin-top: 24px;
  text-align: center;
}

/* ====== ANIMATIONS ====== */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 30px var(--primary-glow); }
  50% { box-shadow: 0 0 60px var(--primary-glow), 0 0 90px rgba(39,201,109,0.15); }
}

/* ====== UTILITIES ====== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ====== RESPONSIVE 768px ====== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .navbar-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(7,7,8,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }
  .navbar-links.open { display: flex; }

  .navbar-link { padding: 12px 0; width: 100%; }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--card-border);
    width: 100%;
  }

  .menu-toggle { display: flex; }

  .hero-stats { gap: 24px; }

  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid { gap: 20px; }
  .price-card.featured { transform: scale(1); }
  .price-card.featured:hover { transform: translateY(-4px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item { padding: 24px 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-social { justify-content: flex-start; }
  .section { padding: 60px 0; }
  .telegram-section { padding: 60px 0; }
  .telegram-buttons { flex-direction: column; align-items: stretch; }
  .telegram-btn { justify-content: center; }
}

/* ====== RESPONSIVE 480px ====== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-box .stat-number { font-size: 1.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-number { font-size: 1.75rem; }
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 36px; }
  .price-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .disclaimer { font-size: .625rem; padding: 10px 12px; }
}
