:root {
  --primary: #ffd700;
  --secondary: #ffaa00;
  --text: #fff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --bg: #030303;
  --card-bg: rgba(255, 215, 0, .03);
  --border: rgba(255, 255, 255, 0.1);
  --gradient: linear-gradient(135deg, #ffd700, #ffaa00)
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth
}

body {
  min-height: 100vh
}

a {
  text-decoration: none;
  color: inherit
}

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

.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  background: radial-gradient(at 0% 0%, rgba(255, 215, 0, 0.12) 0, transparent 50%), radial-gradient(at 100% 0%, rgba(255, 170, 0, 0.12) 0, transparent 50%), radial-gradient(at 50% 50%, rgba(255, 236, 139, 0.05) 0, transparent 50%), radial-gradient(at 100% 100%, rgba(255, 215, 0, 0.08) 0, transparent 50%);
  filter: blur(100px)
}

.header {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border)
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%
}

.logo {
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -2px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.nav-links {
  display: flex;
  gap: 40px
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
  font-weight: 600;
  position: relative;
  padding: 5px 0
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease
}

.nav-links a:hover {
  color: var(--text);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5)
}

.nav-links a:hover::after {
  width: 100%
}

.btn-premium {
  background: var(--gradient);
  color: #fff;
  padding: 22px 60px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.3s
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3)
}

.btn-premium-full {
  width: 100%;
  text-align: center
}

.hero {
  padding: 200px 0 100px;
  text-align: center
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -5px;
  margin-top: 70px;
  margin-bottom: 40px
}

.hero h1 b {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.hero h2 {
  font-size: clamp(1rem, 4vw, 1.6rem);
  font-weight: 300;
  color: var(--text-dim);
  margin: 0 0 30px
}

.hero p {
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 1.1rem
}

.btn-main {
  background: var(--gradient);
  color: #fff;
  padding: 25px 70px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1.2rem;


  gap: 10px;
  cursor: pointer;
  border: none;
  transition: 0.3s
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3)
}

.section {
  padding: 80px 0
}

.section-hero-examples {
  margin-top: 100px
}

.section-header {
  margin-bottom: 40px
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 15px
}

.section-header p {
  color: var(--text-dim);
  font-size: 1rem
}

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

.section-header-center p {
  color: var(--text-dim);
  margin-top: 10px;
  font-size: 0.95rem
}

.section-header-narrow {
  margin-bottom: 30px
}

.section-header-narrow p {
  font-size: 0.9rem
}

.stats {
  background: var(--card-bg);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.stats h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8rem
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center
}

.stats-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px
}

.stats-label {
  color: var(--text-dim);
  font-size: 0.9rem
}

.bots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px
}

.bot-card {
  background: rgba(255, 215, 0, .03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column
}

.bot-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary)
}

.bot-card h3 {
  color: var(--primary);
  margin-bottom: 15px
}

.bot-card p {
  color: var(--text-dim);
  margin-bottom: 25px
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px
}

.card {
  background: rgba(255, 215, 0, .03);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary)
}

.card-img {
  height: 350px;
  overflow: hidden
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.card-body {
  padding: 20px
}

.badge {
  display: inline-block;
  background: var(--gradient);
  color: #000;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 10px
}

.badge+span {
  margin-left: 10px;
  color: var(--text-dim);
  font-size: 0.8rem
}

.badge-video {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 10px 0 5px
}

.card-text {
  color: var(--text-dim);
  font-size: 0.85rem
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px
}

.reviewer img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary)
}

.reviewer-name {
  color: var(--primary);
  font-weight: 600
}

.review-text {
  color: var(--text-dim);
  line-height: 1.6
}

.intro {
  padding: 40px 0 60px
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dim)
}

.intro-text b {
  color: var(--text)
}

.intro-text ul {
  padding-left: 20px;
  margin-top: 15px
}

.intro-text p {
  margin-top: 20px
}

.intro-text .note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3)
}

.instructions {
  padding: 40px 0 60px
}

.instructions ol {
  list-style: none;
  padding: 0
}

.instructions li {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 15px
}

.instructions li span {
  color: var(--primary);
  font-weight: 700;
  min-width: 25px
}

