/* ===== HERO SECTION ===== */
.home-hero {
  min-height: 100vh;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/hero-thumbnail.png') no-repeat center center;
  background-size: cover;
  z-index: -1;
}

.home-hero .container {
  display: flex;
  gap: var(--spacing-xxl);
  align-items: center;
  justify-content: space-between;
  min-height: calc(100vh - 100px);
}

.home-hero-title {
  font-size: var(--font-size-title);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-100);
  color: var(--color-white);
  margin-bottom: var(--spacing-s);
  letter-spacing: -0.96px;
}

.home-hero-subtitle {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-100);
  color: var(--color-white);
  margin-bottom: var(--spacing-l);
  letter-spacing: -0.96px;
}

.home-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: var(--spacing-xxxl);
}

.home-trial-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-s);
  color: var(--color-black);
  background-color: var(--color-white);
  border-radius: 100px;
  font-size: var(--font-size-xxs);
  line-height: normal;
  font-weight: var(--font-weight-regular);
  margin-right: auto;
}

.icon-fire {
  width: 16px;
  height: 16px;
  color: var(--color-green);
}

/* ===== CATEGORIES ===== */
.home-categories {
  display: grid;
  grid-template-columns: repeat(5, 120px);
  gap: 12px;
  margin-top: var(--spacing-l);
}

.home-category-card {
  background: var(--color-white);
  border: 1.111px solid #f1f5f9;
  border-radius: 8px;
  padding: 1.111px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15.99px;
  width: 120px;
  height: 120px;
}

.home-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-category-icon img {
  width: 24px;
  height: 24px;
}

.home-category-icon-purple {
  background-color: #faf5ff;
  color: #9333ea;
}

.home-category-icon-indigo {
  background-color: #eef2ff;
  color: #4f46e5;
}

.home-category-icon-gray {
  background-color: #f1f5f9;
  color: #64748b;
}

.home-category-icon-teal {
  background-color: #ecfdf5;
  color: #10b981;
}

.home-category-icon-blue {
  background-color: #eff6ff;
  color: #3b82f6;
}

.home-category-icon-pink {
  background-color: #fdf2f8;
  color: #ec4899;
}

.home-category-icon-amber {
  background-color: #fffbeb;
  color: #f59e0b;
}

.home-category-icon-cyan {
  background-color: #ecfeff;
  color: #06b6d4;
}

.home-category-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.3125px;
  color: #0f172b;
  text-align: center;
  height: 24px;
  margin: 0;
}

/* ===== FAKE CHAT WIDGET (Mobile/Tablet Only) ===== */
.home-fake-chat-widget {
  display: none;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 425px;
  cursor: pointer;
  margin-top: var(--spacing-l);
}

.home-fake-chat-widget .chat {
  pointer-events: none;
}

/* ===== CHAT WIDGET ===== */
.home-chat-widget {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  max-width: 425px;
  flex-shrink: 0;
  width: 100%;
}

/* ===== CHAT MODAL WRAPPER ===== */
.chat-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
}

.chat-modal-wrapper.active {
  display: flex;
}

.chat-modal-wrapper.home-chat-widget {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100vh;
  border-radius: 0;
  display: flex;
}

.chat-modal-wrapper .chat {
  height: 100%;
}

.chat-modal-wrapper .home-chat-header {
  border-radius: 0;
}

.chat-modal-close {
  position: absolute;
  top: var(--spacing-m);
  right: var(--spacing-m);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--color-white);
  font-size: 32px;
  line-height: 1;
  transition: background 0.2s;
}

.chat-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.chat {
  display: flex;
  flex-direction: column;
  height: 684px;
  width: 100%;
}

/* Chat Header */
.home-chat-header {
  background: #1E1E1E;
  border: 1px solid var(--color-black);
  padding: var(--spacing-l);
  display: flex;
  gap: 12px;
  align-items: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.home-chat-header-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.home-chat-header-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.home-chat-ai-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-chat-header-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-chat-header-info h4 {
  color: var(--color-white);
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-100);
  letter-spacing: -0.96px;
}

.home-chat-header-info p {
  color: var(--color-white);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-100);
}

/* Chat Body */
.home-chat-body {
  flex: 1;
  padding: 0 var(--spacing-l);
  overflow-y: auto;
  background: var(--color-white);
  border-left: 1px solid #F5F5F5;
  border-right: 1px solid #F5F5F5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.home-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-chat-messages::-webkit-scrollbar {
  display: none;
}

