@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #0a0e17;
  --bg-card: rgba(16, 22, 36, 0.7);
  --accent: #00e87b;
  --accent2: #00b4d8;
  --accent-glow: rgba(0, 232, 123, 0.3);
  --text: #e8ecf4;
  --text-dim: #8892a4;
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

/* ===== LANG SWITCHER ===== */
.lang-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,14,23,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  transition: var(--transition);
}
.lang-bar .container { display: flex; align-items: center; justify-content: space-between; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { width: 32px; height: 32px; border-radius: 8px; }
.logo-wrap span { font-weight: 700; font-size: 1.1rem; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.lang-selector { display: flex; gap: 4px; flex-wrap: wrap; }
.lang-btn {
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
  padding: 5px 10px; border-radius: 8px; cursor: pointer; font-size: 0.8rem;
  transition: var(--transition); font-family: inherit;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--accent); color: #0a0e17; border-color: var(--accent); font-weight: 600;
}
.flag-img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; vertical-align: middle; }
.btn-flag { width: 24px; height: 17px; object-fit: cover; border-radius: 3px; vertical-align: middle; }
.card-flag { width: 56px; height: 40px; object-fit: cover; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('img/hero-bg.png') center/cover no-repeat;
  opacity: 0.25; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,23,0.3) 0%, var(--bg) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,232,123,0.1); border: 1px solid rgba(0,232,123,0.25);
  padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; color: var(--accent);
  margin-bottom: 24px; animation: fadeInDown 0.8s ease;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.15;
  margin-bottom: 20px; animation: fadeInUp 0.8s ease;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.15rem; color: var(--text-dim); max-width: 600px; margin: 0 auto 36px; animation: fadeInUp 1s ease; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1.2s ease; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent), #00c066);
  color: #0a0e17; font-weight: 700; padding: 14px 32px; border-radius: 12px;
  text-decoration: none; font-size: 1rem; transition: var(--transition);
  box-shadow: 0 4px 24px var(--accent-glow); border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-card); backdrop-filter: blur(12px);
  border: 1px solid var(--border); color: var(--text); font-weight: 600;
  padding: 14px 32px; border-radius: 12px; text-decoration: none; font-size: 1rem;
  transition: var(--transition); cursor: pointer; font-family: inherit;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ===== STATS BAR ===== */
.stats-bar {
  position: relative; z-index: 2; margin-top: -40px; margin-bottom: 80px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--bg-card); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  padding: 28px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-dim); margin-top: 4px; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.section-header h2 .gradient { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { color: var(--text-dim); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== BOT CARDS ===== */
.bots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.bot-card {
  background: var(--bg-card); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; position: relative; overflow: hidden; transition: var(--transition);
}
.bot-card:hover { transform: translateY(-6px); border-color: rgba(0,232,123,0.3); box-shadow: 0 12px 40px rgba(0,232,123,0.1); }
.bot-card .card-glow {
  position: absolute; top: -60px; right: -60px; width: 180px; height: 180px;
  border-radius: 50%; filter: blur(80px); opacity: 0.15; pointer-events: none;
}
.bot-card:nth-child(1) .card-glow { background: var(--accent); }
.bot-card:nth-child(2) .card-glow { background: var(--accent2); }
.bot-card .card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.bot-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.bot-card .card-region { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--accent); margin-bottom: 16px; }
.bot-card .card-price {
  display: inline-block; background: rgba(0,232,123,0.1); border: 1px solid rgba(0,232,123,0.2);
  padding: 6px 16px; border-radius: 8px; font-weight: 700; font-size: 1.2rem; color: var(--accent);
  margin-bottom: 20px;
}
.bot-card ul { list-style: none; margin-bottom: 24px; }
.bot-card ul li { padding: 6px 0; font-size: 0.95rem; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.bot-card ul li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.bot-card .btn-primary { width: 100%; justify-content: center; }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; position: relative; transition: var(--transition);
}
.step-card:hover { border-color: rgba(0,232,123,0.3); transform: translateY(-4px); }
.step-num {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0a0e17;
  font-weight: 800; font-size: 1.2rem; margin: 0 auto 16px;
}
.step-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-dim); }

/* ===== ADVANTAGES ===== */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.adv-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 16px; transition: var(--transition);
}
.adv-item:hover { border-color: rgba(0,232,123,0.2); }
.adv-icon { font-size: 1.8rem; flex-shrink: 0; }
.adv-item h4 { font-weight: 700; margin-bottom: 4px; }
.adv-item p { font-size: 0.9rem; color: var(--text-dim); }

/* ===== PAYMENT SECTION ===== */
.payment-methods {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 32px;
}
.pay-chip {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 28px; display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem; transition: var(--transition);
}
.pay-chip:hover { border-color: rgba(0,232,123,0.3); transform: translateY(-2px); }
.pay-chip .chip-icon { font-size: 1.4rem; }

/* ===== CTA ===== */
.cta-section {
  position: relative; text-align: center; padding: 100px 24px;
  background: url('img/section-bg.png') center/cover no-repeat;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg), rgba(10,14,23,0.6), var(--bg));
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.cta-content p { color: var(--text-dim); font-size: 1.05rem; max-width: 500px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0; text-align: center; color: var(--text-dim); font-size: 0.85rem;
}
footer a { color: var(--accent); text-decoration: none; }
footer .footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 12px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .lang-selector { gap: 2px; }
  .lang-btn { padding: 4px 7px; font-size: 0.72rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--border); }
  .bots-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 100px 24px 60px; }
}
