/* ==========================================================
   style.css — BuzzChat Landing Styles
   The Stellar Corp® · BuzzChat Corp®
   ========================================================== */

/* ----------------------------------------------------------
   RESET & VARIABLES
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary:    #080818;
  --bg-secondary:  #0d0d28;
  --bg-card:       rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.055);
  --accent-purple: #7c3aed;
  --accent-blue:   #3b82f6;
  --accent-pink:   #ec4899;
  --accent-cyan:   #06b6d4;
  --accent-green:  #10b981;
  --accent-yellow: #f59e0b;
  --accent-orange: #f97316;
  --accent-teal:   #14b8a6;
  --text-primary:  #f0f0ff;
  --text-muted:    #8888aa;
  --text-dim:      #44445a;
  --border:        rgba(255,255,255,0.06);
  --border-hover:  rgba(124,58,237,0.35);
  --glow-purple:   rgba(124,58,237,0.45);
  --glow-blue:     rgba(59,130,246,0.35);
  --radius:        16px;
  --radius-sm:     10px;
  --radius-xs:     6px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main:    'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

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


/* ----------------------------------------------------------
   ANIMATED BACKGROUND
   ---------------------------------------------------------- */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.gradient-orb {
  position: absolute; border-radius: 50%;
  filter: blur(130px); opacity: 0.12;
  animation: orbFloat 22s ease-in-out infinite;
}
.orb-1 { width: 700px; height: 700px; background: var(--accent-purple); top: -250px; right: -150px; animation-delay: 0s; }
.orb-2 { width: 550px; height: 550px; background: var(--accent-blue);   bottom: -180px; left: -100px; animation-delay: -8s; }
.orb-3 { width: 420px; height: 420px; background: var(--accent-pink);   top: 45%; left: 35%; animation-delay: -15s; }
.orb-4 { width: 300px; height: 300px; background: var(--accent-cyan);   top: 20%; left: 10%; animation-delay: -5s; opacity: 0.07; }

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  25%  { transform: translate(60px,-40px) scale(1.06); }
  50%  { transform: translate(-30px,60px) scale(0.94); }
  75%  { transform: translate(45px,25px) scale(1.03); }
}

.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.013) 1px, transparent 1px);
  background-size: 60px 60px;
}

.particles-container { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%; opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* ==========================================
   FLOATING GUILDS — ICONOS FLOTANTES DE FONDO
   ========================================== */
.floating-guilds-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.guild-float {
  position: absolute;
  bottom: -80px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid var(--guild-color1);
  box-shadow: 0 0 24px var(--guild-glow);
  opacity: 0;
  animation: guildFloat linear infinite;
}
.guild-icon {
  filter: drop-shadow(0 0 6px var(--guild-glow));
}
@keyframes guildFloat {
  0%   { transform: translateY(0) translateX(0) rotate(0deg) scale(0.85); opacity: 0; }
  10%  { opacity: 0.85; }
  50%  { transform: translateY(-55vh) translateX(var(--drift)) rotate(calc(var(--rotation) / 2)) scale(1); }
  90%  { opacity: 0.85; }
  100% { transform: translateY(-110vh) translateX(var(--drift)) rotate(var(--rotation)) scale(0.85); opacity: 0; }
}

/* ==========================================
   FLOATING CHAT BUBBLES — CAPA PARALLAX
   (Estáticas en hero, se mueven con scroll)
   ========================================== */
.floating-chats-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.chat-bubble-float {
  position: absolute;
  padding: 9px 16px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(220, 220, 255, 0.75);
  background: rgba(18, 12, 48, 0.72);
  border: 1px solid rgba(124, 58, 237, 0.35);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  pointer-events: none;
  box-shadow:
    0 4px 20px rgba(124, 58, 237, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  will-change: transform;
  transform: translateY(var(--base-y, 0px));
  transition: none;
}

.chat-bubble-float::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0 0;
  border-color: rgba(20, 20, 40, 0.45) transparent transparent transparent;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

/* ==========================================
   FLOATING CHAT BUBBLES — CAPA ASCENDENTE
   ========================================== */

/* Canvas de burbujas ascendentes — oculto permanentemente */
#bubblesCanvas {
  display: none !important;
}

/* ==========================================
   CLUSTERS DECORATIVOS — Planetas + Servidores
   Distribuidos a lo largo del scroll
   ========================================== */

.clusters-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cluster-item {
  position: absolute;
  animation: clusterFloat 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.25));
  pointer-events: none;
}

