/* Page-specific home styles */
body.page-home {
  background-color: #070a12;
}

body.page-home .app-container {
  max-width: 1500px;
}

body.page-home header {
  background: rgba(13, 16, 25, 0.7);
  border-color: rgba(99, 102, 241, 0.16);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.home-hero-copy {
  padding: 1rem 0;
}

.home-section-kicker {
  color: var(--copper-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.home-hero-copy h1,
.home-section-head h2 {
  font-family: var(--font-title);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.home-hero-copy h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 18ch;
}

.home-lead {
  margin-top: 1.25rem;
  max-width: 54ch;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.7;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.home-cta,
.home-secondary {
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  font-size: 0.96rem;
}

.home-hero-visual {
  position: relative;
}

.home-hero-showcase {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(18, 22, 35, 0.60);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.50), 0 0 30px rgba(99, 102, 241, 0.12);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.home-hero-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.60), 0 0 40px rgba(99, 102, 241, 0.22);
}

.home-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1.833 / 1;
  max-height: 400px;
}

.home-section {
  margin-top: 5rem;
}

.home-section-head {
  margin-bottom: 2.5rem;
}

.home-section-head.text-center {
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.home-section-head h2 {
  margin-top: 0.6rem;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
}

.home-section-lead {
  margin-top: 0.9rem;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.65;
}

.home-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 3rem;
}

.home-showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.15fr);
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  background: rgba(18, 22, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.home-showcase-item:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-2px);
}

.home-showcase-item.reverse {
  grid-template-columns: minmax(360px, 1.15fr) minmax(0, 1fr);
}

.home-showcase-item.reverse .home-showcase-content {
  order: 2;
}

.home-showcase-item.reverse .home-showcase-media {
  order: 1;
}

.home-showcase-content h3 {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.home-showcase-media {
  position: relative;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.home-step {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(30, 33, 50, 0.35) 0%, rgba(18, 22, 35, 0.50) 100%);
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.home-step:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.30);
}

.home-step span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.home-step strong {
  display: block;
  font-size: 1.15rem;
  font-family: var(--font-title);
  color: var(--text-primary);
}

.home-step p {
  margin-top: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width:1100px) {
.home-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

.home-hero-copy h1 {
    max-width: 20ch;
  }

.home-showcase-item,
.home-showcase-item.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

.home-showcase-item.reverse .home-showcase-content {
    order: 1;
  }

.home-showcase-item.reverse .home-showcase-media {
    order: 2;
  }
}

@media (max-width:900px) {
.home-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width:760px) {
.home-showcase-item {
    padding: 1.5rem;
    border-radius: 20px;
  }
}

[data-theme="light"] body.page-home {
  background-color: var(--bg-base);
}

[data-theme="light"] body.page-home header {
  background: rgba(245, 237, 218, 0.72);
  border-color: rgba(184, 146, 80, 0.22);
}

[data-theme="light"] .home-hero-copy h1 {
  background: linear-gradient(135deg, #1e293b 0%, #334155 60%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .home-hero-showcase {
  border-color: rgba(184, 146, 80, 0.22);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 50px rgba(120, 90, 50, 0.15);
}

[data-theme="light"] .home-showcase-item {
  background: rgba(255, 255, 255, 0.60);
  border-color: rgba(184, 146, 80, 0.20);
  box-shadow: 0 14px 40px rgba(120, 90, 50, 0.08);
}

[data-theme="light"] .home-showcase-item:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

[data-theme="light"] .home-step {
  border: 1px solid rgba(184, 146, 80, 0.20);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 0 8px 25px rgba(120, 90, 50, 0.06);
}

[data-theme="light"] .home-step:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

[data-theme="light"] .home-step span {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
  color: #4f46e5;
}
