@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@800;900&display=swap');

:root {
  /* Discord & Brand Colors */
  --discord-blurple: #5865F2;
  --discord-blurple-hover: #4752C4;
  --discord-green: #23A55A;
  --discord-yellow: #FEE75C;
  --discord-red: #F23F43;
  --discord-purple: #9B59B6;
  --discord-pink: #EB459E;
  --discord-boost: #FF73FA;
  
  /* Theme Colors */
  --bg-dark: #080810;
  --bg-card: rgba(20, 20, 35, 0.45);
  --bg-card-hover: rgba(30, 30, 50, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(88, 101, 242, 0.3);
  
  /* Text Colors */
  --text-main: #F2F3F5;
  --text-muted: #B5BAC1;
  --text-link: #00A8FC;
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles & Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Background Glowing Accents */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: pulse-glow 15s infinite alternate;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--discord-blurple);
  top: -10%;
  right: -10%;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: var(--discord-pink);
  bottom: -10%;
  left: -10%;
  animation-delay: -5s;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: var(--discord-purple);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
  50% { transform: scale(1.15) translate(3%, 5%); opacity: 0.18; }
  100% { transform: scale(0.9) translate(-2%, -3%); opacity: 0.12; }
}

/* Glassmorphism & Cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 2rem;
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 2rem;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo span {
  background: linear-gradient(135deg, var(--text-main) 30%, var(--discord-blurple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--discord-blurple);
  filter: drop-shadow(0 0 8px var(--discord-blurple));
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-btn {
  background: var(--discord-blurple);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.nav-btn:hover {
  background: var(--discord-blurple-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45);
}

/* General Layout Elements */
section {
  padding: 6rem 2rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--discord-blurple);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--discord-blurple);
  color: white;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-primary:hover {
  background: var(--discord-blurple-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.6);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: 90vh;
  gap: 3rem;
  padding-top: 8rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-pill {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 115, 250, 0.1);
  border: 1px solid rgba(255, 115, 250, 0.3);
  color: var(--discord-boost);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(255, 115, 250, 0.1);
}

.hero-title {
  font-family: var(--font-headings);
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.hero-title span {
  background: linear-gradient(135deg, #FFF 30%, var(--discord-blurple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.indicator.online { background-color: var(--discord-green); box-shadow: 0 0 8px var(--discord-green); }
.indicator.total { background-color: var(--discord-blurple); box-shadow: 0 0 8px var(--discord-blurple); }
.indicator.boost { background-color: var(--discord-boost); box-shadow: 0 0 8px var(--discord-boost); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Discord Core Widget Mock Container */
.discord-mock-frame {
  width: 100%;
  max-width: 440px;
  height: 520px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #1e1f22;
}

.discord-panel-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2b2d31;
}

.discord-panel-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.discord-panel-header-title svg {
  color: #80848e;
  width: 20px;
  height: 20px;
}

.discord-chat-area {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: start;
  background: #313338;
}

/* Custom CSS for live voice indicator */
.voice-channel-block {
  margin-top: 0.2rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.voice-channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
}

.voice-channel-header-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.voice-channel-header-title svg {
  color: #949ba4;
  width: 16px;
  height: 16px;
}

.voice-users-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 1.25rem;
}

.voice-user-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #383a40;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: #dbdee1;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.voice-user-bubble img {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
}

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

.feature-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--discord-blurple);
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

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

.feature-card h3 {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
}

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

/* Footer styling */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  background: rgba(8, 8, 16, 0.95);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-left p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-right {
  display: flex;
  gap: 1.5rem;
}

.footer-right a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-right a:hover {
  color: var(--discord-blurple);
}

/* Scroll layout header adjustments */
header.scrolled {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 2rem;
}

/* Responsive tweaks */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 8rem;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats-row {
    justify-content: center;
    width: 100%;
  }
  
  .hero-visual {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-stats-row {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }
}