/* Distribución vertical a lo largo del scroll */
.cl-planet1 { top: 8%;  left: 2%;   width: 110px; animation-delay: 0s;    animation-duration: 8s;   }
.cl-server1 { top: 28%; right: 3%;  width: 90px;  animation-delay: -2s;   animation-duration: 9s;   }
.cl-planet2 { top: 45%; right: 2%;  width: 75px;  animation-delay: -3s;   animation-duration: 7.5s; }
.cl-server2 { top: 62%; left: 2%;   width: 80px;  animation-delay: -4s;   animation-duration: 8.5s; }
.cl-planet3 { top: 78%; right: 4%;  width: 65px;  animation-delay: -1s;   animation-duration: 6.5s; }
.cl-server3 { top: 15%; left: 3%;   width: 70px;  animation-delay: -5s;   animation-duration: 7s;   }
.cl-planet4 { top: 92%; left: 5%;   width: 85px;  animation-delay: -6s;   animation-duration: 10s;  }
.cl-server4 { top: 55%; right: 1%;  width: 60px;  animation-delay: -2.5s; animation-duration: 7.8s; }
.cl-planet5 { top: 5%;  right: 3%;  width: 60px;  animation-delay: -3.5s; animation-duration: 6s;   }
.cl-server5 { top: 38%; left: 1%;   width: 55px;  animation-delay: -4.5s; animation-duration: 8s;   }
.cl-planet6 { top: 72%; right: 2%;  width: 50px;  animation-delay: -1.5s; animation-duration: 6.8s; }
.cl-server6 { top: 85%; left: 4%;   width: 65px;  animation-delay: -7s;   animation-duration: 9.2s; }

@keyframes clusterFloat {
  0%   { transform: translateY(0px)   rotate(0deg)  scale(1);    }
  33%  { transform: translateY(-15px) translateX(5px)  rotate(2deg)  scale(1.02); }
  66%  { transform: translateY(5px)   translateX(-8px) rotate(-1deg) scale(0.98); }
  100% { transform: translateY(-10px) translateX(3px)  rotate(1deg)  scale(1.01); }
}

.cluster-item:hover {
  filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.5)) brightness(1.2);
}

@media (max-width: 768px) {
  .cluster-item {
    opacity: 0.3;
    transform: scale(0.6);
  }
}
/* ----------------------------------------------------------
   NAVBAR
   ---------------------------------------------------------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,24,0.88); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 12px 48px;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-brand img { filter: drop-shadow(0 0 8px var(--glow-purple)); transition: filter var(--transition); }
.nav-brand:hover img { filter: drop-shadow(0 0 18px var(--glow-purple)); transform: scale(1.05); }

/* Logo oscuro en modo claro */
[data-theme="light"] .nav-brand img,
[data-theme="light"] .footer-brand img {
  filter: invert(1) brightness(0.1) !important;
}
[data-theme="light"] .nav-brand:hover img {
  filter: invert(1) brightness(0.1) !important;
  transform: scale(1.05);
}
.nav-brand-text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-brand-text sup { font-size: 0.55em; }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); background: rgba(124,58,237,0.1); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--accent-purple); border-radius: 1px;
}

.nav-controls { display: flex; align-items: center; gap: 10px; }

