/* HandyCafe Genesis — detailed Features page. Builds on landing.css. */
.hc-features { --feature-panel: rgba(12, 20, 34, .82); }
.hc-features-page #main-nav { position: sticky; top: 0; }

.hc-feature-hero { position: relative; min-height: 760px; display: grid; align-items: center; padding: 92px 0 88px; overflow: hidden; }
.hc-feature-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(380px, .82fr) minmax(560px, 1.18fr); gap: 58px; align-items: center; }
.hc-feature-hero-copy h1 { font-size: clamp(48px, 5.1vw, 72px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.hc-feature-hero-copy h1 span { display: block; color: transparent; background: linear-gradient(90deg, var(--hc-teal), #77e6d8 58%, var(--hc-purple)); background-clip: text; -webkit-background-clip: text; }
.hc-feature-promises { display: grid; gap: 9px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hc-line); }
.hc-feature-promises span { color: #8796ab; font: 500 11px/1.45 'IBM Plex Mono', monospace; }
.hc-feature-promises span::before { content: '✓'; color: var(--hc-teal); margin-right: 8px; }

.hc-feature-stage { position: relative; min-height: 570px; display: grid; align-items: center; }
.hc-feature-dashboard { width: 100%; max-width: 760px; border: 1px solid rgba(148,163,184,.22); border-radius: 22px; overflow: hidden; background: #080e18; box-shadow: 0 42px 120px rgba(0,0,0,.62), 0 0 90px rgba(45,212,191,.08); transform: perspective(1600px) rotateY(-3deg); transform-origin: center left; }
.hc-feature-dashboard img { display: block; width: 100%; height: auto; opacity: .94; }
.hc-feature-signal { position: absolute; z-index: 2; display: flex; gap: 11px; align-items: center; min-width: 188px; padding: 13px 15px; border: 1px solid rgba(148,163,184,.23); border-radius: 14px; background: rgba(8,15,26,.9); box-shadow: 0 22px 55px rgba(0,0,0,.38); backdrop-filter: blur(16px); }
.hc-feature-signal > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--hc-teal); background: rgba(45,212,191,.1); }
.hc-feature-signal strong, .hc-feature-signal small { display: block; }
.hc-feature-signal strong { color: #edf4f8; font-size: 12px; }
.hc-feature-signal small { margin-top: 3px; color: #75859a; font: 500 9px/1.35 'IBM Plex Mono', monospace; }
.hc-feature-signal-cloud { top: 26px; left: -40px; }
.hc-feature-signal-remote { right: -58px; bottom: 56px; }

.hc-feature-jump { position: sticky; top: 64px; z-index: 35; border-bottom: 1px solid var(--hc-line); background: rgba(6,10,18,.88); backdrop-filter: blur(18px); }
.hc-feature-jump .hc-wrap { display: flex; gap: 5px; overflow-x: auto; padding-block: 11px; scrollbar-width: none; }
.hc-feature-jump .hc-wrap::-webkit-scrollbar { display: none; }
.hc-feature-jump a { flex: 0 0 auto; padding: 8px 13px; border-radius: 9px; color: #8797ac; font-size: 12px; font-weight: 650; }
.hc-feature-jump a:hover, .hc-feature-jump a:focus-visible { color: var(--hc-text); background: rgba(45,212,191,.08); }

.hc-feature-why { background: var(--hc-bg-soft); }
.hc-outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hc-outcome-card { min-height: 230px; padding: 28px; border: 1px solid var(--hc-line); border-radius: 18px; background: linear-gradient(145deg, rgba(15,25,42,.96), rgba(8,15,26,.96)); transition: transform .2s ease, border-color .2s ease; }
.hc-outcome-card:hover { transform: translateY(-3px); border-color: var(--hc-line-strong); }
.hc-outcome-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 32px; border-radius: 11px; color: var(--hc-teal); background: rgba(45,212,191,.09); font-size: 18px; }
.hc-outcome-card strong { display: block; font-size: 18px; line-height: 1.25; }
.hc-outcome-card p { margin-top: 11px; color: var(--hc-muted); font-size: 14px; line-height: 1.65; }

.hc-feature-split { display: grid; grid-template-columns: minmax(0,.8fr) minmax(540px,1.2fr); gap: 68px; align-items: center; }
.hc-feature-split-reverse .hc-feature-copy { order: 2; }
.hc-feature-split-reverse .hc-order-board { order: 1; }
.hc-feature-copy h2 { font-size: clamp(35px,4.1vw,54px); line-height: 1.03; letter-spacing: -.042em; }
.hc-feature-list { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--hc-line); }
.hc-feature-list > div { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--hc-line); }
.hc-feature-list > div > span { color: var(--hc-teal); font-weight: 800; }
.hc-feature-list p { color: var(--hc-muted); font-size: 13px; line-height: 1.6; }
.hc-feature-list p strong { display: block; margin-bottom: 3px; color: var(--hc-text); font-size: 14px; }

.hc-command-section { background: var(--hc-bg); }
.hc-real-shot { min-width: 0; margin: 0; border: 1px solid rgba(148,163,184,.22); border-radius: 20px; overflow: hidden; background: #080e18; box-shadow: 0 34px 90px rgba(0,0,0,.42); }
.hc-real-shot img { display: block; width: 100%; height: auto; }
.hc-shot-top { display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: 0 16px; border-bottom: 1px solid var(--hc-line); color: #8797aa; font: 500 10px/1 'IBM Plex Mono', monospace; }
.hc-shot-top span::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 99px; background: var(--hc-teal); box-shadow: 0 0 12px var(--hc-teal); }
.hc-shot-top small { color: #68788e; }
.hc-real-shot figcaption { padding: 14px 16px; color: #718196; font-size: 11px; line-height: 1.55; }

.hc-revenue-engine { background: var(--hc-bg-soft); }
.hc-feature-duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.hc-feature-module { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--hc-line); border-radius: 20px; background: var(--feature-panel); }
.hc-module-copy { padding: 30px; }
.hc-feature-module h3, .hc-connected-card h3, .hc-insight-card h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.hc-feature-module p, .hc-connected-card p, .hc-insight-card p { margin-top: 11px; color: var(--hc-muted); font-size: 14px; line-height: 1.65; }
.hc-feature-module ul, .hc-connected-card ul { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.hc-feature-module li, .hc-connected-card li { color: #aab7c7; font-size: 13px; line-height: 1.5; }
.hc-feature-module li::before, .hc-connected-card li::before { content: '✓'; color: var(--hc-teal); margin-right: 8px; }
.hc-module-image { margin-top: auto; border-top: 1px solid var(--hc-line); background: #080e18; max-height: 360px; overflow: hidden; }
.hc-module-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hc-feature-remote .hc-benefit-list > div { padding-block: 15px; }
.hc-feature-remote .hc-benefit-list p { font-size: 13px; }

.hc-mobile-ecosystem { background: var(--hc-bg); }
.hc-connected-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.hc-connected-card { position: relative; display: flex; min-height: 500px; flex-direction: column; overflow: hidden; padding: 28px; border: 1px solid var(--hc-line); border-radius: 20px; background: linear-gradient(145deg, rgba(15,25,42,.96), rgba(8,15,26,.96)); }
.hc-connected-cloud { border-color: var(--hc-line-strong); }
.hc-connected-card .hc-card-link { margin-top: auto; }
.hc-cloud-pulse { position: relative; display: grid; place-items: center; height: 190px; margin-top: auto; }
.hc-cloud-pulse strong { position: relative; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(45,212,191,.4); border-radius: 20px; color: var(--hc-teal); background: #0a1722; font-size: 22px; box-shadow: 0 0 35px rgba(45,212,191,.12); }
.hc-cloud-pulse i { position: absolute; border: 1px solid rgba(45,212,191,.16); border-radius: 50%; }
.hc-cloud-pulse i:nth-child(1) { width: 100px; height: 100px; }
.hc-cloud-pulse i:nth-child(2) { width: 150px; height: 150px; }
.hc-cloud-pulse i:nth-child(3) { width: 200px; height: 200px; }
.hc-app-screen { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin: 30px 12px 24px; padding: 22px; border: 1px solid var(--hc-line); border-radius: 23px; background: #070d16; box-shadow: 0 20px 45px rgba(0,0,0,.3); }
.hc-app-screen > div { grid-column: 1/-1; display: flex; justify-content: space-between; }
.hc-app-screen > div span { width: 52px; height: 7px; border-radius: 99px; background: #29364a; }
.hc-app-screen > div i { width: 7px; height: 7px; border-radius: 50%; background: var(--hc-teal); box-shadow: 0 0 10px var(--hc-teal); }
.hc-app-screen strong { font-size: 40px; }
.hc-app-screen small { align-self: end; color: #718196; font-size: 10px; }
.hc-app-screen > b { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--hc-teal), #183448); grid-column: 1/-1; }
.hc-app-screen > b:nth-last-child(2) { width: 74%; }
.hc-app-screen > b:last-child { width: 46%; }
.hc-feature-qr { align-self: center; display: grid; grid-template-columns: 118px; gap: 10px; margin: 28px 0 22px; padding: 12px; border-radius: 16px; background: #fff; text-align: center; }
.hc-feature-qr svg { width: 118px; height: 118px; }
.hc-feature-qr span { color: #475569; font: 500 9px/1.4 'IBM Plex Mono', monospace; }

.hc-cafeteria-section { background: var(--hc-bg-soft); }
.hc-order-board { min-width: 0; overflow: hidden; border: 1px solid rgba(148,163,184,.22); border-radius: 22px; background: #080e18; box-shadow: 0 36px 95px rgba(0,0,0,.42); }
.hc-order-board strong { color: #e7eef6; }
.hc-order-top { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 18px; border-bottom: 1px solid var(--hc-line); }
.hc-order-top > div { display: flex; gap: 9px; align-items: center; }
.hc-order-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--hc-teal); box-shadow: 0 0 10px var(--hc-teal); }
.hc-order-top strong { font-size: 12px; }
.hc-order-top > span { color: var(--hc-teal); font: 500 9px/1 'IBM Plex Mono', monospace; }
.hc-order-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--hc-line); }
.hc-order-column { display: grid; align-content: start; gap: 10px; min-height: 440px; padding: 14px; background: #080e18; }
.hc-order-column > span { padding: 4px; color: #75859a; font: 500 9px/1 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.hc-order-column article { position: relative; padding: 15px; border: 1px solid var(--hc-line); border-radius: 12px; background: #0d1624; }
.hc-order-column article small { color: var(--hc-teal); font: 500 8px/1 'IBM Plex Mono', monospace; }
.hc-order-column article strong { display: block; margin-top: 9px; font-size: 12px; }
.hc-order-column article p { margin-top: 5px; color: #9aabc0; font-size: 10px; line-height: 1.45; }
.hc-order-column article b { display: block; width: 44%; height: 4px; margin-top: 15px; border-radius: 99px; background: rgba(45,212,191,.34); }
.hc-order-column:nth-child(2) article b { width: 73%; background: rgba(167,139,250,.48); }
.hc-order-column:nth-child(3) article b { width: 100%; background: rgba(45,212,191,.72); }
.hc-order-footer { display: grid; grid-template-columns: repeat(3,1fr); min-height: 48px; border-top: 1px solid var(--hc-line); }
.hc-order-footer span { display: grid; place-items: center; color: #91a2b7; font-size: 9px; border-right: 1px solid var(--hc-line); }
.hc-order-footer span:last-child { border-right: 0; }

.hc-intelligence { background: var(--hc-bg); }
.hc-insight-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: stretch; }
.hc-intelligence-stack { display: grid; gap: 18px; }
.hc-insight-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--hc-line); border-radius: 20px; background: var(--feature-panel); }
.hc-insight-ai { border-color: rgba(167,139,250,.32); }
.hc-insight-card > small { margin-top: auto; padding-top: 20px; color: #718196; font-size: 10px; line-height: 1.5; }
.hc-report-bars { display: flex; align-items: end; gap: 8px; height: 90px; margin-top: auto; padding-top: 24px; }
.hc-report-bars i { flex: 1; height: 34%; border-radius: 4px 4px 0 0; background: linear-gradient(to top, #0f766e, var(--hc-teal)); }
.hc-report-bars i:nth-child(2) { height: 58%; }.hc-report-bars i:nth-child(3) { height: 46%; }.hc-report-bars i:nth-child(4) { height: 86%; }.hc-report-bars i:nth-child(5) { height: 73%; }.hc-report-bars i:nth-child(6) { height: 100%; }.hc-report-bars i:nth-child(7) { height: 62%; }

.hc-reliability { background: #050911; }
.hc-reliability-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; border: 1px solid var(--hc-line); border-radius: 20px; overflow: hidden; background: var(--hc-line); }
.hc-reliability-grid article { min-height: 260px; padding: 28px; background: #080e18; }
.hc-reliability-grid article > span { display: block; margin-bottom: 45px; color: var(--hc-teal); font-size: 24px; }
.hc-reliability-grid h3 { font-size: 17px; }
.hc-reliability-grid p { margin-top: 10px; color: var(--hc-muted); font-size: 13px; line-height: 1.65; }

.hc-catalog { background: var(--hc-bg-soft); }
.hc-catalog-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 80px; align-items: start; }
.hc-catalog-grid > .hc-copy { position: sticky; top: 145px; }
.hc-catalog-grid .hc-copy h2 { font-size: clamp(34px,4vw,52px); line-height: 1.04; letter-spacing: -.04em; }
.hc-catalog-accordion { border-top: 1px solid var(--hc-line); }
.hc-catalog-accordion details { border-bottom: 1px solid var(--hc-line); }
.hc-catalog-accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 24px 0; cursor: pointer; }
.hc-catalog-accordion summary::-webkit-details-marker { display: none; }
.hc-catalog-accordion summary span { display: flex; align-items: center; gap: 16px; color: var(--hc-text); font-size: 17px; font-weight: 700; }
.hc-catalog-accordion summary i { color: var(--hc-teal); font: 500 10px/1 'IBM Plex Mono', monospace; font-style: normal; }
.hc-catalog-accordion summary b { color: var(--hc-teal); font-size: 24px; font-weight: 400; transition: transform .2s; }
.hc-catalog-accordion details[open] summary b { transform: rotate(45deg); }
.hc-catalog-accordion details > div { padding: 0 0 28px 42px; }
.hc-catalog-accordion details > div > p { color: var(--hc-muted); font-size: 13px; line-height: 1.65; }
.hc-catalog-accordion ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; margin: 20px 0 0; padding: 0; list-style: none; }
.hc-catalog-accordion li { color: #aab7c7; font-size: 12px; line-height: 1.5; }
.hc-catalog-accordion li::before { content: '✓'; color: var(--hc-teal); margin-right: 7px; }

html:not(.dark) .hc-features { --feature-panel: rgba(255,255,255,.9); }
html:not(.dark) .hc-feature-promises span { color: #607086; }
html:not(.dark) .hc-feature-jump { background: rgba(248,250,252,.9); }
html:not(.dark) .hc-feature-jump a { color: #536276; }
html:not(.dark) .hc-outcome-card,
html:not(.dark) .hc-feature-module,
html:not(.dark) .hc-connected-card,
html:not(.dark) .hc-insight-card { background: linear-gradient(145deg,#fff,#f2f6f9); box-shadow: 0 16px 45px rgba(15,23,42,.045); }
html:not(.dark) .hc-outcome-card p,
html:not(.dark) .hc-feature-list p,
html:not(.dark) .hc-feature-module p,
html:not(.dark) .hc-connected-card p,
html:not(.dark) .hc-insight-card p { color: #536276; }
html:not(.dark) .hc-feature-list p strong { color: #172033; }
html:not(.dark) .hc-feature-module li,
html:not(.dark) .hc-connected-card li,
html:not(.dark) .hc-catalog-accordion li { color: #536276; }
html:not(.dark) .hc-cafeteria-section,
html:not(.dark) .hc-revenue-engine,
html:not(.dark) .hc-catalog { background: #eef3f7; }
html:not(.dark) .hc-command-section,
html:not(.dark) .hc-mobile-ecosystem,
html:not(.dark) .hc-intelligence { background: #f8fafc; }
html:not(.dark) .hc-reliability { background: #eaf0f4; }
html:not(.dark) .hc-reliability-grid article { background: #fff; }
html:not(.dark) .hc-reliability-grid p,
html:not(.dark) .hc-catalog-accordion details > div > p { color: #536276; }

@media (max-width: 1180px) {
  .hc-feature-hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hc-feature-dashboard { width: 650px; }
  .hc-feature-signal-remote { right: -20px; }
  .hc-feature-split { grid-template-columns: .9fr 1.1fr; gap: 42px; }
}
@media (max-width: 980px) {
  .hc-feature-hero { padding-top: 72px; }
  .hc-feature-hero-grid { grid-template-columns: 1fr; }
  .hc-feature-hero-copy { max-width: 760px; }
  .hc-feature-stage { min-height: 520px; }
  .hc-feature-dashboard { width: min(100%,780px); transform: none; }
  .hc-feature-signal-cloud { left: 18px; }
  .hc-feature-signal-remote { right: 18px; bottom: 26px; }
  .hc-outcome-grid { grid-template-columns: repeat(2,1fr); }
  .hc-feature-split, .hc-insight-grid, .hc-catalog-grid { grid-template-columns: 1fr; }
  .hc-feature-split-reverse .hc-feature-copy, .hc-feature-split-reverse .hc-order-board { order: initial; }
  .hc-connected-grid { grid-template-columns: 1fr 1fr; }
  .hc-connected-cloud { grid-column: 1/-1; min-height: 420px; }
  .hc-catalog-grid { gap: 44px; }
  .hc-catalog-grid > .hc-copy { position: static; }
  .hc-reliability-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
  .hc-feature-hero { min-height: auto; padding: 62px 0 72px; }
  .hc-feature-hero-copy h1 { font-size: clamp(42px,12.5vw,58px); }
  .hc-feature-stage { min-height: 380px; margin-top: 18px; }
  .hc-feature-dashboard { width: calc(100vw - 32px); }
  .hc-feature-signal { min-width: 0; padding: 10px; }
  .hc-feature-signal div { display: none; }
  .hc-feature-signal-cloud { top: 20px; left: 8px; }
  .hc-feature-signal-remote { right: 8px; bottom: 22px; }
  .hc-feature-jump { top: 64px; }
  .hc-outcome-grid, .hc-feature-duo, .hc-connected-grid, .hc-reliability-grid { grid-template-columns: 1fr; }
  .hc-outcome-card { min-height: auto; }
  .hc-outcome-icon { margin-bottom: 22px; }
  .hc-connected-cloud { grid-column: auto; }
  .hc-connected-card { min-height: 440px; }
  .hc-order-columns { grid-template-columns: 1fr; }
  .hc-order-column { min-height: auto; }
  .hc-order-footer { grid-template-columns: 1fr; }
  .hc-order-footer span { min-height: 38px; border-right: 0; border-bottom: 1px solid var(--hc-line); }
  .hc-order-footer span:last-child { border-bottom: 0; }
  .hc-catalog-accordion details > div { padding-left: 0; }
  .hc-catalog-accordion ul { grid-template-columns: 1fr; }
}
