body {
  background-color: #f7f5f3;
}

main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
}

.container {
  width: 1060px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-left-style: solid;
  border-right-style: solid;
  border-color: #e0dddb;
  padding-bottom: 49px;
}

nav {
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e0dddb;
}

.nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.logo {
  font-size: 20px;
  line-height: 20px;
  font-weight: 500;
  color: #2f3037;
  font-family: "Inter", sans-serif;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  list-style: none;
}

.menu ul li a {
  font-size: 13px;
  line-height: 14px;
  font-weight: 500;
  color: #312d2bcc;
  font-family: "Inter", sans-serif;
  text-decoration: none;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.login {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.login a {
  padding: 6px 14px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: #37322f;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  box-shadow: 0px 1px 2px rgba(55, 50, 47, 0.12);
  border-radius: 9999px;
  background-color: #fff;
}

.cta-small {
  padding: 6px 14px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: #fff;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  box-shadow: 0px 1px 2px rgba(55, 50, 47, 0.12);
  border-radius: 9999px;
  background-color: #37322f;
}

.hero {
  padding-top: 141px;
  margin: 0 auto;
}

.title {
  font-size: 80px;
  line-height: 96px;
  width: 748.71px;
  font-family: "Instrument Serif", serif;
  font-weight: 500;
  color: #37322f;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 32px;
}

.subtitle {
  font-size: 18px;
  line-height: 28px;
  width: 506.7px;
  text-align: center;
  color: #37322fcc;
  font-family: "Inter", sans-serif;
  margin: 0 auto;
  font-weight: 500;
}

.cta-button {
  padding: 12px 48px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: #fff;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  background-color: #37322f;
  border-radius: 9999px;
  margin: 48px auto 0;
  display: flex;
  width: fit-content;
}

.hero-image {
  padding-top: 16px;
}

.hero-image .img-wrapper {
  margin: 64px auto;
  width: 960px;
  background-color: #fff;
  border-radius: 9px;
  border: 1px solid #e0dddb;
  overflow: hidden;
}

.hero-image .img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.img-slider {
  border-top: 1px solid #e0dddb;
  border-bottom: 1px solid #e0dddb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-pane {
  width: 49px;
  min-height: 138px;
}

.carousel {
  min-height: 138px;
  border-left: 1px solid #e0dddb;
  width: 960px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  padding: 20px 24px;
  gap: 8px;
  flex: 1;
  border-right: 1px solid #e0dddb;
  position: relative;
}

.carousel-item.active {
  background-color: #fff;
}

.carousel-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 76%;
  height: 2px;
  background-color: #322d2b;
}

.carousel-title {
  font-size: 14px;
  line-height: 24px;
  color: #49423d;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.carousel-description {
  font-size: 13px;
  line-height: 22px;
  color: #605a57;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  align-self: stretch;
}

.how-it-works-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.chip {
  width: fit-content;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  background-color: #fff;
  border-radius: 9999px;
  padding: 6px 14px;
  border: 1px solid #02061714;
  color: #37322f;
  font-weight: 500;
  line-height: 12px;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  text-align: center;
}

.section-header {
  padding: 84px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.section-title {
  text-align: center;
  font-size: 48px;
  line-height: 60px;
  font-weight: 600;
  color: #49423d;
  font-family: "Inter", sans-serif;
}

.section-description {
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: #605a57;
  font-family: "Inter", sans-serif;
  text-align: center;
}

.steps {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #e0dddb;
  border-bottom: 1px solid #e0dddb;
}

.step-carousel {
  width: 960px;
  border-left: 1px solid #e0dddb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step {
  height: 367px;
  padding: 56px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e0dddb;
  transition: background-color 0.3s;
}

.step:hover {
  background-color: #ede7de;
}

.step-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 80px;
  font-weight: 100;
  color: #b5622a;
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 28px;
  transition: opacity 0.3s;
}

.step:hover .step-number {
  opacity: 0.25;
}

.step-content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 8px;
}

.step-title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1c1a18;
  font-family: "Inter", sans-serif;
}

.step-description {
  font-size: 14px;
  line-height: 1.75;
  font-weight: 400;
  color: #7a756e;
  font-family: "Inter", sans-serif;
}

.marquee-wrap {
  width: 100%;
  background-color: #ede7de;
  padding: 16px 0;
  overflow: hidden;
  border-bottom: 1px solid #e0dddb;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
}