/* Chat Messages - JS Generated */
.chat-item-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 8px;
}

.chat-item-wrapper.right {
  justify-content: flex-end;
}

.chat-item-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.chat-item {
  display: flex;
  flex-direction: column;
  max-width: 333px;
}

.chat-item-message {
  background: #EEEEF0;
  border: 1px solid #EEEEF0;
  border-radius: 4px;
  padding: 12px;
}

.chat-item-wrapper.right .chat-item-message {
  background: var(--color-white);
  border: 1px solid #EEEEF0;
}

.chat-item-message .message {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: #1E1E1E;
  line-height: 1.4;
  margin: 0;
  word-wrap: break-word;
}

.chat-item-message .message ul {
  padding-left: 40px;
}

.chat-item-message .message.typing {
  color: #999999;
}

.chat-item-message .message.error-message {
  color: #dc2626;
}

/* Chat connected message */
.chat-connected-message {
  text-align: center;
  font-size: 12px;
  color: #999999;
  padding: 8px 0;
  margin: 8px 0;
}

/* Chat suggestions */
.chat-suggestions-categories-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-suggestions-title {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  color: #1E1E1E;
}

.chat-suggestions-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-white);
  border: 1px solid #EEEEF0;
  border-radius: 8px;
  font-size: var(--font-size-body);
  color: #1E1E1E;
  cursor: pointer;
  transition: all 0.2s;
}

.category-btn:hover {
  background: #F5F5F5;
  border-color: var(--color-primary-purple);
}

.category-btn.active {
  background: var(--color-primary-purple);
  border-color: var(--color-primary-purple);
  color: var(--color-white);
}

/* Chat Loading Indicator */
.home-chat-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  color: #999999;
  font-size: var(--font-size-body);
}

.home-chat-loading.hidden {
  display: none;
}

.home-loading-icon {
  animation: spin 1s linear infinite;
}

/* Chat Select (Topic Confirmation) */
.chat-select {
  display: flex;
  flex-direction: column;
}

.chat-select.hidden {
  display: none;
}
.chat-select-radio {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.chat-select-radio input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.chat-select-radio input[type="checkbox"]:checked+label::before {
  border-width: 6px;
  border-color: var(--color-primary-purple);
}

.chat-select-radio label {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 2rem;
  cursor: pointer;
}

.chat-select-radio label::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border: 1px solid #DBDBDB;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  box-sizing: border-box;
}

.chat-select-radio label span {
  color: var(--color-black);
}

/* Chat Footer */
.home-chat-footer {
  background: #F5F5F5;
  padding: var(--spacing-l) 20px;
  position: relative;
}

.home-chat-footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-s);
}

.home-chat-input-container {
  background: var(--color-white);
  border: 1px solid #CBD6E1;
  border-radius: 8px;
  padding: 16px;
}

.home-chat-input-container textarea {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: #1E1E1E;
  resize: none;
  min-height: 40px;
  background: transparent;
}

.home-chat-input-container textarea::placeholder {
  color: #999999;
}

.home-chat-privacy-text {
  font-size: var(--font-size-xxs);
  font-weight: var(--font-weight-regular);
  color: #27272A;
  line-height: var(--line-height-100);
}

.home-chat-privacy-text a {
  text-decoration: underline;
  cursor: pointer;
}

.home-btn-chat-connect {
  background: #1E1E1E;
  color: var(--color-white);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  padding: 19px var(--spacing-l);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  margin-top: 4px;
  font-family: var(--font-family);
}

.home-btn-continue {
  width: 100%;
  margin-top: 12px;
}

.home-btn-chat-connect:hover {
  background: #000000;
}

/* Chat Tooltip */
.home-chat-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 12px;
  background: #1E1E1E;
  color: var(--color-white);
  font-size: var(--font-size-xxs);
  font-weight: var(--font-weight-regular);
  padding: 12px var(--spacing-l);
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.home-chat-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: #1E1E1E;
  border-bottom-right-radius: 2px;
  margin-top: -10px;
}

.home-btn-send {
  background: var(--color-primary-purple);
  color: var(--color-white);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-semibold);
  padding: 12px var(--spacing-l);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all 0.2s;
}

.home-btn-send:hover {
  background: #3429a3;
}

/* ===== BENEFITS SECTION ===== */
.home-benefits {
  padding: 64px 0;
  background: var(--color-white);
}

