/* CryptoFaucet product page styles */

.cf-tablist {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cf-tablist::-webkit-scrollbar {
  display: none;
}

.cf-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 11px 18px;
  border-radius: var(--hs-radius-full);
  border: 1px solid var(--hs-border);
  background: var(--hs-surface);
  color: var(--hs-muted);
  font: 600 14px/1.2 var(--font-body);
  white-space: nowrap;
  min-height: 44px;
  justify-content: center;
  transition:
    color var(--hs-transition),
    border-color var(--hs-transition),
    background-color var(--hs-transition),
    transform var(--hs-transition);
}

@media (hover: hover) and (pointer: fine) {
  .cf-tab {
    min-height: 0;
  }
}

.cf-tab i {
  font-size: 16px;
  color: var(--hs-primary);
}

@media (hover: hover) {
  .cf-tab:hover {
    color: var(--hs-heading);
    border-color: rgba(109, 74, 255, 0.3);
    transform: translateY(-1px);
  }
}

.cf-tab[aria-selected="true"] {
  color: #fff;
  border-color: transparent;
  background-image: var(--hs-grad-primary);
  box-shadow: var(--hs-shadow-sm);
}

.cf-tab[aria-selected="true"] i {
  color: #fff;
}

.cf-tab:focus-visible {
  outline: 2px solid var(--hs-primary);
  outline-offset: 3px;
}

.cf-tab-panel {
  animation: cf-panel-in 260ms ease-out;
}

@keyframes cf-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-cf-tabs-ready] .cf-tab-panel {
  display: none;
}

[data-cf-tabs-ready] .cf-tab-panel.is-active {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .cf-tab-panel {
    animation: none;
  }
}

.cf-tab-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid var(--hs-border);
  border-left: 3px solid var(--hs-primary);
  border-radius: var(--hs-radius-md);
  background: var(--hs-surface);
}

.cf-tab-intro i {
  flex: 0 0 auto;
  font-size: 20px;
  color: var(--hs-primary);
  margin-top: 2px;
}

.cf-tab-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--hs-body);
}

/* Pricing card */
.hd-card--pricing {
    border: 2px solid var(--bs-primary);
    position: relative;
}

.hd-card--pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bs-primary);
    border-radius: 0.375rem 0.375rem 0 0;
}

.hd-pricing-price {
    margin: 1.5rem 0;
}

.hd-pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.hd-pricing-was {
    font-size: 1.25rem;
    color: var(--bs-secondary);
}

/* Quote cards (customization / new project): no price, same card language,
   quiet hover lift to match the other pricing-tier cards. Mirrors the
   pd-quote-card rules on the Preads page. */
.cf-quote-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cf-quote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -34px rgba(109, 74, 255, 0.45);
}

.cf-quote-card .hs-price-includes i {
    color: #16a34a;
}

@media (prefers-reduced-motion: reduce) {
    .cf-quote-card {
        transition: none;
    }

    .cf-quote-card:hover {
        transform: none;
    }
}

/* Price carried inside the final-CTA button, so the number the buyer is being
   asked for sits on the button they are about to press rather than only
   further down the page. Mirrors vc-cta-price on the VibeCash page. */
.cf-cta-price {
    /* .btn and .hs-btn-premium both carry an absolutely positioned ::after
       overlay, and a positioned pseudo-element paints above ordinary inline
       content. Without this the price chip sits under the shimmer. */
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    margin-left: 4px;
    border-radius: var(--hs-radius-full);
    background: rgba(255, 255, 255, 0.18);
    /* theme.css clamps .btn-lg to 14px, so anything under 1em resolves too
       small for the one number the buyer is being asked for. */
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Table styles */
.hd-table {
    margin-bottom: 0;
}

.hd-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.hd-table tr:last-child td {
    border-bottom: none;
}

.hd-table td:first-child {
    font-weight: 500;
    width: 40%;
}

/* Accordion styles */
.hd-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
}

