/* Why Housiko Landing Page Styles */

/* Hero Section */
._whyhousiko_hero_wrapper {
  background: linear-gradient(135deg, #252e8d 0%, #1a2066 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  /* Safe area for notched phones */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

._whyhousiko_hero_wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
  background-size: 100px 100px;
  pointer-events: none;
}

._whyhousiko_hero_content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Segment Selector */
._whyhousiko_segment_selector {
  margin-bottom: 32px;
}

._whyhousiko_segment_label {
  font-family: var(--font-inter), sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

._whyhousiko_segment_pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

._whyhousiko_segment_pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-inter), sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

._whyhousiko_segment_pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

._whyhousiko_segment_pill--active {
  background: #ffffff;
  border-color: #ffffff;
  color: #252e8d;
}

._whyhousiko_segment_pill--active:hover {
  background: #ffffff;
  border-color: #ffffff;
}

._whyhousiko_segment_pill_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

._whyhousiko_segment_pill_icon svg {
  width: 18px;
  height: 18px;
}

._whyhousiko_segment_pill_label {
  white-space: nowrap;
}

._whyhousiko_hero_title {
  font-family: var(--font-inter), sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
}

._whyhousiko_hero_subtitle {
  font-family: var(--font-inter), sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

._whyhousiko_hero_cta_wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

._whyhousiko_btn_primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  min-height: 52px; /* Ensure good touch target */
  background: #ffffff;
  color: #252e8d;
  font-family: var(--font-inter), sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

._whyhousiko_btn_primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

._whyhousiko_btn_primary:active {
  transform: translateY(0);
  background: #e8e8e8;
}

._whyhousiko_btn_secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  min-height: 52px; /* Ensure good touch target */
  background: transparent;
  color: #ffffff;
  font-family: var(--font-inter), sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

._whyhousiko_btn_secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

._whyhousiko_btn_secondary:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Value Props Section */
._whyhousiko_value_section {
  padding: 80px 0;
  background: #f8f9fa;
}

._whyhousiko_section_title {
  font-family: var(--font-inter), sans-serif;
  font-weight: 700;
  font-size: 36px;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 48px;
}

._whyhousiko_value_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

._whyhousiko_value_card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

._whyhousiko_value_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

._whyhousiko_value_icon {
  width: 56px;
  height: 56px;
  background: #252e8d;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

._whyhousiko_value_icon svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

._whyhousiko_value_card_title {
  font-family: var(--font-inter), sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

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

._whyhousiko_value_card_list li {
  font-family: var(--font-inter), sans-serif;
  font-size: 15px;
  color: #666;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

._whyhousiko_value_card_list li:last-child {
  border-bottom: none;
}

._whyhousiko_value_card_list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #252e8d;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Single featured value card layout */
._whyhousiko_value_single {
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

._whyhousiko_value_card--featured {
  max-width: 500px;
  width: 100%;
  text-align: center;
  padding: 40px;
}

._whyhousiko_value_card--featured ._whyhousiko_value_icon {
  margin: 0 auto 24px;
  width: 72px;
  height: 72px;
}

._whyhousiko_value_card--featured ._whyhousiko_value_icon svg {
  width: 36px;
  height: 36px;
}

._whyhousiko_value_card--featured ._whyhousiko_value_card_title {
  font-size: 24px;
  margin-bottom: 20px;
}

._whyhousiko_value_card--featured ._whyhousiko_value_card_list {
  text-align: left;
}

._whyhousiko_value_card--featured ._whyhousiko_value_card_list li {
  font-size: 16px;
  padding: 12px 0;
}

/* Comparison Section */
._whyhousiko_comparison_section {
  padding: 80px 0;
  background: #ffffff;
}

._whyhousiko_comparison_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

._whyhousiko_comparison_card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 32px;
}

._whyhousiko_comparison_title {
  font-family: var(--font-inter), sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 24px;
  text-align: center;
}

._whyhousiko_comparison_table {
  width: 100%;
}

._whyhousiko_comparison_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

._whyhousiko_comparison_row:last-child {
  border-bottom: none;
}

._whyhousiko_comparison_them,
._whyhousiko_comparison_us {
  font-family: var(--font-inter), sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px; /* Touch target */
  box-sizing: border-box;
}

._whyhousiko_comparison_them {
  background: #fff5f5;
  color: #c53030;
}

._whyhousiko_comparison_them::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c53030" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>') no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}

._whyhousiko_comparison_us {
  background: #f0fff4;
  color: #276749;
}

._whyhousiko_comparison_us::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23276749" stroke-width="2"><polyline points="20 6 9 17 4 12"/></svg>') no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}

/* Column headers for comparison */
._whyhousiko_comparison_header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0 0 8px;
  border-bottom: 2px solid #e0e0e0;
}

._whyhousiko_comparison_header_them,
._whyhousiko_comparison_header_us {
  font-family: var(--font-inter), sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

._whyhousiko_comparison_header_them {
  color: #c53030;
}

._whyhousiko_comparison_header_us {
  color: #276749;
}

/* Features Section */
._whyhousiko_features_section {
  padding: 80px 0;
  background: #f8f9fa;
}

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

._whyhousiko_feature_card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
}

._whyhousiko_feature_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

._whyhousiko_feature_icon {
  width: 48px;
  height: 48px;
  background: #e8eaf6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

._whyhousiko_feature_icon svg {
  width: 24px;
  height: 24px;
  color: #252e8d;
}

._whyhousiko_feature_title {
  font-family: var(--font-inter), sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

._whyhousiko_feature_desc {
  font-family: var(--font-inter), sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Video Section */
._whyhousiko_video_section {
  padding: 80px 0;
  background: #ffffff;
}

._whyhousiko_video_wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

._whyhousiko_video_container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

._whyhousiko_video_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

._whyhousiko_video_caption {
  font-family: var(--font-inter), sans-serif;
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 16px;
}

/* Agency Logos Section */
._whyhousiko_agency_section {
  padding: 60px 0;
  background: #f8f9fa;
}

._whyhousiko_agency_title {
  font-family: var(--font-inter), sans-serif;
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 32px;
}

._whyhousiko_agency_logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

._whyhousiko_agency_logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.2s ease;
}

._whyhousiko_agency_logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* FAQ Section */
._whyhousiko_faq_section {
  padding: 80px 0;
  background: #ffffff;
}

._whyhousiko_faq_container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

._whyhousiko_faq_item {
  border-bottom: 1px solid #e0e0e0;
}

._whyhousiko_faq_item:last-child {
  border-bottom: none;
}

._whyhousiko_faq_question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  min-height: 64px; /* Good touch target */
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

._whyhousiko_faq_question:active {
  background: rgba(0, 0, 0, 0.02);
}

._whyhousiko_faq_question_text {
  font-family: var(--font-inter), sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #1a1a1a;
  padding-right: 16px;
  line-height: 1.4;
}

._whyhousiko_faq_icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: #666;
}

._whyhousiko_faq_icon--open {
  transform: rotate(180deg);
  color: #252e8d;
}

._whyhousiko_faq_answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

._whyhousiko_faq_answer--open {
  grid-template-rows: 1fr;
}

._whyhousiko_faq_answer_inner {
  overflow: hidden;
}

._whyhousiko_faq_answer_text {
  font-family: var(--font-inter), sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  padding-bottom: 20px;
}

/* CTA Section */
._whyhousiko_cta_section {
  padding: 80px 0;
  background-color: #252e8d; /* Match footer background exactly */
  text-align: center;
}

._whyhousiko_cta_content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

._whyhousiko_cta_title {
  font-family: var(--font-inter), sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 12px;
}

._whyhousiko_cta_subtitle {
  font-family: var(--font-inter), sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

._whyhousiko_cta_buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Styles */

/* Tablet landscape */
@media screen and (max-width: 992px) {
  ._whyhousiko_hero_title {
    font-size: 36px;
  }

  ._whyhousiko_hero_subtitle {
    font-size: 18px;
  }

  ._whyhousiko_value_grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  ._whyhousiko_comparison_grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  ._whyhousiko_section_title {
    font-size: 28px;
  }
}

/* Tablet portrait / Large mobile */
@media screen and (max-width: 768px) {
  ._whyhousiko_hero_wrapper {
    padding: 60px 0 50px;
  }

  ._whyhousiko_hero_content {
    padding: 0 16px;
  }

  ._whyhousiko_segment_selector {
    margin-bottom: 24px;
  }

  ._whyhousiko_segment_label {
    font-size: 12px;
    margin-bottom: 10px;
  }

  ._whyhousiko_segment_pills {
    gap: 6px;
  }

  ._whyhousiko_segment_pill {
    padding: 8px 14px;
    font-size: 13px;
    gap: 6px;
  }

  ._whyhousiko_segment_pill_icon {
    width: 16px;
    height: 16px;
  }

  ._whyhousiko_segment_pill_icon svg {
    width: 16px;
    height: 16px;
  }

  ._whyhousiko_value_card--featured {
    padding: 24px;
  }

  ._whyhousiko_value_card--featured ._whyhousiko_value_icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  ._whyhousiko_value_card--featured ._whyhousiko_value_icon svg {
    width: 28px;
    height: 28px;
  }

  ._whyhousiko_value_card--featured ._whyhousiko_value_card_title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  ._whyhousiko_value_card--featured ._whyhousiko_value_card_list li {
    font-size: 15px;
    padding: 10px 0;
  }

  ._whyhousiko_hero_title {
    font-size: 28px;
    line-height: 1.25;
  }

  ._whyhousiko_hero_subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

  ._whyhousiko_btn_primary,
  ._whyhousiko_btn_secondary {
    padding: 14px 24px;
    font-size: 15px;
    width: 100%;
    min-height: 50px;
  }

  ._whyhousiko_hero_cta_wrap {
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
  }

  ._whyhousiko_value_section,
  ._whyhousiko_comparison_section,
  ._whyhousiko_features_section,
  ._whyhousiko_video_section,
  ._whyhousiko_faq_section,
  ._whyhousiko_cta_section {
    padding: 48px 0;
  }

  ._whyhousiko_agency_section {
    padding: 40px 0;
  }

  ._whyhousiko_section_title {
    font-size: 24px;
    margin-bottom: 28px;
    padding: 0 16px;
  }

  ._whyhousiko_value_grid,
  ._whyhousiko_comparison_grid,
  ._whyhousiko_feature_grid {
    padding: 0 16px;
  }

  ._whyhousiko_feature_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  ._whyhousiko_feature_card {
    padding: 20px;
  }

  /* Stack comparison items vertically with labels */
  ._whyhousiko_comparison_header {
    display: none; /* Hide desktop header */
  }

  ._whyhousiko_comparison_row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  ._whyhousiko_comparison_them::after {
    content: ' (Them)';
    font-size: 11px;
    opacity: 0.7;
    margin-left: auto;
  }

  ._whyhousiko_comparison_us::after {
    content: ' (Us)';
    font-size: 11px;
    opacity: 0.7;
    margin-left: auto;
  }

  ._whyhousiko_faq_container {
    padding: 0 16px;
  }

  ._whyhousiko_faq_question {
    padding: 16px 0;
    min-height: 56px;
  }

  ._whyhousiko_faq_question_text {
    font-size: 16px;
  }

  ._whyhousiko_faq_answer_text {
    font-size: 15px;
    line-height: 1.6;
  }

  ._whyhousiko_video_wrapper {
    padding: 0 16px;
  }

  ._whyhousiko_video_container {
    border-radius: 12px;
  }

  ._whyhousiko_cta_content {
    padding: 0 16px;
  }

  ._whyhousiko_cta_title {
    font-size: 24px;
    line-height: 1.3;
  }

  ._whyhousiko_cta_subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

  ._whyhousiko_cta_buttons {
    flex-direction: column;
    gap: 12px;
  }

  ._whyhousiko_agency_logos {
    gap: 24px;
    padding: 0 16px;
  }

  ._whyhousiko_agency_logo {
    height: 32px;
    max-width: 120px;
  }

  ._whyhousiko_agency_title {
    font-size: 20px;
    padding: 0 16px;
  }
}

/* Small mobile (iPhone SE, etc.) */
@media screen and (max-width: 480px) {
  ._whyhousiko_hero_wrapper {
    padding: 48px 0 40px;
  }

  ._whyhousiko_segment_pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 8px;
  }

  ._whyhousiko_segment_pill {
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
  }

  ._whyhousiko_hero_title {
    font-size: 24px;
  }

  ._whyhousiko_hero_subtitle {
    font-size: 15px;
  }

  ._whyhousiko_section_title {
    font-size: 22px;
  }

  ._whyhousiko_value_card {
    padding: 20px;
  }

  ._whyhousiko_value_card_title {
    font-size: 18px;
  }

  ._whyhousiko_value_card_list li {
    font-size: 14px;
    padding: 10px 0;
  }

  ._whyhousiko_comparison_card {
    padding: 20px;
  }

  ._whyhousiko_comparison_title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  ._whyhousiko_comparison_them,
  ._whyhousiko_comparison_us {
    font-size: 13px;
    padding: 10px 12px;
  }

  ._whyhousiko_feature_title {
    font-size: 15px;
  }

  ._whyhousiko_feature_desc {
    font-size: 13px;
  }

  ._whyhousiko_faq_question_text {
    font-size: 15px;
  }

  ._whyhousiko_faq_answer_text {
    font-size: 14px;
  }

  ._whyhousiko_cta_title {
    font-size: 22px;
  }

  ._whyhousiko_cta_subtitle {
    font-size: 15px;
  }

  ._whyhousiko_video_caption {
    font-size: 13px;
  }
}

/* Extra small mobile (320px) */
@media screen and (max-width: 360px) {
  ._whyhousiko_hero_title {
    font-size: 22px;
  }

  ._whyhousiko_hero_subtitle {
    font-size: 14px;
  }

  ._whyhousiko_section_title {
    font-size: 20px;
  }

  ._whyhousiko_btn_primary,
  ._whyhousiko_btn_secondary {
    padding: 12px 20px;
    font-size: 14px;
  }

  ._whyhousiko_value_card {
    padding: 16px;
  }

  ._whyhousiko_comparison_card {
    padding: 16px;
  }

  ._whyhousiko_faq_question_text {
    font-size: 14px;
  }
}

/* Landscape mode on mobile - reduce vertical padding */
@media screen and (max-width: 768px) and (orientation: landscape) {
  ._whyhousiko_hero_wrapper {
    padding: 40px 0 32px;
    min-height: auto;
  }

  ._whyhousiko_value_section,
  ._whyhousiko_comparison_section,
  ._whyhousiko_features_section,
  ._whyhousiko_video_section,
  ._whyhousiko_faq_section,
  ._whyhousiko_cta_section {
    padding: 36px 0;
  }

  ._whyhousiko_agency_section {
    padding: 28px 0;
  }
}
