/* DigiOpera Premium Hero — scoped to .hero.hero-premium only */

body.home-premium.home-compact.home-international section.hero.hero-premium,
body.home-premium section.hero.hero-premium,
body.home-international section.hero.hero-premium,
.hero.hero-premium {
    --hp-blue-deep: #0a1f44;
    --hp-blue-mid: #0c4a8a;
    --hp-blue-bright: #1d4ed8;
    --hp-orange: #f97316;
    --hp-orange-dark: #ea580c;
    --hp-white: #ffffff;
    --hp-glass: rgba(255, 255, 255, 0.1);
    --hp-glass-border: rgba(255, 255, 255, 0.18);
    --hp-text-muted: rgba(255, 255, 255, 0.88);

    position: relative;
    overflow: hidden;
    padding: 0 !important;
    min-height: clamp(620px, 92vh, 860px) !important;
    text-align: left;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    background-color: #0a1f44 !important;
    background-image:
        radial-gradient(ellipse 90% 70% at 15% 10%, rgba(29, 78, 216, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 85% 90%, rgba(249, 115, 22, 0.22) 0%, transparent 50%),
        linear-gradient(135deg, #0a1f44 0%, #0f2744 35%, #0c4a8a 70%, #123d7a 100%) !important;
    background-size: cover !important;
    background-position: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.home-compact section.hero.hero-premium,
body.home-premium.home-compact section.hero.hero-premium {
    min-height: clamp(620px, 92vh, 860px) !important;
    padding: 0 !important;
}

/* Beat content-visibility-fixes light-section text colors inside hero */
body.home-premium section.hero.hero-premium p,
body.home-premium section.hero.hero-premium li,
body.home-premium section.hero.hero-premium .hero-premium__subtitle {
    color: rgba(255, 255, 255, 0.88) !important;
}

body.home-premium section.hero.hero-premium .hero-premium__title,
body.home-premium section.hero.hero-premium h1,
body.home-premium section.hero.hero-premium h2.hero-premium__title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

body.home-premium section.hero.hero-premium .hero-premium__trust-label {
    color: rgba(255, 255, 255, 0.55) !important;
}

body.home-premium section.hero.hero-premium .hero-premium__trust-text {
    color: rgba(255, 255, 255, 0.92) !important;
}

.hero.hero-premium::before,
.hero.hero-premium::after {
    display: none;
}

.hero-premium__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-premium__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: hpOrbFloat 18s ease-in-out infinite;
}

.hero-premium__orb--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.55), transparent 70%);
}

.hero-premium__orb--2 {
    width: 360px;
    height: 360px;
    bottom: -100px;
    left: -60px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.35), transparent 70%);
    animation-delay: -6s;
}

.hero-premium__orb--3 {
    width: 280px;
    height: 280px;
    top: 40%;
    left: 45%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
    animation-delay: -12s;
}

.hero-premium__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 100%);
}

.hero-premium__slider {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(5.5rem, 9vw, 7rem) 0 clamp(2rem, 3vw, 2.5rem);
}

.hero-premium__slides {
    position: relative;
    min-height: clamp(420px, 58vh, 540px);
}

.hero-premium__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
    pointer-events: none;
    width: 100%;
}

.hero-premium__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

body.home-premium section.hero.hero-premium .hero-premium__layout,
.hero-premium__layout {
    display: grid !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.hero-premium__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: var(--hp-glass);
    border: 1px solid var(--hp-glass-border);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-premium__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hp-orange);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.8);
    animation: hpPulse 2s ease-in-out infinite;
}

.hero-premium__title {
    font-size: clamp(2rem, 4.2vw, 3.25rem) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    color: var(--hp-white) !important;
    margin: 0 0 1rem !important;
    letter-spacing: -0.02em;
}

.hero-premium__title-accent {
    color: #fed7aa !important;
    -webkit-text-fill-color: #fed7aa !important;
    background: none !important;
}

.hero-premium__subtitle {
    font-size: clamp(1rem, 1.65vw, 1.15rem) !important;
    line-height: 1.7 !important;
    color: var(--hp-text-muted) !important;
    max-width: 36rem;
    margin: 0 0 1.75rem !important;
}

.hero-premium__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

.hero-premium__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: 2px solid transparent;
}

.hero-premium__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--hp-orange) 0%, var(--hp-orange-dark) 100%);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35);
}

.hero-premium__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.45);
    color: #fff;
}

.hero-premium__btn--secondary {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-premium__btn--secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.hero-premium__visual {
    position: relative;
    min-height: 380px;
    z-index: 2;
}

/* ── Corporate hero image ── */
.hero-premium__figure {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 0 0 auto;
    animation: hpFloat 6s ease-in-out infinite;
}

.hero-premium__figure-frame {
    position: relative;
    padding: 8px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.hero-premium__figure-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hp-orange), #38bdf8, var(--hp-orange));
    z-index: 3;
}

.hero-premium__figure-img {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
}

