.featuresFooter {
  background: var(--md-sys-main-blue-transparent-85);
  padding: 10px;
  border-radius: 10px;
  border: 2px solid var(--sys-text-color-blue);
  color: var(--sys-text-color-blue);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.layout-header-nav-mobile { display: none; position: absolute; top: 64px; left: 0; right: 0; z-index: 60; }
.layout-header-nav-mobile.open { display: block; }
.no-scroll { overflow: hidden; }


.supportserver, .inviteButton {
  margin: 0 auto;
}

.ctaButtons {
  display: flex;
  margin: 20px;
}

.landing-discord-add-to-server {
  margin-right: 10px;
}

.landing-hero {
  position: relative;
  min-height: 90vh;
  padding: 6rem 1.5rem;
  overflow: hidden;
  font-family: var(--font-family-base);
}

.landing-hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.landing-hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, var(--sys-background-glow) 0%, transparent 40%), radial-gradient(circle at 10% 90%, rgba(255, 165, 251, 0.1) 0%, transparent 40%);
  opacity: 0.8;
}

.landing-hero-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, var(--sys-color-pastel-blue) 1px, transparent 1px), radial-gradient(circle at center, var(--sys-color-pastel-pink) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.03;
}

.landing-hero-content {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--sys-background-accent);
  border: 1px solid var(--sys-border-color);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.landing-hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sys-color-pastel-blue);
}

.landing-hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--sys-text-gradient-ping-blue);
  -webkit-background-clip: text;
  color: transparent;
}

.landing-hero-subtitle {
  font-size: var(--space-lg);
  line-height: 1.6;
  color: var(--sys-text-color-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.landing-hero-buttons {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.landing-btn-add-to-discord {
  display: flex;
  align-items: center;
  padding-left: 20px;
  padding-right: 10px;
  gap: var(--space-sm);
  height: var(--height-lg);
  background: rgba(13, 13, 13, 0.8);
  color: var(--sys-text-color-primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--space-md);
  transition: var(--transition-normal);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-btn-add-to-discord:hover {
  transform: translateY(-2px);
  background: rgba(13, 13, 13, 0.9);
}

.landing-discord-icon.landing-discord-add-to-server {
  width: 24px;
  height: 18px;
  color: currentColor;
  margin-right: var(--space-xs);
}

.landing-btn-secondary {
  display: flex;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  gap: var(--space-sm);
  height: var(--height-lg);
  background: rgba(255, 255, 255, 0.05);
  color: var(--sys-text-color-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--space-md);
  transition: var(--transition-normal);
  text-decoration: none;
}

.landing-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.landing-btn-secondary svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

.landing-hero-mascot {
  position: relative;
  padding: 2rem;
}

.landing-mascot-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(139, 206, 255, 0.2) 0%, rgba(255, 165, 251, 0.2) 50%, transparent 70%);
  filter: blur(40px);
  opacity: 0.5;
}

.landing-mascot-image {
  width: 100%;
  height: auto;
  position: relative;
  animation: float 6s ease-in-out infinite;
  border-radius: 30px;
}

.landing-stats-banner {
  max-width: var(--container-xl);
  margin: 4rem auto 0;
  padding: 1.5rem;
  background: var(--sys-background-accent);
  border: 1px solid var(--sys-border-color);
  border-radius: var(--radius-2xl);
  display: flex;
  justify-content: space-around;
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.landing-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--sys-background-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-stat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--sys-color-pastel-blue);
  stroke: currentColor;
}

.landing-stat-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
}

.landing-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--sys-gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
}

.landing-stat-number[data-animated="true"] {
  opacity: 1;
  transform: translateY(0);
}

.landing-stat-label {
  font-size: 0.875rem;
  color: var(--sys-text-color-muted);
}

.landing-stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent 0%, var(--sys-border-color) 50%, transparent 100%);
  margin: 0 2rem;
}

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

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

@keyframes countUp {
  from {
    content: "0";
  }
}

/* Media Queries */

@media (max-width: 1024px) {
  .landing-hero {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 1024px) {
  .landing-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .landing-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .landing-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .landing-hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .landing-hero-mascot {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .landing-stats-banner {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .landing-stat-divider {
    width: 80%;
    height: 1px;
    margin: 1rem auto;
    background: linear-gradient(90deg, transparent 0%, var(--sys-border-color) 50%, transparent 100%);
  }
}

@media (max-width: 768px) {
  .landing-stat-content {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .landing-stat-item {
    margin-left: 0 !important;
  }
}

@media (max-width: 480px) {
  .landing-hero {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  .landing-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .landing-hero-buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .landing-btn-add-to-discord, .landing-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* --- Features */

.features {
  padding: 6rem 1.5rem;
  background: radial-gradient(circle at 0% 0%, var(--sys-background-glow) 0%, transparent 50%), radial-gradient(circle at 100% 100%, rgba(255, 165, 251, 0.03) 0%, transparent 50%);
}

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

.features-header h2 {
  font-size: 2.5rem;
  background: var(--sys-gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.features-header p {
  color: var(--sys-text-color-muted);
  font-size: var(--font-size-lg);
}

.feature-section {
  width: 100%;
  max-width: none;
  margin: 0 0 8rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-section:nth-child(even) {
  direction: rtl;
}

.feature-section:nth-child(even) .feature-content {
  direction: ltr;
}

/* Feature Content */

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sys-background-accent);
  border: 1px solid var(--md-sys-main-blue-border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  color: var(--sys-color-pastel-blue);
  font-weight: 500;
}

.feature-tag svg {
  color: currentColor;
}

.feature-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--sys-text-color-primary) 0%, var(--sys-text-color-muted) 100%);
  -webkit-background-clip: text;
  color: transparent;
}

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

/* Updated Feature Points */

.feature-points {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
  position: relative;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--sys-text-color-white);
  position: relative;
  padding-left: 1.25rem;
}

/* New Bullet Point Style */

.feature-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--md-sys-main-blue);
  border-radius: 50%;
  opacity: 0.8;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sys-color-pastel-blue);
  font-weight: 500;
  transition: all 0.2s ease;
}

.learn-more:hover {
  gap: 0.75rem;
  color: var(--md-sys-main-blue-hover);
}

/* Preview Section with Reduced Image Size */

.preview-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  padding: .5rem;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

.preview-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--sys-background-glow) 0%, rgba(255, 214, 236, 0.05) 100%);
  border-radius: inherit;
  z-index: -1;
}

.feature-preview img {
  width: 100%;
  max-width: 540px;
  min-width: 0;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--sys-border-color);
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.preview-wrapper:hover img {
  transform: translateY(-4px);
}

@media (max-width: 1024px) {
  .features {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 1024px) {
  .preview-wrapper {
    max-width: 420px;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .feature-preview img {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .feature-section, .feature-section:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .preview-wrapper {
    max-width: 340px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .feature-preview img {
    max-width: 340px;
  }
}

@media (max-width: 480px) {
  .preview-wrapper {
    max-width: 95vw;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .feature-preview img {
    max-width: 95vw;
  }
}