.home-benefits-grid {
  display: flex;
  gap: var(--spacing-m);
  justify-content: space-between;
  align-items: flex-start;
}

.home-benefit-item {
  display: flex;
  gap: var(--spacing-m);
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

.home-benefit-icon {
  flex-shrink: 0;
  width: 24px;
  height: 28px;
  display: flex;
  align-items: flex-start;
}

.home-benefit-icon svg {
  width: 24px;
  height: 24px;
}

.home-benefit-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  flex: 1;
  min-width: 0;
}

.home-benefit-title {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-medium);
  color: var(--color-woodsmoke);
  line-height: var(--line-height-100);
  letter-spacing: -0.96px;
  margin: 0;
}

.home-benefit-description {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  line-height: var(--line-height-100);
  margin: 0;
}

/* ===== EXPERTS SECTION ===== */
.home-experts {
  padding: 94px 0;
  background: var(--color-white);
}

.home-experts-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-m);
  margin-bottom: var(--spacing-xxxl);
}

.home-experts-badge {
  background: var(--color-white);
  border: 1px solid #EEEEEE;
  border-radius: 100px;
  padding: 6px 12px;
}

.home-experts-badge span {
  font-size: var(--font-size-xxs);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  line-height: normal;
}

.home-section-title {
  font-size: var(--font-size-title);
  font-weight: var(--font-weight-medium);
  text-align: center;
  margin: 0;
  color: var(--color-black);
  line-height: normal;
  letter-spacing: -0.96px;
}

.home-section-subtitle {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-regular);
  text-align: center;
  color: var(--color-black);
  margin: 0;
  line-height: normal;
  letter-spacing: -0.48px;
}

.home-experts-grid-wrapper {
  overflow-x: auto;
  margin-bottom: var(--spacing-xxxl);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-experts-grid-wrapper::-webkit-scrollbar {
  display: none;
}

.home-experts-grid {
  display: flex;
  gap: var(--spacing-m);
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

.home-expert-card {
  flex: 0 0 auto;
  width: 378px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--spacing-m);
}

/* Desktop - align with container max-width 1200px */
@media (min-width: 1441px) {
  .home-experts-grid {
    padding-left: calc((100vw - 1200px) / 2 + var(--spacing-xl));
  }
}

/* Large desktop - align with container max-width 1100px */
@media (min-width: 1025px) and (max-width: 1440px) {
  .home-experts-grid {
    padding-left: calc((100vw - 1100px) / 2 + var(--spacing-l));
  }
}

/* Tablet - align with container max-width 900px */
@media (min-width: 769px) and (max-width: 1024px) {
  .home-experts-grid {
    padding-left: calc((100vw - 900px) / 2 + var(--spacing-l));
  }
}

.home-expert-image {
  width: 100%;
  height: 405px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: var(--spacing-l);
}

.home-expert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-expert-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-expert-category {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-medium);
  color: var(--color-woodsmoke);
  line-height: normal;
  letter-spacing: -0.96px;
  margin: 0;
}

.home-expert-description {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: #696868;
  line-height: normal;
  margin: 0;
}

.home-experts-trust {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-l);
}

.home-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 28px;
}

.home-trust-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.home-trust-item span {
  font-size: 20px;
  font-weight: var(--font-weight-regular);
  color: var(--color-grey-shaded);
  line-height: 28px;
}

.home-trust-item:last-child span {
  font-weight: 600;
}


/* ===== HOW IT WORKS SECTION ===== */
.home-how-it-works {
  padding: 94px 0;
  background: var(--color-white);
}

.home-how-it-works .home-section-title {
  margin-bottom: var(--spacing-xxxl);
}

.home-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding: 28px 0;
}

.home-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  flex: 1;
  max-width: 314px;
  position: relative;
}

.home-step-number {
  width: 64px;
  height: 64px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.96px;
  line-height: normal;
  position: relative;
  z-index: 2;
}

.home-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.home-step h3 {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  line-height: normal;
  letter-spacing: -0.96px;
  margin: 0;
}

.home-step p {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: var(--color-grey-shaded);
  line-height: normal;
  margin: 0;
}

/* Dotted lines between steps - centered horizontally */
.home-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 42px);
  right: calc(-50% + 42px);
  height: 1px;
  background-image: repeating-linear-gradient(to right,
      var(--color-grey-shaded) 0,
      var(--color-grey-shaded) 4px,
      transparent 4px,
      transparent 8px);
  z-index: 1;
  pointer-events: none;
}

