/* LAYOUT J — Card Dashboard for Software Testing */

.layout-j-hero {
  padding: 8rem 0 10rem;
  background: var(--color-purple);
  color: var(--color-white);
  text-align: center;
  position: relative;
}

.layout-j-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.layout-j-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

.j-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: -6rem;
  position: relative;
  z-index: 10;
}

.j-card {
  background: var(--color-white);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--color-mint);
  text-align: center;
  transition: transform 0.3s ease;
}

.j-card:hover {
  transform: translateY(-10px);
}

.j-card-icon {
  width: 64px;
  height: 64px;
  background: var(--color-mint-light);
  color: var(--color-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.j-card-icon svg {
  width: 32px;
  height: 32px;
}

.j-photo-section {
  padding: 6rem 0;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.j-photo-wrapper {
  flex: 1;
  position: relative;
}

.j-photo-wrapper img {
  border-radius: 1rem;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.j-photo-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--surface-soft);
  border-radius: 1rem;
  z-index: -1;
}

.j-photo-content {
  flex: 1;
}

.j-cta-banner {
  background: var(--color-gray-900);
  border-radius: 1rem;
  padding: 4rem;
  text-align: center;
  color: white;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10 10h80v80H10z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
  background-size: 50px 50px;
}

@media (max-width: 900px) {
  .j-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .j-photo-section {
    flex-direction: column;
  }
}