.hero-premium__figure-shine {
    position: absolute;
    inset: 8px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-premium__figure-chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    animation: hpBadgeFloat 5s ease-in-out infinite;
}

.hero-premium__figure-chip--ai {
    top: 14%;
    left: -4%;
    color: #7dd3fc;
}

.hero-premium__figure-chip--cloud {
    bottom: 18%;
    right: -3%;
    animation-delay: -2s;
    color: #fdba74;
}

.hero-premium__figure-tags {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.hero-premium__figure-tags span {
    padding: 0.35rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    backdrop-filter: blur(6px);
}

.hero-premium__figure-cap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding: 0;
}

.hero-premium__figure-stat {
    flex: 1;
    min-width: 120px;
    padding: 0.65rem 0.75rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    backdrop-filter: blur(8px);
}

.hero-premium__figure-stat strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.1rem;
}

.hero-premium__badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-premium__badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: hpBadgeFloat 5s ease-in-out infinite;
}

.hero-premium__badge-icon {
    color: #4ade80;
    font-size: 0.8rem;
}

.hero-premium__badge:nth-child(1) { top: 4%; left: -2%; animation-delay: 0s; }
.hero-premium__badge:nth-child(2) { top: 22%; right: 0; animation-delay: -1s; }
.hero-premium__badge:nth-child(3) { top: 52%; left: -4%; animation-delay: -2s; }
.hero-premium__badge:nth-child(4) { bottom: 32%; right: 2%; animation-delay: -3s; }
.hero-premium__badge:nth-child(5) { bottom: 8%; left: 4%; animation-delay: -4s; }

/* ── Slider controls ── */
.hero-premium__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.hero-premium__arrow {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hp-glass-border);
    border-radius: 50%;
    background: var(--hp-glass);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s, transform 0.2s;
}

.hero-premium__arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

.hero-premium__arrow svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero-premium__dots {
    display: flex;
    gap: 0.5rem;
}

.hero-premium__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: width 0.3s, background 0.3s;
}

.hero-premium__dot.is-active {
    width: 28px;
    background: var(--hp-orange);
}

.hero-premium__dot:hover {
    background: rgba(255, 255, 255, 0.55);
}

/* ── Trust badges strip ── */
.hero-premium__trust {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: auto;
    padding: 0.85rem 0 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

.hero-premium__trust-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.65rem;
}

.hero-premium__trust-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-premium__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.hero-premium__trust-img {
    height: 28px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    filter: brightness(1.1);
}

.hero-premium__trust-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.hero-premium__trust-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.2);
}

.hero-premium__trust-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--hp-orange);
}

/* ── Animations ── */
@keyframes hpOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -16px) scale(1.05); }
}

@keyframes hpFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes hpPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.35); }
    50% { box-shadow: 0 0 36px rgba(249, 115, 22, 0.55); }
}

@keyframes hpBarGrow {
    0% { transform: scaleY(0.85); opacity: 0.8; }
    100% { transform: scaleY(1); opacity: 1; }
}

@keyframes hpBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes hpNodePulse {
    0%, 100% { transform: scale(1); border-color: rgba(255, 255, 255, 0.18); }
    50% { transform: scale(1.03); border-color: rgba(56, 189, 248, 0.4); }
}

@keyframes hpDash {
    to { stroke-dashoffset: -40; }
}

@keyframes hpDrawLine {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .hero.hero-premium {
        min-height: auto;
    }

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

    .hero-premium__subtitle {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-premium__cta {
        justify-content: center;
    }

    .hero-premium__visual {
        min-height: 300px;
        margin-top: 1rem;
    }

    .hero-premium__figure {
        margin: 0 auto;
    }

    .hero-premium__figure-chip--ai,
    .hero-premium__figure-chip--cloud {
        display: none;
    }

    .hero-premium__badge:nth-child(3),
    .hero-premium__badge:nth-child(4) {
        display: none;
    }

    .hero-premium__slides {
        min-height: auto;
    }

    .hero-premium__slide:not(.is-active) {
        position: absolute;
    }
}

@media (max-width: 575px) {
    .hero-premium__slider {
        padding-top: 5rem;
    }

    .hero-premium__btn {
        width: 100%;
    }

    .hero-premium__figure-img {
        min-height: 220px;
        max-height: 320px;
    }

    .hero-premium__figure-cap {
        justify-content: center;
    }

    .hero-premium__badge:nth-child(2),
    .hero-premium__badge:nth-child(5) {
        font-size: 0.65rem;
        padding: 0.35rem 0.6rem;
    }

    .hero-premium__trust-list {
        gap: 0.5rem;
    }

    .hero-premium__trust-item {
        padding: 0.35rem 0.6rem;
    }

    .hero-premium__trust-img {
        height: 22px;
        max-width: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero.hero-premium,
    .hero-premium__orb,
    .hero-premium__figure,
    .hero-premium__figure-chip,
    .hero-premium__badge,
    .hero-premium__eyebrow-dot {
        animation: none !important;
    }

    .hero-premium__slide {
        transition-duration: 0.01ms;
    }
}
