/* Shared styles for HR-only product pages (Proizvodi section):
   /hr/automated-trading/, /hr/ai-market-analysis/, /hr/portfolio-analysis/, /hr/trading-strategies/ */

.hrp-page {
    color: #fff;
    background: #020044;
}

.hrp-page section {
    padding: 64px 0;
}

.hrp-page h1,
.hrp-page h2,
.hrp-page h3,
.hrp-page p {
    margin-top: 0;
}

.hrp-page a {
    color: #ffcc00;
}

/* Hero */
.hrp-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 204, 0, .24), transparent 30%),
        radial-gradient(circle at 5% 85%, rgba(33, 77, 191, .72), transparent 35%),
        #020044;
}

.hrp-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 40px;
    min-height: 420px;
}

.hrp-hero h1 {
    margin-bottom: 18px;
    color: #ffcc00;
    font-size: clamp(32px, 4.4vw, 46px);
    line-height: 1.12;
}

.hrp-hero p {
    max-width: 640px;
    margin-bottom: 22px;
    font-size: 18px;
    line-height: 1.6;
}

.hrp-hero__art {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.hrp-page a.hrp-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 26px;
    color: #00188f;
    background: #ffcc00;
    border: 0;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.hrp-page a.hrp-button:hover,
.hrp-page a.hrp-button:focus-visible {
    color: #00188f;
    background: #ffda35;
}

/* Section basics */
.hrp-page .hrp-section--light {
    color: #00188f;
    background: #fff;
}

.hrp-section--light h2,
.hrp-section--light h3,
.hrp-section--light p,
.hrp-section--light li {
    color: #00188f;
}

.hrp-section--surface {
    background: #09055d;
}

.hrp-page h2,
.hrp-section__title {
    margin-bottom: 24px;
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.14;
    text-align: center;
}

.hrp-lead {
    max-width: 900px;
    margin: 0 auto 28px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

.hrp-copy {
    max-width: 900px;
    margin: 0 auto;
}

.hrp-copy p + p {
    margin-top: 16px;
}

/* Two-column intro (icon/illustration + text) */
.hrp-columns {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.hrp-columns__art {
    width: 100%;
}

.hrp-columns__text h2 {
    text-align: left;
}

/* Audience / checklist */
.hrp-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 12px;
    max-width: 900px;
    margin: 26px auto;
    padding: 0;
    list-style: none;
}

.hrp-checklist li {
    position: relative;
    padding-left: 28px;
    line-height: 1.5;
}

.hrp-checklist li::before {
    content: '';
    position: absolute;
    top: .58em;
    left: 0;
    width: 10px;
    height: 10px;
    background: #ffcc00;
    border-radius: 50%;
}

.hrp-section--light .hrp-checklist li::before {
    background: #00188f;
}

/* Numbered steps */
.hrp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hrp-steps li {
    padding: 26px 24px;
    background: #020044;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
}

.hrp-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    color: #00188f;
    background: #ffcc00;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
}

.hrp-steps h3 {
    margin-bottom: 8px;
    font-size: 19px;
    line-height: 1.2;
}

.hrp-steps p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .8);
    line-height: 1.5;
}

/* Scheme / flow note box */
.hrp-scheme {
    max-width: 900px;
    margin: 28px auto 0;
    padding: 22px 26px;
    background: rgba(255, 255, 255, .05);
    border-left: 3px solid #ffcc00;
    border-radius: 12px;
}

.hrp-scheme__flow {
    margin-bottom: 10px;
    color: #ffcc00;
    font-weight: 700;
}

.hrp-scheme p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.55;
}

/* Feature cards */
.hrp-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hrp-feature {
    padding: 26px;
    background: rgba(0, 0, 58, .76);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
}

.hrp-feature img {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
}

.hrp-feature p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.hrp-note {
    max-width: 900px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, .68);
    font-size: 15px;
    text-align: center;
}

.hrp-section--light .hrp-note {
    color: rgba(0, 24, 143, .68);
}

/* Two-column bullet control list */
.hrp-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 12px;
    max-width: 900px;
    margin: 26px auto;
    padding: 0;
    list-style: none;
}

.hrp-control li {
    position: relative;
    padding-left: 28px;
    line-height: 1.5;
}

.hrp-control li::before {
    content: '';
    position: absolute;
    top: .5em;
    left: 0;
    width: 12px;
    height: 12px;
    background: none;
    border: 2px solid #ffcc00;
    border-radius: 50%;
}

/* Quote / example box */
.hrp-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: 26px 30px;
    background: #020044;
    border-left: 3px solid #ffcc00;
    border-radius: 12px;
}

.hrp-quote p {
    margin: 0 0 14px;
    line-height: 1.6;
}

.hrp-quote p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .64);
    font-size: 14px;
}

/* Security icons row */
.hrp-security {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 30px auto;
}

.hrp-security__item {
    text-align: center;
}

.hrp-security__item img {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.hrp-security__item h3 {
    margin-bottom: 6px;
    font-size: 18px;
}

.hrp-security__item p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    line-height: 1.5;
}

/* Warning / risk box */
.hrp-warning {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    padding: 22px 26px;
    background: rgba(255, 82, 82, .08);
    border: 1px solid rgba(255, 82, 82, .35);
    border-radius: 14px;
}

.hrp-warning svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 2px;
}

.hrp-warning p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    line-height: 1.6;
}

/* Closing CTA */
.hrp-cta {
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 204, 0, .16), transparent 35%),
        #050063;
}

.hrp-cta p {
    max-width: 700px;
    margin: 0 auto 24px;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .hrp-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hrp-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hrp-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hrp-columns__text h2 {
        text-align: center;
    }

    .hrp-columns__art {
        max-width: 220px;
        margin: 0 auto;
    }

    .hrp-features,
    .hrp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hrp-page section {
        padding: 44px 0;
    }

    .hrp-hero__art {
        max-width: 180px;
    }

    .hrp-hero p {
        font-size: 16px;
    }

    .hrp-lead {
        font-size: 16px;
    }

    .hrp-checklist,
    .hrp-control,
    .hrp-features,
    .hrp-steps,
    .hrp-security {
        grid-template-columns: 1fr;
    }

    .hrp-warning {
        flex-direction: column;
    }
}
