/*
 * Home page (/) on GoSaaS markup. Only small additions to the template classes:
 * floating widget cards, step tabs, industry tabs, frame for the product visual.
 * Neutral surfaces; MyCaly green only on small highlights. Logical properties for RTL.
 */

.mc-home { overflow-x: clip; }
.mc-home-narrow { max-width: 680px; margin-inline: auto; }
.mc-home-kicker { margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--gray2-color, var(--body-color)); }
.mc-home-up { font-size: 12px; font-weight: 600; color: var(--mc-green-700); white-space: nowrap; }

/* ---------- Hero (cs_hero cs_style_1 cs_type_3) ---------- */
.cs_hero.cs_style_1.cs_type_3.mc-home-hero { padding: 100px 0 150px; }
.cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_hero_title { font-weight: 500; line-height: 1.12; }
.mc-home-hero .mc-home-underline { white-space: nowrap; }
.cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_line_1 { width: 100%; height: .32em; bottom: -.42em; left: 0; right: 0; }
.cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_line_2 { width: 50%; height: auto; bottom: -.5em; inset-inline-end: 0; inset-inline-start: auto; }
.cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_hero_subtitle { max-width: 600px; margin-bottom: 36px; font-size: 18px; }
.cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_hero_thumbnail > img { display: block; width: 100%; height: auto; border-radius: 15px; }
.cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_blob_5 { background-color: var(--mc-green); opacity: .35; }
.mc-home-checks { margin-top: 26px; }
[dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_hero_shape_vector { right: auto; left: -80px; transform: scaleX(-1); }

/* Floating widget cards */
.mc-home-widget {
  padding: 16px 18px;
  text-align: start;
  font-size: 13px;
  color: var(--body-color);
  border: 1px solid #edf2f6;
  box-shadow: 0 20px 40px -18px rgba(10, 10, 16, .22);
}
.mc-home-widget-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; color: var(--body-color); }
.mc-home-widget-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mc-home-widget strong { font-family: var(--heading-font); font-weight: 600; color: var(--heading-color); }
.mc-home-weekly { width: 220px; }
.mc-home-weekly .mc-home-widget-row strong { font-size: 18px; }
.mc-home-bars { display: flex; align-items: flex-end; gap: 10px; height: 70px; margin-top: 12px; }
.mc-home-bars span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.mc-home-bars i { display: block; width: 10px; margin-top: auto; border-radius: 4px; background: var(--mc-green); }
.mc-home-bars span:nth-child(odd) i { background: var(--heading-color); }
.mc-home-bars span:nth-child(1) i { height: 28px; }
.mc-home-bars span:nth-child(2) i { height: 42px; }
.mc-home-bars span:nth-child(3) i { height: 54px; }
.mc-home-bars span:nth-child(4) i { height: 34px; }
.mc-home-bars span:nth-child(5) i { height: 46px; }
.mc-home-bars b { font-size: 10px; font-weight: 500; color: var(--body-color); }
.mc-home-next { width: 290px; }
.mc-home-next-title { display: block; margin: 10px 0 4px; font-size: 16px; }
.mc-home-next-time { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.mc-home-next-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--mc-line); }
.mc-home-person { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--heading-color); }
.mc-home-person img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.mc-home-join { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 30px; background: var(--heading-color); color: #fff; font-size: 12px; font-weight: 600; }
[dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_volume_report { left: auto; right: -80px; }
[dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_sells_report { right: auto; left: -80px; }

@media (max-width: 1399px) {
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_volume_report { left: -40px; }
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_sells_report { right: -30px; }
  [dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_volume_report { right: -40px; left: auto; }
  [dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_sells_report { left: -30px; right: auto; }
}
@media (max-width: 991px) {
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero { padding: 130px 0 90px; }
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_hero_thumbnail { max-width: 520px; margin-inline: auto; }
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_volume_report { top: -30px; left: -10px; }
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_sells_report { bottom: -50px; right: -10px; }
  [dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_volume_report { right: -10px; left: auto; }
  [dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_sells_report { left: -10px; right: auto; }
}
@media (max-width: 575px) {
  .mc-home-hero .mc-home-underline { white-space: normal; }
  .mc-home-weekly { width: 170px; padding: 12px; }
  .mc-home-bars { height: 50px; }
  .mc-home-next { width: 230px; padding: 12px 14px; }
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_volume_report { left: 0; top: -24px; }
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_sells_report { right: 0; }
  [dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_volume_report { right: 0; }
  [dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_sells_report { left: 0; }
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_btn_group { gap: 12px; }
}

/* ---------- Funfacts ---------- */
.mc-home .cs_funfact_number { line-height: 1.1; }
.mc-home-funfact-sub { display: block; margin-top: 4px; font-size: 14px; color: var(--body-color); }
.mc-home-stroke { opacity: .6; pointer-events: none; }
@media (max-width: 767px) { .mc-home-stroke { display: none; } }

/* ---------- Video ---------- */
.mc-home-video { max-width: 1040px; margin-inline: auto; }

/* ---------- Steps (tabs) ---------- */
.mc-home-step-nav { display: grid; gap: 12px; }
.mc-home-step-tab {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 18px 22px;
  text-align: start;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.mc-home-step-tab:hover { background: #fff; }
.mc-home-step-tab[aria-selected="true"] { background: #fff; border-color: var(--mc-line); box-shadow: 0 20px 40px -24px rgba(10, 10, 16, .25); }
.mc-home-step-num { flex: none; font-family: var(--heading-font); font-size: 15px; font-weight: 600; color: var(--body-color); min-width: 36px; }
.mc-home-step-tab[aria-selected="true"] .mc-home-step-num { color: var(--mc-green-700); }
.mc-home-step-tab strong { display: block; font-family: var(--heading-font); font-size: 20px; font-weight: 500; color: var(--heading-color); }
.mc-home-step-tab small { display: block; font-size: 14px; color: var(--body-color); }
.mc-home-step:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  height: 100%;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--mc-line);
  animation: mc-home-in .35s ease;
}
.mc-home-step-media { overflow: hidden; background: var(--mc-surface); border: 1px solid var(--mc-line); }
.mc-home-step-media img { display: block; width: 100%; height: auto; }
.mc-home-step-next { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 0; border: 0; background: none; font-weight: 600; color: var(--heading-color); }
.mc-home-step-next:hover { color: var(--mc-green-700); }
@keyframes mc-home-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1199px) { .mc-home-step:not([hidden]) { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 991px) {
  .mc-home-step-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .mc-home-step-nav::-webkit-scrollbar { display: none; }
  .mc-home-step-tab { flex: none; width: auto; padding: 12px 16px; }
  .mc-home-step-tab small { display: none; }
  .mc-home-step-tab strong { font-size: 17px; white-space: nowrap; }
}

/* GoSaaS cs_list, RTL-safe */
.cs_list.cs_style_1.mc-home-list li { padding-left: 0; padding-right: 0; padding-inline-start: 40px; }
.cs_list.cs_style_1.mc-home-list .cs_list_icon { left: auto; right: auto; inset-inline-start: 0; }
[dir="rtl"] .cs_list.cs_style_1.mc-home-list li { padding-left: 0; padding-right: 40px; }

/* ---------- Everything at a glance ---------- */
.mc-home-frame { padding: 14px; background: var(--mc-surface); border: 1px solid var(--mc-line); }
.mc-home-frame-bar { display: flex; gap: 6px; padding: 2px 4px 12px; }
.mc-home-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9DBE1; }
.mc-home-frame picture img, .mc-home-frame > img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--mc-line); }
.mc-home-frame-widget { position: absolute; bottom: -28px; inset-inline-end: -24px; width: 230px; animation: slide-right 15s linear infinite; }
.mc-home-frame-widget strong { display: block; font-size: 28px; line-height: 1.2; }
.mc-home-frame-widget .mc-home-up { white-space: normal; }
.mc-home .cs_iconbox.cs_style_6 { gap: 24px; }
.mc-home .cs_iconbox.cs_style_6 .cs_iconbox_icon { width: 64px; height: 64px; }
.mc-home .cs_iconbox.cs_style_6 .cs_iconbox_info { padding-top: 0; }
.mc-home-kpis { margin-top: clamp(48px, 6vw, 72px); }
.mc-home-kpi { height: 100%; padding: 22px 24px; border: 1px solid var(--mc-line); background: #fff; }
.mc-home-kpi span { display: block; font-size: 14px; }
.mc-home-kpi strong { display: block; margin: 4px 0; font-family: var(--heading-font); font-size: 30px; font-weight: 600; line-height: 1.2; }
.mc-home-kpi small { font-size: 13px; color: var(--mc-green-700); }
@media (max-width: 991px) { .mc-home-frame-widget { inset-inline-end: 8px; bottom: -36px; } }
@media (max-width: 575px) { .mc-home-frame-widget { position: static; width: auto; margin-top: 12px; animation: none; } }

/* ---------- Event types (dark iconbox slider) ---------- */
.mc-home-event { padding: 48px 28px 44px; }
.mc-home-event .cs_iconbox_title { -webkit-line-clamp: 2; }
.mc-home-event .cs_iconbox_subtitle { font-size: 16px; color: rgba(255, 255, 255, .72); }
.mc-home-event-type { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: var(--accent-color); }
.mc-home-event-tags { margin: 0 0 20px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.mc-home .cs_slider.cs_style_1 .slick-track { display: flex; }
.mc-home .cs_slider.cs_style_1 .slick-slide { height: auto; }
.mc-home .cs_slider.cs_style_1 .slick-slide > div { display: flex; height: 100%; }
.mc-home .cs_slider.cs_style_1 .cs_slide { display: flex !important; }
.mc-home .cs_slider.cs_style_1 .cs_slide > .cs_iconbox { flex: 1; height: auto; }
.mc-home .cs_iconbox_btn:hover { color: var(--accent-color); }
[dir="rtl"] .mc-home .cs_iconbox_btn .cs_btn_icon { transform: rotate(-135deg); }

/* ---------- Industries ---------- */
.mc-home-ind-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.mc-home-ind-tabs button {
  padding: 10px 22px;
  border: 1px solid var(--mc-line);
  border-radius: 50px;
  background: #fff;
  font-weight: 500;
  color: var(--heading-color);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.mc-home-ind-tabs button:hover { border-color: var(--heading-color); }
.mc-home-ind-tabs button[aria-selected="true"] { background: var(--heading-color); border-color: var(--heading-color); color: #fff; }
.mc-home-ind:not([hidden]) { animation: mc-home-in .35s ease; }
.mc-home-ind .cs_section_title { font-weight: 500; line-height: 1.25; }
.mc-home-ind-photo > img { display: block; width: 100%; height: 520px; object-fit: cover; border-radius: 15px; }
.mc-home-ind-widget { z-index: 2; bottom: 28px; inset-inline-start: -48px; width: 260px; animation: slide-left 20s linear infinite; }
.mc-home-ind-widget .mc-home-widget-row { padding: 7px 0; border-top: 1px solid var(--mc-line); font-size: 13px; }
.mc-home-ind-widget .mc-home-widget-row strong { font-size: 15px; white-space: nowrap; }
.mc-home-btns { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 991px) {
  .mc-home-ind-photo > img { height: 380px; }
  .mc-home-ind-widget { inset-inline-start: 16px; bottom: 16px; }
}
@media (max-width: 575px) {
  .mc-home-ind-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .mc-home-ind-tabs::-webkit-scrollbar { display: none; }
  .mc-home-ind-tabs button { flex: none; padding: 9px 18px; }
  .mc-home-ind-photo > img { height: 300px; }
  .mc-home-ind-widget { width: 220px; }
  .mc-home-btns .cs_btn { width: 100%; justify-content: center; }
}

/* ---------- Benefits (photo + iconbox grid) ---------- */
.mc-home-benefit-photo { height: 100%; }
.mc-home-benefit-photo img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 10px; }
.mc-home .cs_iconbox.cs_style_2 .cs_iconbox_icon svg { transform: none; }
.mc-home .cs_iconbox.cs_style_2 .cs_iconbox_icon { width: 85px; height: 85px; padding: 12px; }
.mc-home-benefit-stat { display: inline-block; font-size: 13px; font-weight: 600; color: var(--heading-color); }
@media (max-width: 991px) { .mc-home-benefit-photo img { min-height: 0; height: 360px; } }

/* ---------- Testimonial results ---------- */
.mc-home-results { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--mc-line); }
@media (min-width: 1400px) {
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_volume_report { left: -60px; }
  .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_sells_report { right: -40px; }
  [dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_volume_report { right: -60px; left: auto; }
  [dir="rtl"] .cs_hero.cs_style_1.cs_type_3.mc-home-hero .cs_sells_report { left: -40px; right: auto; }
}
@media (min-width: 992px) { .mc-home-benefit-photo img { height: 640px; min-height: 0; object-position: 70% center; } }
