/* ─────────────────────────────────────────────────────────
   Platform Operations Landing Page — Xiphias
   ───────────────────────────────────────────────────────── */

:root {
    --po-blue: #2652B9;
    --po-orange: #FE7505;
    --po-gray: #f5f7fb;
    --po-border: rgba(0, 0, 0, .09);
}

/* ── Section utility (shared naming w/ other solution pages) ── */
.po-section-label {
    font-family: Montserrat, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--po-orange);
    margin-bottom: 14px;
}

.po-section-title {
    font-family: Montserrat, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.03em;
    color: #111;
    margin: 0 0 20px;
}

.po-section-lead {
    font-family: Montserrat, sans-serif;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.75;
    max-width: 480px;
    margin: 0;
}

.po-editmode-card {
    padding: 14px;
    border: 1px dashed var(--po-blue);
    border-radius: 6px;
    margin-bottom: 12px;
    background: #f3f6ff;
}
.po-editmode-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--po-blue);
    margin-bottom: 6px;
}

/* ─────────────────────────────────────────────────────────
   1. HERO
   ───────────────────────────────────────────────────────── */

.po-hero {
    position: relative;
    background: var(--po-gray);
    overflow: hidden;
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.po-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.po-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.po-hero-glow-1 {
    width: 560px;
    height: 560px;
    background: var(--po-blue);
    right: -100px;
    top: -140px;
    opacity: .08;
}

.po-hero-glow-2 {
    width: 340px;
    height: 340px;
    background: var(--po-orange);
    left: -80px;
    bottom: -80px;
    opacity: .06;
}

.po-hero-inner {
    position: relative;
    z-index: 1;
    width: 94%;
    max-width: 1560px;
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
    margin-top: 0;
}

.po-hero-title {
    font-family: Montserrat, sans-serif;
    font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: #111;
    margin: 0 0 20px;
}

.po-hero-title::after {
    content: '.';
    color: var(--po-orange);
}

.po-hero-subtitle {
    font-family: Montserrat, sans-serif;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 0 32px;
}

.po-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.po-hero-btn {
    text-decoration: none;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
}

.po-hero-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: Montserrat, sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}
.po-hero-secondary-link:hover { color: var(--po-blue); }

.po-hero-secondary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(38, 82, 185, .1);
    color: var(--po-blue);
    font-size: .7rem;
}

.po-logos-label {
    font-family: Montserrat, sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 18px;
}

.po-logos-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 36px;
}

.po-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 130px;
    opacity: .55;
    transition: opacity .25s;
}
.po-logo-item:hover { opacity: 1; }

.po-logo-img {
    height: auto;
    width: 100%;
    max-width: 110px;
    object-fit: contain;
}

.po-logo-img--spryker {
    filter: invert(1);
}

/* ── hero visual + badge stack ── */
.po-hero-visual-col {
    position: relative;
    display: flex;
}

.po-hero-visual {
    flex: 1 1 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(17, 17, 17, .12);
    min-height: 340px;
}

.po-hero-visual-img,
.po-hero-visual .pimcore_image,
.po-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-hero-visual--placeholder {
    background: linear-gradient(135deg, #111827, #1f2937);
    min-height: 340px;
}

.po-hero-badges {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.po-hero-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 10px 30px rgba(17, 17, 17, .12);
    white-space: nowrap;
}

.po-hero-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--po-blue);
    flex-shrink: 0;
}
.po-hero-badge-icon .cma-icon { width: 22px; height: 22px; }

.po-hero-badge-text {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    color: #111;
}

/* ─────────────────────────────────────────────────────────
   2. WHAT WE DO
   ───────────────────────────────────────────────────────── */

.po-what-section {
    background: #fff;
    padding: 88px 0;
}

.po-what-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 40px;
    align-items: end;
    margin-bottom: 48px;
}

.po-what-header .po-section-title { margin-bottom: 0; }

.po-what-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.po-what-card {
    background: #fff;
    border: 1px solid var(--po-border);
    border-radius: 16px;
    padding: 32px 26px;
    transition: border-color .25s, box-shadow .25s;
}
.po-what-card:hover {
    border-color: var(--po-blue);
    box-shadow: 0 4px 24px rgba(38, 82, 185, .1);
}

.po-what-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(38, 82, 185, .1);
    border: 1px solid rgba(38, 82, 185, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--po-blue);
    margin-bottom: 18px;
}

.po-what-card-title {
    font-family: Montserrat, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.35;
}

.po-what-card-desc {
    font-family: Montserrat, sans-serif;
    font-size: .9rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────
   3. BUSINESS IMPACT
   ───────────────────────────────────────────────────────── */

.po-impact-section {
    background: var(--po-gray);
    padding: 72px 0;
}

.po-impact-inner { margin-top: 0; }

.po-impact-header { margin-bottom: 40px; }
.po-impact-header .po-section-title { margin-bottom: 0; }

.po-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.po-impact-item {
    text-align: left;
}

.po-impact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(254, 117, 5, .1);
    border: 1px solid rgba(254, 117, 5, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--po-orange);
    margin-bottom: 16px;
}

