.credits-page {
  padding: 0;
  overflow-x: hidden;
}

.text-center {
  text-align: center;
}
.full-width {
  width: 100%;
}

h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 20px;
  font-weight: 600;
}
p {
  color: var(--muted);
  line-height: 1.7;
}

.credits-hero {
  padding: 120px 0 80px;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(14, 165, 233, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(34, 197, 94, 0.1) 0%,
      transparent 55%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: grid;
  gap: 24px;
}

.hero-content h1 {
  background: linear-gradient(
    135deg,
    var(--text) 0%,
    #0ea5e9 60%,
    var(--primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .badge {
  width: fit-content;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.credit-summary {
  padding: 32px;
  max-width: 420px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.credit-summary::after {
  content: "";
  position: absolute;
  inset: -50% -40% auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

.summary-title {
  font-weight: 700;
  color: var(--text);
}

.summary-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.summary-tag {
  font-size: 12px;
  font-weight: 700;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
}

.summary-steps {
  display: grid;
  gap: 18px;
}

.summary-step {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  margin-top: 6px;
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.1);
}

.summary-step strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.credit-flow {
  padding: 70px 0;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-header h1 {
  color: var(--primary);
  font-size: 16px;
  letter-spacing: 1.4px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.flow-card {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--glass);
  padding: 32px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.flow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(14, 165, 233, 0.18);
}

.flow-icon {
  font-size: 42px;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: var(--primary_glass);
  display: grid;
  place-items: center;
  margin: 0 0 18px;
}

.flow-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.credit-packs {
  padding: 80px 0;
  background: linear-gradient(to bottom, transparent, rgba(14, 165, 233, 0.04));
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.pack-card {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pack-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(14, 165, 233, 0.18);
}

.pack-card.highlight {
  border: 2px solid #0ea5e9;
  box-shadow: 0 25px 55px rgba(14, 165, 233, 0.2);
  transform: scale(1.04);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #0ea5e9;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.pack-card.highlight:hover {
  transform: scale(1.04) translateY(-8px);
}

.pack-card h4 {
  font-size: 15px;
  color: black;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.4;
}

.pack-top {
  display: grid;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 22px;
}

.pack-top h3 {
  margin-top: 15px;
  font-size: 18px;
  color: #777;
}

.pack-top strong {
  font-size: 36px;
  color: black;
}

.pack-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0ea5e9;
}

.pack-desc {
  color: var(--muted);
  font-size: 14px;
}

.pack-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--text);
}

.pack-list li::before {
  content: "•";
  color: #22c55e;
  margin-right: 8px;
}

.pack-note {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.credit-usage {
  padding: 80px 0;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.usage-card {
  padding: 28px;
  position: relative;
  min-height: 180px;
}

.usage-tag {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--primary);
}

.credit-faq {
  padding: 80px 0;
  background: linear-gradient(to bottom, transparent, rgba(34, 197, 94, 0.05));
}

.credit-container {
  display: flex;
  flex-direction: row !important;
  justify-content: space-between;
}

.credit-container .section-header {
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 60%;
}

.faq-item {
  width: 100%;
  padding: 32px;
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
}

.faq-item p {
  font-size: 16px;
}

.cta-section {
  padding: 60px 0 120px;
}

.cta-box {
  padding: 60px;
  text-align: center;
  display: grid;
  gap: 32px;
  background: #060b14;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.35) 0%,
    transparent 70%
  );
  left: -180px;
  bottom: -180px;
  pointer-events: none;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.38) 0%,
    transparent 70%
  );
  right: -220px;
  top: -220px;
  pointer-events: none;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-content h2 {
  color: white;
}

.cta-content p {
  color: #888;
  font-size: 16px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn.large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 16px;
}

.plans-btn {
  color: #dedede;
  border: 1px solid var(--muted);
}

@media (max-width: 768px) {
  .pack-card.highlight {
    transform: none;
  }

  .pack-card.highlight:hover {
    transform: translateY(-8px);
  }

  .cta-box {
    padding: 40px 24px;
  }

  .credit-container {
    flex-direction: column !important;
    gap: 15px;
  }

  .faq-grid {
    width: 100%;
  }

  .credit-container .section-header {
    text-align: center;
  }
  .pack-grid {
    grid-template-columns: 1fr;
  }
  .pack-card {
    max-width: none;
  }
}
