/* ── FEATURES PAGE SPECIFIC STYLES ── */

body {
    background-color: #0B1229;
    color: #F8FAFF;
    overflow-x: hidden;
}

.glass {
    background: rgba(20, 30, 56, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.ethereal-glow {
    position: absolute;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.glow-primary {
    background: #3b82f6;
    top: -10%;
    left: -10%;
}

.glow-secondary {
    background: #8B5CF6;
    bottom: -10%;
    right: -10%;
}

.glow-tertiary {
    background: #F59E0B;
    top: 40%;
    left: 50%;
}

.rim-light:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
}

.shimmer-text {
    background: linear-gradient(90deg, #3b82f6, #8B5CF6, #3b82f6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 2px;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── RESPONSIVE: FEATURES ── */
@media (max-width: 1200px) {
  main {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 992px) {
  main.pt-32,
  main {
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
  }

  .glass,
  .glass-card {
    padding: 1.5rem !important;
  }

  .ethereal-glow {
    width: 70vw;
    height: 70vw;
  }

  h1,
  .font-headline-xl,
  .text-headline-xl {
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 768px) {
  main.pt-32,
  main {
    padding-top: 5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .grid {
    gap: 1.25rem !important;
  }

  a.px-8.py-4,
  .px-8.py-4 {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  main.pt-32,
  main {
    padding-top: 4.5rem !important;
    padding-bottom: 2rem !important;
  }

  .glass,
  .glass-card {
    padding: 1rem !important;
    border-radius: 1rem !important;
  }

  .ethereal-glow {
    opacity: 0.08;
  }

  h1 {
    font-size: 1.6rem !important;
  }

  h2 {
    font-size: 1.35rem !important;
  }
}