/* ==========================================================================
   CARDS COMPONENT STYLES
   ========================================================================== */

.card {
  background-color: var(--color-background);
  border-radius: var(--radius-card);
  padding: var(--space-item);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(210, 210, 217, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Feature/Problem Card */
.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-container);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-gutter);
}

.card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-on-background);
  margin-bottom: var(--space-unit);
}

.card-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-secondary-text);
}

/* Step Card (How It Works) */
.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-gutter) 0;
  z-index: 10;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--color-background);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-gutter);
  transition: all var(--transition-normal);
}

.step-card:hover .step-number {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-button-hover);
}

.step-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-on-background);
  margin-bottom: var(--space-unit);
}

.step-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-secondary-text);
}

/* Security Card (Trust by Design) */
.security-card {
  background-color: var(--color-background);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(210, 210, 217, 0.4);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.security-card .material-symbols-outlined {
  color: var(--color-primary);
  font-size: 28px;
}

.security-info {
  display: flex;
  flex-direction: column;
}

.security-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-on-background);
  margin-bottom: 4px;
}

.security-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-secondary-text);
}

/* News/Article Card */
.news-card {
  background-color: var(--color-background);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(210, 210, 217, 0.4);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--color-surface);
}

.news-card-body {
  padding: var(--space-gutter);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-date {
  font-size: 12px;
  color: var(--color-secondary-text);
  margin-bottom: var(--space-unit);
  text-transform: uppercase;
  font-weight: 500;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-on-background);
  margin-bottom: var(--space-unit);
}

.news-card-excerpt {
  font-size: 14px;
  color: var(--color-secondary-text);
  line-height: 1.5;
  margin-bottom: var(--space-gutter);
  flex-grow: 1;
}