.nav-back-tsc {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-muted); text-decoration: none;
  font-size: 0.78rem; font-weight: 500; transition: var(--transition);
}
.nav-back-tsc:hover { border-color: rgba(255,255,255,0.15); color: var(--text-primary); background: rgba(255,255,255,0.05); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--accent-purple), #5b21b6);
  color: #fff; border: none; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--glow-purple); }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--accent-purple); color: var(--accent-purple); background: rgba(124,58,237,0.08); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 1px; transition: var(--transition); }

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
  background: rgba(8,8,24,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 16px 24px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted); text-decoration: none;
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-weight: 500; transition: var(--transition);
}
.mobile-menu a:hover { color: var(--text-primary); background: rgba(124,58,237,0.1); }
.mobile-tsc-link { color: var(--accent-purple) !important; margin-top: 8px; border-top: 1px solid var(--border); padding-top: 12px !important; }

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px;
  background: linear-gradient(135deg, var(--accent-purple), #5b21b6);
  color: #fff; font-family: var(--font-main); font-size: 0.95rem; font-weight: 700;
  border: none; border-radius: var(--radius); cursor: pointer; text-decoration: none;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px var(--glow-purple); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: var(--transition);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; background: var(--bg-card);
  color: var(--text-primary); font-family: var(--font-main); font-size: 0.95rem; font-weight: 600;
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; text-decoration: none; transition: var(--transition);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  transform: translateY(-3px); border-color: var(--accent-purple);
  background: rgba(124,58,237,0.08); box-shadow: 0 8px 30px rgba(124,58,237,0.15);
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; align-items: center;
  gap: 60px;
  padding: 130px 80px 80px;
  max-width: 1500px; margin: 0 auto;
}

.hero-content { flex: 1; max-width: 580px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; margin-bottom: 28px;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2);
  border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: #c4b5fd;
  animation: fadeUp 0.8s ease forwards;
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--accent-green);
  border-radius: 50%; animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.5); } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 800; line-height: 1.1;
  margin-bottom: 22px;
  animation: fadeUp 0.8s ease forwards 0.15s; opacity: 0;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200% 200%; animation: gradientShift 5s ease-in-out infinite;
}
@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-desc {
  font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 36px;
  animation: fadeUp 0.8s ease forwards 0.3s; opacity: 0;
}

.hero-cta-group {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px;
  animation: fadeUp 0.8s ease forwards 0.45s; opacity: 0;
}

.hero-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  animation: fadeUp 0.8s ease forwards 0.6s; opacity: 0;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat-label { font-size: 0.72rem; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

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

/* Hero visual */
.hero-visual {
  flex: 1; position: relative;
  min-height: 560px;
  display: flex; align-items: center; justify-content: center;
}

.app-mockup {
  display: flex; height: 480px; width: 640px; max-width: 100%;
  background: rgba(13,13,40,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.1);
  animation: mockupFloat 6s ease-in-out infinite;
}
@keyframes mockupFloat {
  0%,100% { transform: translateY(0px) rotate(0.5deg); }
  50% { transform: translateY(-14px) rotate(-0.5deg); }
}

/* Sidebar */
.mockup-sidebar {
  width: 56px; background: rgba(6,6,18,0.9);
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 0; gap: 8px; border-right: 1px solid rgba(255,255,255,0.05);
}
.sidebar-logo {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-purple), #5b21b6);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.sidebar-sep { width: 28px; height: 1px; background: rgba(255,255,255,0.08); margin: 4px 0; }
.sidebar-guild {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 2px solid transparent; transition: var(--transition);
}
.sidebar-guild:hover, .sidebar-guild.active {
  border-radius: 12px; border-color: var(--c, var(--accent-purple));
  box-shadow: 0 0 12px var(--c, var(--glow-purple));
}
.sidebar-add {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,0.1); color: var(--accent-green);
  font-size: 0.9rem; cursor: pointer; transition: var(--transition);
}
.sidebar-add:hover { border-radius: 12px; background: rgba(16,185,129,0.2); }

/* Channels */
.mockup-channels {
  width: 160px; background: rgba(8,8,22,0.7);
  padding: 12px 8px; border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
}
.channel-header {
  font-size: 0.7rem; font-weight: 700; color: var(--text-primary);
  padding: 4px 8px 10px; font-family: var(--font-display);
}
.channel-cat { font-size: 0.6rem; font-weight: 700; color: var(--text-dim); padding: 8px 8px 2px; text-transform: uppercase; letter-spacing: 0.1em; }
.channel-item {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px; border-radius: 6px; cursor: pointer;
  font-size: 0.73rem; color: var(--text-dim); transition: var(--transition);
}
.channel-item:hover { background: rgba(255,255,255,0.05); color: var(--text-muted); }
.channel-item.active { background: rgba(124,58,237,0.15); color: var(--text-primary); }
.channel-item i { width: 12px; font-size: 0.65rem; opacity: 0.7; }

