/* === PRODUCTS CSS === */

/* PAGE HERO - shared */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) 5vw 5rem;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.ph-bg { position: absolute; inset: 0; z-index: 0; }

.ph-blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%;
  filter: blur(50px);
  opacity: 0.45;
}

.b1 {
  width: 40vw; height: 40vw;
  top: -10%; right: -5%;
  background: radial-gradient(ellipse, #c8d5bc 0%, transparent 70%);
  animation: morphBlob 12s ease-in-out infinite;
}

.b2 {
  width: 30vw; height: 30vw;
  bottom: -10%; left: 10%;
  background: radial-gradient(ellipse, #ddd5c0 0%, transparent 70%);
  animation: morphBlob 10s ease-in-out infinite reverse;
}

@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%; }
  50%       { border-radius: 40% 70% 30% 60% / 70% 30% 60% 40%; }
}

.ph-content {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.3s forwards;
}

.ph-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  margin: 0.5rem 0 1rem;
  color: var(--espresso);
}

.ph-content h1 em {
  font-style: italic;
  color: var(--emerald);
}

.ph-content p {
  font-size: 1rem;
  color: rgba(63, 42, 28, 0.7);
  max-width: 440px;
  line-height: 1.7;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* PRODUCTS SHOWCASE */
.products-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 6rem 5vw;
  background: var(--cream);
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border: 1px solid rgba(63, 42, 28, 0.08);
  border-radius: 6px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 16px rgba(63, 42, 28, 0.06);
  opacity: 0;
  transform: translateY(36px);
}

.product-card[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(63, 42, 28, 0.1);
  border-color: rgba(18, 88, 66, 0.15);
}

.product-badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 600;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--espresso);
  line-height: 1.1;
}

.product-description {
  font-size: 0.95rem;
  color: rgba(63, 42, 28, 0.7);
  line-height: 1.7;
  flex-grow: 1;
}

.product-cta {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.product-link {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.product-link:hover {
  gap: 0.8rem;
  color: var(--emerald-lt);
}

.product-link::after {
  content: '→';
  transition: transform 0.2s;
}

.product-link:hover::after {
  transform: translateX(4px);
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  background: linear-gradient(135deg, rgba(127, 140, 67, 0.04) 0%, rgba(18, 88, 66, 0.04) 100%);
  border-radius: 4px;
  margin-top: 1rem;
}

/* Aria Visual - Wave */
.aria-visual {
  position: relative;
  overflow: hidden;
}

.visual-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  height: 100%;
}

.wave-line {
  width: 3px;
  background: var(--emerald);
  border-radius: 2px;
  animation: wave 0.8s ease-in-out infinite;
}

.wave-line:nth-child(1) {
  height: 40%;
  animation-delay: 0s;
}

.wave-line:nth-child(2) {
  height: 80%;
  animation-delay: 0.2s;
}

.wave-line:nth-child(3) {
  height: 50%;
  animation-delay: 0.4s;
}

@keyframes wave {
  0%, 100% { height: 40%; }
  50% { height: 100%; }
}

.call-icon {
  position: absolute;
  opacity: 0.8;
  color: var(--emerald);
}

/* Outreach Visual - Email Stack */
.email-stack {
  display: flex;
  flex-direction: column;
  gap: -8px;
  width: 100%;
  padding: 0 2rem;
}

.email-card {
  background: white;
  border: 1px solid rgba(18, 88, 66, 0.15);
  border-radius: 3px;
  padding: 0.8rem;
  transform: translateX(0);
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(18, 88, 66, 0.08);
  margin-bottom: -12px;
}

.email-card:nth-child(1) {
  animation: slideIn1 0.6s ease 0.4s forwards;
  opacity: 0;
}

.email-card:nth-child(2) {
  animation: slideIn2 0.6s ease 0.6s forwards;
  opacity: 0;
  z-index: 2;
}

.email-card:nth-child(3) {
  animation: slideIn3 0.6s ease 0.8s forwards;
  opacity: 0;
  z-index: 3;
}

@keyframes slideIn1 { to { opacity: 1; transform: translateX(0); } }
@keyframes slideIn2 { to { opacity: 1; transform: translateX(8px); } }
@keyframes slideIn3 { to { opacity: 1; transform: translateX(16px); } }

.email-line {
  height: 3px;
  background: rgba(18, 88, 66, 0.2);
  border-radius: 2px;
  margin-bottom: 0.4rem;
}

.email-line.short {
  width: 60%;
}

.email-line:last-child {
  margin-bottom: 0;
}

/* Audit Visual - Chart */
.audit-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding: 2rem 1.5rem;
}

