/* Product-led hero. The device shows a real HQ capture from the demo account;
   the floating cards reuse the app's own card, table tile, toast and assistant
   shapes so nothing on the stage looks like a screen the product does not have. */
.lp-refresh .product-hero{isolation:isolate;display:block;height:auto;max-height:none;min-height:0;border-radius:0;color:#1e293b;background:#fff;padding:48px 24px 20px;overflow:hidden;}
.lp-refresh .product-hero::after{display:none;}
.product-hero::before{content:"";position:absolute;z-index:-1;inset:180px -10% 0;background:radial-gradient(ellipse at 50% 62%,#c7d2fe 0%,#eef2ff 35%,#f8fafc 56%,#fff 74%);pointer-events:none;}
.ph-intro{text-align:center;position:relative;z-index:2;margin:0 auto;max-width:1100px;}
.lp-refresh .product-hero #service-heading{font-size:clamp(34px,3.9vw,56px);font-weight:700;line-height:1.1;letter-spacing:-.035em;margin:0;color:#1e293b;white-space:normal;}
.product-hero .hero-ai-subline{display:block;font-size:clamp(20px,2.25vw,30px);line-height:1.45;font-weight:550;letter-spacing:-.025em;color:inherit;margin:15px auto 0;max-width:900px;text-wrap:balance;}
.ph-ai-accent{color:#4f46e5;}
.ph-actions{display:flex;align-items:center;justify-content:center;gap:28px;margin-top:26px;}
.ph-actions .btn-solid{min-height:50px;gap:24px;padding:14px 28px;font-size:16px;background:#4f46e5;box-shadow:0 5px 16px #4f46e51a;}
.ph-product-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:15px;font-weight:600;color:#334155;}
.ph-product-link:hover{color:#4f46e5;}
.ph-support{font-size:12px;color:#64748b;line-height:1.5;margin:16px 0 0;}
.ph-support{max-width:65ch;margin-inline:auto;font-size:14px;line-height:1.6;text-wrap:pretty;}
.product-hero .hero-ai-subline{display:block;white-space:nowrap;max-width:none;margin:0;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;text-wrap:inherit;}

.ph-stage{position:relative;max-width:1200px;margin:44px auto 0;padding:0 250px 64px 210px;font-size:12px;line-height:1.4;color:#0f172a;text-align:left;}
.ph-dashboard{position:relative;z-index:1;border:10px solid #0e0f13;border-radius:22px;background:#0e0f13;box-shadow:0 30px 70px -32px rgba(15,23,42,.55),0 2px 6px rgba(15,23,42,.08);}
.ph-screen{display:block;width:100%;height:auto;border-radius:12px;}

.ph-channels,.ph-table-card,.ph-ai-card,.ph-order-card{position:absolute;z-index:2;}
.ph-channels{left:0;top:24px;width:196px;display:grid;gap:8px;}
.ph-channels>span,.ph-table-card,.ph-ai-card,.ph-order-card{background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 1px 0 rgba(15,23,42,.04),0 12px 32px -14px rgba(15,23,42,.22);}
.ph-channels>span{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 12px 8px 8px;border-radius:12px;}
.ph-channels b{font-size:12px;font-weight:600;line-height:1.3;color:#0f172a;}
.ph-channels i{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:8px;background:rgba(79,70,229,.10);color:#4f46e5;font-style:normal;}
.ph-channels i::before{content:"";width:16px;height:16px;background:currentColor;mask:var(--ph-icon) center/contain no-repeat;-webkit-mask:var(--ph-icon) center/contain no-repeat;}
.ph-ic-pos{--ph-icon:url(/lp/img/icons/pos.svg);}.ph-ic-mkt{--ph-icon:url(/lp/img/icons/megaphone.svg);}.ph-ic-ai{--ph-icon:url(/lp/img/icons/sparkles.svg);}

.ph-float-title{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.ph-float-title strong{font-size:14px;font-weight:600;color:#0f172a;}
.ph-float-title>span{font-size:12px;color:#64748b;}

.ph-table-card{left:0;top:214px;width:224px;padding:14px;border-radius:12px;}
.ph-table-card .ph-float-title>span{padding:4px 10px;border-radius:8px;background:rgba(79,70,229,.10);color:#4f46e5;font-weight:600;}
.ph-tables{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 10px;}
.ph-tables>span{display:grid;place-items:center;align-content:center;gap:1px;height:54px;}
.ph-tables b{font-size:14px;font-weight:700;line-height:1.1;}
.ph-tables small{font-size:9px;}
.ph-table-status{display:flex;align-items:center;gap:6px;font-size:11px;color:#475569;}
.ph-status-dot{width:6px;height:6px;border-radius:50%;background:#16a34a;flex:none;}
.ph-stage[data-phase="order"] .ph-status-dot{background:#dc2626;}

.ph-ai-card{right:0;top:0;width:300px;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;}
.ph-ai-card .ph-float-title{padding:12px 14px;border-bottom:1px solid rgba(15,23,42,.08);}
.ph-float-title>.ph-hq{padding:2px 8px;border-radius:9999px;background:#f59e0b;color:#1f1400;font-size:11px;font-weight:700;}
.ph-thread{display:flex;flex-direction:column;gap:10px;padding:14px;min-height:262px;}
.ph-bubble{align-self:flex-end;max-width:85%;margin:0;padding:8px 12px;border-radius:12px;background:#f1f5f9;font-size:12px;color:#0f172a;}
.ph-ai-answer{display:flex;flex-direction:column;gap:8px;}
.ph-ai-meta{display:flex;align-items:center;gap:6px;font-size:11px;color:#94a3b8;}
.ph-ai-badge{padding:1px 8px;border:1px solid rgba(15,23,42,.08);border-radius:9999px;background:#f7f8fa;color:#475569;font-weight:600;}
.ph-thinking{display:none;align-items:center;gap:8px;font-size:12px;color:#475569;}
.ph-thinking i{width:12px;height:12px;border:2px solid #c7d2fe;border-top-color:#4f46e5;border-radius:50%;animation:ph-spin .8s linear infinite;}
.ph-answer-content{display:flex;flex-direction:column;gap:8px;transition:opacity .35s ease,transform .35s ease;}
.ph-answer-content p{margin:0;font-size:12px;line-height:1.55;color:#0f172a;}
.ph-answer-content b{font-weight:700;}
.ph-answer-content p.ph-steps{color:#475569;font-size:11px;}
.ph-steps::before{content:"\203A";margin-right:5px;}
.ph-mini-table{width:100%;border-collapse:collapse;border:1px solid rgba(15,23,42,.08);border-radius:12px;overflow:hidden;font-size:11px;}
.ph-mini-table th{padding:6px 10px;text-align:left;font-weight:600;color:#475569;background:#f7f8fa;}
.ph-mini-table td{padding:6px 10px;border-top:1px solid rgba(15,23,42,.06);}
.ph-mini-table th:last-child,.ph-mini-table td:last-child{text-align:right;font-variant-numeric:tabular-nums;}
.ph-ai-input{display:flex;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid rgba(15,23,42,.08);}
.ph-input{flex:1;min-width:0;min-height:36px;display:flex;align-items:center;padding:0 10px;border:1px solid rgba(15,23,42,.16);border-radius:8px;font-size:12px;color:#0f172a;white-space:nowrap;overflow:hidden;}
.ph-input::after{content:attr(placeholder);color:#94a3b8;}
.ph-stage[data-phase="typing"] .ph-input::after{content:none;}
.ph-stage:not([data-phase="typing"]) [data-hero-question]{display:none;}
.ph-send{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:8px;background:#4f46e5;color:#fff;font-size:12px;font-weight:600;}

.ph-order-card{left:150px;bottom:20px;display:flex;align-items:flex-start;gap:10px;width:320px;padding:12px 14px;border-radius:12px;box-shadow:0 20px 60px -10px rgba(15,23,42,.20),0 4px 16px -4px rgba(15,23,42,.10);}
.ph-order-icon{flex:none;color:#166534;margin-top:1px;}
.ph-order-card strong{display:block;font-size:13px;font-weight:600;color:#0f172a;}
.ph-order-card div span{display:block;margin-top:2px;font-size:12px;color:#475569;}
.ph-order-close{flex:none;margin-left:auto;color:#94a3b8;}

.ph-visual-foot{position:absolute;left:0;right:0;bottom:-6px;display:flex;align-items:center;justify-content:center;gap:16px;color:#64748b;font-size:12px;}
.ph-visual-foot>div{display:flex;gap:8px;}
.ph-visual-foot button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;min-width:44px;padding:0 12px;border:1px solid rgba(15,23,42,.08);border-radius:8px;background:#fff;color:#475569;font:inherit;font-weight:500;cursor:pointer;}
.ph-visual-foot button:hover{border-color:rgba(15,23,42,.16);color:#0f172a;}
.ph-visual-foot [hidden]{display:none;}

.ph-stage[data-phase="typing"] .ph-bubble,.ph-stage[data-phase="typing"] .ph-ai-answer{display:none;}
.ph-stage[data-phase="thinking"] .ph-thinking{display:flex;}
.ph-stage[data-phase="thinking"] .ph-answer-content{display:none;}
.ph-stage[data-phase="typing"] [data-hero-question]::after{content:"";display:inline-block;height:1em;border-right:1px solid #4f46e5;vertical-align:-2px;margin-left:2px;}
.ph-stage[data-phase="typing"] .ph-order-card,.ph-stage[data-phase="thinking"] .ph-order-card,.ph-stage[data-phase="answer"] .ph-order-card{opacity:0;transform:translateY(10px);}
.ph-order-card{transition:opacity .35s ease,transform .35s ease;}
.ph-stage[data-paused="true"] *{animation-play-state:paused!important;}
@keyframes ph-spin{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){.ph-stage *{animation:none!important;transition:none!important;}}

@media(min-width:1440px){.ph-stage{max-width:1260px;padding-inline:230px 270px;}.ph-ai-card{width:310px;}}
@media(min-width:1024px) and (max-height:800px){.lp-refresh .product-hero{padding-top:24px;}.lp-refresh .product-hero #service-heading{font-size:56px;}.ph-actions{margin-top:18px;}.ph-stage{margin-top:28px;}}
@media(max-width:1023px){
  .lp-refresh .product-hero{padding:42px 22px 24px;}
  .lp-refresh .product-hero #service-heading{font-size:42px;line-height:1.15;}
  .ph-stage{max-width:720px;padding:0 0 64px;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:start;}
  .ph-channels{position:relative;top:auto;grid-column:1/-1;width:100%;display:flex;gap:8px;}
  .ph-channels>span{flex:1;}
  .ph-dashboard{grid-column:1;}
  .ph-ai-card{position:relative;top:auto;right:auto;width:auto;grid-column:2;grid-row:2/4;}
  .ph-table-card{position:relative;top:auto;left:auto;width:auto;grid-column:1;}
  .ph-order-card{left:24px;bottom:24px;}
}
@media(max-width:767px){
  .lp-refresh .product-hero{padding:28px 18px 18px;}
  .lp-refresh .product-hero #service-heading{font-size:clamp(30px,8.7vw,36px);line-height:1.15;letter-spacing:-.03em;max-width:400px;margin:auto;}
  .product-hero .hero-ai-subline{display:inline;white-space:normal;font-size:inherit;font-weight:700;}
  .ph-actions{gap:20px;margin-top:20px;}
  .ph-actions .btn-solid{font-size:14px;min-height:44px;padding:10px 20px;gap:12px;}
  .ph-product-link{font-size:13px;gap:6px;}
  .ph-support{font-size:13.5px;line-height:1.6;max-width:36ch;margin:14px auto 0;}
  .ph-stage{margin-top:24px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;padding:0;max-width:430px;}
  .ph-channels{grid-column:1/-1;}
  .ph-channels>span{min-width:0;min-height:52px;padding:6px;gap:6px;}
  .ph-channels b{font-size:10px;overflow-wrap:anywhere;}
  .ph-channels i{width:24px;height:24px;}.ph-channels i::before{width:13px;height:13px;}
  .ph-dashboard,.ph-ai-card{grid-column:1/-1;grid-row:auto;width:100%;min-width:0;}
  .ph-dashboard{border-width:6px;border-radius:16px;}.ph-screen{border-radius:10px;}
  .ph-thread{min-height:0;}
  .ph-table-card{display:block;width:100%;min-width:0;padding:12px;}
  .ph-tables{gap:6px;}.ph-tables>span{height:40px;}.ph-tables small{display:none;}
  .ph-table-status{font-size:10px;}
  .ph-order-card{display:none;}
  .ph-visual-foot{position:static;align-self:center;flex-direction:column;gap:6px;text-align:center;font-size:11px;}
  .ph-visual-foot>div{flex-direction:column;gap:6px;width:100%;}
  .ph-visual-foot button{width:100%;}
}
:root[data-theme='dark'] .lp-refresh .product-hero{background:#0b0f19;color:#f1f5f9;}
:root[data-theme='dark'] .product-hero::before{background:radial-gradient(ellipse at 50% 62%,#312e814d 0%,#0f172a 45%,#0b0f19 76%);}
:root[data-theme='dark'] .lp-refresh .product-hero #service-heading{color:#f1f5f9;}
:root[data-theme='dark'] .ph-ai-accent{color:#a5b4fc;}
:root[data-theme='dark'] .ph-product-link{color:#cbd5e1;}
:root[data-theme='dark'] .ph-product-link:hover{color:#a5b4fc;}
:root[data-theme='dark'] .ph-support,:root[data-theme='dark'] .ph-visual-foot{color:#94a3b8;}
:root[data-theme='dark'] .ph-visual-foot button{background:#1e293b;border-color:rgba(255,255,255,.12);color:#cbd5e1;}
