/* ===================================
   HOMEPAGE IMPROVEMENTS
   New sections for homepage redesign
   Follows CLAUDE.md: No shadows, #000 dark, #d1fe17 accents
   =================================== */

/* ===================================
   2. HERO FEATURES SECTION
   Large, benefit-driven features with split layout
   =================================== */

#hero-features {
  padding: 5rem 2rem;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 3rem;
}

.hero-feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Alternating layout */
.hero-feature-item.feature-layout-left {
  grid-template-areas: "content visual";
}

.hero-feature-item.feature-layout-right {
  grid-template-areas: "visual content";
}

.hero-feature-content {
  grid-area: content;
}

.hero-feature-visual {
  grid-area: visual;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Feature badge */
.feature-badge-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #d1fe17;
  color: #000000;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Feature typography */
.hero-feature-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-feature-description {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hero-feature-benefit {
  font-size: 1rem;
  color: #6b7280;
  font-style: italic;
  line-height: 1.6;
}

/* Feature image */
.hero-feature-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 1.5rem;
  border: 1px solid #e5e7eb;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #hero-features {
    padding: 3rem 1.5rem;
  }

  .hero-features-list {
    gap: 3rem;
  }

  .hero-feature-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-feature-item.feature-layout-left,
  .hero-feature-item.feature-layout-right {
    grid-template-areas: "visual" "content";
  }

  .hero-feature-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .hero-feature-description {
    font-size: 1rem;
  }
}

/* ===================================
   3. WHAT YOU CAN AUTOMATE SECTION
   Split layout: Image + Feature list
   =================================== */

#what-you-can-automate {
  padding: 5rem 2rem;
  background: #ffffff;
}

.automate-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.automate-visual-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.automate-dashboard-image {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 1.5rem;
  border: 1px solid #e5e7eb;
}

.automate-features-side {
  display: flex;
  flex-direction: column;
}

.automate-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.automate-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  background: #f9fafb;
  transition: all 0.2s ease;
}

.automate-feature-row:hover {
  border-color: #d1fe17;
  background: #ffffff;
}

.feature-icon-circle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
}

.feature-text-content {
  flex: 1;
}

.feature-row-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.25rem;
}

.feature-row-description {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #what-you-can-automate {
    padding: 3rem 1.5rem;
  }

  .automate-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .automate-visual-side {
    order: -1;
  }

  .automate-features-list {
    gap: 1rem;
  }

  .automate-feature-row {
    padding: 0.875rem;
  }

  .feature-icon-circle {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .feature-row-title {
    font-size: 1rem;
  }

  .feature-row-description {
    font-size: 0.875rem;
  }
}

/* ===================================
   4. SEE IT IN ACTION SECTION
   Product visual with overlaying callouts
   =================================== */

#see-it-in-action {
  padding: 5rem 2rem;
}

.see-action-visual-wrapper {
  position: relative;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.see-action-main-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 1.5rem;
  border: 1px solid #e5e7eb;
}

.see-action-callouts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  pointer-events: none;
}

.action-callout-card {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 1rem;
  padding: 1.5rem;
  pointer-events: auto;
  align-self: flex-end;
}

.action-callout-card:nth-child(1) {
  align-self: flex-start;
}

.action-callout-card:nth-child(2) {
  align-self: center;
}

.callout-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.5rem;
}

.callout-card-description {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #see-it-in-action {
    padding: 3rem 1.5rem;
  }

  .see-action-callouts {
    position: static;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0;
  }

  .action-callout-card {
    align-self: auto !important;
    padding: 1.25rem;
  }

  .callout-card-title {
    font-size: 0.9375rem;
  }

  .callout-card-description {
    font-size: 0.8125rem;
  }
}

/* ===================================
   5. PERSONAS SECTION (IMPROVED)
   Enhanced persona cards with automation details
   =================================== */

.personas-grid-improved {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.persona-card-improved {
  background: #ffffff;
  border: 2px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.2s ease;
}

.persona-card-improved:hover {
  border-color: #d1fe17;
}

.persona-image-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #f9fafb;
}

.persona-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.persona-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.75rem;
}

.persona-description {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.persona-automation-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.persona-what {
  font-size: 0.9375rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.persona-what strong {
  color: #000000;
  font-weight: 600;
}

.persona-result {
  font-size: 0.9375rem;
  color: #000000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.result-arrow {
  color: #d1fe17;
  font-size: 1.25rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .personas-grid-improved {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .persona-card-improved {
    padding: 1.5rem;
  }

  .persona-image-wrapper {
    height: 180px;
  }

  .persona-title {
    font-size: 1.25rem;
  }

  .persona-description {
    font-size: 0.9375rem;
  }
}

/* ===================================
   6. TESTIMONIALS SECTION
   Grid layout with avatars
   =================================== */

#testimonials {
  padding: 5rem 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: #ffffff;
  border: 2px solid #f3f4f6;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.2s ease;
}

.testimonial-card:hover {
  border-color: #d1fe17;
}

.testimonial-quote-text {
  font-size: 1.125rem;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d1fe17;
}

.testimonial-author-details {
  flex: 1;
}

.testimonial-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.25rem;
}

.testimonial-author-handle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.testimonial-author-role {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #testimonials {
    padding: 3rem 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-quote-text {
    font-size: 1rem;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  .testimonial-author-name {
    font-size: 0.9375rem;
  }

  .testimonial-author-handle,
  .testimonial-author-role {
    font-size: 0.8125rem;
  }
}

/* ===================================
   GENERAL SECTION UTILITIES
   =================================== */

.section {
  width: 100%;
  position: relative;
}

.section-light {
  background: #f9fafb;
}

.section-white {
  background: #ffffff;
}

.section-dark {
  background: #000000;
  color: #ffffff;
}

.container-lg {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-md {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title-center {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #000000;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-dark .section-title-center {
  color: #ffffff;
}

.section-subtitle-center {
  font-size: 1.25rem;
  color: #4b5563;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.section-dark .section-subtitle-center {
  color: #d1d5db;
}

@media (max-width: 768px) {
  .container-lg,
  .container-md {
    padding: 0 1.5rem;
  }

  .section-title-center {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section-subtitle-center {
    font-size: 1rem;
  }
}