/* ===== BECOME AN EXPERT SECTION ===== */
.home-become-expert {
  padding: 194px 0;
  background: var(--color-black);
}

.home-become-expert .container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxxl);
}

.home-become-expert-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.home-become-expert-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.home-become-expert-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.home-become-expert-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #C8C3CD;
  border-radius: 100px;
  width: fit-content;
}

.home-become-expert-badge span {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  line-height: normal;
}

.home-become-expert-title {
  font-size: var(--font-size-title);
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  line-height: normal;
  letter-spacing: -0.96px;
  margin: 0;
  max-width: 817px;
}

.home-become-expert-subtitle {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  line-height: normal;
  letter-spacing: -0.96px;
  margin: 0;
  max-width: 926px;
}

.home-become-expert-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  height: 56px;
  background: var(--color-black);
  border: 1px solid var(--color-white);
  border-radius: 8px;
  color: var(--color-white);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  line-height: normal;
}

.home-become-expert-button:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* ===== TESTIMONIALS SECTION ===== */
.home-testimonials {
  padding: 94px 0;
  background: var(--color-white);
}

.home-testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-m);
  margin-bottom: var(--spacing-m);
}

.home-testimonials-badge {
  display: inline-flex;
  align-items: center;
  padding: 6.5px 17px 7.5px;
  border: 1px solid #C8C3CD;
  border-radius: 100px;
  background: var(--color-white);
}

.home-testimonials-badge span {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  line-height: normal;
}

.home-testimonials-subtitle {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  line-height: normal;
  letter-spacing: -0.96px;
  text-align: center;
  margin: 0;
}

.home-testimonials-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--spacing-l);
  margin-top: var(--spacing-m);
}

.home-testimonials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-l);
}

.home-testimonial-card {
  background: var(--color-white);
  border: 1px solid #C8C3CD;
  border-radius: 16px;
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-l);
  max-height: 318px;
  height: 318px;
}

.home-testimonial-rating {
  display: flex;
  gap: 4px;
  align-items: center;
}

.home-testimonial-rating img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.home-testimonial-card h3 {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  margin: 0;
  letter-spacing: -0.96px;
  line-height: normal;
}

.home-testimonial-card p {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  margin: 0;
  line-height: normal;
}

.home-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.home-testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.home-testimonial-author div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-testimonial-author h4 {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: #09090B;
  margin: 0;
  line-height: normal;
}

.home-testimonial-author span {
  font-size: var(--font-size-footer);
  font-weight: var(--font-weight-regular);
  color: #71717B;
  line-height: normal;
}

/* Stats Cards */
.home-testimonials-stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-l);
  width: 373px;
  flex-shrink: 0;
}

.home-stat-card {
  background: var(--color-white);
  border: 1px solid #C8C3CD;
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 318px;
  max-height: 318px;
  overflow: hidden;
}

.home-stat-card-image {
  display: flex;
  flex-direction: column;
}

.home-stat-card img {
  width: 100%;
  max-height: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.home-stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--spacing-xl);
}

.home-stat-content h3 {
  font-size: 48px;
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  margin: 0;
  line-height: normal;
  letter-spacing: -0.96px;
}

.home-stat-content p {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-medium);
  color: var(--color-grey-shaded);
  margin: 0;
  line-height: normal;
}

/* ===== PRICING SECTION ===== */
.home-pricing {
  padding: 80px 0;
  background: var(--color-white);
}

.home-pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.home-pricing-subtitle {
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  color: #52525c;
  line-height: 28px;
  letter-spacing: -0.44px;
  margin-top: 12px;
  max-width: 619px;
  margin-left: auto;
  margin-right: auto;
}

.home-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-pricing-card {
  background: var(--color-white);
  border: 1.111px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.home-pricing-card-featured {
  border-color: #00bc7d;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
  position: relative;
  top: -16px;
}

.home-pricing-card-premium {
  border-color: #AD46FF;
}

.home-pricing-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #00bc7d;
  color: var(--color-white);
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.62px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 0 10px;
  line-height: 15px;
}

.home-pricing-card-badge-purple {
  background: #ad46ff;
}

.home-pricing-card-header {
  margin-bottom: 24px;
}

