/* =========================================================================
   components.css — buttons, cards, feature list, client cards,
   security grid, pricing, team, FAQ, closing CTA
   ========================================================================= */

/* ---------- buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding-inline: 1.25rem;
  border: 0;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--sm {
  height: 2.25rem;
  padding-inline: 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
}

.btn--lg {
  height: 3rem;
  padding-inline: 1.75rem;
  font-size: 1rem;
}

.btn--primary {
  position: relative;
  overflow: hidden;
  color: #140f02;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.45),
    var(--shadow-gold-soft);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.55),
    0 16px 44px -8px rgba(212, 160, 23, 0.75);
}

/* light sweep on hover */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--ghost {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.btn--ghost:hover {
  background: rgba(212, 160, 23, 0.1);
  border-color: rgba(212, 160, 23, 0.48);
}

/* ---------- cards -------------------------------------------------------- */
.card {
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(212, 160, 23, 0.14);
  border-radius: var(--r-lg);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.card:hover {
  border-color: rgba(212, 160, 23, 0.38);
}

.lift {
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.lift:hover {
  transform: translateY(-6px);
  border-color: var(--line-gold-strong);
  box-shadow: 0 24px 60px -24px rgba(212, 160, 23, 0.5);
}

/* ---------- feature list (hero) ------------------------------------------ */
.features {
  display: grid;
  gap: 0.75rem;
  margin-top: 4rem;
  width: 100%;
  max-width: 68rem;
  text-align: left;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
}

.feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--tint-gold);
  color: var(--gold-300);
}

.feature-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  text-wrap: balance;
}

.feature-text {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--dim);
}

/* ---------- client cards ------------------------------------------------- */
.client-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1160px) {
  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.client-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.client-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.client-badge {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: var(--ink-800);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.client-card:hover .client-badge {
  transform: rotate(-6deg) scale(1.05);
}

.client-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.client-badge svg {
  color: var(--gold-300);
}

.client-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.client-version {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-300);
}

.client-desc {
  flex: 1;
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

.client-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.client-actions .btn--primary {
  flex: 1;
}

.client-note {
  max-width: 46rem;
  margin-top: 2.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--line-gold);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--dim);
}

/* ---------- security grid ------------------------------------------------ */
.safe-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .safe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .safe-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.safe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(212, 160, 23, 0.1), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.safe-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(140deg, rgba(233, 187, 84, 0.35), transparent 45%) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.safe-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-gold-strong);
  border-radius: var(--r-sm);
  background: rgba(212, 160, 23, 0.12);
  color: var(--gold-300);
}

.safe-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--fg);
}

.safe-text {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- faq ---------------------------------------------------------- */
.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 3rem;
}

.faq-item {
  padding: 1.25rem 1.5rem;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex: none;
  color: var(--gold-300);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- pricing ------------------------------------------------------ */
.price-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 54rem;
  margin: 3.5rem auto 0;
}

@media (min-width: 768px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.price-card--featured {
  border-color: var(--line-gold-strong);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(212, 160, 23, 0.16), transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  box-shadow: 0 24px 70px -30px rgba(212, 160, 23, 0.55);
}

.price-badge {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: #140f02;
  font-size: 0.7rem;
  font-weight: 700;
}

.price-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-term {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.price-note {
  font-size: 0.8125rem;
  color: var(--dim);
}

.price-amount {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-currency {
  margin-right: 0.15em;
  font-size: 0.5em;
  font-weight: 600;
  vertical-align: 0.55em;
  color: var(--gold-300);
}

.price-list {
  display: grid;
  gap: 0.625rem;
  margin: 1.75rem 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.price-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.5rem;
}

.price-list li::before {
  content: "✓";
  font-size: 0.85em;
  line-height: 1.6;
  color: var(--gold-400);
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ---------- team --------------------------------------------------------- */
.team-grid {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin: 3.5rem auto 0;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem;
  text-align: center;
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--line-gold-strong);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 30%, rgba(212, 160, 23, 0.32), rgba(10, 10, 11, 0.9) 72%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-200);
  box-shadow: 0 0 30px -8px rgba(212, 160, 23, 0.6);
}

.team-name {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.team-role {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* ---------- final call to action ----------------------------------------- */
.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(212, 160, 23, 0.16), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1rem + 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-sub {
  margin-top: 0.75rem;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cta-contact {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--dim);
}