.instructions p {
  font-size: 0.9rem
}

.instructions-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border)
}

.faq {
  padding: 60px 0 80px
}

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

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 15px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s
}

.faq-item:hover {
  border-color: var(--primary)
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0
}

.faq-icon {
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.3s
}

.faq-item.active .faq-icon {
  transform: rotate(45deg)
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--text-dim);
  display: none
}

.faq-item.active .faq-answer {
  display: block
}

.footer {
  padding: 40px 0 20px;
  border-top: 1px solid var(--border)
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 5px;
  text-align: center;
  margin-bottom: 30px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px
}

.footer-links a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.75rem;
  text-align: center
}

.processing-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
  overflow-y: auto
}

.processing-panel.active {
  display: flex
}

.panel-content {
  background: #080808;
  border-radius: 15px;
  max-width: 380px;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--border);
  position: relative
}

.panel-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer
}

.panel-upload {
  border: 2px dashed var(--border);
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 15px
}

.panel-upload-icon {
  font-size: 2.5rem;
  margin-bottom: 8px
}

.panel-upload-title {
  color: var(--text);
  margin-bottom: 5px
}

.panel-upload-subtitle {
  color: var(--text-dim);
  font-size: 0.75rem
}

.panel-upload-format {
  color: var(--text-dim);
  font-size: 0.7rem;
  margin-top: 5px
}

.panel-field {
  margin-bottom: 15px
}

.panel-field label {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600
}

.panel-field select {
  width: 100%;
  padding: 10px 12px;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center
}

.panel-field select:focus {
  outline: none;
  border-color: var(--primary)
}

.panel-field select option {
  background: #000;
  color: #fff;
  padding: 10px
}

.quality-options {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.quality-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.3s;
  color: var(--text-dim);
  font-size: 0.8rem
}

.quality-option:hover {
  background: rgba(255, 255, 255, 0.05)
}

.quality-option input {
  width: 14px;
  height: 14px;
  accent-color: var(--primary)
}

.quality-option:has(input:checked) {
  background: rgba(255, 215, 0, 0.1)
}

.panel-note {
  color: var(--text-dim);
  font-size: 0.7rem;
  margin-top: 8px;
  text-align: center
}

.waiting-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000
}

.waiting-popup.active {
  display: flex
}

.waiting-content {
  background: var(--card-bg);
  padding: 50px;
  border-radius: 30px;
  text-align: center;
  border: 1px solid var(--border);
  max-width: 400px
}

.waiting-title {
  margin-bottom: 20px;
  color: var(--primary)
}

.waiting-text {
  color: var(--text-dim);
  margin-bottom: 30px
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  transition: width 1s linear
}

.progress-percent {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px
}

.waiting-note {
  color: #ffaa00;
  font-size: 0.85rem;
  margin-top: 10px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 170, 0, 0.5)
}

.waiting-btn {
  padding: 20px 40px;
  background: var(--gradient);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
  display: none;
  margin-top: 10px
}

.waiting-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4)
}

.waiting-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: 10px;
  display: none
}

.waiting-close:hover {
  border-color: var(--text-dim)
}

.panel-btn {
  width: 100%;
  padding: 12px;
  background: var(--gradient);
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 700;
  cursor: pointer
}

.panel-btn:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: #666;
  cursor: not-allowed
}

.panel-file-input {
  display: none
}

@media(max-width:768px) {
  .nav-links {
    display: none
  }

  #tg-btn {
    display: none
  }

  .mobile-menu-btn {
    display: block !important;
    background: 0;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer
  }

  .hero {
    padding: 150px 20px 60px
  }

  .hero h1 {
    font-size: 2rem;
    letter-spacing: -2px;
    margin-top: 50px
  }

  .btn-main {
    padding: 20px 40px;
    font-size: 1rem
  }

  .header {
    min-height: 70px
  }
}

.mobile-menu-btn {
  display: none
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  padding: 20px;
  flex-direction: column;
  gap: 15px;
  border-bottom: 2px solid var(--primary);
  z-index: 999
}

.mobile-menu a {
  color: #e0e0e0;
  font-size: 1.1rem;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  font-weight: 600
}

.mobile-menu.active {
  display: flex
}