/* css/sections.css — homepage content sections: sound-familiar, product-foundation/framework, drew-bio, what-you-get intro, offer summary, product-intelligence/features, feature/content sections, CTA, legal */

/* Sound Familiar Section */
.sound-familiar {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.sound-familiar-content {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  grid-template-areas: "text" "grid";
}

.sound-familiar-text {
  text-align: center;
  grid-area: text;
}

.sound-familiar-text p {
  color: var(--color-text-secondary);
  margin: var(--space-lg) 0;
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  grid-area: grid;
}

.problem-card {
  text-align: left;
  padding: var(--space-lg);
}

.problem-icon {
  margin-bottom: var(--space-lg);
}

.problem-icon img {
  width: 64px;
  height: 64px;
  background-color: transparent;
  border-radius: 0;
}

.section-cta {
  margin-top: var(--space-xl);
}

/* Product Foundation Section */
.product-foundation {
  background-color: var(--color-text);
  color: white;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.foundation-content {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  text-align: center;
}

.foundation-heading h2 {
  color: white;
}

.framework-section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.framework-header h2 {
  margin-bottom: var(--space-xl);
}

.framework-subtitle {
  color: var(--color-text-secondary);
  max-width: 78ch;
  margin: 0 auto var(--space-2xl);
}

.framework-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.framework-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.framework-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  background-color: #fff;
  /* fallback */
  color: #fff;
  border-radius: 0.5rem;
}

.framework-card.tall {
  min-height: 440px;
}

.framework-card.short {
  min-height: 140px;
}

.framework-card .card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.framework-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 81, 61, 0.90);
  border-radius: 0.5rem;
  pointer-events: none;
}

.framework-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
}

/* Ensure all content is above the overlay */
.framework-card>* {
  position: relative;
  z-index: 1;
}

.foundation-details {
  text-align: left;
}

.foundation-details .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
}

.foundation-questions {
  list-style: disc;
  padding-left: var(--space-lg);
  margin: 0;
}

.framework-philosophy {
  margin: var(--space-md) 0;
  font-weight: var(--font-weight-medium);
}

.framework-intro {
  margin: var(--space-lg) 0 var(--space-2xl);
  font-weight: var(--font-weight-medium);
}

.card-explanation {
  position: relative;
  z-index: 1;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-sm);
  font-style: italic;
}

.framework-footer {
  margin-top: var(--space-3xl);
}

.framework-conclusion {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  max-width: 60ch;
  margin: 0 auto;
}

.foundation-questions li {
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
}

