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

:root {
  --bg-1: #050c20;
  --bg-2: #0b1533;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.06);
  --glass-3: rgba(255, 255, 255, 0.08);
  --accent-1: #6b7cff;
  --accent-2: #32c2ff;
  --accent-3: #7ae4ff;
  --text: #e7edff;
  --muted: #9ba7cc;
  --danger: #f05454;
  --success: #44d2a8;
  --card-radius: 16px;
  --shadow: 0 12px 32px rgba(5, 12, 32, 0.55);
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(80, 124, 255, 0.12), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(50, 194, 255, 0.16), transparent 25%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

#stars-container {
  pointer-events: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.star {
  position: absolute;
  background: radial-gradient(circle at 35% 35%, #ffffff, #d7f1ff 65%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 72%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 6px rgba(122, 228, 255, 0.55));
  opacity: 0;
  animation: star-fade 2.6s ease-in-out forwards;
}

@keyframes star-fade {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: scale(1) rotate(12deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.55) rotate(0deg);
  }
}

.page {
  position: relative;
  z-index: 2;
  padding: 3rem 6% 5rem;
}

.badge,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(50, 130, 255, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  align-items: center;
  margin: 0 auto 2.4rem;
  padding: 4rem 5%;
  max-width: 1300px;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-right: 1rem;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.hero-title,
h1 {
  margin: 1rem 0 0.5rem 0;
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  background: linear-gradient(90deg, #f8fbff, #7fd3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead,
.hero-description {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 72ch;
}

.cta-row,
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-red,
.btn-renew {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
  text-decoration: none;
  background: transparent;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.32);
}

.btn-secondary,
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cdd6f5;
  background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-red {
  background: linear-gradient(135deg, #ff5f6d, #c81d77);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-renew {
  background: linear-gradient(135deg, #32c2ff, #6b7cff);
  border: 1px solid rgba(107, 124, 255, 0.28);
  color: #fff;
}

.btn-renew:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 124, 255, 0.3);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-point {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: var(--glass);
}

.hero-point-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(107, 124, 255, 0.16);
  border: 1px solid rgba(107, 124, 255, 0.2);
}

.hero-point-icon svg {
  width: 18px;
  height: 18px;
  fill: #d9e3ff;
}

.grid,
.features,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 1rem;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 30, 70, 0.32);
  border-color: rgba(107, 124, 255, 0.4);
}

.card-cover {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.card-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(5, 12, 32, 0.72) 100%);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.card-body {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
}

.card .price {
  margin-left: auto;
  font-weight: 900;
  font-size: 1.35rem;
  color: #fff;
}

.card-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.pill {
  padding: 0.32rem 0.6rem;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.spec-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #d7dffc;
  min-height: 64px;
  box-shadow: 0 10px 26px rgba(5, 12, 32, 0.35);
}

.spec-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-icon svg {
  width: 20px;
  height: 20px;
  fill: #c6d4ff;
}

.spec-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.spec-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.spec-value {
  font-weight: 800;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.section-heading {
  text-align: center;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0 auto 2.2rem;
  background: linear-gradient(90deg, #f8fbff, #7fd3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 1rem;
}

.section-title {
  text-align: center;
  margin: 3rem auto 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.features {
  max-width: 1300px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: rgba(107, 124, 255, 0.35);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--muted);
}

.info-section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.info-card p {
  color: var(--muted);
}

.info-highlight {
  background: linear-gradient(120deg, rgba(107, 124, 255, 0.2), rgba(50, 194, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 16px;
  margin: 0 auto 4rem;
  max-width: 1000px;
  color: #fff;
}

.parrainage-banner {
  margin: 0 auto 3.5rem;
  max-width: 1100px;
  padding: 1.3rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(107, 124, 255, 0.18), rgba(50, 194, 255, 0.14));
  border: 1px solid rgba(122, 228, 255, 0.35);
  color: #e7edff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.parrainage-banner strong {
  color: #fff;
}

.parrainage-banner .pill {
  background: rgba(255,255,255,0.06);
  color: #c1d8ff;
  border: 1px solid rgba(255,255,255,0.12);
}

.parrainage-banner .btn {
  padding: 0.85rem 1.1rem;
}

.stats-section {
  max-width: 1000px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  text-align: center;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-section {
  max-width: 1300px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 1.35rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  border-color: rgba(107, 124, 255, 0.3);
}

.blog-card h4 {
  margin-bottom: 0.6rem;
}

.blog-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--accent-1);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.faq-container {
  max-width: 960px;
  margin: 3rem auto;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.faq-title {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-section {
  margin-bottom: 1.6rem;
}

.faq-section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.faq-section ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--muted);
}

.faq-section li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

footer {
  background: rgba(255, 255, 255, 0.02);
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 340px) repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand-logo {
  width: 86px;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.35));
}

.footer-brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.footer-description {
  color: var(--muted);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  color: var(--muted);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.9rem;
}

.user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.user-badges span {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  color: #cbd5f5;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.loading,
.hint {
  color: var(--muted);
}

.table-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 6%;
  }

  .hero-content {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 2.5rem 5% 4rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  header {
    padding: 14px 22px;
  }

  .features,
  .info-section {
    padding: 0 1rem;
  }

  .feature-card,
  .info-card {
    padding: 1.2rem 1rem;
  }

  .blog-grid,
  .features,
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .card .price {
    margin-left: 0;
  }
}

@media (max-width: 540px) {
  .cta-row,
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero {
    padding: 2.5rem 5%;
  }

  .grid,
  .features,
  .blog-grid,
  .info-section {
    grid-template-columns: 1fr;
  }

  .card,
  .feature-card,
  .info-card {
    width: 100%;
  }
}

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

.animate {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}