.hd-accordion .accordion-button:not(.collapsed) {
    background: var(--bs-light);
    color: var(--bs-primary);
}

/* Screenshot gallery */
.hs-shot {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
}

.hs-shot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Float stats */
.cf-hero-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 260px;
    font-size: 5rem;
    color: var(--bs-primary);
}

.cf-float-stat {
    position: absolute;
    background: var(--bs-white);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
}

.cf-float-stat--a {
    top: 10%;
    left: -5%;
}

.cf-float-stat--b {
    bottom: 10%;
    right: -5%;
}

.cf-float-stat i {
    font-size: 1.25rem;
    color: var(--bs-primary);
}

.cf-float-stat b {
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cf-float-stat {
        display: none;
    }

    .hd-pricing-amount {
        font-size: 2rem;
    }
}
/* Trust bar (ZapCash style) */
.cf-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius-lg);
  background: var(--hs-border);
  overflow: hidden;
  box-shadow: var(--hs-shadow-md);
}

@media (min-width: 576px) {
  .cf-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .cf-trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cf-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 18px;
  background: var(--hs-surface);
}

.cf-trust-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--hs-radius-md);
  background: var(--hs-primary-lighter);
  color: var(--hs-primary);
  font-size: 18px;
}

[data-theme="dark"] .cf-trust-icon {
  color: #b9a8ff;
}

.cf-trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--hs-heading);
}

.cf-trust-item > span > span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hs-muted);
}
/* Gallery filter (ZapCash style) */
.cf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.cf-filter {
  padding: 8px 15px;
  border-radius: var(--hs-radius-full);
  border: 1px solid var(--hs-border);
  background: var(--hs-surface);
  color: var(--hs-muted);
  font: 600 13px/1.2 var(--font-body);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition:
    color var(--hs-transition),
    border-color var(--hs-transition),
    background-color var(--hs-transition);
}

.cf-filter:hover {
  color: var(--hs-heading);
  border-color: rgba(109, 74, 255, 0.3);
}

@media (hover: hover) and (pointer: fine) {
  .cf-filter {
    min-height: 0;
  }
}

.cf-filter[aria-pressed="true"] {
  color: var(--hs-primary);
  border-color: rgba(109, 74, 255, 0.4);
  background: var(--hs-primary-lighter);
}

.cf-filter:focus-visible {
  outline: 2px solid var(--hs-primary);
  outline-offset: 2px;
}

[data-cf-gallery-ready] .cf-shot-group {
  display: none;
}

[data-cf-gallery-ready] .cf-shot-group.is-active {
  display: block;
}
/* Sticky buy bar (ZapCash style) */
.cf-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  border-top: 1px solid var(--hs-border);
  background: color-mix(in srgb, var(--hs-surface) 92%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 32px -24px rgba(15, 17, 23, 0.6);
  transform: translateY(110%);
  visibility: hidden;
  transition:
    transform var(--hs-card-transition),
    visibility var(--hs-card-transition);
}

.cf-sticky-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.cf-sticky-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
}

.cf-sticky-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: auto;
}

.cf-sticky-meta strong {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.3;
  color: var(--hs-heading);
  white-space: nowrap;
}

.cf-sticky-meta span {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--hs-muted);
  white-space: nowrap;
}

.cf-sticky-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

body:has(.cookie-notice.is-visible) .cf-sticky-cta {
  bottom: 108px;
}

@media (max-width: 575.98px) {
  .cf-sticky-inner {
    gap: 10px;
  }

  .cf-sticky-meta span {
    display: none;
  }

  .cf-sticky-actions .btn {
    padding-inline: 16px;
  }

  .cf-sticky-actions .btn-outline {
    display: none;
  }

  body:has(.cookie-notice.is-visible) .cf-sticky-cta {
    bottom: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-sticky-cta {
    transition: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cf-sticky-actions .btn-sm {
    min-height: 44px;
  }
}
