.home-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 82px;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 140, 91, .16), transparent 28%),
    linear-gradient(180deg, #fffaf6 0%, #fff 100%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 54px;
  align-items: center;
}

.home-hero-copy { position: relative; z-index: 2; }
.home-hero-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(48px, 5.3vw, 72px);
  line-height: 1.16;
  letter-spacing: -.055em;
}
.home-hero-copy h1 strong { color: var(--orange); font: inherit; }
.home-hero-copy > p { max-width: 480px; margin: 0; color: var(--text); font-size: 19px; line-height: 1.75; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-hero-actions .button { min-height: 50px; padding-inline: 24px; }
.home-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.home-hero-tags span {
  padding: 8px 12px;
  color: #5f4a42;
  border: 1px solid #f0ded4;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  font-size: 14px;
}

.home-hero-media { position: relative; min-width: 0; padding: 0 0 62px 50px; }
.home-scene-photo {
  margin: 0;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 34px;
  background: #f3e9e2;
  box-shadow: 0 30px 80px rgba(57, 36, 29, .16);
}
.home-scene-photo img { width: 100%; height: 510px; object-fit: cover; object-position: 55% center; }
.home-dashboard-preview {
  position: absolute;
  right: 34px;
  bottom: 0;
  left: 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 60px rgba(26, 31, 44, .18);
  backdrop-filter: blur(16px);
}
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preview-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.preview-brand img { width: 24px; height: 24px; object-fit: contain; }
.preview-status { color: var(--success); font-size: 12px; font-weight: 700; }
.preview-metrics { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 10px; margin-top: 14px; }
.preview-metrics span { padding: 11px 12px; border-radius: 12px; background: #f8f7f8; }
.preview-metrics small { display: block; color: #7d7780; font-size: 12px; }
.preview-metrics strong { display: block; margin-top: 4px; font-size: 18px; }
.preview-chart { display: flex; align-items: end; gap: 6px; height: 72px; margin-top: 10px; padding: 12px 10px 0; border-radius: 12px; background: #fff7f2; }
.preview-chart i { flex: 1; min-height: 8px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #ff7b4d, #ffc3aa); }
.home-dashboard-preview > p { margin: 8px 0 0; color: var(--muted); text-align: right; font-size: 12px; }

.home-journey { padding: 22px 0; border-block: 1px solid var(--line); background: #fff; }
.home-journey-list { display: grid; grid-template-columns: repeat(5, 1fr); }
.home-journey-list span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border-right: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.home-journey-list span:last-child { border-right: 0; }
.home-journey-list i { display: grid; width: 32px; height: 32px; place-items: center; color: var(--orange-dark); border-radius: 10px; background: var(--orange-soft); font-style: normal; font-size: 13px; }

.home-showcase { padding: 104px 0; background: #fff; }
.home-heading { position: relative; margin-bottom: 42px; text-align: center; }
.home-heading h2 { margin: 14px 0 0; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.18; letter-spacing: -.04em; }
.home-heading > a { position: absolute; right: 0; bottom: 7px; color: var(--orange-dark); font-size: 14px; font-weight: 700; }
.home-product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.product-visual {
  grid-column: span 2;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #eae6e3;
  border-radius: 26px;
  background: #fbfafb;
  box-shadow: 0 12px 34px rgba(36, 29, 43, .05);
}
.product-visual-cashier { grid-column: span 6; padding: 28px; background: linear-gradient(145deg, #f9f7fb, #fff8f3); }
.product-visual-copy { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-visual-copy > span { flex: 0 0 auto; padding: 6px 10px; color: var(--orange-dark); border-radius: 999px; background: var(--orange-soft); font-size: 12px; font-weight: 800; }
.product-visual-copy h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.product-visual > p { margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.cashier-ui {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 250px;
  min-height: 342px;
  overflow: hidden;
  border: 1px solid #dfd9e4;
  border-radius: 18px;
  background: #f3f2f5;
  box-shadow: 0 18px 45px rgba(35, 24, 48, .1);
}
.ui-sidebar { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 17px 12px; background: #1f172b; }
.ui-sidebar b { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; border-radius: 11px; background: var(--orange); font-size: 12px; }
.ui-sidebar i { width: 29px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); }
.ui-sidebar i.active { background: #ff8a61; }
.ui-main { min-width: 0; padding: 20px; }
.ui-toolbar { display: flex; align-items: center; justify-content: space-between; }
.ui-toolbar strong { font-size: 17px; }
.ui-toolbar span { min-width: 150px; padding: 9px 12px; color: #9a949e; border: 1px solid #e4e0e6; border-radius: 10px; background: #fff; font-size: 12px; }
.ui-customer { display: flex; align-items: center; gap: 11px; margin-top: 16px; padding: 13px; border-radius: 13px; background: #fff; }
.ui-avatar { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; border-radius: 13px; background: linear-gradient(135deg, #ff845a, #f1a67f); font-weight: 800; }
.ui-customer div { min-width: 0; margin-right: auto; }
.ui-customer strong, .ui-customer small { display: block; }
.ui-customer small { margin-top: 3px; color: #8e8793; font-size: 11px; }
.ui-customer > b { color: var(--success); font-size: 11px; }
.ui-service-tabs { display: flex; gap: 6px; margin-top: 13px; padding: 5px; border-radius: 11px; background: #e9e6ec; }
.ui-service-tabs span { flex: 1; padding: 8px; color: #7d7683; border-radius: 8px; text-align: center; font-size: 11px; }
.ui-service-tabs span.active { color: #fff; background: #7040d2; }
.ui-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 12px; }
.ui-services span { display: flex; flex-direction: column; min-height: 118px; padding: 13px; border-radius: 12px; background: #fff; }
.ui-services i { width: 36px; height: 7px; border-radius: 9px; background: #f5c4b0; }
.ui-services b { margin-top: 16px; font-size: 12px; }
.ui-services small { margin-top: auto; color: var(--orange-dark); font-size: 12px; font-weight: 800; }
.ui-order { display: flex; flex-direction: column; padding: 22px; background: #fff; }
.ui-order > strong { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
.ui-order > span { display: flex; justify-content: space-between; padding: 14px 0; color: #77717c; border-bottom: 1px solid #f0edef; font-size: 12px; }
.ui-order > span b { color: var(--ink); }
.ui-order > div { display: flex; align-items: end; justify-content: space-between; margin-top: auto; }
.ui-order small { font-size: 12px; }
.ui-order em { color: var(--orange-dark); font-style: normal; font-size: 25px; font-weight: 800; }
.ui-order button { margin-top: 14px; padding: 12px; color: #fff; border: 0; border-radius: 10px; background: var(--orange); font-weight: 700; pointer-events: none; }

.schedule-ui, .member-ui, .report-ui { min-height: 290px; padding: 18px; border: 1px solid #e6e1e7; border-radius: 17px; background: #fff; box-shadow: 0 14px 34px rgba(37, 29, 43, .07); }
.schedule-head { display: flex; justify-content: space-between; align-items: center; }
.schedule-head strong { font-size: 15px; }
.schedule-head span { color: var(--muted); font-size: 12px; }
.schedule-days { display: grid; grid-template-columns: 44px repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.schedule-days > span, .schedule-days > b { min-height: 46px; border-radius: 8px; }
.schedule-days > b { display: flex; align-items: flex-start; color: #9a949e; font-size: 10px; font-weight: 500; }
.schedule-days > span { border: 1px dashed #e6e1e7; }
.schedule-days .booking { display: flex; flex-direction: column; justify-content: center; padding: 6px; border: 0; font-size: 10px; font-weight: 800; }
.schedule-days .booking small { margin-top: 3px; font-size: 9px; font-weight: 500; }
.booking.peach { color: #a54320; background: #fff0e8; }
.booking.purple { color: #6942a3; background: #f1eafd; }
.booking.green { color: #19775d; background: #e8f7f1; }

.member-profile { display: flex; align-items: center; gap: 11px; }
.member-profile > span { display: grid; width: 48px; height: 48px; place-items: center; color: #fff; border-radius: 15px; background: linear-gradient(135deg, #ff845a, #f2b190); font-weight: 800; }
.member-profile div { margin-right: auto; }
.member-profile strong, .member-profile small { display: block; }
.member-profile small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.member-profile > b { padding: 5px 8px; color: var(--success); border-radius: 999px; background: #e9f8f3; font-size: 10px; }
.member-balance { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.member-balance span { padding: 13px; border-radius: 12px; background: #f8f6f9; }
.member-balance small, .member-balance strong { display: block; }
.member-balance small { color: #827b86; font-size: 10px; }
.member-balance strong { margin-top: 6px; font-size: 17px; }
.member-history { margin-top: 17px; }
.member-history > b { display: block; margin-bottom: 8px; font-size: 12px; }
.member-history span { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid #f0edef; font-size: 11px; }
.member-history i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.member-history small { margin-left: auto; color: #9a949e; }

.report-kpis { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.report-kpis span { padding: 13px; border-radius: 12px; background: #f8f6f9; }
.report-kpis small, .report-kpis strong { display: block; }
.report-kpis small { color: var(--muted); font-size: 10px; }
.report-kpis strong { margin-top: 5px; font-size: 17px; }
.report-bars { display: flex; align-items: end; gap: 7px; height: 136px; margin-top: 14px; padding: 14px 12px 0; border-radius: 12px; background: #fff5ef; }
.report-bars i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #ff7a4b, #ffc8b0); }
.report-legend { display: flex; justify-content: center; gap: 22px; margin-top: 12px; color: #847d88; font-size: 10px; }
.report-legend span::before { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--orange); content: ""; }
.home-demo-note { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 12px; }

.home-mobile { padding: 104px 0; background: linear-gradient(180deg, #fffaf6, #fff); }
.home-mobile-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; align-items: center; }
.home-mobile-photo { position: relative; min-width: 0; }
.home-mobile-photo > img { width: 100%; height: 520px; object-fit: cover; object-position: 50% 38%; border-radius: 32px; box-shadow: 0 28px 70px rgba(51, 35, 29, .14); }
.home-phone-card { position: absolute; right: -30px; bottom: -34px; width: 214px; padding: 17px; color: var(--ink); border: 8px solid #17191f; border-radius: 30px; background: #fff; box-shadow: 0 24px 55px rgba(23, 25, 31, .24); }
.phone-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.phone-card-top img { width: 22px; height: 22px; object-fit: contain; }
.phone-card-top span { color: var(--muted); font-size: 11px; }
.home-phone-card > small { color: var(--muted); font-size: 11px; }
.home-phone-card > strong { display: block; margin-top: 5px; font-size: 27px; }
.home-phone-card > div:not(.phone-card-top) { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 16px; }
.home-phone-card > div:not(.phone-card-top) span { padding: 10px; border-radius: 10px; background: #f8f6f7; font-size: 10px; }
.home-phone-card b { display: block; margin-top: 5px; font-size: 15px; }
.home-phone-card > p { margin: 13px 0 0; padding: 9px; color: var(--success); border-radius: 10px; background: #eaf8f3; text-align: center; font-size: 11px; font-weight: 700; }
.home-mobile-copy h2 { margin: 16px 0 24px; font-size: clamp(36px, 4.8vw, 54px); line-height: 1.16; letter-spacing: -.045em; }
.home-mobile-points { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.home-mobile-points span { padding: 10px 14px; border-radius: 999px; background: #fff; box-shadow: 0 8px 24px rgba(47, 37, 32, .07); font-size: 15px; font-weight: 700; }

.home-industries { padding: 104px 0 48px; background: #fff; }
.home-industry-stage { position: relative; min-height: 470px; overflow: hidden; border-radius: 34px; background: #34251f; }
.home-industry-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; opacity: .72; }
.home-industry-stage::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,18,26,.86) 0%, rgba(15,18,26,.55) 48%, rgba(15,18,26,.08) 100%); content: ""; }
.home-industry-overlay { position: relative; z-index: 1; max-width: 720px; padding: 72px; color: #fff; }
.home-industry-overlay .eyebrow { color: #ffc2aa; }
.home-industry-overlay h2 { margin: 16px 0 32px; font-size: clamp(38px, 5vw, 58px); line-height: 1.15; letter-spacing: -.045em; }
.home-industry-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.home-industry-tags span { padding: 11px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.12); font-size: 15px; font-weight: 700; backdrop-filter: blur(8px); }

.home-plans { padding: 96px 0; background: #fff; }
.home-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-plan-grid a { display: flex; flex-direction: column; min-height: 210px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(28, 34, 47, .05); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.home-plan-grid a:hover { transform: translateY(-3px); border-color: #ffc5ab; box-shadow: 0 18px 44px rgba(28, 34, 47, .09); }
.home-plan-grid span { color: var(--orange-dark); font-size: 14px; font-weight: 800; }
.home-plan-grid strong { max-width: 240px; margin-top: 28px; font-size: 24px; line-height: 1.35; }
.home-plan-grid small { margin-top: auto; color: var(--muted); font-size: 14px; }

.home-final { padding: 18px 0 100px; background: #fff; }
.home-final-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 54px; color: #fff; border-radius: 30px; background: linear-gradient(135deg, #ff6533, #ff8a56); box-shadow: 0 24px 55px rgba(255, 101, 51, .22); }
.home-final-panel span { color: rgba(255,255,255,.86); font-size: 15px; }
.home-final-panel h2 { margin: 8px 0 0; font-size: clamp(32px, 4vw, 46px); }
.home-final-panel > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1080px) {
  .home-hero-grid, .home-mobile-grid { grid-template-columns: 1fr; }
  .home-hero-copy { max-width: 720px; }
  .home-hero-copy > p { max-width: 620px; }
  .home-hero-media { max-width: 860px; }
  .product-visual { grid-column: span 3; }
  .product-visual-cashier { grid-column: span 6; }
  .cashier-ui { grid-template-columns: 56px minmax(0,1fr) 220px; }
  .home-mobile-grid { gap: 76px; }
  .home-mobile-photo { max-width: 820px; }
}

@media (max-width: 820px) {
  .home-hero { padding-top: 52px; }
  .home-hero-media { padding-left: 24px; }
  .home-journey-list { grid-template-columns: repeat(5, auto); overflow-x: auto; justify-content: start; scrollbar-width: none; }
  .home-journey-list span { min-width: 145px; padding-inline: 14px; }
  .cashier-ui { grid-template-columns: 48px 1fr; }
  .ui-order { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .ui-order > strong { grid-column: 1 / -1; }
  .ui-order > div, .ui-order button { align-self: end; }
  .home-heading > a { position: static; display: inline-block; margin-top: 15px; }
  .home-industry-overlay { padding: 52px 40px; }
  .home-plan-grid { grid-template-columns: 1fr; }
  .home-plan-grid a { min-height: 160px; }
  .home-final-panel { align-items: flex-start; flex-direction: column; padding: 40px; }
}

@media (max-width: 620px) {
  .home-hero { padding: 38px 0 54px; }
  .home-hero-grid { gap: 34px; }
  .home-hero-copy h1 { margin: 14px 0; font-size: clamp(42px, 13vw, 56px); }
  .home-hero-copy > p { font-size: 17px; }
  .home-hero-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .home-hero-actions .button { width: 100%; padding-inline: 10px; }
  .home-hero-tags { margin-top: 20px; }
  .home-hero-tags span { font-size: 13px; }
  .home-hero-media { padding: 0 0 150px; }
  .home-scene-photo { border-width: 5px; border-radius: 24px; }
  .home-scene-photo img { height: 360px; object-position: 61% center; }
  .home-dashboard-preview { right: 12px; left: 12px; padding: 14px; border-radius: 18px; }
  .preview-metrics { gap: 6px; }
  .preview-metrics span { padding: 9px 8px; }
  .preview-metrics strong { font-size: 15px; }
  .preview-chart { height: 56px; }
  .home-showcase, .home-mobile, .home-plans { padding: 72px 0; }
  .home-heading { margin-bottom: 30px; }
  .home-heading h2 { font-size: 36px; }
  .product-visual, .product-visual-cashier { grid-column: span 6; padding: 18px; border-radius: 20px; }
  .product-visual-copy { align-items: flex-start; flex-direction: column; gap: 8px; }
  .product-visual-copy h3 { font-size: 20px; }
  .cashier-ui { grid-template-columns: 1fr; min-height: 0; }
  .ui-sidebar { display: none; }
  .ui-main { padding: 14px; }
  .ui-toolbar span { min-width: 110px; }
  .ui-services { grid-template-columns: 1fr 1fr; }
  .ui-services span:last-child { display: none; }
  .ui-order { display: flex; grid-column: auto; padding: 16px; }
  .schedule-ui, .member-ui, .report-ui { min-height: 270px; padding: 15px; }
  .home-mobile-grid { gap: 62px; }
  .home-mobile-photo > img { height: 430px; border-radius: 24px; object-position: 50% 38%; }
  .home-phone-card { right: 10px; bottom: -38px; width: 188px; border-width: 6px; }
  .home-mobile-copy h2 { font-size: 39px; }
  .home-industries { padding: 72px 0 24px; }
  .home-industry-stage { min-height: 500px; border-radius: 24px; }
  .home-industry-stage > img { object-position: 62% center; }
  .home-industry-stage::after { background: linear-gradient(180deg, rgba(15,18,26,.22), rgba(15,18,26,.9)); }
  .home-industry-overlay { position: absolute; right: 0; bottom: 0; left: 0; padding: 32px 24px; }
  .home-industry-overlay h2 { margin-bottom: 24px; font-size: 38px; }
  .home-industry-tags span { padding: 9px 11px; font-size: 13px; }
  .home-final { padding-bottom: 82px; }
  .home-final-panel { padding: 32px 24px; border-radius: 24px; }
  .home-final-panel > div:last-child { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .home-final-panel .button { width: 100%; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-plan-grid a { transition: none; }
}
