* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #242424;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --accent-primary: #ff006e;
  --accent-secondary: #fb5607;
  --accent-gradient: linear-gradient(135deg, #ff006e 0%, #fb5607 100%);
  --border-color: #2a2a2a;
  --shadow: 0 8px 0px rgba(0, 0, 0, 0.5);
  --border-width: 4px;
}

body {
  font-family: 'Courier New', monospace;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--bg-primary);
  border-bottom: var(--border-width) solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
}

.logo-icon {
  font-size: 32px;
  animation: pulse 2s ease-in-out infinite;
}

.logo-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-auth {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-small {
  padding: 8px 20px;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

a.btn-primary,
a.btn-secondary {
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  border: var(--border-width) solid #000;
  padding: 12px 28px;
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.1s ease;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: var(--border-width) solid var(--accent-primary);
  padding: 12px 28px;
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.1s ease;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  color: #000;
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-primary);
  border: var(--border-width) solid #000;
  padding: 8px 20px;
  border-radius: 0;
  margin-bottom: 32px;
  color: #000;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.badge-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 80px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 8px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  right: -250px;
  animation-delay: 0s;
}

.circle-2 {
  width: 400px;
  height: 400px;
  bottom: -200px;
  left: -200px;
  animation-delay: 2s;
}

.circle-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

.features {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-tertiary);
  padding: 40px;
  border-radius: 0;
  border: var(--border-width) solid var(--border-color);
  transition: all 0.1s ease;
  animation: fadeIn 0.5s ease;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  border-color: var(--accent-primary);
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--accent-primary);
}

.feature-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.8;
}

.api-preview {
  padding: 120px 0;
}

.api-demo {
  max-width: 900px;
  margin: 0 auto;
}

.api-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tab-btn {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: var(--border-width) solid var(--border-color);
  padding: 12px 24px;
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.1s ease;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3);
}

.tab-btn.active {
  background: var(--accent-gradient);
  color: #000;
  border-color: #000;
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.3);
}

.code-block {
  background: var(--bg-tertiary);
  border: var(--border-width) solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: var(--border-width) solid var(--border-color);
  background: var(--bg-secondary);
}

.code-title {
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
}

.copy-btn {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: var(--border-width) solid var(--accent-primary);
  padding: 8px 16px;
  border-radius: 0;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.1s ease;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3);
}

.copy-btn:hover {
  background: var(--accent-primary);
  color: #000;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
}

.code-content {
  padding: 24px;
  overflow-x: auto;
}

.code-content code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: #e0e0e0;
}

.response-block {
  background: var(--bg-tertiary);
  border: var(--border-width) solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.response-header {
  padding: 16px 24px;
  border-bottom: var(--border-width) solid var(--border-color);
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-secondary);
  text-transform: uppercase;
}

.response-content {
  padding: 24px;
  overflow-x: auto;
}

.response-content code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: #4ade80;
}

.pricing {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg-tertiary);
  padding: 32px;
  border-radius: 0;
  border: var(--border-width) solid var(--border-color);
  transition: all 0.1s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--accent-primary);
}

.pricing-card.featured {
  border-color: var(--accent-primary);
  border-width: calc(var(--border-width) * 2);
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.5);
}

.popular-badge {
  position: absolute;
  top: -16px;
  right: 20px;
  background: var(--accent-gradient);
  color: #000;
  padding: 8px 20px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 900;
  border: var(--border-width) solid #000;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-name {
  font-size: 24px;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.pricing-features li.disabled {
  color: #555;
  text-decoration: line-through;
}

.pricing-subtitle {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.pricing-discount {
  display: inline-block;
  background: rgba(76, 175, 80, 0.15);
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  margin-top: 8px;
  text-transform: uppercase;
  border: 2px solid #4ade80;
}

.pricing-card .btn-full {
  margin-top: auto;
}

.cta {
  padding: 120px 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer {
  background: var(--bg-secondary);
  padding: 60px 0 30px;
  border-top: var(--border-width) solid var(--border-color);
}

.footer-simple {
  text-align: center;
  margin-bottom: 40px;
}

.footer-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 40px;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-item {
  text-align: center;
}

.contact-item h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 15px;
}

.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: var(--border-width) solid var(--border-color);
  color: var(--text-secondary);
}

.telegram-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #0088cc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.telegram-float svg {
  width: 30px;
  height: 30px;
}

.telegram-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.5);
}

.icon-svg {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