.m-item {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a756e;
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
}

.m-sep {
  color: #b5622a;
  opacity: 0.5;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #e0dddb;
}

.stat-box {
  padding: 64px 48px;
  border-right: 1px solid #e0dddb;
  position: relative;
  overflow: hidden;
}

.stat-box:last-child {
  border-right: none;
}

.stat-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 48px;
  width: 32px;
  height: 2px;
  background: #b5622a;
  transform-origin: left;
  transition: transform 0.5s ease 0.2s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
  animation: 0.6s ease 0s 1 normal forwards running countUp;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.6;
  max-width: 22ch;
}

.features-wrapper {
  width: 100%;
  padding: 50px;
  border-top: 1px solid #e0dddb;
  border-bottom: 1px solid #e0dddb;
  gap: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
}

.wrapper-left {
  max-width: 400px;
  width: auto;
  order: 1;
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-item {
  border: 1px solid #e0dddb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 20px 24px;
  gap: 8px;
}

.feature-title {
  font-size: 14px;
  line-height: 24px;
  color: #49423d;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.feature-description {
  font-size: 13px;
  line-height: 22px;
  color: #605a57;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  align-self: stretch;
}

.wrapper-right {
  width: 100%;
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-phone {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow:
    0 2px 0 #e0dddb,
    0 12px 40px rgba(28, 26, 24, 0.08),
    0 40px 80px rgba(28, 26, 24, 0.04);
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}

.mock-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1c1a18;
  text-align: center;
  margin-bottom: 6px;
}

.mock-tagline {
  font-size: 0.72rem;
  color: #7a756e;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.mock-question {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  color: #1c1a18;
  margin-bottom: 20px;
  line-height: 1.5;
}

.star-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.mock-star {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1.5px solid #e0dddb;
  cursor: pointer;
  transition: all 0.15s;
  background: #ede7de;
}

.mock-star:hover {
  border-color: #b5622a;
  transform: scale(1.1);
}
.mock-star.active {
  background: #b5622a;
  border-color: #b5622a;
}

.mock-redirect {
  background: #ede7de;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(181, 98, 42, 0.15);
}

.mock-redirect-label {
  font-size: 0.68rem;
  color: #b5622a;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mock-redirect-btn {
  background: #b5622a;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.mock-redirect-btn:hover {
  background: #b5622a;
}

.mock-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: #b5622a;
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.pricing {
  padding: 0 0 75px;
  border-bottom: 1px solid #e0dddb;
}

.pricing-wrapper {
  border-top: 1px solid #e0dddb;
  padding: 75px 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.plan {
  padding: 20px 24px;
  border: 1px solid #e0dddb;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  flex: 1;
}

.plan.premium {
  background: #37322f;
  border: 1px solid #37322f;
}

.plan-name {
  margin-bottom: 8px;
  color: #37322f;
  font-weight: 500;
  line-height: 28px;
  font-size: 18px;
  font-family: "Inter", sans-serif;
}

.plan.premium .plan-name {
  color: #fbfaf9;
}

.plan-description {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #605a57;
  max-width: 242px;
  width: 100%;
  font-family: "Inter", sans-serif;
  margin-bottom: 36px;
}

.plan.premium .plan-description {
  color: #b2aea9;
}

.plan-price {
  color: #37322f;
  font-weight: 500;
  line-height: 60px;
  font-size: 56px;
  font-family: "Instrument Serif", serif;
  margin-bottom: 4px;
}

.plan.premium .plan-price {
  color: #fbfaf9;
}

.plan-duration {
  color: #847971;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  margin-bottom: 36px;
}

.plan.premium .plan-duration {
  color: #d2c6bf;
}

.plan .btn {
  padding: 10px 16px;
  box-shadow: 0px 2px 4px rgba(55, 50, 47, 0.12);
  background-color: #37322f;
  border-radius: 99px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 20px;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  color: #fbfaf9;
  margin-bottom: 48px;
  width: 100%;
}

.plan.premium .btn {
  background-color: #fbfaf9;
  color: #37322f;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-feature {
  gap: 13px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.plan-feature-icon {
  width: 16px;
  height: 16px;
}

.plan-feature svg {
  width: 16px;
  height: 16px;
}

.plan-feature-text {
  font-size: 12.5px;
  line-height: 20px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  color: #37322f;
}

.plan.premium .plan-feature-text {
  color: #fbfaf9;
}

.faq-container {
  gap: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 80px 50px;
  border-bottom: 1px solid #e0dddb;
}

.faq-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 50%;
}

.faq-heading {
  text-align: left;
  font-size: 48px;
  line-height: 60px;
  font-weight: 600;
  color: #49423d;
  font-family: "Inter", sans-serif;
}

.faq-subheading {
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: #605a57;
  font-family: "Inter", sans-serif;
  text-align: left;
}

.faq-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 458px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e0dddb;
}

.faq-question {
  width: 100%;
  height: fit-content;
  display: flex;
}

.faq-question button {
  padding: 18px 20px;
  width: 100%;
  border: none;
  outline: none;
  background-color: transparent;
  text-align: left;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #49423d;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.faq-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-right: 4px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: #b5622a;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

/* Horizontal bar */
.faq-icon::before {
  width: 100%;
  height: 2px;
}

/* Vertical bar */
.faq-icon::after {
  width: 2px;
  height: 100%;
}

.faq-toggle[aria-expanded="true"] .faq-icon::after {
  height: 0%;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: #605a57;
  font-family: "Inter", sans-serif;
  text-align: left;
  visibility: hidden;
}

.faq-answer.show {
  max-height: 500px; /* Large enough for content */
  opacity: 1;
  padding: 0 20px 18px;
  visibility: visible;
}

.footer {
  width: 100%;
  padding: 40px 50px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-logo {
  color: #49423d;
  font-weight: 600;
  line-height: 16px;
  font-size: 20px;
  font-family: "Inter", sans-serif;
}

.footer-text {
  color: #49423de6;
  font-weight: 500;
  line-height: 18px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

.socials {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.socials a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.socials img {
  width: 16px;
  height: 16px;
}

.footer-right .footer-links {
  display: flex;
  flex-direction: row;
  gap: 32px;
}

.footer-right .footer-link-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-title {
  color: #49423d80;
  font-weight: 500;
  line-height: 20px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  margin-bottom: 12px;
}

.footer-right .footer-links .footer-link a {
  text-decoration: none;
  color: #49423d;
  font-weight: 400;
  line-height: 20px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

/* ─── INSIGHTS SECTION ─── */
.insights-section {
  background-color: #f7f5f3;
  border-top: 1px solid #e0dddb;
  border-bottom: 1px solid #e0dddb;
}

.insights-container {
  max-width: 1060px;
  margin: 0 auto;
}

.dashboard-mock {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  padding: 50px;
  border-top: 1px solid #e0dddb;
}

.dashboard-card {
  background: #fff;
  border: 1px solid #e0dddb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  transition: transform 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #49423d;
  margin: 0;
}

.card-badge {
  font-size: 10px;
  font-weight: 700;
  color: #ef4444;
  background: #fef2f2;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
}

/* Heatmap Styles */
.heatmap-card {
  grid-row: span 2;
}

.heatmap-container {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: 1fr 30px;
  gap: 12px;
}

.heatmap-labels-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  color: #605a57;
  padding: 4px 0;
  font-family: "Inter", sans-serif;
}

.heatmap-labels-x {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #605a57;
  padding-top: 8px;
  font-family: "Inter", sans-serif;
}

.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 6px;
}

.h-cell {
  border-radius: 4px;
  background: #f3f4f6;
  aspect-ratio: 1;
  transition: all 0.3s ease;
}

.v-high {
  background: #b5622a;
}
.high {
  background: #d48c5e;
}
.mid {
  background: #e9c4a7;
}
.low {
  background: #f3dfcf;
}

/* Category Chart Styles */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: #49423d;
}

.progress-bar {
  height: 8px;
  background: #f3f4f6;
  border-radius: 99px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #b5622a;
  border-radius: 99px;
}

/* Alert Card Styles */
.alert-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.alert-icon-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fee2e2;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.alert-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: #ef4444;
  margin: 0 0 4px 0;
}

.alert-text p {
  font-size: 13px;
  line-height: 20px;
  color: #605a57;
  margin: 0;
}

.card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.btn-outline {
  padding: 8px 16px;
  border: 1px solid #e0dddb;
  border-radius: 6px;
  background: #fff;
  color: #49423d;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

@media (max-width: 768px) {
  .dashboard-mock {
    grid-template-columns: 1fr;
  }
}