/* Chat */
.mockup-chat { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.chat-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem; font-weight: 600; background: rgba(8,8,22,0.5);
}
.chat-header-actions { margin-left: auto; display: flex; gap: 12px; color: var(--text-dim); font-size: 0.8rem; cursor: pointer; }
.chat-header-actions i:hover { color: var(--text-primary); }

.chat-messages { flex: 1; padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.msg-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.msg-content { flex: 1; }
.msg-body { flex: 1; }
.msg-meta { font-size: 0.72rem; font-weight: 700; margin-bottom: 3px; color: var(--text-muted); }
.msg-author { font-size: 0.72rem; font-weight: 700; margin-bottom: 3px; }
.msg-time { font-size: 0.62rem; color: var(--text-dim); font-weight: 400; margin-left: 6px; }
.msg-badge {
  font-size: 0.55rem; background: var(--accent-blue); color: #fff;
  padding: 1px 5px; border-radius: 3px; margin-left: 4px; font-weight: 700;
}
.msg-text { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

.typing-indicator { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--text-dim); }
.typing-dots { display: flex; gap: 3px; }
.typing-dots span {
  width: 4px; height: 4px; background: var(--accent-purple); border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%,100% { transform:scale(0.8); opacity:0.5; } 50% { transform:scale(1); opacity:1; } }

.chat-input-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin: 8px 10px; padding: 8px 12px;
  background: rgba(255,255,255,0.04); border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.chat-input-fake { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--text-dim); flex: 1; }
.chat-input-placeholder { font-size: 0.72rem; color: var(--text-dim); flex: 1; }
.chat-input-actions { display: flex; gap: 10px; color: var(--text-dim); font-size: 0.8rem; }

/* Status badges on mockup */
.hero-badge-float {
  position: absolute;
  padding: 8px 14px; border-radius: 999px;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600;
  backdrop-filter: blur(12px);
  animation: badgeFloat 5s ease-in-out infinite;
}
.badge-online {
  top: 20px; right: -20px;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.25); color: #6ee7b7;
  animation-delay: 0s;
}
.badge-notif {
  bottom: 80px; right: -30px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.25); color: #c4b5fd;
  animation-delay: -2s;
}
.badge-ai {
  bottom: 20px; left: -20px;
  background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.25); color: #93c5fd;
  animation-delay: -4s;
}
.status-dot { width: 7px; height: 7px; background: var(--accent-green); border-radius: 50%; animation: pulseDot 2s ease-in-out infinite; }
@keyframes badgeFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

/* ----------------------------------------------------------
   SECTIONS COMMON
   ---------------------------------------------------------- */
.section {
  position: relative; z-index: 2;
  padding: 110px 80px;
}
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; margin-bottom: 16px;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.15);
  border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: #c4b5fd;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.section-heading {
  font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 800;
  margin-bottom: 16px; line-height: 1.15;
}
.section-subheading { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; }

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

/* ----------------------------------------------------------
   FLOATING BLOCKS (Community section)
   ---------------------------------------------------------- */
.floating-blocks-section {
  position: relative; z-index: 2;
  padding: 110px 80px;
  display: flex; align-items: center; gap: 80px;
  max-width: 1400px; margin: 0 auto;
}
.floating-blocks-content { flex: 1; max-width: 500px; }
.floating-blocks-content h2 {
  font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 800;
  margin-bottom: 20px; line-height: 1.2;
}
.floating-blocks-content p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }

