/* ==========================================================================
   CMBET APK Landing Page - Core Stylesheet (Electric Blue / Cyan Theme)
   ========================================================================== */

/* 1. CSS Variables & Design System */
:root {
  --bg-dark: #060a17;
  --bg-card: rgba(13, 22, 45, 0.75);
  --bg-card-hover: rgba(20, 34, 68, 0.85);
  --bg-card-border: rgba(0, 162, 255, 0.15);

  --primary-blue: #0066ff;
  --primary-blue-hover: #0052cc;
  --blue-glow: rgba(0, 102, 255, 0.35);

  --accent-cyan: #00d2ff;
  --accent-cyan-hover: #00b5dc;
  --cyan-glow: rgba(0, 210, 255, 0.35);

  --text-main: #f0f6ff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --container-max-width: 1200px;

  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 2. Global Resets & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: 75px; /* Offset for sticky bottom bar */
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Floating LiveChat Button */
.floating-livechat {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--border-radius-full);
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.45);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-livechat:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 28px rgba(0, 210, 255, 0.65);
}

/* Sticky Bottom Navigation Bar */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 10, 23, 0.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.6);
}

.sticky-bottom-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 600px;
  margin: 0 auto;
  padding: 0.4rem 0;
}

.sticky-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.sticky-bottom-item svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.sticky-bottom-item:hover {
  color: var(--accent-cyan);
}

.sticky-bottom-item:hover svg {
  color: var(--accent-cyan);
}

.sticky-bottom-item.highlight-item {
  color: #ffffff;
  margin-top: -8px;
}

.sticky-bottom-item.highlight-item .icon-box {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue) 100%);
  border-radius: 50%;
  padding: 0.45rem;
  box-shadow: 0 0 15px var(--cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-bottom-item.highlight-item .icon-box svg {
  color: #ffffff;
  width: 22px;
  height: 22px;
}

/* 3. Typography & Badges */
h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-blue {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--border-radius-full);
  color: var(--accent-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.badge-blue {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.3);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--blue-glow);
}

/* 4. Navigation Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 23, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 1rem 0;
  transition: var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-name span {
  color: var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-cyan);
}

/* 5. Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary, .btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn-primary:hover, .btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 210, 255, 0.5);
  background: linear-gradient(135deg, #33dcff 0%, #1a75ff 100%);
}

.btn-blue {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0044cc 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--blue-glow);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.btn-pulse {
  animation: pulse-cyan 2s infinite;
}

@keyframes pulse-cyan {
  0% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(0, 210, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

/* 6. Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem 0;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

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

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.cta-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 auto;
  max-width: 520px;
  width: 100%;
}

.hero-cta-group .btn-span-2, .cta-grid-2col .btn-span-2 {
  grid-column: span 2;
  width: 100%;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-card-border);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-feature-item svg {
  color: var(--accent-cyan);
}

.hero-banner-box {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-normal);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.hero-banner-box:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.4);
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 7. Stats Bar Section */
.stats-section {
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 8. Features Section */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 210, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.2);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: rgba(0, 210, 255, 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-cyan);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 9. Install Guide Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  position: relative;
  transition: var(--transition-normal);
}

.step-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.2);
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 210, 255, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  margin: 1rem 0 0.5rem 0;
  color: var(--accent-cyan);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 10. Specifications Table */
.spec-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  max-width: 850px;
  margin: 0 auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.spec-table tr {
  border-bottom: 1px solid var(--bg-card-border);
}

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

.spec-table th, .spec-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.95rem;
}

.spec-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  width: 40%;
  font-weight: 600;
}

.spec-table td {
  color: #ffffff;
  font-weight: 600;
}

/* 11. FAQ Section */
.faq-grid {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(0, 210, 255, 0.3);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* 12. Bottom CTA Banner */
.bottom-cta-box {
  background: linear-gradient(135deg, rgba(13, 22, 45, 0.95) 0%, rgba(10, 30, 70, 0.95) 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 102, 255, 0.2);
}

.bottom-cta-box h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.bottom-cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* 13. Footer */
.footer {
  background: #03050d;
  border-top: 1px solid var(--bg-card-border);
  padding: 4rem 0 2rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 14. Responsive Layouts */
@media (max-width: 992px) {
  .hero-section {
    padding: 2.5rem 0 2rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero-banner-box {
    order: -1;
    max-width: 440px;
    margin: 0 auto 0.75rem auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-banner-box {
    max-width: 380px;
    width: 92%;
    margin: 0 auto 0.5rem auto;
  }
  .hero-cta-group, .cta-grid-2col {
    grid-template-columns: 1fr;
  }
  .hero-cta-group .btn-span-2, .cta-grid-2col .btn-span-2 {
    grid-column: span 1;
  }
  .nav-menu {
    display: none;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
