:root {
  --bg-main: #0B0912;
  --bg-card: #15111F;
  --bg-card-hover: #1D172B;
  --bg-alt: #100C1B;
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --primary-dark: #6D28D9;
  --primary-glow: rgba(139, 92, 246, 0.35);
  --border: #2D2244;
  --border-light: #443466;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --success: #34D399;
  --vip-gold: #F59E0B;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(11, 9, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 16px var(--primary-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

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

.brand-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 1px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-discord {
  background: rgba(88, 101, 242, 0.12);
  color: #7289DA;
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: rgba(88, 101, 242, 0.25);
  border-color: #7289DA;
  color: #fff;
  transform: translateY(-2px);
}

.btn-discord-hero {
  background: rgba(88, 101, 242, 0.15);
  color: #7289DA;
  border: 2px solid rgba(88, 101, 242, 0.4);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-discord-hero:hover {
  background: rgba(88, 101, 242, 0.3);
  border-color: #7289DA;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
}

.btn-lang {
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-lang:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: #8B5CF6;
  color: #fff;
}

.floating-discord-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #5865F2;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.45);
  z-index: 999;
  transition: all 0.25s ease;
}

.floating-discord-btn:hover {
  background: #4752C4;
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.55);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-vip {
  background: linear-gradient(135deg, #D97706, #B45309);
  color: #fff;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
}

.btn-vip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
}

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

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(139, 92, 246, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #C084FC, #8B5CF6, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

/* App Mockup Preview */
.app-mockup {
  max-width: 680px;
  margin: 0 auto;
  background: #110D1D;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px var(--primary-glow);
  text-align: left;
}

.mockup-header {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  background: #181326;
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.mockup-title {
  margin-left: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-stats {
  margin-left: auto;
  font-size: 11px;
  color: var(--success);
  font-family: var(--font-mono);
}

.mockup-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick-item {
  background: #1A1429;
  border: 1px solid #2B1E42;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.telemetry-box {
  background: #1A1429;
  border: 1px solid #2B1E42;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.t-label {
  font-size: 10px;
  color: var(--text-dim);
}

.t-val {
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.t-val.green { color: var(--success); }
.t-val.purple { color: var(--primary-light); }

/* Sections */
.section {
  padding: 100px 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

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

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.2s ease;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

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

.pricing-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 0 35px var(--primary-glow);
  background: linear-gradient(180deg, #1A142A 0%, var(--bg-card) 100%);
}

.pricing-card.vip {
  border-color: #78350F;
  background: linear-gradient(180deg, #1F1710 0%, var(--bg-card) 100%);
}

.plan-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.plan-badge.hot {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.plan-badge.vip-badge {
  background: var(--vip-gold);
  color: #000;
  font-weight: 800;
}

.plan-name {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 44px;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chk {
  color: var(--success);
  font-weight: bold;
}

/* Download Section */
.download-box {
  background: linear-gradient(135deg, #1C142E 0%, #110D1D 100%);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.download-info h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.download-info p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
}

.download-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.checksum-bar {
  background: #110B1D;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  max-width: 760px;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.checksum-title {
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
}

.checksum-bar code {
  font-family: var(--font-mono);
  color: var(--primary-light);
  overflow-x: auto;
  white-space: nowrap;
  flex-grow: 1;
}

.btn-copy {
  background: #241A38;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: var(--primary);
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Timeline */
.timeline {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-alt);
  box-shadow: 0 0 10px var(--primary-glow);
}

.t-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
}

/* FAQ */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

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

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 18px;
  color: var(--primary-light);
  transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

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

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: #08060D;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 380px;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid #161122;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1260px) {
  .nav-actions > a[data-i18n="btn_download_nav"] {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .btn-sm {
    padding: 6px 10px;
    font-size: 12px;
  }
  .brand-name {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 38px;
  }
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Auth Nav & Modals */
.auth-nav-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.nav-user-pill {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #C4B5FD;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #140E24;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 20px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(139, 92, 246, 0.18);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #94A3B8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.modal-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.modal-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: #94A3B8;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-tab-btn.active {
  background: #8B5CF6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.modal-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 10px;
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: all 0.2s;
}

.modal-input:focus {
  border-color: #8B5CF6;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
}

.modal-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.modal-btn-submit {
  width: 100%;
  background: #8B5CF6;
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}

.modal-btn-submit:hover {
  background: #7C3AED;
  transform: translateY(-1px);
}