.home-pricing-card-title {
  font-size: 24px;
  font-weight: var(--font-weight-semibold);
  color: #0f172b;
  line-height: 32px;
  letter-spacing: 0.07px;
  margin-bottom: 8px;
}

.home-pricing-card-title-pro {
  color: #155dfc;
}

.home-pricing-card-title-purple {
  color: #ad46ff;
}

.home-pricing-card-description {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: #52525c;
  line-height: 20px;
  letter-spacing: -0.15px;
}

.home-pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.home-pricing-price-value {
  font-size: 48px;
  font-weight: var(--font-weight-semibold);
  color: #0f172b;
  line-height: 48px;
  letter-spacing: 0.35px;
}

.home-pricing-price-period {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: #52525c;
  line-height: 20px;
  letter-spacing: -0.15px;
}

.home-pricing-card-note {
  font-size: 10px;
  font-weight: var(--font-weight-regular);
  color: #90a1b9;
  line-height: 12.5px;
  letter-spacing: 0.12px;
  margin-bottom: 24px;
}

.home-pricing-card-subscription {
  margin-bottom: 16px;
}

.home-pricing-subscription-label {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: #52525c;
  line-height: 20px;
  letter-spacing: -0.15px;
  margin-bottom: 8px;
}

.home-pricing-card-join-fee {
  border-bottom: 1.111px solid #e5e7eb;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.home-pricing-join-fee-price {
  font-size: 36px;
  font-weight: var(--font-weight-semibold);
  color: #0f172b;
  line-height: 40px;
  letter-spacing: 0.37px;
  margin-bottom: 8px;
}

.home-pricing-join-fee-label {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: #00bc7d;
  line-height: 20px;
  letter-spacing: -0.15px;
  margin-bottom: 4px;
}

.home-pricing-join-fee-label-purple {
  color: #00bc7d;
}

.home-pricing-join-fee-note {
  font-size: 10px;
  font-weight: var(--font-weight-regular);
  color: #52525c;
  line-height: 12.5px;
  letter-spacing: 0.12px;
}

.home-pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  flex: 1;
}

.home-pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.home-pricing-feature-disabled {
  opacity: 0.5;
}

.home-pricing-feature-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.home-pricing-feature-icon-active {
  background: #00bc7d;
}

.home-pricing-feature-icon-disabled {
  background: transparent;
  border: 1.5px solid #cbd5e1;
  position: relative;
}

.home-pricing-feature-icon-disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 8px;
  height: 1.5px;
  background: #cbd5e1;
}

.home-pricing-feature-icon-check {
  width: 16px;
  height: 16px;
  background: #00bc7d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.home-pricing-feature-icon-check::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 7px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 3px;
}

.home-pricing-feature-text {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: #0f172b;
  line-height: 20px;
  letter-spacing: -0.15px;
}

.home-pricing-feature-text b {
  font-weight: var(--font-weight-medium);
  color: #155DFC;
}

.home-pricing-feature-text-purple b {
  color: #ad46ff;
}