.community-highlights { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.highlight-item { display: flex; align-items: flex-start; gap: 14px; }
.highlight-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #c4b5fd; font-size: 0.9rem; flex-shrink: 0;
}
.highlight-item div strong { font-size: 0.9rem; }
.highlight-item div { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.floating-blocks-visual {
  flex: 1; position: relative; height: 600px;
  display: flex; align-items: center; justify-content: center;
}

/* Floating block cards */
.floating-block {
  position: absolute;
  background: rgba(13,13,36,0.85);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  animation: blockFloat 6s ease-in-out infinite;
}
.floating-block.block-1 { top: 0; right: 0; width: 300px; z-index: 4; animation-delay: 0s; }
.floating-block.block-2 { top: 140px; left: 0; width: 260px; z-index: 3; animation-delay: -2s; }
.floating-block.block-3 { bottom: 60px; right: 30px; width: 240px; z-index: 5; animation-delay: -4s; }

@keyframes blockFloat {
  0%,100% { transform:translateY(0) rotate(0deg); }
  25%  { transform:translateY(-14px) rotate(0.8deg); }
  75%  { transform:translateY(8px) rotate(-0.5deg); }
}

/* Chat block */
.chat-block { background: rgba(13,13,36,0.9); overflow: hidden; }
.chat-block-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin: -20px -20px 14px -20px; background: rgba(124,58,237,0.1);
}
.chat-block-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
}
.chat-block-title { font-weight: 600; font-size: 0.85rem; }
.live-badge { margin-left: auto; font-size: 0.65rem; font-weight: 700; color: #f87171; }
.chat-block-messages { display: flex; flex-direction: column; gap: 8px; }
.chat-block-msg { padding: 8px 12px; background: rgba(124,58,237,0.08); border-radius: 8px; font-size: 0.78rem; color: var(--text-muted); }
.chat-block-msg.highlight { background: rgba(59,130,246,0.1); border-left: 2px solid var(--accent-blue); }

/* DM block */
.dm-block { background: rgba(13,13,36,0.9); }
.dm-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dm-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem;
}
.dm-info h4 { font-size: 0.88rem; font-weight: 700; }
.dm-info span { font-size: 0.68rem; color: var(--accent-green); }
.dm-preview { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.dm-input-fake {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; background: rgba(255,255,255,0.04); border-radius: 8px;
  font-size: 0.72rem; color: var(--text-dim);
}

/* Cluster block */
.cluster-block {
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(59,130,246,0.08));
  border: 1px solid rgba(124,58,237,0.2);
}
.cluster-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cluster-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.cluster-badge {
  padding: 4px 10px; background: rgba(16,185,129,0.2);
  border-radius: 999px; font-size: 0.68rem; color: var(--accent-green); font-weight: 600;
}
.cluster-stats { display: flex; gap: 16px; }
.cluster-stat { text-align: center; }
.cluster-stat-value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.cluster-stat-label { font-size: 0.68rem; color: var(--text-dim); text-transform: uppercase; }
.cluster-join-btn {
  width: 100%; margin-top: 14px; padding: 9px;
  background: linear-gradient(135deg, var(--accent-purple), #5b21b6);
  border: none; border-radius: 8px; color: #fff;
  font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.cluster-join-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--glow-purple); }

/* ----------------------------------------------------------
   FEATURES GRID
   ---------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(124,58,237,0.07), transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: var(--border-hover); transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
}
.fi-purple { background: rgba(124,58,237,0.15); color: #c4b5fd; }
.fi-blue   { background: rgba(59,130,246,0.15);  color: #93c5fd; }
.fi-pink   { background: rgba(236,72,153,0.15);  color: #f9a8d4; }
.fi-green  { background: rgba(16,185,129,0.15);  color: #6ee7b7; }
.fi-cyan   { background: rgba(6,182,212,0.15);   color: #67e8f9; }
.fi-yellow { background: rgba(245,158,11,0.15);  color: #fcd34d; }
.fi-orange { background: rgba(249,115,22,0.15);  color: #fdba74; }
.fi-teal   { background: rgba(20,184,166,0.15);  color: #5eead4; }

.feature-card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px;
}
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.feature-new-tag, .feature-tag {
  display: inline-block; margin-top: 14px; padding: 3px 10px;
  background: rgba(124,58,237,0.15); border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; color: #c4b5fd;
}

/* ----------------------------------------------------------
   PRICING
   ---------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }

.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: var(--transition); position: relative;
}
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.pricing-featured {
  background: linear-gradient(160deg, rgba(124,58,237,0.12), rgba(59,130,246,0.08));
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 0 40px rgba(124,58,237,0.12);
}
.plan-badge-top {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: linear-gradient(135deg, var(--accent-purple), #5b21b6);
  border-radius: 999px; font-size: 0.7rem; font-weight: 700; color: #fff; white-space: nowrap;
}

.plan-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.plan-price {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 6px;
}
.plan-price span { font-size: 1rem; opacity: 0.6; }
.plan-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--text-muted); }
.plan-features li i { font-size: 0.75rem; }
.plan-features li i.fa-check { color: var(--accent-green); }
.plan-feat-off { opacity: 0.4; }
.plan-feat-off i.fa-times { color: var(--text-dim); }

.plan-btn {
  display: block; text-align: center; width: 100%;
  padding: 13px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 700;
  text-decoration: none; transition: var(--transition); cursor: pointer; border: none;
}
.plan-btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #5b21b6); color: #fff;
}
.plan-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--glow-purple); }
.plan-btn-outline {
  border: 1px solid var(--border); color: var(--text-muted); background: transparent;
}
.plan-btn-outline:hover { border-color: var(--accent-purple); color: var(--text-primary); background: rgba(124,58,237,0.05); }

/* ----------------------------------------------------------
   CTA SECTION
   ---------------------------------------------------------- */
