/* iManage сайт — страницата на iM Portal: начален екран с телефона, „Какво е iM Portal“, „Какво печелиш“.
   Телефоните са общите от home.css (.app1__*, .pp-hero__phone). */

.pp-hero {
    position: relative; overflow: hidden; color: #c9d8ea;
    background: radial-gradient(760px 520px at 78% 40%, rgba(91, 147, 214, .38), transparent 62%),
                radial-gradient(520px 380px at 96% 100%, rgba(245, 166, 35, .22), transparent 60%),
                linear-gradient(155deg, var(--brand-900) 20%, var(--brand-950));
}
.pp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(44px, 6vw, 80px); }
.pp-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); text-wrap: balance; }
.pp-hero .eyebrow { color: var(--accent-500); }
.pp-hero__copy > p { font-size: 1.18rem; max-width: 42ch; color: #b7cbe0; }
.pp-hero__install { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pp-hero__install li { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.pp-hero__install svg { width: 22px; height: 22px; color: #fff; flex-shrink: 0; }
.pp-hero__install span { display: grid; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: .92rem; line-height: 1.2; }
.pp-hero__install em { font-style: normal; font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: #9fb3cc; }

/* телефонът в 3D — леко завъртян, както на снимка */
.pp-hero__art { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 520px; }
.pp-hero__art::before { content: ''; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%; background: linear-gradient(140deg, rgba(91, 147, 214, .45), rgba(245, 166, 35, .35)); filter: blur(2px); }
.pp-hero__phone { max-width: 300px; transform: rotateY(-18deg) rotateX(6deg) rotateZ(2deg); }
.pp-hero__art:hover .pp-hero__phone { transform: rotateY(-8deg) rotateX(3deg) rotateZ(1deg); }
.pp-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink-soft); border-radius: 14px; padding: 10px 14px; font-size: .8rem; line-height: 1.3; box-shadow: 0 16px 36px rgba(3, 12, 26, .35); }
.pp-chip span { display: grid; }
.pp-chip b { color: var(--brand-900); font-family: var(--font-head); font-size: .88rem; }
.pp-chip > i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--brand-100); flex-shrink: 0; }
.pp-chip__ok { background: #e6f4ea !important; color: #1e7b34; font-weight: 800; }
.pp-chip--a { left: 0; bottom: 18%; }
.pp-chip--b { right: 0; top: 14%; }
.pp-chip--c { right: 6%; bottom: 6%; gap: 12px; padding: 10px 14px; }
.pp-chip--c img { height: 18px; width: auto; }
@media (prefers-reduced-motion: no-preference) {
    .pp-chip { animation: pp-float 5s ease-in-out infinite; }
    .pp-chip--b { animation-delay: 1.2s; } .pp-chip--c { animation-delay: 2.4s; }
}
@keyframes pp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Какво е iM Portal — 6 карти като при приложенията: заглавие и кратки точки */
.ppf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ppf__card { display: grid; align-content: start; gap: 12px; padding: 24px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px 22px 22px 64px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.ppf__card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12, 35, 64, .1); }
.ppf__card h3 { margin: 0; font-size: 1.22rem; }
.ppf__card ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 6px; color: var(--ink-soft); font-size: .96rem; }
.ppf__card li { margin: 0; }
.ppf__card li::marker { color: var(--accent-500); }
.ppf__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); }
.ppf__ico svg { width: 24px; height: 24px; }
.ppf__ico--coral { background: #fde7e1; color: #e0563b; }

/* Какво печелиш — 6 плочки с иконки в рамка */
.ppg { background: linear-gradient(150deg, var(--brand-900), var(--brand-800)); border-radius: 32px; padding: clamp(28px, 4vw, 52px); }
.ppg h2 { color: #fff; margin-bottom: clamp(20px, 3vw, 32px); }
.ppg__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ppg__grid li { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 28px 16px; border-radius: 22px; background: #fff; font-family: var(--font-head); font-weight: 700; color: var(--ink); text-align: center; }
.ppg__ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600); }
.ppg__grid li:nth-child(even) .ppg__ico { background: #fff3dc; color: #c27a00; }
.ppg__ico svg { width: 34px; height: 34px; }

@media (max-width: 960px) {
    .pp-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .pp-hero__art { min-height: 440px; }
    .ppf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .ppf, .ppg__grid { grid-template-columns: minmax(0, 1fr); }
    .ppg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-hero__phone { max-width: 240px; }
    .pp-chip { font-size: .72rem; padding: 8px 10px; }
    .pp-chip--a { left: -4px; } .pp-chip--b { right: -4px; }
}