.home-pricing-button {
  width: 100%;
  padding: 12px 24px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  line-height: 24px;
  letter-spacing: -0.31px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.home-pricing-button-secondary {
  background: #e2e8f0;
  color: #0f172b;
}

.home-pricing-button-secondary:hover {
  background: #cbd5e1;
}

.home-pricing-button-primary {
  background: #155dfc;
  color: var(--color-white);
  box-shadow: 0px 4px 6px -1px rgba(21, 93, 252, 0.3), 0px 2px 4px -2px rgba(21, 93, 252, 0.3);
}

.home-pricing-button-primary:hover {
  background: #0d4ad6;
}

.home-pricing-button-purple {
  background: #ad46ff;
  color: var(--color-white);
  box-shadow: 0px 4px 6px -1px #e9d4ff, 0px 2px 4px -2px #e9d4ff;
}

.home-pricing-button-purple:hover {
  background: #9333ea;
}

/* POPUP */
/* Dialog */
.btn-close-dialog {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.dialog-overlay,
.notify {
  inset: 0px;
  position: fixed;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.15s ease-in-out;
  background-color: #fff;
}

.notify {
  background-color: rgb(19, 19, 19, 0.5);
  z-index: 10000;
}

.notify .dialog-content {
  position: relative;
  background-color: #fff;
  border-radius: 0.5rem;
}

.notify .dialog-head {
  padding: 2rem 2.5rem;
  background-color: #fafafa;
  color: #131313;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.dialog-head .online {
  display: flex;
}

.dialog-head .online-info h4 {
  font-weight: normal;
  margin-bottom: 0.25rem;
}

.dialog-head .online-info p {
  font-size: var(--typography-label-size);
  line-height: var(--typography-label-line-height);
}

.notify .dialog-body {
  padding: 2rem 2.5rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.notify .recap-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.notify .recap-avatar {
  width: 7.5rem;
  height: 7.5rem;
  margin-bottom: 1.25rem;
}

.notify .recap-info h4 {
  font-size: var(--typography-h3-size);
  line-height: var(--typography-h3-line-height);
  margin-bottom: 0.75rem;
}

.notify .recap-info p {
  font-size: var(--typography-body-size);
  line-height: var(--typography-body-line-height);
}

.notify .recap-rate {
  justify-content: center;
  align-items: center;
}

.notify .stars svg path {
  color: #131313;
}

.notify h2 {
  font-size: var(--typography-h3-size);
  line-height: var(--typography-h2-line-height);
  max-width: 30rem;
  width: 100%;
  text-align: center;
  margin: 3rem auto;
}

.notify .separator {
  height: 1px;
  background-color: var(--grey-text);
  width: 100%;
  margin-bottom: 3rem;
}

.notify .home-btn-primary {
  width: 100%;
  margin: 3rem 0;
  border-radius: .5rem;
  height: 3rem;
  justify-content: center;
}

.dialog-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: white;
}

.dialog-body {
  width: 100%;
  height: 100%;
  overflow: auto;
}

/* Form checkout */
.form-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
}

.form-wrapper {
  padding: 2rem 1rem 0 1rem;
  height: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
}

.form-content {
  width: 100%;
  max-width: 600px;
}

.form-title {
  font-size: 2rem;
  line-height: normal;
  margin-bottom: 1rem;
}

.form-subtitle {
  font-size: 1.125rem;
  line-height: normal;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.form-subtitle-2 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.75rem;
  margin-bottom: 1.5rem;
}

.form-banner {
  width: 40%;
  height: 100vh;
  position: relative;
}

.form-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  filter: blur(8px);
  width: 100%;
}

.form-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-recap-messages {
  background-color: rgba(0, 0, 0, .6);
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  border-radius: .75rem;
  max-width: 544px;
}

.form-recap {
  border-radius: 1.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-recap-head {
  color: #fff;
  padding: 1.25rem;
  display: flex;
}

.recap-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 1rem;
  background-color: #b3b3b3;
  position: relative;
}