.cta-section { position: relative; z-index: 2; padding: 110px 80px; }
.cta-box {
  max-width: 760px; margin: 0 auto; padding: 64px 56px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(59,130,246,0.08));
  border: 1px solid rgba(124,58,237,0.25); border-radius: 24px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: -40%; left: -40%; width: 180%; height: 180%;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 60%);
  animation: ctaGlow 7s ease-in-out infinite; pointer-events: none;
}
@keyframes ctaGlow { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6%,8%); } }
.cta-live-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  padding: 6px 16px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: #6ee7b7;
  position: relative;
}
.cta-box h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; margin-bottom: 14px; position: relative; line-height: 1.15; }
.cta-box p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; margin-bottom: 32px; }
.cta-tsc-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.75rem; color: var(--text-dim); position: relative;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  position: relative; z-index: 2;
  padding: 64px 80px 32px; border-top: 1px solid var(--border);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-col-brand {}
.footer-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.footer-brand img { height: 28px; }
.footer-brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; max-width: 220px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 0.85rem; text-decoration: none; transition: var(--transition);
}
.footer-social a:hover { border-color: var(--accent-purple); color: var(--accent-purple); background: rgba(124,58,237,0.08); }

.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-primary); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.83rem; color: var(--text-dim); text-decoration: none; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.78rem; color: var(--text-dim);
}
.footer-tsc-badge {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-dim); text-decoration: none;
  padding: 6px 14px; border-radius: var(--radius-xs);
  border: 1px solid var(--border); transition: var(--transition);
}
.footer-tsc-badge:hover { border-color: rgba(255,255,255,0.1); color: var(--text-primary); }

