/* Task page styling */

/* Task Page Specific Overrides */

/* Feature Hero Action & Badges */
.feature-hero-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 25.6px;
  z-index: 2;
}

.feature-tour-btn {
  display: inline-flex;
  align-items: center;
  gap: 10.4px;
  padding: 13.6px 28.8px;
  background-color: var(--brand);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 15.2px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(93, 85, 249, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-tour-btn:hover {
  background-color: var(--brand-hover);
  box-shadow: 0 3px 8px rgba(93, 85, 249, 0.16);
  color: #ffffff;
}

.feature-tour-btn i {
  font-size: 18.4px;
}

.feature-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9.6px;
}

.feature-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 7.2px;
  padding: 6.4px 14.4px;
  background: rgba(93, 85, 249, 0.05);
  border: 1px solid rgba(93, 85, 249, 0.15);
  border-radius: 8px;
  font-size: 13.2px;
  font-weight: 600;
  color: var(--brand);
}

/* Feature Sections System (Aligned with Site Navbar & Container Margins) */
.feature-section-wrapper {
  width: 100%;
  padding: 80px 0;
  border: none;
}

#feature-overview {
  background: transparent;
  padding-top: 32px;
}

.feature-section-wrapper.alt-bg {
  background-color: #f9f9ff;
}

.feature-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}

.feature-header-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* 2-Column Feature Layout */
.feature-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.feature-grid-2col.reverse {
  grid-template-columns: 1.15fr 1fr;
}

.feature-grid-2col.reverse .feature-text-content {
  order: 2;
}

.feature-grid-2col.reverse .feature-media-content {
  order: 1;
}

.feature-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6.4px;
  padding: 5.6px 13.6px;
  background-color: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.72px;
  margin-bottom: 16px;
  border: 1px solid rgba(93, 85, 249, 0.15);
}

.feature-section-title {
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.64px;
  color: var(--text-main);
  margin: 0 0 16px;
}

.feature-section-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 24px;
}

.feature-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28.8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.2px;
  color: var(--text-main);
  line-height: 1.5;
}

.feature-bullet-item i {
  width: 28.8px;
  height: 28.8px;
  min-width: 28.8px;
  min-height: 28.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-light-bg);
  color: var(--brand);
  font-size: 17.6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0;
}

.feature-image-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-image-card:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  border-color: rgba(93, 85, 249, 0.25);
}

.feature-img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-img-caption {
  display: none;
}

.multi-image-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Feature Cards Grid (2 Columns) */
.home-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

/* Asymmetric Bento Grid (3 Rows x 2 Columns) */
.bento-features-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 28.8px;
  margin-top: 40px;
}

.bento-card-span-3 {
  grid-column: span 3;
}

.bento-card-span-4 {
  grid-column: span 4;
}

.home-feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 28.8px 0 0 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.home-feature-card:hover {
  border-color: rgba(93, 85, 249, 0.35);
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.06);
  background: #f4f6fe;
}

