body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  color: #e5eef8;
  background:
    radial-gradient(circle at top left, rgba(34, 158, 217, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 26%),
    linear-gradient(180deg, #121a24 0%, #0f1720 48%, #0a1119 100%);
}

.extension-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.extension-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.extension-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.extension-brand img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(34, 158, 217, 0.18);
}

.extension-brand h1,
.extension-brand p {
  margin: 0;
}

.extension-brand h1,
.hero-copy h2,
.info-card h3,
.steps-card h3,
.gallery-card h3,
.faq-card h3,
.mini-card h4,
.gallery-item h4,
.faq-list strong {
  color: #f8fbff;
}

.extension-brand p,
.hero-copy p,
.mini-card p,
.gallery-item p,
.faq-list p,
.steps-list small {
  color: #f8fbff;
  font-weight: bold;
}

.topbar-actions,
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-link,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-family: inherit;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #229ed9, #0f6cbf);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 108, 191, 0.18);
}

.btn-secondary {
  background: rgba(15, 23, 32, 0.86);
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.24);
}

.btn-link {
  color: #e5eef8;
  background: rgba(15, 23, 32, 0.7);
  border-color: rgba(148, 163, 184, 0.18);
}

.btn-link:hover,
.btn-primary:hover,
.btn-secondary:hover,
.extension-socials a:hover {
  transform: translateY(-2px);
}

.extension-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}

.hero-copy,
.hero-visual,
.info-card,
.steps-card,
.gallery-card,
.faq-card,
.extension-footer {
  background: linear-gradient(180deg, rgba(22, 31, 43, 0.96), rgba(14, 22, 31, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.hero-copy,
.info-card,
.steps-card,
.gallery-card,
.faq-card,
.extension-footer {
  padding: 22px;
}

.hero-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 158, 217, 0.16);
  color: #7dd3fc;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
}

.hero-copy p,
.mini-card p,
.gallery-item p,
.faq-list p {
  line-height: 1.8;
}

.hero-list,
.benefit-list,
.faq-list,
.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list {
  counter-reset: extension-steps;
}

.hero-list li,
.benefit-list li,
.faq-list li {
  position: relative;
  padding-right: 18px;
  margin-bottom: 10px;
  color: #dbe7f3;
}

.hero-list li::before,
.benefit-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #229ed9;
}

.hero-visual {
  padding: 16px;
}

.hero-visual img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.stat-chip {
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(13, 18, 30, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.stat-chip strong {
  display: block;
  font-size: 1.7rem;
  color: #f8fbff;
  margin-bottom: 4px;
}

.stat-chip span {
  color: #a9bbcf;
}

.extension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-card,
.gallery-item,
.steps-list li,
.faq-list li {
  background: rgba(12, 19, 29, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
}

.mini-card {
  padding: 16px;
}

.mini-card h4,
.mini-card p,
.gallery-item h4,
.gallery-item p {
  margin: 0;
}

.mini-card h4,
.gallery-item h4 {
  margin-bottom: 8px;
}

.gallery-card {
  grid-column: 1 / -1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 33.333%));
  gap: 16px;
}

.gallery-item {
  padding: 14px;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 14px;
  margin-bottom: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.steps-list li {
  position: relative;
  margin-bottom: 12px;
  padding: 16px 18px 16px 58px;
  color: #dbe7f3;
}

.steps-list li::before {
  counter-increment: extension-steps;
  content: counter(extension-steps);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #229ed9, #0f6cbf);
  color: #fff;
  font-weight: 800;
}

.copy-inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  margin: 0 6px;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(8, 37, 64, 0.58);
  color: #7dd3fc;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}

.steps-list small {
  display: block;
  margin-top: 8px;
}

.faq-list strong {
  display: block;
  margin-bottom: 8px;
}

.faq-list li {
  padding: 16px 18px;
}

.extension-footer {
  margin-top: 28px;
  text-align: center;
}

.extension-footer p {
  margin: 0 0 14px;
  color: #f8fbff;
  font-weight: 700;
}

.extension-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.extension-socials a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #dbe7f3;
  background: rgba(15, 23, 32, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.extension-socials a:hover {
  border-color: rgba(96, 165, 250, 0.34);
  color: #7dd3fc;
}

.extension-socials svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 980px) {
  .extension-hero,
  .extension-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .extension-topbar,
  .hero-actions,
  .topbar-actions {
    flex-direction: column;
  }

  .cards-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }
}
