/* MPConnect — Homepage premium 2026-10-21 */
.mphome{
    --home-bg:#040d18;
    --home-panel:#0b1c2d;
    --home-panel-2:#10263c;
    --home-border:rgba(95,181,255,.24);
    --home-text:#f5f9ff;
    --home-muted:#96abc4;
    --home-teal:#5fe0cf;
    --home-cyan:#26c8ec;
    --home-blue:#3b68ff;
    --home-purple:#7866ff;
    --home-red:#ff6b78;
    width:min(100%,980px);
    margin:0 auto;
    padding:clamp(14px,2vw,28px) clamp(14px,3vw,28px) 42px;
    color:var(--home-text);
}

.mphome *{box-sizing:border-box}
.mphome a{text-decoration:none}
.mphome svg{display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

.mphome-hero,
.mphome-assistant,
.mphome-how,
.mphome-final,
.mphome-service-card{
    border:1px solid var(--home-border);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 20px 70px rgba(0,0,0,.22);
}

.mphome-hero{
    position:relative;
    overflow:hidden;
    min-height:520px;
    padding:clamp(24px,5vw,58px);
    border-radius:32px;
    background:
        radial-gradient(circle at 78% 20%,rgba(38,200,236,.16),transparent 28%),
        radial-gradient(circle at 90% 65%,rgba(37,104,255,.10),transparent 30%),
        linear-gradient(145deg,#06111f 0%,#071522 52%,#06101c 100%);
}

.mphome-hero:before{
    content:"";
    position:absolute;
    inset:-45% -20% auto 35%;
    height:430px;
    background:radial-gradient(circle,rgba(45,206,238,.15),transparent 66%);
    filter:blur(10px);
    pointer-events:none;
}

.mphome-hero-copy{position:relative;z-index:3;max-width:560px}
.mphome-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-height:38px;
    padding:8px 15px;
    border-radius:999px;
    color:var(--home-teal);
    font-weight:800;
    font-size:14px;
    letter-spacing:-.01em;
    background:rgba(40,193,176,.105);
    border:1px solid rgba(95,224,207,.14);
    backdrop-filter:blur(14px);
}
.mphome-badge span{
    width:10px;height:10px;border-radius:999px;background:var(--home-teal);
    box-shadow:0 0 0 6px rgba(95,224,207,.12),0 0 18px rgba(95,224,207,.8)
}

.mphome h1,.mphome h2,.mphome strong{font-family:Sora,Inter,sans-serif}
.mphome h1{
    max-width:600px;
    margin:20px 0 12px;
    font-size:clamp(42px,7vw,72px);
    line-height:.98;
    letter-spacing:-.055em;
    font-weight:800;
}
.mphome h1 span{
    display:block;
    margin-top:7px;
    background:linear-gradient(90deg,#67e8d8 0%,#44d8e8 52%,#75e6d4 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
}
.mphome-lead{
    max-width:560px;
    margin:20px 0 0;
    color:var(--home-muted);
    font-size:clamp(16px,2.1vw,20px);
    line-height:1.55;
}

.mphome-actions{display:flex;gap:12px;margin-top:30px;max-width:520px}
.mphome-btn{
    min-height:56px;
    padding:0 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    border-radius:18px;
    font-family:Sora,Inter,sans-serif;
    font-size:15px;
    font-weight:800;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
    -webkit-tap-highlight-color:transparent;
}
.mphome-btn:active{transform:scale(.985)}
.mphome-btn svg{width:21px;height:21px}
.mphome-btn-primary{
    flex:1 1 auto;
    color:#03201f;
    background:linear-gradient(135deg,#67e0cf 0%,#39dfce 55%,#26d6ce 100%);
    border:1px solid rgba(125,255,232,.56);
    box-shadow:0 14px 34px rgba(38,214,206,.13),inset 0 1px 0 rgba(255,255,255,.44);
}
.mphome-btn-primary:hover{box-shadow:0 16px 42px rgba(38,214,206,.22)}
.mphome-btn-secondary{
    flex:1 1 auto;
    color:var(--home-text);
    background:rgba(4,14,25,.38);
    border:1px solid rgba(121,175,228,.45);
    backdrop-filter:blur(12px);
}
.mphome-btn-secondary:hover{border-color:rgba(95,224,207,.46);background:rgba(13,34,54,.62)}

.mphome-hero-art{
    position:absolute;
    z-index:1;
    right:28px;
    top:60px;
    width:330px;
    height:380px;
    pointer-events:none;
}
.mphome-orbit{position:absolute;border:1px solid rgba(38,200,236,.38);border-radius:50%;filter:drop-shadow(0 0 14px rgba(38,200,236,.2));transform:rotate(-18deg)}
.mphome-orbit-a{width:310px;height:128px;left:12px;top:125px}
.mphome-orbit-b{width:260px;height:100px;left:40px;top:148px;transform:rotate(22deg);border-color:rgba(83,103,255,.35)}
.mphome-med-phone{
    position:absolute;
    width:170px;height:294px;
    right:45px;top:32px;
    border-radius:30px;
    transform:rotate(13deg);
    background:linear-gradient(155deg,#0b3c5f,#06243c 44%,#071321);
    border:2px solid rgba(70,190,255,.62);
    box-shadow:0 25px 65px rgba(0,119,255,.24),0 0 40px rgba(38,200,236,.18),inset 0 0 0 5px rgba(2,12,24,.6);
}
.mphome-phone-speaker{position:absolute;width:54px;height:6px;border-radius:999px;left:50%;top:12px;transform:translateX(-50%);background:#07111d}
.mphome-phone-heart{position:absolute;inset:70px 22px auto;height:130px;display:grid;place-items:center;filter:drop-shadow(0 0 22px rgba(50,240,225,.45))}
.mphome-phone-heart svg{width:120px;height:100px;stroke-width:3}
.mphome-phone-heart .heart{fill:rgba(32,218,207,.55);stroke:#40e8dd}
.mphome-phone-heart .ecg{stroke:white;stroke-width:4}
.mphome-float{
    position:absolute;display:grid;place-items:center;border-radius:50%;font-weight:900;
    backdrop-filter:blur(12px);box-shadow:0 10px 30px rgba(0,0,0,.22)
}
.mphome-float-stethoscope{width:64px;height:64px;left:20px;top:45px;color:#dffcff;font-size:38px;background:rgba(18,139,178,.42);border:1px solid rgba(73,213,255,.5)}
.mphome-float-plus{width:58px;height:58px;right:0;top:145px;color:#05262a;font-size:32px;background:rgba(99,231,217,.92);border:1px solid rgba(178,255,243,.56)}
.mphome-float-pin{width:62px;height:62px;right:42px;bottom:2px;color:#ff7e89;background:rgba(101,26,48,.55);border:1px solid rgba(255,107,120,.5)}
.mphome-float-pin svg{width:28px;height:28px;fill:rgba(255,107,120,.2);stroke-width:2.2}

.mphome-assistant{
    margin-top:18px;
    padding:20px;
    border-radius:30px;
    background:
        radial-gradient(circle at 100% 0,rgba(29,112,255,.10),transparent 34%),
        linear-gradient(150deg,rgba(8,28,46,.97),rgba(7,23,38,.97));
}
.mphome-assistant-head{display:flex;align-items:center;gap:12px}
.mphome-assistant-avatar,.mphome-mini-logo{
    display:grid;place-items:center;flex:0 0 auto;font-family:Sora,Inter,sans-serif;font-weight:900
}
.mphome-assistant-avatar{width:54px;height:54px;border-radius:16px;color:#052322;background:linear-gradient(135deg,#6de2d2,#43d8ca);box-shadow:0 10px 28px rgba(67,216,202,.16)}
.mphome-assistant-head strong{display:block;font-size:18px}
.mphome-assistant-head span:not(.mphome-more){display:block;color:var(--home-muted);font-size:14px;margin-top:2px}
.mphome-more{margin-left:auto;color:#86a4c1;letter-spacing:3px}
.mphome-chat{padding:22px 2px 10px}
.mphome-message{max-width:78%;padding:14px 16px;border-radius:20px;font-size:15px;line-height:1.4}
.mphome-message-user{margin-left:auto;color:white;background:linear-gradient(135deg,#3f67ff,#2464f8);border-bottom-right-radius:7px;box-shadow:0 10px 26px rgba(36,100,248,.18)}
.mphome-message-row{display:flex;align-items:flex-end;gap:9px;margin-top:10px}
.mphome-mini-logo{width:32px;height:32px;border-radius:999px;font-size:10px;color:#57e3d3;border:1px solid rgba(80,208,255,.34);background:#061425}
.mphome-message-assistant{color:#edf5ff;background:#142c45;border-bottom-left-radius:7px}

.mphome-advice{
    margin-top:10px;padding:16px;border-radius:22px;border:1px solid rgba(99,163,225,.28);
    background:linear-gradient(135deg,rgba(18,46,73,.92),rgba(9,28,47,.92));
    display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center
}
.mphome-advice-copy strong{display:block;font-size:16px}
.mphome-advice-copy span{display:block;color:var(--home-muted);font-size:14px;line-height:1.45;margin-top:3px}
.mphome-advice-btn{grid-column:1/-1;width:100%;min-height:50px}
.mphome-notice{display:flex;align-items:flex-start;gap:8px;margin:13px 4px 0;color:#7f97b0;font-size:12px;line-height:1.4}
.mphome-notice svg{width:17px;height:17px;flex:0 0 auto;color:var(--home-teal);margin-top:1px}

.mphome-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.mphome-service-card{
    min-height:126px;padding:17px;border-radius:24px;background:linear-gradient(145deg,#0a1c2d,#0a1726);
    display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;color:var(--home-text);
    transition:transform .2s ease,border-color .2s ease,background .2s ease
}
.mphome-service-card:active{transform:scale(.985)}
.mphome-service-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;color:var(--home-teal);background:rgba(30,197,179,.12);border:1px solid rgba(95,224,207,.14)}
.mphome-service-icon svg{width:27px;height:27px;stroke-width:2}
.mphome-service-copy strong{display:block;font-size:15px}
.mphome-service-copy small{display:block;color:var(--home-muted);font-size:12.5px;line-height:1.45;margin-top:4px}
.mphome-service-arrow{width:34px;height:34px;border-radius:999px;display:grid;place-items:center;color:#a9c9e8;border:1px solid rgba(80,154,220,.34);background:#0e2942}
.mphome-service-arrow svg{width:17px;height:17px}
.mphome-service-urgency .mphome-service-icon{color:#ff7883;background:rgba(255,62,88,.12);border-color:rgba(255,95,112,.18);box-shadow:inset 0 0 24px rgba(255,62,88,.08)}
.mphome-service-video .mphome-service-icon{color:#8175ff;background:rgba(108,91,255,.13);border-color:rgba(126,110,255,.18)}
.mphome-service-pulse .mphome-service-icon,.mphome-service-calendar .mphome-service-icon{color:#4ce1d0}

.mphome-how{
    margin-top:18px;padding:24px;border-radius:28px;background:linear-gradient(145deg,#091b2c,#091726)
}
.mphome-section-head h2,.mphome-final h2{margin:0;font-size:clamp(25px,4vw,34px);letter-spacing:-.035em}
.mphome-section-head p,.mphome-final p{margin:7px 0 0;color:var(--home-muted);font-size:14px;line-height:1.5}
.mphome-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:26px}
.mphome-step{position:relative;padding:0 14px;text-align:center}
.mphome-step:not(:last-child):after{content:"";position:absolute;top:20px;left:calc(50% + 24px);right:calc(-50% + 24px);height:1px;background:linear-gradient(90deg,rgba(83,223,207,.65),rgba(71,104,255,.4))}
.mphome-step-index{position:relative;z-index:2;width:42px;height:42px;margin:0 auto 13px;border-radius:999px;display:grid;place-items:center;font-family:Sora,Inter,sans-serif;font-weight:800;color:var(--home-teal);background:#071523;border:2px solid currentColor;box-shadow:0 0 22px rgba(95,224,207,.12)}
.mphome-step:nth-child(2) .mphome-step-index{color:#33bff0}.mphome-step:nth-child(3) .mphome-step-index{color:#826cff}
.mphome-step-body strong{display:block;font-size:14px;line-height:1.25}
.mphome-step-body span{display:block;color:var(--home-muted);font-size:12px;line-height:1.45;margin-top:6px}

.mphome-final{
    position:relative;overflow:hidden;margin-top:18px;padding:26px;border-radius:28px;
    display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:center;
    background:linear-gradient(135deg,#102b46 0%,#0d2137 55%,#102549 100%)
}
.mphome-final-glow{position:absolute;width:420px;height:170px;right:-90px;top:-95px;border-radius:50%;background:radial-gradient(circle,rgba(38,200,236,.27),transparent 68%);filter:blur(2px);pointer-events:none}
.mphome-final-copy,.mphome-final-actions{position:relative;z-index:1}
.mphome-final-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;margin-bottom:10px;color:#82efe0;background:rgba(69,217,200,.13)}
.mphome-final-actions{display:grid;gap:10px}
.mphome-final-actions .mphome-btn{width:100%}

html[dir="rtl"] .mphome-message-user{margin-left:0;margin-right:auto;border-bottom-right-radius:20px;border-bottom-left-radius:7px}
html[dir="rtl"] .mphome-message-assistant{border-bottom-left-radius:20px;border-bottom-right-radius:7px}
html[dir="rtl"] .mphome-more{margin-left:0;margin-right:auto}

html[data-theme="light"] .mphome{
    --home-text:#102033;--home-muted:#667c93;--home-border:rgba(40,95,145,.17)
}
html[data-theme="light"] .mphome-hero,
html[data-theme="light"] .mphome-assistant,
html[data-theme="light"] .mphome-how,
html[data-theme="light"] .mphome-final,
html[data-theme="light"] .mphome-service-card{
    box-shadow:0 16px 45px rgba(28,62,91,.08),inset 0 1px 0 rgba(255,255,255,.8)
}
html[data-theme="light"] .mphome-hero{background:radial-gradient(circle at 82% 15%,rgba(38,200,236,.16),transparent 30%),linear-gradient(145deg,#fbfdff,#eef7fb)}
html[data-theme="light"] .mphome-assistant,
html[data-theme="light"] .mphome-how,
html[data-theme="light"] .mphome-service-card{background:linear-gradient(145deg,#ffffff,#f3f8fb)}
html[data-theme="light"] .mphome-message-assistant{background:#e8f1f8;color:#18314a}
html[data-theme="light"] .mphome-advice{background:linear-gradient(135deg,#f5fbff,#ebf6fb)}
html[data-theme="light"] .mphome-btn-secondary{color:#17324a;background:rgba(255,255,255,.72)}
html[data-theme="light"] .mphome-final{background:linear-gradient(135deg,#e6f9f7,#eef6ff)}
html[data-theme="light"] .mphome-step-index{background:#fff}

@media (min-width:821px){
    .mphome-hero-copy{max-width:58%}
}

@media (max-width:820px){
    .mphome{padding-left:12px;padding-right:12px}
    .mphome-hero{min-height:500px;padding:26px 22px 24px}
    .mphome-hero-copy{max-width:67%}
    .mphome h1{font-size:clamp(42px,9.5vw,62px)}
    .mphome-hero-art{right:-42px;top:54px;transform:scale(.82);transform-origin:top right;opacity:.92}
    .mphome-actions{max-width:100%;margin-top:28px;flex-direction:column}
    .mphome-btn{width:100%}
}

@media (max-width:620px){
    .mphome{padding-top:8px;padding-bottom:28px}
    .mphome-hero{min-height:auto;border-radius:26px;padding:24px 18px 20px}
    .mphome-hero-copy{max-width:100%}
    .mphome-badge{min-height:34px;padding:7px 13px;font-size:13px}
    .mphome h1{max-width:315px;font-size:clamp(39px,11.8vw,54px);margin-top:18px}
    .mphome-lead{max-width:330px;font-size:15px;line-height:1.48;padding-right:18px}
    .mphome-hero-art{right:-74px;top:20px;transform:scale(.62);opacity:.34;filter:saturate(1.1)}
    .mphome-actions{position:relative;z-index:4;margin-top:24px;gap:10px}
    .mphome-btn{min-height:54px;border-radius:17px}
    .mphome-assistant{padding:16px;border-radius:26px}
    .mphome-assistant-avatar{width:48px;height:48px;border-radius:15px}
    .mphome-message{max-width:86%;font-size:14px}
    .mphome-advice{padding:14px}
    .mphome-services{grid-template-columns:1fr 1fr;gap:10px}
    .mphome-service-card{min-height:148px;padding:14px;grid-template-columns:1fr auto;align-content:start}
    .mphome-service-icon{grid-column:1;grid-row:1;width:47px;height:47px;border-radius:15px;margin-bottom:2px}
    .mphome-service-copy{grid-column:1/-1;grid-row:2}
    .mphome-service-arrow{grid-column:2;grid-row:1;width:32px;height:32px;align-self:center}
    .mphome-service-copy small{font-size:11.7px}
    .mphome-how{padding:20px 18px;border-radius:26px}
    .mphome-steps{display:grid;grid-template-columns:1fr;gap:0;margin-top:20px}
    .mphome-step{display:grid;grid-template-columns:46px 1fr;gap:13px;text-align:left;padding:0 0 22px}
    html[dir="rtl"] .mphome-step{text-align:right}
    .mphome-step:not(:last-child):after{top:42px;left:20px;right:auto;width:2px;height:calc(100% - 22px);background:linear-gradient(rgba(83,223,207,.5),rgba(71,104,255,.28))}
    html[dir="rtl"] .mphome-step:not(:last-child):after{left:auto;right:20px}
    .mphome-step-index{margin:0;width:42px;height:42px}
    .mphome-step-body{padding-top:3px}
    .mphome-step-body strong{font-size:14px}
    .mphome-step-body span{font-size:12.5px;max-width:320px}
    .mphome-final{grid-template-columns:1fr;padding:22px 18px;gap:18px;border-radius:26px}
    .mphome-final-actions{gap:9px}
}

@media (max-width:370px){
    .mphome h1{font-size:38px}
    .mphome-lead{padding-right:0}
    .mphome-services{grid-template-columns:1fr}
    .mphome-service-card{min-height:118px;grid-template-columns:auto 1fr auto;align-items:center;align-content:center}
    .mphome-service-icon{grid-column:1;grid-row:1;margin:0}
    .mphome-service-copy{grid-column:2;grid-row:1}
    .mphome-service-arrow{grid-column:3;grid-row:1}
}

@media (prefers-reduced-motion:reduce){
    .mphome-btn,.mphome-service-card{transition:none}
}
