/* ===== RESET VA BASE STILLAR ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #d4d8dc;
  background-color: #0a0a0a;
}

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

/* ===== TIPOGRAFIYA ===== */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: #a8adb3;
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #764ba2;
}

/* ===== TUGMALAR ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #d4d8dc;
  border: 2px solid #3a3f47;
}

.btn-secondary:hover {
  background: #1f2228;
  border-color: #667eea;
  color: #667eea;
}

.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

/* ===== FORMALAR ===== */
.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 600;
  color: #e8ecf1;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #2a2f37;
  border-radius: 10px;
  background: #121619;
  color: #e8ecf1;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: #6b7280;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
  background: #0f1217;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 2.5rem;
}

/* ===== OGOHLANTIRISH VA XABARLAR ===== */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  border-left: 4px solid;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-success {
  background: rgba(34, 197, 94, 0.08);
  border-color: #22c55e;
  color: #86efac;
}

.alert-error {
  background: rgba(239, 68, 68, 0.08);
  border-color: #ef4444;
  color: #fca5a5;
}

/* ===== LANDING PAGE LAYOUT ===== */
.landing-page {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
}

.landing-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1f2228;
  z-index: 1000;
  padding: 0.8rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.nav-brand h1 {
  color: #667eea;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #a8adb3;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #667eea;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: #a8adb3;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* ===== MUAMMOLAR SECTION ===== */
.problems {
  padding: 80px 0;
  background: #0f1217;
}

.problems h2 {
  text-align: center;
  margin-bottom: 3.5rem;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.problem-item {
  background: #1a1f28;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #2a2f37;
  text-align: center;
  transition: all 0.3s ease;
}

.problem-item:hover {
  border-color: #667eea;
  background: #141a22;
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.problem-item h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.problem-item p {
  color: #8892a0;
  font-size: 0.95rem;
  margin: 0;
}

/* ===== IMKONIYATLAR SECTION ===== */
.features {
  padding: 80px 0;
  background: #0a0a0a;
}

.features h2 {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.feature-card {
  background: linear-gradient(135deg, #1a1f28 0%, #141a22 100%);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #2a2f37;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: #667eea;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.feature-card p {
  color: #8892a0;
  margin: 0;
  line-height: 1.6;
}

/* ===== QANDAY ISHLAYDI SECTION ===== */
.how-it-works {
  padding: 80px 0;
  background: #0f1217;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 3.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step {
  background: #1a1f28;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #2a2f37;
  text-align: center;
  transition: all 0.3s ease;
}

.step:hover {
  border-color: #667eea;
  background: #141a22;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.step p {
  color: #8892a0;
  margin: 0;
  font-size: 0.95rem;
}

/* ===== KIM QI ALAR / AI QILADI SECTION ===== */
.who-does-what {
  padding: 80px 0;
  background: #0a0a0a;
}

.who-does-what h2 {
  text-align: center;
  margin-bottom: 3.5rem;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
}

.comparison-column {
  background: #1a1f28;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #2a2f37;
}

.comparison-column h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.comparison-column ul {
  list-style: none;
  padding: 0;
}

.comparison-column li {
  padding: 0.8rem 0;
  color: #a8adb3;
  border-bottom: 1px solid #2a2f37;
  font-size: 0.95rem;
}

.comparison-column li:last-child {
  border-bottom: none;
}

.comparison-divider {
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, #667eea 50%, transparent 100%);
}

@media (max-width: 768px) {
  .comparison {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .comparison-divider {
    display: none;
  }
}

/* ===== CRM VA QO'SHIMCHA XIZMATLAR SECTION ===== */
.crm-section {
  padding: 80px 0;
  background: #0f1217;
}

.crm-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-intro {
  text-align: center;
  margin-bottom: 3rem;
  color: #a8adb3;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #1a1f28;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #2a2f37;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #667eea;
  background: #141a22;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.service-card p {
  color: #8892a0;
  margin: 0;
  font-size: 0.9rem;
}

/* ===== NARXLAR SECTION ===== */
.pricing {
  padding: 80px 0;
  background: #0a0a0a;
}

.pricing h2 {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.pricing-card {
  background: #1a1f28;
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid #2a2f37;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: #667eea;
}

.pricing-card.featured {
  border-color: #667eea;
  background: linear-gradient(135deg, #1a1f28 0%, #141a22 100%);
}

.pricing-card.featured .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-card h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.price {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 1.5rem 0;
  color: #667eea;
}

.price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #8892a0;
}

.price-desc {
  color: #8892a0;
  font-size: 0.9rem;
  margin-bottom: 1.5rem !important;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.pricing-card li {
  padding: 0.8rem 0;
  color: #a8adb3;
  border-bottom: 1px solid #2a2f37;
  font-size: 0.9rem;
}

.pricing-card li:last-child {
  border-bottom: none;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f1217 0%, #1a1f2e 100%);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.final-cta p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== AUTH PAGE ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  padding: 20px;
}

.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-card {
  background: #1a1f28;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid #2a2f37;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.auth-header p {
  color: #8892a0;
  margin: 0;
}

.auth-form {
  margin-bottom: 2rem;
}

.auth-links {
  text-align: center;
  color: #8892a0;
  font-size: 0.9rem;
}

.auth-links a {
  color: #667eea;
  font-weight: 600;
}

.auth-links p {
  margin: 1rem 0 0;
}

/* ===== FOOTER ===== */
.landing-footer {
  background: #0f1217;
  padding: 50px 0;
  border-top: 1px solid #2a2f37;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: #667eea;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: #8892a0;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-section a {
  display: block;
  color: #8892a0;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #667eea;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #2a2f37;
  color: #6b7280;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.2rem; }

  .landing-nav {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .nav-brand h1 {
    font-size: 1.3rem;
  }

  .nav-links {
    width: 100%;
    gap: 1rem;
    font-size: 13px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 12px 24px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .features-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .auth-card {
    padding: 1.8rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .nav-links a.btn {
    width: 100%;
  }
}

/* Landing Page Styles */
.landing-page {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  min-height: 100vh;
}

.landing-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2a2a2a;
  z-index: 1000;
}

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand h1 {
  color: #667eea;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #e1e5e9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #667eea;
}

.hero {
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-image {
  margin-top: 3rem;
}

.mockup {
  max-width: 300px;
  margin: 0 auto;
}

.phone {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.screen {
  background: #0f0f0f;
  border-radius: 12px;
  padding: 20px;
  height: 400px;
}

.chat-interface {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: #667eea;
  color: white;
  padding: 10px;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  padding: 8px 12px;
  border-radius: 18px;
  max-width: 80%;
  font-size: 14px;
}

.message.bot {
  background: #2a2a2a;
  align-self: flex-start;
}

.message.user {
  background: #667eea;
  color: white;
  align-self: flex-end;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: #1a1a1a;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.feature-card {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #404040;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: #0f0f0f;
}

.pricing h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.pricing-card {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #404040;
  transition: transform 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border-color: #667eea;
  position: relative;
}

.badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #667eea;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
  color: #667eea;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: #b0b3b8;
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
}

.pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #404040;
}

.pricing-card li:last-child {
  border-bottom: none;
}

/* Footer */
.landing-footer {
  background: #1a1a1a;
  padding: 40px 0;
  border-top: 1px solid #2a2a2a;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
}

.footer-brand h3 {
  color: #667eea;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: #b0b3b8;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #667eea;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #2a2a2a;
  color: #808080;
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.auth-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.auth-card {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid #404040;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.auth-form {
  margin-bottom: 2rem;
}

.auth-links {
  text-align: center;
  color: #b0b3b8;
}

.auth-links a {
  color: #667eea;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Dashboard Layout */
.dashboard-page {
  display: flex;
  min-height: 100vh;
  background: #0f0f0f;
}

.sidebar {
  width: 250px;
  background: #1a1a1a;
  border-right: 1px solid #2a2a2a;
  padding: 1rem;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-header {
  padding: 1rem 0 2rem;
  border-bottom: 1px solid #2a2a2a;
  text-align: center;
}

.sidebar-header h2 {
  color: #667eea;
  font-size: 1.25rem;
  font-weight: 700;
}

.sidebar-nav {
  margin-top: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #b0b3b8;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: #667eea;
  color: white;
}

.nav-icon {
  font-size: 1.25rem;
}

.main-content {
  flex: 1;
  margin-left: 250px;
}

.topbar {
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar .lang-switcher {
  margin-bottom: 0;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-name {
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #e1e5e9;
  font-size: 1.5rem;
  cursor: pointer;
}

.page-content {
  padding: 2rem;
}

/* Dashboard Content */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #404040;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
}

.stat-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.stat-content p {
  color: #b0b3b8;
  font-size: 0.875rem;
}

.dashboard-section h2 {
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.activity-list {
  background: #2a2a2a;
  border-radius: 12px;
  border: 1px solid #404040;
  overflow: hidden;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #404040;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
}

.activity-content p {
  margin: 0;
  color: #e1e5e9;
  font-weight: 500;
}

.activity-time {
  color: #808080;
  font-size: 0.875rem;
}

/* Data Tables */
.data-table {
  background: #2a2a2a;
  border-radius: 12px;
  border: 1px solid #404040;
  overflow: hidden;
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #404040;
}

.data-table th {
  background: #1a1a1a;
  font-weight: 600;
  color: #ffffff;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover {
  background: #1f1f1f;
}

/* Status Badges */
.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-new {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-qualified {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

/* Flow Cards */
.flows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.flow-card {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #404040;
}

.flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.flow-header h3 {
  color: #ffffff;
}

.flow-status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.flow-status.active {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.flow-status.inactive {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.flow-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: #2a2a2a;
  margin: 10% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  border: 1px solid #404040;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #404040;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #ffffff;
}

.modal-close {
  font-size: 1.5rem;
  cursor: pointer;
  color: #b0b3b8;
}

.modal form {
  padding: 1.5rem;
}

/* Connect Channel */
.connect-channel {
  max-width: 600px;
  margin: 0 auto;
}

.channel-header {
  text-align: center;
  margin-bottom: 2rem;
}

.channel-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.channel-form {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #404040;
}

.integrations-intro {
  color: #a8adb3;
  margin-bottom: 2rem;
  max-width: 720px;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.integration-card {
  background: #1a1a1a;
  border: 1px solid #404040;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.integration-card--connected {
  border-color: rgba(102, 126, 234, 0.45);
}

.integration-card--placeholder {
  opacity: 0.95;
}

.integration-card-icon {
  font-size: 2rem;
}

.integration-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.integration-card-desc {
  color: #a8adb3;
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

.integration-card-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.integration-card-actions {
  margin-top: 0.5rem;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge--ok {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.status-badge--muted {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
}

.status-badge--soon {
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
}

.status-meta {
  font-size: 13px;
  color: #94a3b8;
}

.inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85em;
  background: #121619;
  padding: 2px 6px;
  border-radius: 4px;
  color: #c4b5fd;
}

.integration-placeholder-panel h4 {
  margin-top: 0;
  color: #e8ecf1;
}

.integration-placeholder-list {
  margin: 1rem 0 1.25rem 1.25rem;
  color: #a8adb3;
  line-height: 1.7;
}

.integration-placeholder-note {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Flow Builder */
.flow-detail {
  max-width: 800px;
  margin: 0 auto;
}

.flow-info {
  margin-bottom: 2rem;
}

.flow-controls {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.flow-builder {
  background: #2a2a2a;
  border-radius: 12px;
  border: 1px solid #404040;
  padding: 2rem;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-card {
  background: #1a1a1a;
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 1rem;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-number {
  width: 30px;
  height: 30px;
  background: #667eea;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.step-header h4 {
  color: #ffffff;
  margin: 0;
}

.step-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Coming Soon */
.coming-soon {
  text-align: center;
  padding: 4rem 2rem;
}

.coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.coming-soon h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Error Page */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0f0f;
}

.error-container {
  text-align: center;
  padding: 2rem;
}

.error-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.error-content h1 {
  font-size: 6rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 1rem;
}

.error-content h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .landing-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .dashboard-page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
  }

  .main-content {
    margin-left: 0;
  }

  .topbar {
    padding: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .flows-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 5% auto;
    width: 95%;
  }

  .landing-nav--split {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-nav__center {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-v2__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== ALERT INFO ===== */
.alert-info {
  background: rgba(59, 130, 246, 0.08);
  border-color: #3b82f6;
  color: #93c5fd;
}

/* ===== LANDING V2 (2026) ===== */
.landing-page--v2 {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.landing-nav--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 20px;
}

.nav-brand__link {
  color: #e8ecf1;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.landing-nav__center {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.landing-nav__center a {
  color: #a8adb3;
  font-weight: 500;
  font-size: 14px;
}

.landing-nav__center a:hover {
  color: #c4b5fd;
}

.landing-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #2a2f37;
  background: rgba(18, 22, 25, 0.6);
  font-size: 12px;
  font-weight: 600;
}

.lang-switcher__link {
  color: #9ca3af;
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}

.lang-switcher__link:hover {
  color: #e5e7eb;
}

.lang-switcher__link.is-active {
  color: #f9fafb;
  background: rgba(102, 126, 234, 0.2);
}

.lang-switcher__sep {
  color: #4b5563;
  user-select: none;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid #374151;
}

.btn-ghost:hover {
  border-color: #667eea;
  color: #c4b5fd;
}

.hero-v2 {
  padding: 120px 0 72px;
}

.hero-v2__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-v2__copy h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e5e7eb 0%, #a5b4fc 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-v2__copy .lead {
  font-size: 1.1rem;
  color: #a8adb3;
  max-width: 52ch;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 0.75rem;
}

.hero-actions--tight {
  margin-top: 0.75rem;
}

.glass-card {
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.25);
  background: linear-gradient(145deg, rgba(26, 31, 40, 0.9), rgba(15, 18, 23, 0.95));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.mock-chat__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #2a2f37;
  background: rgba(15, 18, 23, 0.8);
}

.mock-chat__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b5563;
}

.mock-chat__title {
  margin-left: auto;
  font-size: 12px;
  color: #9ca3af;
}

.mock-chat__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bubble {
  max-width: 85%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 13px;
  color: #e5e7eb;
}

.bubble--bot {
  align-self: flex-start;
  background: #1f2937;
  border: 1px solid #374151;
}

.bubble--user {
  align-self: flex-end;
  background: rgba(102, 126, 234, 0.25);
  border: 1px solid rgba(102, 126, 234, 0.35);
}

.mock-caption {
  margin-top: 0.75rem;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

.section-block {
  padding: 72px 0;
}

.section-block--alt {
  background: #0f1217;
}

.section-block--cta {
  background: radial-gradient(1200px 400px at 20% 0%, rgba(102, 126, 234, 0.12), transparent),
    #0a0a0a;
  border-top: 1px solid #1f2228;
  border-bottom: 1px solid #1f2228;
}

.section-block--trust {
  background: #0a0a0a;
}

.section-block--final {
  padding: 88px 0;
  background: linear-gradient(180deg, #0f1217 0%, #0a0a0a 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.section-lead {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2rem;
  color: #a8adb3;
  font-size: 1.05rem;
}

.narrow {
  max-width: 900px;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card-v2 {
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid #2a2f37;
  background: linear-gradient(145deg, #141a22, #10141b);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card-v2:hover {
  border-color: rgba(102, 126, 234, 0.45);
  transform: translateY(-2px);
}

.feature-card-v2 h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card-v2 p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

.steps-v2 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps-v2__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px solid #2a2f37;
  background: #121619;
}

.steps-v2__num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #e5e7eb;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.steps-v2__item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.steps-v2__item p {
  margin: 0;
  color: #9ca3af;
}

.cta-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.cta-split__action {
  display: flex;
  justify-content: flex-end;
}

.fine-print {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.instruction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.instruction-card {
  border-radius: 14px;
  border: 1px solid #2a2f37;
  background: #121619;
  overflow: hidden;
}

.instruction-card__media {
  position: relative;
  background: #0a0a0a;
}

.instruction-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.instruction-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #f9fafb;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.instruction-card__text {
  padding: 1rem 1.1rem 1.25rem;
  margin: 0;
  color: #a8adb3;
  font-size: 0.95rem;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid #2a2f37;
  background: #121619;
  padding: 0.25rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-weight: 600;
  color: #e5e7eb;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  border-color: rgba(102, 126, 234, 0.35);
}

.faq-item p {
  margin: 0 0 1rem;
  color: #9ca3af;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 720px;
  display: grid;
  gap: 0.75rem;
}

.trust-list li {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed #2f3642;
  color: #a8adb3;
  background: rgba(18, 22, 25, 0.5);
}

.final-cta-v2 {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.final-cta-v2 h2 {
  margin-bottom: 0.75rem;
}

.final-cta-v2 p {
  color: #a8adb3;
  margin-bottom: 1.75rem;
}

.final-cta-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.footer-v2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 3rem 20px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-tagline {
  color: #9ca3af;
  margin-top: 0.5rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer-links h4 {
  margin-bottom: 0.75rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.footer-links a {
  display: block;
  color: #9ca3af;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.auth-card .lang-switcher {
  margin-bottom: 1rem;
  justify-content: center;
}

.page-content .lang-switcher {
  margin-bottom: 1rem;
}

@media (max-width: 960px) {
  .cta-split {
    grid-template-columns: 1fr;
  }

  .cta-split__action {
    justify-content: stretch;
  }

  .cta-split__action .btn {
    width: 100%;
  }

  .footer-v2 {
    grid-template-columns: 1fr;
  }
}

.security-note {
  color: #93c5fd;
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.telegram-accordion {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid #2a2f37;
  background: #0f1217;
}

.telegram-accordion summary {
  cursor: pointer;
  font-weight: 600;
  color: #e5e7eb;
}

.telegram-accordion[open] {
  border-color: rgba(102, 126, 234, 0.35);
}

.instruction-grid--compact {
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tips-block {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px dashed #374151;
  background: rgba(15, 18, 23, 0.6);
}

.tips-block h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.tips-block ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #a8adb3;
}

.tips-block li {
  margin-bottom: 0.4rem;
}

.next-onboarding,
.next-step-hint {
  margin-top: 1.5rem;
}

.next-onboarding a {
  font-weight: 600;
}

.form-actions--split {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.onboarding-form {
  max-width: 720px;
}