.certs-hero {
  padding: 12rem 0 6rem;
  position: relative;
  z-index: 10;
}

.certs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(79, 195, 247, 0.06), transparent);
  pointer-events: none;
}

.certs-section {
  padding: 4rem 0 8rem;
  position: relative;
  z-index: 10;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 1rem;
}

.cert-card {
  background: var(--deep);
  padding: 2.8rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.cert-card:hover {
  background: var(--midnight);
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.cert-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s, box-shadow 0.4s;
  flex-shrink: 0;
}

.cert-card:hover .cert-icon {
  border-color: var(--border-hi);
  box-shadow: 0 0 20px rgba(79, 195, 247, 0.1);
}

.cert-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ice);
  stroke-width: 1.5;
}

.cert-badge {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 2px;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(79, 195, 247, 0.3);
  color: var(--ice);
  animation: cert-float 3s ease-in-out infinite;
}

@keyframes cert-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.cert-title {
  font-family: var(--font-hud);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.3;
  transition: color 0.3s;
}

.cert-card:hover .cert-title {
  color: var(--ice);
}

.cert-actions {
  display: flex;
  gap: 0.8rem;
}

.cert-btn {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 2px;
  padding: 0.75rem;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.cert-btn:hover {
  border-color: var(--ice);
  color: var(--ice);
  background: rgba(79, 195, 247, 0.05);
}

.cert-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.particle-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s;
}

.cert-card:hover .particle-bg {
  opacity: 1;
}

.particle-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ice);
  opacity: 0;
}

.cert-card:hover .particle-dot:nth-child(1) {
  top: 20%;
  left: 20%;
  animation: particle-rise 2s ease-in-out infinite;
}

.cert-card:hover .particle-dot:nth-child(2) {
  top: 60%;
  left: 80%;
  animation: particle-rise 2.5s ease-in-out infinite 0.5s;
}

.cert-card:hover .particle-dot:nth-child(3) {
  top: 80%;
  left: 40%;
  animation: particle-rise 3s ease-in-out infinite 1s;
}

@keyframes particle-rise {
  0%, 100% { transform: translateY(0); opacity: 0; }
  50% { transform: translateY(-20px); opacity: 0.6; }
}

@media (max-width: 768px) {
  .certs-grid { grid-template-columns: 1fr; }
  .certs-hero { padding: 9rem 0 4rem; }
}