/* ----------------------------------------------------------
   BACK TO TOP
   ---------------------------------------------------------- */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-purple); border: none; color: #fff;
  font-size: 1rem; cursor: pointer; z-index: 999;
  opacity: 0; visibility: hidden; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px var(--glow-purple);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero { flex-direction: column; padding: 120px 40px 60px; gap: 40px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { width: 100%; justify-content: center; }
  .app-mockup { width: 100%; max-width: 600px; height: 420px; }
  .badge-online { top: 10px; right: -10px; }
  .badge-notif { bottom: 60px; right: -10px; }
  .badge-ai { display: none; }
  .floating-blocks-section { flex-direction: column; padding: 80px 40px; }
  .floating-blocks-content { max-width: 100%; text-align: center; }
  .community-highlights { align-items: center; }
  .floating-blocks-visual { width: 100%; min-height: 520px; }
  .section { padding: 80px 40px; }
  .cta-section { padding: 80px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .navbar { padding: 12px 20px; }
  .navbar.scrolled { padding: 10px 20px; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 110px 20px 50px; }
  .section { padding: 60px 20px; }
  .floating-blocks-section { padding: 60px 20px; }
  .cta-section { padding: 60px 20px; }
  .cta-box { padding: 40px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .footer { padding: 48px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col-brand { grid-column: span 2; }
  .app-mockup { height: 360px; }
  .mockup-channels { width: 130px; }
  .floating-blocks-visual { height: 460px; }
  .floating-block.block-1 { width: 250px; }
  .floating-block.block-2 { width: 220px; }
  .floating-block.block-3 { width: 200px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 16px; }
  .stat-divider { height: 30px; }
  .features-grid { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-cta-group { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ==========================================================
   LIGHT THEME — comprehensive overrides
   ========================================================== */
[data-theme="light"] {
  --bg-primary:    #f5f5ff;
  --bg-secondary:  #eeeeff;
  --bg-card:       rgba(0,0,0,0.035);
  --bg-card-hover: rgba(0,0,0,0.06);
  --text-primary:  #1a1a2e;
  --text-muted:    #555577;
  --text-dim:      #8888aa;
  --border:        rgba(0,0,0,0.08);
  --border-hover:  rgba(124,58,237,0.25);
  --glow-purple:   rgba(124,58,237,0.2);
  --glow-blue:     rgba(59,130,246,0.15);
}

/* Background canvas & grid */
[data-theme="light"] .bg-canvas { opacity: 0.25; }
[data-theme="light"] .grid-overlay { opacity: 0.03; }
[data-theme="light"] .gradient-orb { opacity: 0.15; }

/* Clusters */
[data-theme="light"] .clusters-wrapper { opacity: 0.2; }

/* Floating chat bubbles */
[data-theme="light"] .chat-bubble-float {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.15);
  color: #5b21b6;
}

/* Navbar */
[data-theme="light"] .navbar {
  background: rgba(245,245,255,0.8);
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(245,245,255,0.95);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
[data-theme="light"] .nav-links a { color: #444466; }
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active { color: #7c3aed; }
[data-theme="light"] .nav-brand-text { color: #1a1a2e; }

/* Nav back link (legal pages) */
[data-theme="light"] .nav-back-tsc { color: #555577; }
[data-theme="light"] .nav-back-tsc:hover { color: #7c3aed; }

/* Buttons */
[data-theme="light"] .btn-secondary {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
  color: #1a1a2e;
}
[data-theme="light"] .btn-secondary:hover {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.2);
}

/* Navbar */
[data-theme="light"] .navbar.scrolled {
  background: rgba(245,245,255,0.85);
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .nav-brand-text {
  background: linear-gradient(135deg, #1a1a2e, #4c1d95);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .nav-links a.active {
  background: rgba(124,58,237,0.1);
  color: #5b21b6;
}
[data-theme="light"] .nav-links a:hover {
  background: rgba(0,0,0,0.04);
  color: #1a1a2e;
}

/* Hero */
[data-theme="light"] .hero-badge {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.15);
  color: #5b21b6;
}
[data-theme="light"] .hero-stat-number { color: #1a1a2e; }
[data-theme="light"] .hero-stat-label { color: #555577; }
[data-theme="light"] .stat-divider { background: rgba(0,0,0,0.08); }

/* App Mockup */
[data-theme="light"] .app-mockup {
  background: #f0f0ff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
[data-theme="light"] .mockup-sidebar { background: #e8e8f8; }
[data-theme="light"] .sidebar-logo { background: rgba(124,58,237,0.1); }
[data-theme="light"] .sidebar-guild { background: rgba(0,0,0,0.06); }
[data-theme="light"] .sidebar-guild.active { background: #7c3aed; }
[data-theme="light"] .sidebar-add { background: rgba(0,0,0,0.04); color: #555577; }
[data-theme="light"] .mockup-channels { background: #ebebfa; border-right-color: rgba(0,0,0,0.06); }
[data-theme="light"] .channel-header { color: #1a1a2e; }
[data-theme="light"] .channel-cat { color: #8888aa; }
[data-theme="light"] .channel-item { color: #555577; }
[data-theme="light"] .channel-item.active { color: #1a1a2e; background: rgba(124,58,237,0.08); }
[data-theme="light"] .mockup-chat { background: #f5f5ff; }
[data-theme="light"] .chat-header { border-bottom-color: rgba(0,0,0,0.06); color: #1a1a2e; }
[data-theme="light"] .chat-header-actions i { color: #8888aa; }
[data-theme="light"] .msg-meta { color: #1a1a2e; }
[data-theme="light"] .msg-time { color: #8888aa; }
[data-theme="light"] .msg-text { color: #333355; }
[data-theme="light"] .msg-badge { background: rgba(59,130,246,0.12); color: #3b82f6; }
[data-theme="light"] .typing-indicator { color: #8888aa; }
[data-theme="light"] .chat-input-bar { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .chat-input-placeholder { color: #8888aa; }
[data-theme="light"] .chat-input-actions i { color: #8888aa; }

/* Hero floating badges */
[data-theme="light"] .hero-badge-float {
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,0,0,0.08);
  color: #1a1a2e;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Section tags */
[data-theme="light"] .section-tag {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.15);
  color: #5b21b6;
}

/* Feature cards */
[data-theme="light"] .feature-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
[data-theme="light"] .feature-card:hover {
  border-color: rgba(124,58,237,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
[data-theme="light"] .feature-card h3 { color: #1a1a2e; }
[data-theme="light"] .feature-card p { color: #555577; }
[data-theme="light"] .feature-new-tag {
  background: rgba(124,58,237,0.08);
  color: #5b21b6;
}

/* Floating blocks (community section) */
[data-theme="light"] .floating-block {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
[data-theme="light"] .chat-block-header { border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .chat-block-msg { color: #333; background: rgba(0,0,0,0.03); }
[data-theme="light"] .chat-block-msg.highlight { background: rgba(124,58,237,0.06); }
[data-theme="light"] .dm-preview { color: #333; }
[data-theme="light"] .dm-input-fake { background: rgba(0,0,0,0.04); color: #888; }
[data-theme="light"] .cluster-stat-value { color: #1a1a2e; }
[data-theme="light"] .cluster-stat-label { color: #555577; }

/* Community highlights */
[data-theme="light"] .highlight-item {
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.06);
  color: #333355;
}
[data-theme="light"] .highlight-icon {
  background: rgba(124,58,237,0.08);
  color: #5b21b6;
}

/* Pricing */
[data-theme="light"] .pricing-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
[data-theme="light"] .pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
[data-theme="light"] .plan-name { color: #1a1a2e; }
[data-theme="light"] .plan-price { 
  background: linear-gradient(135deg, #1a1a2e, #4c1d95);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .plan-price span { color: #555577; opacity: 0.8; }
[data-theme="light"] .plan-desc { color: #555577; }
[data-theme="light"] .plan-features li { color: #333355; }
[data-theme="light"] .plan-feat-off { color: #aaa !important; opacity: 0.5; }
[data-theme="light"] .plan-btn-outline {
  border-color: rgba(0,0,0,0.12);
  color: #1a1a2e;
}
[data-theme="light"] .plan-btn-outline:hover {
  background: rgba(124,58,237,0.08);
  border-color: #7c3aed;
  color: #7c3aed;
}

/* CTA section */
[data-theme="light"] .cta-box {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
[data-theme="light"] .cta-box h2 { color: #1a1a2e; }
[data-theme="light"] .cta-box p { color: #555577; }

/* Footer */
[data-theme="light"] .footer {
  background: #f0f0ff;
  color: #555577;
  border-top-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .footer h4 { color: #1a1a2e; }
[data-theme="light"] .footer a { color: #555577; }
[data-theme="light"] .footer a:hover { color: #7c3aed; }
[data-theme="light"] .footer-brand-text { color: #1a1a2e; }
[data-theme="light"] .footer-tagline { color: #8888aa; }
[data-theme="light"] .footer-bottom { border-top-color: rgba(0,0,0,0.06); color: #8888aa; }
[data-theme="light"] .footer-tsc-badge { color: #555577; }
[data-theme="light"] .footer-tsc-badge img { filter: invert(1) brightness(0.2); }

/* Back to top */
[data-theme="light"] .back-to-top {
  background: rgba(124,58,237,0.9);
  color: #fff;
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track { background: #e8e8f8; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: #c4b5fd; }

/* Mobile menu */
[data-theme="light"] .mobile-menu {
  background: rgba(245,245,255,0.98);
}
[data-theme="light"] .mobile-menu a { color: #1a1a2e; }
[data-theme="light"] .mobile-toggle span { background: #1a1a2e; }