/* Drew Bio Section */
.drew-bio {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  background-color: var(--color-background-subtle, #f8f9fa);
}

.bio-content {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.bio-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

.bio-text h2 {
  margin-bottom: var(--space-lg);
}

.bio-lead {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.bio-insight {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.bio-connection {
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

@media (min-width: 900px) {
  .bio-content {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
  }

  .bio-image img {
    margin: 0;
  }
}

/* What You Get Section */
.wyg-intro {
  margin: var(--space-md) 0 var(--space-lg);
  color: var(--color-text-secondary);
}

.deliverable-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.deliverable-step {
  margin-bottom: var(--space-lg);
}

.step-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.step-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-items li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
}

.step-items strong {
  color: var(--color-text);
}

.wyg-conclusion {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
}

/* Offer Summary Section */
.offer-limitation {
  margin: var(--space-lg) 0;
  margin-left: calc(64px + var(--space-md));
  padding: var(--space-md);
  background-color: var(--color-background-subtle, #f8f9fa);
  border-left: 3px solid var(--color-accent, #007acc);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  font-style: italic;
}

@media (max-width: 600px) {
  .offer-limitation {
    margin-left: 0;
    padding: var(--space-lg) var(--space-md);
  }
}

.hero .credibility-line {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-normal);
  margin: var(--space-md) 0 var(--space-lg);
}

.hero h1 {
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 49ch;
  margin-top: var(--space-lg);
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle-bold {
  margin-top: var(--space-2xl);
  font-weight: var(--font-weight-bold);
}

.hero .subtitle-bold + .subtitle {
  margin-top: var(--space-sm);
}

.cta-note {
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.hero-image-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: var(--space-2xl);
  margin-bottom: 0;
}

.hero-image-wrapper img {
  background-color: #f0f0f0;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Product Intelligence Section */
.product-intelligence {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.product-intelligence--wide .container {
  max-width: 1600px;
}

.pi-header .eyebrow {
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
}

.social-proof-section .eyebrow {
  font-family: var(--font-family-sans);
  font-weight: 100;
}

.pi-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.pi-header h2 {
  margin-bottom: 0;
}

.pi-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.features-grid {
  display: grid;
  gap: var(--space-2xl);
}

.features-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.features-summary.features-summary-4 {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: var(--space-lg);
}

.features-summary--arrow .feature-summary-item {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  gap: 0;
}

.feature-summary-item h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.feature-summary-item p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin: 0;
  line-height: 1.5;
}

.feature-summary-image-wrap {
  margin-bottom: var(--space-lg);
}

.feature-summary-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

.features-summary--arrow {
  position: relative;
}

.features-summary--arrow .feature-summary-image-wrap {
  position: relative;
  z-index: 1;
}

.features-summary--arrow .feature-summary-item h3,
.features-summary--arrow .feature-summary-item p {
  position: relative;
  z-index: 1;
}

.features-summary--arrow::before {
  content: '';
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10%;
  width: 120%;
  background: url('/assets/images/idea-to-feat/arrow.png') center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 1200px) {
  .features-summary--arrow::before {
    display: block;
  }
}

.app-view-container {
  width: 100%;
  margin-top: var(--space-2xl);
}

.app-view-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* Feature Sections */
.feature-section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  background-color: var(--color-background);
}

.feature-section-alt {
  background-color: var(--color-background-subtle, #f8f9fa);
}

/* Content Sections */
.content-section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  background-color: var(--color-background);
}

.content-section-alt {
  background-color: var(--color-background-subtle, #f8f9fa);
}

.content-section h2 {
  margin-bottom: var(--space-xl);
}

.content-section .button-group {
  margin-top: var(--space-xl);
}

.content-grid {
  max-width: 800px;
  margin: 0 auto;
}

.content-text {
  line-height: var(--line-height-relaxed);
  text-align: center;
}

.content-text p {
  margin-bottom: var(--space-md);
}

.content-text p:last-child {
  margin-bottom: 0;
}

.feature-section-content {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.feature-section-image {
  width: 100%;
}

.feature-section-image img,
.feature-section-image video {
  width: 75%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.feature-section:hover .feature-section-image img,
.feature-section:hover .feature-section-image video,
.feature-section:focus-within .feature-section-image img,
.feature-section:focus-within .feature-section-image video {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.feature-section-text h2 {
  margin-bottom: var(--space-lg);
}

.feature-section-text p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
}

.feature-section-text p:last-child {
  margin-bottom: 0;
}

.feature-section-text .button-group {
  margin-top: var(--space-xl);
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .feature-section-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

@media (max-width: 899px) {
  .feature-section-image img,
  .feature-section-image video {
    width: 100%;
  }
  .feature-section-image {
    order: -1;
  }
}

/* CTA Section */
.cta-section {
  background-color: var(--color-cta-background);
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.cta-section h2 {
  max-width: 35ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-secondary-light);
}

.cta-section p {
  color: var(--color-secondary-light);
  max-width: 65ch;
  margin: var(--space-lg) auto var(--space-xl);
}

/* Legal Content */
.legal-content {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  background-color: var(--color-background);
}

.legal-content h1 {
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.legal-content h2 {
  color: var(--color-text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.legal-content h3 {
  color: var(--color-text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  max-width: 75ch;
  line-height: 1.6;
}

.legal-content ul {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.legal-content strong {
  color: var(--color-text-primary);
}

