/*
 * SEOFreelance Hub V2 Cards
 * Premium reusable card variants.
 */

.sf-v2 .sf-card {
  background: #ffffff;
  border: 1px solid var(--sf-line);
  border-radius: 14px;
  min-width: 0;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sf-v2 .sf-card a {
  text-decoration: none;
}

.sf-v2 .sf-card h3,
.sf-v2 .sf-card h4 {
  margin-bottom: 12px;
}

.sf-v2 .sf-card p {
  font-size: 15px;
  line-height: 1.72;
}

.sf-v2 .sf-card:has(a):hover {
  border-color: rgba(13, 86, 217, 0.42);
  box-shadow: 0 22px 50px rgba(13, 31, 61, 0.11);
  transform: translateY(-4px);
}

.sf-v2 .sf-card:focus-within {
  border-color: rgba(13, 86, 217, 0.46);
  box-shadow: 0 0 0 3px rgba(13, 86, 217, 0.12), 0 22px 50px rgba(13, 31, 61, 0.11);
}

.sf-v2 .sf-card:has(a):hover h3,
.sf-v2 .sf-card:has(a):hover h3 a {
  color: var(--sf-blue);
}

.sf-v2 .sf-icon-badge {
  align-items: center;
  background: #edf4ff;
  border-radius: 12px;
  color: var(--sf-blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 22px;
  margin-top: 0;
  min-width: 42px;
  padding: 0 10px;
}

.sf-v2 .sf-icon-badge i {
  font-size: 16px;
  line-height: 1;
}

.sf-v2 .sf-section-dark .sf-icon-badge {
  background: rgba(240, 173, 78, 0.16);
  color: #ffe1ae;
}

.sf-v2 .sf-service-card {
  display: flex;
  flex-direction: column;
  min-height: 246px;
}

.sf-v2 .sf-card-action {
  color: var(--sf-blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 18px;
  text-decoration: none;
}

.sf-v2 .sf-card-action a {
  color: inherit;
  text-decoration: none;
}

.sf-v2 .sf-card-action:hover,
.sf-v2 .sf-card-action:focus {
  color: var(--sf-blue-dark);
  text-decoration: none;
}

.sf-v2 .sf-stat-card {
  text-align: center;
}

.sf-v2 .sf-stat-card strong {
  color: var(--sf-blue);
  display: block;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.sf-v2 .sf-framework-card,
.sf-v2 .sf-ai-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fbff;
}

.sf-v2 .sf-framework-card p,
.sf-v2 .sf-ai-card p {
  color: #cbd8f2;
}

.sf-v2 .sf-framework-card:hover,
.sf-v2 .sf-ai-card:hover {
  border-color: rgba(240, 173, 78, 0.58);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  transform: translateY(-4px);
}

.sf-v2 .sf-audience-card {
  border-top: 4px solid rgba(13, 86, 217, 0.72);
}

.sf-v2 .sf-rich-audience-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sf-v2 .sf-rich-audience-card .sf-card-action {
  margin-top: auto;
  padding-top: 20px;
}

.sf-v2 .sf-card-action-muted {
  color: #64748b;
  cursor: default;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.sf-v2 .sf-resource-feature {
  background:
    linear-gradient(135deg, rgba(13, 86, 217, 0.11), rgba(240, 173, 78, 0.10)),
    #ffffff;
  min-height: 100%;
}

.sf-v2 .sf-insight-feature {
  grid-column: span 2;
  min-height: 310px;
}

.sf-v2 .sf-card-meta {
  color: var(--sf-blue);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  margin-top: 0;
  text-transform: uppercase;
}

.sf-v2 .sf-proof-card strong {
  color: var(--sf-accent);
  display: block;
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.sf-v2 .sf-placeholder-card {
  background: rgba(255, 255, 255, 0.06);
  border-style: dashed;
}

.sf-v2 .sf-placeholder-label {
  background: rgba(240, 173, 78, 0.16);
  border: 1px solid rgba(240, 173, 78, 0.32);
  border-radius: 999px;
  color: #ffe1ae;
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 16px;
  margin-top: 0;
  padding: 6px 10px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .sf-v2 .sf-insight-feature {
    grid-column: span 1;
  }
}
