/* ================================
   ELYTE — FULL RED TECH THEME CSS
   Clean, centered, polished
================================ */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL BACKGROUND + FONTS */
html, body {
  background: radial-gradient(circle at 50% 20%, #111 0%, #000 75%);
  font-family: 'Urbanist', sans-serif;
  scroll-behavior: smooth;
  color: #fff;
}

/* TYPOGRAPHY */
h1, h2, h3, .brand, .price, .section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.hero-title {
  font-weight: 800;
}

.hero-sub,
.section-sub,
.feature-card p,
.price-card ul li,
.footer-copy {
  font-weight: 400;
}

/* CONTAINER SYSTEM */
.container {
  width: 90%;
  max-width: 1350px;
  margin: 0 auto;
}

/* ==========================
   NAVBAR
========================== */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(20,20,20,0.7);
  border-bottom: 1px solid rgba(255,0,0,0.15);
  padding: 14px 0;
  transition: 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  border-bottom-color: rgba(255,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 38px;
  height: 38px;
}

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

.brand {
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-right a {
  color: #bbb;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.2s;
}

.nav-right a:hover {
  color: #ff0808;
}

/* ==========================
   BUTTONS
========================== */

.btn-red,
.btn-red-lg {
  background: #ff0808;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.25s;
  display: inline-block;
}

.btn-red:hover,
.btn-red-lg:hover {
  background: #d30606;
  transform: translateY(-3px);
}

.btn-red-lg {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-outline-lg {
  border: 1px solid #ff0808;
  color: #ff0808;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.25s;
}

.btn-outline-lg:hover {
  background: #ff0808;
  color: #fff;
}

/* ==========================
   HERO
========================== */
.hero {
  padding: 140px 0 180px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-bg-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(255,0,0,0.35), transparent 70%);
  transform: translateX(-50%);
  filter: blur(80px);
  z-index: -1;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-gradient {
  background: linear-gradient(90deg, #ff0808, #6a0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 720px;
  margin: 20px auto;
  color: #bbb;
  font-size: 1.2rem;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ==========================
   SECTIONS
========================== */
.section {
  padding: 100px 0;
  text-align: center;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.section-sub {
  max-width: 500px;
  margin: 0 auto 50px;
  color: #aaa;
  font-size: 1.1rem;
}

/* ==========================
   FEATURE GRID
========================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 32px;
  
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;

  justify-items: center;     /* Centers items in their grid cell */
  justify-content: center;   /* Centers the whole row when fewer items */
}

.feature-card {
  position: relative;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 32px;
  border-radius: 14px;
  width: 100%;
  max-width: 360px;
  transition: 0.25s;
}

.feature-card:hover {
  background: #111;
  border-color: rgba(255,0,0,0.25);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255,0,0,0.15);
}

/* Icon Box */
.icon-box {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: linear-gradient(145deg, #141414, #0c0c0c);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.icon-box .icon {
  width: 32px;
  height: 32px;
  stroke: #ff1a1a;
  filter: drop-shadow(0 0 6px rgba(255,0,0,0.35));
}

/* ==========================
   FEATURE BADGES
========================== */
.feature-tier-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px auto 20px;
  max-width: 1200px;
  text-align: left;
  opacity: 0.85;
}

.feature-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
}

.feature-badge.free {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.feature-badge.pro {
  background: #ff0808;
  color: #000;
  border: 1px solid #ff4747;
}

/* ==========================
   PRICING GRID
========================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.price-card {
  background: #111;
  border: 1px solid rgba(255,0,0,0.25);
  padding: 32px;
  border-radius: 14px;
  text-align: center;
  width: 100%;
  max-width: 350px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 480px;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,0,0,0.45);
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ff0808;
  margin: 14px 0;
}

.price-card ul {
  list-style: none;
  margin-top: 16px;
}

.price-card ul li {
  color: #bbb;
  margin: 8px 0;
}

/* Popular Tag */
.price-card.popular {
  background: #150000;
  border: 1px solid #ff0808;
  position: relative;        /* Required for tag positioning */
  overflow: visible;         /* Makes sure the tag isn't clipped */
}


.price-card .tag {
  position: absolute;
  top: -14px;
  right: -14px;
  background: #ff0808;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
}

.price-card.popular,
.price-card.lifetime {
  position: relative;
  overflow: visible;
}


/* Lifetime Gold */
.price-card.lifetime {
  background: linear-gradient(145deg, #1a1a1a, #090909);
  border: 1px solid rgba(255,215,0,0.55);
  box-shadow: 0 0 20px rgba(255,215,0,0.15);
}

.tag-gold {
  position: absolute;
  top: -14px;
  right: -14px;
  background: linear-gradient(90deg, #FFD700, #E6C200);
  padding: 6px 14px;
  color: #000;
  border-radius: 6px;
  font-weight: 700;
}

.price-gold {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255,215,0,0.4);
}

/* Pricing Buttons */
.price-card a {
  width: 100%;
  display: block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 20px;
}

.price-card .btn-outline-lg {
  border: 2px solid #ff0808;
  color: #ff0808;
}

.price-card .btn-outline-lg:hover {
  background: #ff0808;
  color: #000;
}

.price-card .btn-red-lg {
  background: #ff0808;
  color: #000;
}

.price-card .btn-red-lg:hover {
  background: #d30606;
}

.price-card .btn-gold-lg {
  background: linear-gradient(90deg, #FFD700, #E6C200);
  color: #000;
}

.price-card .btn-gold-lg:hover {
  background: linear-gradient(90deg, #FFE766, #FFD700);
}

/* ==========================
   FOOTER
========================== */
.footer {
  padding: 70px 0;
  background: #080808;
  border-top: 1px solid rgba(255,0,0,0.25);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.logo-sm {
  width: 34px;
  height: 34px;
}

.footer-copy {
  margin-top: 14px;
  color: #777;
  font-size: 0.9rem;
}

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

::-webkit-scrollbar-track {
  background: #0b0b0b;
}

::-webkit-scrollbar-thumb {
  background: #1a1a1a;
  border-radius: 10px;
  border: 2px solid #0b0b0b;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff0808;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #1a1a1a #0b0b0b;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
}