.po-impact-item-title {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    line-height: 1.35;
}

.po-impact-item-desc {
    font-family: Montserrat, sans-serif;
    font-size: .88rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────
   4. WHY XIPHIAS + FLEXIBLE OPERATING MODELS
   ───────────────────────────────────────────────────────── */

.po-why-section {
    background: #fff;
    padding: 88px 0;
}

.po-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 64px;
    margin-top: 0;
}

.po-why-text {
    font-family: Montserrat, sans-serif;
    font-size: .98rem;
    color: #555;
    line-height: 1.75;
    margin: 0 0 20px;
}

.po-why-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: Montserrat, sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--po-orange);
    border: 1.5px solid var(--po-orange);
    border-radius: 999px;
    padding: 12px 24px;
    text-decoration: none;
    margin-top: 8px;
    transition: background .2s, color .2s;
}
.po-why-btn:hover {
    background: var(--po-orange);
    color: #fff;
}

.po-models-list {
    margin-top: 32px;
    border-top: 1px solid var(--po-border);
}

.po-model-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--po-border);
}

.po-model-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(38, 82, 185, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--po-blue);
    flex-shrink: 0;
}
.po-model-icon .cma-icon { width: 18px; height: 18px; }

.po-model-title {
    font-family: Montserrat, sans-serif;
    font-size: .98rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
}

.po-model-desc {
    font-family: Montserrat, sans-serif;
    font-size: .88rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────
   5. PLATFORMS WE OPERATE
   ───────────────────────────────────────────────────────── */

.po-platforms-section {
    background: var(--po-gray);
    padding: 80px 0;
    border-top: 1px solid var(--po-border);
}

.po-platforms-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    gap: 32px 48px;
    margin-top: 40px;
}

.po-platform-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .6;
    transition: opacity .25s;
}
.po-platform-item:hover { opacity: 1; }

.po-platform-img {
    height: auto;
    max-width: 200px;
    object-fit: contain;
}

.po-platform-img--spryker { filter: invert(1); }

.po-platform-item--empty {
    opacity: .8;
}

.po-platform-placeholder {
    font-family: Montserrat, sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #999;
    border: 1px dashed rgba(0, 0, 0, .18);
    border-radius: 999px;
    padding: 8px 16px;
    white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────
   6. FINAL CTA
   ───────────────────────────────────────────────────────── */

.po-cta-section {
    position: relative;
    background: #c1d9f2;
    overflow: hidden;
    padding: 96px 0;
    text-align: center;
}

.po-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-bottom: 1px solid rgb(0 0 0 / 0.3);
}

.po-cta-inner {
    position: relative;
    z-index: 2;
    margin-top: 0;
    text-align: center;
}

.po-cta-label {
    display: inline-block;
    margin-bottom: 20px;
    color: #333;
}

.po-cta-title {
    font-family: Montserrat, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: #111;
    margin: 0 0 20px;
}

.po-cta-subtitle {
    font-family: Montserrat, sans-serif;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 40px;
}

.po-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.po-cta-btn {
    text-decoration: none;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — 992px
   ───────────────────────────────────────────────────────── */

@media (max-width: 992px) {
    .po-hero-inner { grid-template-columns: 1fr; }
    .po-hero-visual-col { margin-top: 8px; }
    .po-what-header { grid-template-columns: 1fr; }
    .po-what-grid { grid-template-columns: repeat(2, 1fr); }
    .po-impact-grid { grid-template-columns: repeat(2, 1fr); }
    .po-why-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — 768px
   ───────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .po-hero { padding: 130px 0 60px; }
    .po-hero-title { font-size: 2.1rem; }
    .po-hero-subtitle { font-size: 1rem; }

    .po-hero-badges {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 16px;
    }

    .po-section-title { font-size: 1.9rem; }

    .po-what-grid,
    .po-impact-grid {
        grid-template-columns: 1fr;
    }

    .po-what-section,
    .po-impact-section,
    .po-why-section,
    .po-platforms-section {
        padding: 64px 0;
    }

    .po-platforms-track { grid-template-columns: repeat(3, 1fr); }

    .po-cta-section { padding: 72px 0; }
    .po-cta-title { font-size: 2rem; }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — 480px
   ───────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .po-hero { padding: 110px 0 48px; }
    .po-hero-title { font-size: 1.85rem; }
    .po-hero-actions { flex-direction: column; align-items: flex-start; }

    .po-hero-btn,
    .po-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .po-logos-track { gap: 16px 24px; }
    .po-platforms-track { grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }

    .po-cta-section { padding: 56px 0; }
    .po-cta-title { font-size: 1.7rem; }
    .po-cta-subtitle { font-size: .95rem; }

    .po-section-title { font-size: 1.65rem; }
    .po-section-label { font-size: .68rem; }
}