.chart-bar {
  width: 20px;
  background: linear-gradient(180deg, var(--emerald) 0%, var(--pistachio) 100%);
  border-radius: 3px;
  animation: growBar 0.8s ease-out;
  box-shadow: 0 2px 8px rgba(18, 88, 66, 0.2);
}

@keyframes growBar {
  from {
    height: 0 !important;
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.chart-bar:nth-child(1) { animation-delay: 0.2s; }
.chart-bar:nth-child(2) { animation-delay: 0.35s; }
.chart-bar:nth-child(3) { animation-delay: 0.5s; }
.chart-bar:nth-child(4) { animation-delay: 0.65s; }

/* PRODUCTS FEATURES */
.products-features {
  padding: 6rem 5vw;
  background: white;
}

.features-header {
  margin-bottom: 4rem;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.3s forwards;
}

.features-header .section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  display: block;
  margin-bottom: 1rem;
}

.features-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--espresso);
  line-height: 1.1;
}

.features-header h2 em {
  font-style: italic;
  color: var(--emerald);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  padding: 2rem;
  background: var(--cream);
  border-radius: 4px;
  border: 1px solid rgba(18, 88, 66, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(36px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--espresso);
  margin: 0;
}

.feature-item p {
  font-size: 0.9rem;
  color: rgba(63, 42, 28, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* CTA BANNER */
.cta-banner {
  padding: 6rem 5vw;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.cta-watercolor {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 137, 170, 0.15), transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(60px);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.3s forwards;
}

.cta-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--espresso);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(63, 42, 28, 0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-content .btn-primary {
  background: var(--bone);
  color: var(--espresso);
  border-color: var(--bone);
}

.cta-content .btn-primary:hover {
  background: transparent;
  color: var(--bone);
}

.btn-primary {
  background: var(--emerald);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 2px;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  border: 2px solid var(--emerald);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 12px rgba(18, 88, 66, 0.25);
}

.btn-primary:hover {
  background: var(--emerald-lt);
  border-color: var(--emerald-lt);
  box-shadow: 0 6px 16px rgba(18, 88, 66, 0.35);
}

.btn-primary.large {
  padding: 1rem 2.6rem;
  font-size: 0.88rem;
}

/* FOOTER */
.footer {
  background: var(--espresso);
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(235,220,200,.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--warm-bone);
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-size: 0.83rem;
  color: var(--warm-bone);
  opacity: 0.4;
  margin-top: 0.7rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pistachio);
  margin-bottom: 0.3rem;
}

.footer-col a {
  font-size: 0.84rem;
  color: var(--warm-bone);
  opacity: 0.42;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 0.9; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--warm-bone);
  opacity: 0.3;
  border-top: 1px solid rgba(235,220,200,0.08);
  padding-top: 1.5rem;
  font-family: var(--font-mono);
}

/* SECTION LABEL */
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .products-showcase {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
  }

  .page-hero {
    padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem;
    min-height: auto;
  }

  .cta-banner {
    padding: 4rem 1.5rem;
    min-height: 300px;
  }

  .products-features {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .product-card {
    padding: 1.5rem;
  }

  .product-visual {
    height: 120px;
  }

  .features-grid {
    gap: 1.5rem;
  }

  .feature-item {
    padding: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}