.home-feature-card-text {
  padding: 0 25.6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.home-feature-card .feature-image-card {
  width: 95%;
  background: linear-gradient(
    135deg,
    rgba(228, 232, 255, 0.8) 0%,
    rgba(241, 245, 249, 0.9) 100%
  );
  border: 1px solid rgba(93, 85, 249, 0.18);
  padding: 20px 16px;
  box-shadow: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.home-feature-card:hover .feature-image-card {
  border-color: rgba(93, 85, 249, 0.3);
}

/* Section 4 (Workspaces & Subtasks): Full-Width Edge-to-Edge Container */
.home-features-grid .home-feature-card .feature-image-card {
  width: 100%;
  align-self: stretch;
  border-radius: 0 0 20px 20px;
  border-left: none;
  border-right: none;
  border-bottom: none;
  padding: 20px;
}

/* Section 5 (Bento Grid): Alternating Left/Right Corner-Touching */
.bento-features-grid .home-feature-card:nth-child(odd) .feature-image-card {
  align-self: flex-start;
  border-radius: 0 14px 0 20px;
  border-left: none;
  border-bottom: none;
}

.bento-features-grid .home-feature-card:nth-child(even) .feature-image-card {
  align-self: flex-end;
  border-radius: 14px 0 20px 0;
  border-right: none;
  border-bottom: none;
}

.home-feature-card .feature-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-feature-card:hover .feature-img {
  transform: scale(1.02);
}

.home-feature-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6.4px;
  font-size: 11.52px;
  font-weight: 700;
  color: var(--brand, #5d55f9);
  background: rgba(93, 85, 249, 0.08);
  border: 1px solid rgba(93, 85, 249, 0.2);
  padding: 4px 10.4px;
  border-radius: 20px;
  width: fit-content;
  letter-spacing: 0.4608px;
  text-transform: uppercase;
}

.home-feature-card-title {
  font-size: 21.6px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0;
  letter-spacing: -0.324px;
}

.home-feature-card-desc {
  font-size: 15.2px;
  color: var(--text-muted, #475569);
  line-height: 1.6;
  margin: 0;
}

/* Feature 03: 3-Step Interactive Layout */
.f3-showcase-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.f3-step-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 96px;
}

.f3-step-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.f3-step-btn:hover:not(.active) {
  border-color: rgba(93, 85, 249, 0.3);
  background: var(--brand-light);
}

.f3-step-btn.active {
  background: var(--brand-light);
  border-color: var(--brand);
}

.f3-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 12.8px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.f3-step-btn.active .f3-step-num {
  background: var(--brand);
  color: #ffffff;
}

.f3-step-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.f3-step-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

/* Right Side Display: All 3 Steps Vertical Stack */
.f3-display-area {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.f3-step-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-margin-top: 120px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.f3-step-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.f3-data-content {
  display: flex;
  flex-direction: column;
  gap: 9.6px;
}

.f3-data-badge {
  display: inline-flex;
  align-items: center;
  gap: 6.4px;
  padding: 5.6px 12.8px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  width: fit-content;
}

.f3-data-title {
  font-size: 22.4px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.f3-data-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.step-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 700;
  font-size: 13.6px;
  border-radius: 8px;
  border: 1px solid rgba(93, 85, 249, 0.15);
}

.step-card-title {
  font-size: 16.8px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.step-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* CTA Section (Soft Light Blue Tint Theme Card) */
.cta-section {
  width: 100%;
  padding: 48px 0 80px;
}

.cta-banner {
  width: 100%;
  padding: 48px 56px;
  border-radius: 22px;
  background: #e4e8ff;
  border: 1px solid rgba(93, 85, 249, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(93, 85, 249, 0.06);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(93, 85, 249, 0.08) 0%, rgba(93, 85, 249, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 768px;
}

.cta-content h2 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(21.6px, 2.2vw, 26.4px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6.4px;
  color: var(--text-main, #0f0f1a);
}

.cta-content p {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-muted, #4b4b6b);
  font-size: 15.2px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.cta-button {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14.4px 25.6px;
  border-radius: 9px;
  color: #ffffff !important;
  background: var(--brand, #5d55f9);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15.2px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(93, 85, 249, 0.22);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.cta-button:hover {
  background: var(--brand-hover, #3b31c8);
  box-shadow: 0 6px 18px rgba(59, 49, 200, 0.32);
  color: #ffffff !important;
}

/* ==========================================================================
   Responsive Container Alignments (Matching Site Standard)
   ========================================================================== */

@media (max-width: 1200px) {
  .about-hero-content,
  .feature-container,
  .cta-banner-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 992px) {
  .about-hero-content {
    padding-top: 80px;
    padding-bottom: 56px;
    gap: 56px;
  }

  .about-hero-content .hero-subheading {
    max-width: 100%;
  }

  .about-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-grid-2col,
  .feature-grid-2col.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-grid-2col.reverse .feature-text-content,
  .feature-grid-2col.reverse .feature-media-content {
    order: initial;
  }

  .home-features-grid,
  .bento-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .bento-card-span-3,
  .bento-card-span-4 {
    grid-column: span 1;
  }

  .f3-showcase-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .f3-step-menu {
    position: static;
    flex-direction: row;
    gap: 12px;
  }

  .f3-step-btn {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
  }

  .cta-banner {
    padding: 40px 35.2px;
  }
}

@media (max-width: 768px) {
  .f3-step-menu {
    position: static;
    flex-direction: column;
    gap: 10px;
  }

  .f3-step-btn {
    width: 100%;
  }

  .home-features-grid,
  .bento-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 668px) {
  .about-hero-content {
    padding: 64px 24px 40px;
    gap: 40px;
  }

  .about-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-container,
  .cta-banner-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .feature-section-wrapper {
    padding: 56px 0;
  }

  .cta-banner-section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .about-hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-container,
  .cta-banner-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-section-wrapper {
    padding: 40px 0;
  }
}
