/* =============================================
   NEXUS BOT - MAIN STYLESHEET (MOBILE OPTIMIZED)
   ============================================= */

:root {
  --primary: #5865F2;
  --primary-dark: #4752C4;
  --primary-light: #7289DA;
  --secondary: #99AAB5;
  --accent: #00D4AA;
  --accent-gradient: linear-gradient(135deg, #5865F2 0%, #00D4AA 100%);
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --bg-card: rgba(20, 20, 30, 0.6);
  --bg-card-hover: rgba(30, 30, 45, 0.8);
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #949ba4;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(88, 101, 242, 0.4);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 50%;
  --font-primary: 'Inter', 'Noto Sans Thai', sans-serif;
  --nav-height: 70px; /* Define fixed nav height */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height); /* Fix scroll anchor */
}

body {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

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

main {
  background: var(--bg-dark);
  min-height: 100vh;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.85); /* Darker for better contrast */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
  height: var(--nav-height);
}

.navbar.scrolled {
  background: rgba(5, 5, 8, 0.98);
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  z-index: 1001;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.3);
}

.nav-logo:hover img {
  transform: rotate(360deg) scale(1.1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(88, 101, 242, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 8px var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Selector */
.language-selector {
  position: relative;
  z-index: 1002;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.85rem;
  font-family: inherit;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-fast);
  min-width: 140px;
  box-shadow: var(--shadow-lg);
  z-index: 1003;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  font-size: 0.9rem;
  font-family: inherit;
}

.lang-dropdown button:hover {
  background: var(--primary);
  color: white;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  background: var(--accent-gradient);
  background-size: 200% auto;
  color: white;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

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

.btn-block {
  width: 100%;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 50%, rgba(88, 101, 242, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0, 212, 170, 0.08) 0%, transparent 40%);
}

.floating-notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.note {
  position: absolute;
  font-size: 2rem;
  color: rgba(88, 101, 242, 0.2);
  filter: blur(1px);
  animation: float 8s ease-in-out infinite;
}

.note:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.note:nth-child(2) { top: 60%; left: 85%; animation-delay: 1.5s; }
.note:nth-child(3) { top: 80%; left: 20%; animation-delay: 2.5s; }
.note:nth-child(4) { top: 30%; left: 75%; animation-delay: 3.5s; }
.note:nth-child(5) { top: 50%; left: 50%; animation-delay: 4.5s; font-size: 1.5rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-30px) rotate(10deg); opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 25px;
  position: relative;
}

.hero-logo::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.4;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.1);
}

.animate-float {
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
  line-height: 1.1;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  display: inline-flex;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-light);
  text-shadow: 0 0 20px rgba(114, 137, 218, 0.3);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 0 10px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 1;
  color: var(--primary);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-fade-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-up:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

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

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(88,101,242,0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 101, 242, 0.1);
  border-radius: var(--radius-full);
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

/* =============================================
   PLATFORMS SECTION
   ============================================= */
.platforms {
  padding: 60px 0;
  background: var(--bg-dark);
}

.platforms-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
  opacity: 0.8;
}

.platform-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  transition: var(--transition-normal);
  cursor: default;
}

.platform-logo i {
  font-size: 2.5rem;
}

.platform-logo span {
  font-size: 0.9rem;
  font-weight: 500;
}

.platform-logo:hover {
  color: var(--primary);
  transform: translateY(-5px);
  text-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
  opacity: 1;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(88, 101, 242, 0.05) 50%, var(--bg-dark) 100%);
  position: relative;
}

.cta-content {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 35px 25px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.cta h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 15px;
  color: white;
}

.cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* =============================================
   PAGE HEADER (Commands/Store/etc)
   ============================================= */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(88, 101, 242, 0.15) 0%, transparent 60%),
    var(--bg-dark);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-header h1 i {
  color: var(--primary);
  filter: drop-shadow(0 0 10px rgba(88,101,242,0.4));
}

.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =============================================
   COMMANDS SECTION
   ============================================= */
.commands-section {
  padding: 40px 0 80px;
}

.command-search {
  max-width: 550px;
  margin: 0 auto 50px;
  position: relative;
}

.command-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.command-search input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.command-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
  background: rgba(20, 20, 30, 0.8);
}

.command-category {
  margin-bottom: 50px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.category-header i {
  font-size: 1.4rem;
  color: var(--primary);
}

.category-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

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

.command-card {
  background: var(--bg-card);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition-normal);
}

.command-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), inset 0 0 20px rgba(88,101,242,0.05);
}