.recap-avatar .image-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.recap-avatar .avatar-ai {
  position: absolute;
  right: -.25rem;
  bottom: 0;
  font-size: 1.5rem;
  height: 1.75rem;
  width: 1.75rem;
  background-color: var(--app-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recap-info h4 {
  font-size: 1.125rem;
  line-height: normal;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.recap-info p {
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 0.625rem;
}

.recap-rate {
  display: flex;
  flex-direction: column;
}

.stars {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  margin-right: 2px;
}

.stars li {
  margin-right: 2px;
}

.stars li:last-child {
  margin-right: 0;
}

.stars img {
  width: 1.125rem;
  height: 1.125rem;
}

.recap-rate p {
  font-size: 0.75rem;
  line-height: 1rem;
  margin-bottom: 0;
}

.form-recap-body {
  padding: 1.25rem;
  color: #fff;
}

.form-recap-body ul {
  padding-left: 1.5rem;
}

.form-recap-body li {
  padding: 0.25rem 0;
}

.form-recap-body h4 {
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.625rem;
}

.form-recap-body .message {
  font-size: 1.125rem;
  line-height: normal;
}

.form-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading {
  animation: spin 1s linear infinite;
  color: var(--app-primary);
}

.form-wrapper .online {
  display: flex;
  align-items: center;
  margin: 3rem 0;
}

.online-info h4 {
  font-size: 1.125rem;
  line-height: normal;
  font-weight: 500;
  color: var(--app-primary);
}

.online-info p {
  line-height: 2rem;
}

.form-content-note {
  color: #131313;
  font-size: .75rem;
  margin-top: .75rem;
  text-align: center;
}

.form-separator {
  height: 1px;
  background-color: #b3b3b3;
  width: 100%;
}

.form-brand {
  height: 5rem;
  width: 60%;
  margin: 1rem auto 0;
}

.form-brand img {
  width: 100%;
  max-width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1440px) {}

@media (max-width: 1200px) {}

@media (max-width: 1024px) {
  .home-hero .container {
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }

  .home-hero-content {
    max-width: 100%;
    padding-bottom: 16px;
  }

  .home-categories {
    grid-template-columns: repeat(5, 1fr);
  }

  .home-chat-widget {
    max-width: 784px;
    width: 100%;
    margin: 0 auto;
  }

  .home-fake-chat-widget {
    display: block;
    max-width: 700px;
  }

  .home-chat-widget {
    display: none;
  }

  .home-hero-title {
    font-size: 32px;
    line-height: 32px;
  }

  .home-hero-subtitle {
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0;
  }

  .home-benefits-grid {
    flex-direction: column;
    gap: var(--spacing-xxxl);
  }
  
  .home-how-it-works {
    padding: var(--spacing-xxl) 0;
  }

  .home-steps {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0
  }

  .home-step {
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-m);
    text-align: left;
    padding-bottom: var(--spacing-xl);
  }

  .home-step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    font-size: 20px;
  }

  .home-step-content {
    align-items: flex-start;
    flex: 1;
  }

  .home-step h3 {
    font-size: 20px;
    text-align: left;
  }

  .home-step p {
    text-align: left;
  }

  /* Vertical dotted line from circle to next step */
  .home-step:not(:last-child)::after {
    left: 28px;
    right: auto;
    top: 56px;
    bottom: 0;
    width: 1px;
    height: auto;
    background-image: repeating-linear-gradient(to bottom,
        var(--color-grey-shaded) 0,
        var(--color-grey-shaded) 4px,
        transparent 4px,
        transparent 8px);
    transform: none;
  }

  .home-become-expert {
    padding: var(--spacing-xxl) 0;
  }

  .home-become-expert-title {
    font-size: 32px;
  }

  .home-become-expert-subtitle {
    font-size: 18px;
  }

  .home-testimonials {
    padding: var(--spacing-xxl) 0;
  }

  .home-testimonials-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .home-testimonials-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-testimonials-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-l);
    width: 100%;
  }

  .home-stat-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .home-experts-grid {
    padding-left: var(--spacing-m);
    padding-right: var(--spacing-m);
  }

  .home-hero {
    padding-bottom: var(--spacing-l);
  }

  .home-expert-card {
    width: 300px;
  }

  .home-benefits {
    padding: var(--spacing-xl) 0;
  }

  .home-benefit-title {
    font-size: 18px;
  }

  .home-become-expert {
    padding: var(--spacing-xl) 0;
  }

  .home-become-expert-title {
    font-size: 28px;
  }

  .home-become-expert-subtitle {
    font-size: 16px;
  }

  .home-become-expert-button {
    width: 100%;
  }

  .home-experts {
    padding: var(--spacing-xxl) 0;
  }

  .home-experts-header {
    margin-bottom: var(--spacing-l);
  }

  .home-section-title {
    font-size: 32px;
  }

  .home-section-subtitle {
    font-size: 18px;
  }

  .home-expert-category {
    font-size: 20px;
  }

  .home-trust-item span {
    font-size: 16px;
  }

  .home-testimonials-subtitle {
    font-size: 18px;
  }

  .home-testimonials-list {
    grid-template-columns: 1fr;
  }

  .home-testimonials-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-l);
  }

  .home-testimonial-card {
    max-height: none;
    height: auto;
  }

  .home-testimonial-card h3 {
    font-size: 20px;
  }

  .home-stat-card {
    height: auto;
    max-height: none;
  }

  .home-stat-content h3 {
    font-size: 36px;
  }

  .chat-modal-wrapper .chat-suggestions-online {
    display: flex;
    margin-top: 24px;
  }

  .chat-suggestions-online .expert-avatars img {
    width: 32px;
    height: 32px;
  }

  .chat-suggestions-online .online-indicator {
    width: 8px;
    height: 8px;
  }

  .home-experts-grid,
  .home-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .home-fake-chat-widget {
    max-width: 100%;
  }

  .home-categories {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .home-hero-cta {
    margin-left: auto;
    margin-right: auto;
  }

  .home-category-card {
    width: 150px;
  }

  .home-pricing-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-l);
  }

  .home-pricing-card-featured {
    margin-top: 0;
  }
}