.command-name {
  display: inline-block;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(88, 101, 242, 0.15);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.command-desc {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.command-usage {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.command-usage code {
  background: rgba(0,0,0,0.3);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Fira Code', 'Consolas', monospace;
  color: var(--accent);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Tips */
.tips-section {
  margin-top: 40px;
}

.tip-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(88, 101, 242, 0.05) 100%);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: var(--radius-lg);
}

.tip-icon {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.tip-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.tip-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* =============================================
   SHOP SECTION
   ============================================= */
.shop-section {
  padding: 40px 0 80px;
}

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

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(88,101,242,0.1) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.15);
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: white;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}

.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.price {
  margin-bottom: 25px;
}

.price .currency {
  font-size: 1.4rem;
  vertical-align: top;
  opacity: 0.8;
}

.price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.price .period {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.pricing-features {
  text-align: left;
  margin-bottom: 25px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.pricing-features li i {
  width: 18px;
  flex-shrink: 0;
  text-align: center;
}

.pricing-features li .fa-check {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0,212,170,0.4);
}

.pricing-features li .fa-times {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

/* Support Section */
.support-section {
  text-align: center;
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
  background: radial-gradient(circle at center, rgba(88,101,242,0.05), transparent 70%);
}

.support-section h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.support-section > p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.sticker-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.sticker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 25px;
  transition: var(--transition-normal);
  width: 220px;
  text-align: center;
  cursor: pointer;
}

.sticker-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.sticker-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.sticker-card:hover img {
  transform: scale(1.05);
}

.sticker-card span {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* FAQ */
.faq-section {
  padding: 50px 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

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

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: rgba(255,255,255,0.05);
}

.faq-question i {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
  background: rgba(88,101,242,0.1);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 18px 22px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-section {
  padding: 50px 0 100px;
}

.legal-content {
  max-width: 750px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 35px;
  padding: 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.legal-block h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-light);
  border-bottom: 2px solid rgba(88,101,242,0.2);
  padding-bottom: 8px;
  display: inline-block;
}

.legal-block p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-block ul {
  margin-left: 18px;
  margin-bottom: 12px;
}

.legal-block li {
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
}

.legal-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.legal-block .btn {
  margin-top: 15px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
  position: relative;
}

.footer .container {
  max-width: 1100px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-brand {
  align-items: flex-start;
  text-align: left;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 12px;
}

.footer-brand span {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links,
.footer-social {
  align-items: flex-start;
  text-align: left;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
  font-size: 0.9rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition-normal);
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(88,101,242,0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =============================================
   RESPONSIVE - TABLET
   ============================================= */
@media (max-width: 1024px) {
  .nav-container { padding: 0 20px; }
  .pricing-card.featured { transform: scale(1); }
  .hero-stats { gap: 40px; }
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .footer-content { grid-template-columns: repeat(3, 1fr); text-align: center; justify-items: center; }
  .footer-brand, .footer-links, .footer-social { align-items: center; text-align: center; }
}

/* =============================================
   RESPONSIVE - MOBILE (Main Fixes)
   ============================================= */
@media (max-width: 768px) {
  /* Navbar */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    padding: 80px 30px 30px;
    gap: 15px;
    transform: translateX(100%);
    transition: var(--transition-normal);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    text-align: center;
  }

  .nav-link.active::after { display: none; }

  .nav-actions { gap: 10px; }
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .hero-logo {
    width: 110px;
    height: 110px;
  }

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

  .hero-stats {
    gap: 30px;
    flex-direction: column;
    padding: 25px;
    width: 100%;
  }

  .stat-number { font-size: 2rem; }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .hero-buttons .btn { width: 100%; }

  .scroll-indicator { display: none; }

  /* Content Sections */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 30px 20px; }
  
  .platforms-logos { gap: 35px; }
  
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }

  .footer-content { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand p { max-width: 100%; }
}

/* =============================================
   RESPONSIVE - SMALL MOBILE
   ============================================= */
@media (max-width: 480px) {
  .nav-container { padding: 0 15px; }
  .nav-logo { font-size: 1.3rem; }
  .nav-logo img { width: 34px; height: 34px; }
  
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  
  .section-title { font-size: 1.6rem; }
  
  .command-search input { padding: 14px 18px 14px 45px; }
  .command-search i { left: 15px; }
  
  .sticker-card { width: 100%; }
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 4px;
  border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

::selection {
  background: rgba(88, 101, 242, 0.3);
  color: white;
}
