/* =========================================================
   Homepage innovate theme — CRM / AI HR / software visuals
   ========================================================= */

.hp.hp--innovate {
    --hp-blue: var(--hp-home-accent, #2563eb);
    --hp-blue-strong: color-mix(in srgb, var(--hp-home-accent, #2563eb) 82%, #0f172a);
    --hp-tint: color-mix(in srgb, var(--hp-home-accent, #2563eb) 12%, #ffffff);
    --inn-stage: var(--hp-home-accent, #2563eb);
    --inn-navy: #0b1f36;
    --inn-cyan: #38bdf8;
    --inn-ink: #0f172a;
    --inn-muted: #64748b;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* Do not override Master Appearance background — keep one canvas for whole homepage */
.hp.hp--innovate.hp--unified-bg .hp-bg {
    /* inherit .hp--zoho / .hp--bg-* rules */
}

.hp.hp--innovate .zh-orb-a {
    background: color-mix(in srgb, var(--hp-home-accent, #2563eb) 55%, #fff);
    animation: inn-orb 9s ease-in-out infinite alternate;
}
.hp.hp--innovate .zh-orb-b {
    background: color-mix(in srgb, var(--hp-home-accent, #2563eb) 35%, #93c5fd);
    animation: inn-orb 11s ease-in-out infinite alternate-reverse;
}
@keyframes inn-orb {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(18px, 12px) scale(1.08); }
}

.hp.hp--innovate .zh-kicker { color: var(--inn-stage); }
.hp.hp--innovate .zh-title span { color: var(--inn-stage); }
.hp.hp--innovate .zh-btn-primary {
    background: linear-gradient(135deg, var(--inn-stage), #2563eb) !important;
    border: 0 !important;
    box-shadow: 0 12px 28px rgba(61, 54, 255, 0.28);
}
.hp.hp--innovate .zh-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(61, 54, 255, 0.36);
}

.inn-grad {
    background: linear-gradient(90deg, var(--hp-home-accent, #2563eb), #0284c7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Shared canvas for light sections; Hexaware Services band keeps its own stage */
.hp.hp--unified-bg .inn-platform,
.hp.hp--unified-bg .hp-section--alt,
.hp.hp--unified-bg .hp-section--why,
.hp.hp--unified-bg .hp-cta,
.hp.hp--unified-bg .hp-section.hp-section--tight {
    background: transparent !important;
    color: inherit;
}

.hp.hp--unified-bg .inn-platform-bg {
    opacity: 0.28;
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--hp-home-accent, #2563eb) 28%, transparent), transparent 65%) !important;
}

.hp.hp--unified-bg .inn-platform-title,
.hp.hp--unified-bg .hp-section-title {
    color: var(--inn-ink) !important;
}

.hp.hp--unified-bg .inn-platform-title em {
    color: var(--hp-home-accent, #2563eb) !important;
}

.hp.hp--unified-bg .inn-platform-sub,
.hp.hp--unified-bg .hp-section-sub {
    color: var(--inn-muted) !important;
}

.hp.hp--unified-bg .inn-platform .hx-eyebrow,
.hp.hp--unified-bg .inn-eyebrow-dark {
    color: var(--hp-home-accent, #2563eb) !important;
}

.hp.hp--unified-bg .zh-hero,
.hp.hp--unified-bg .zh-hero-bg {
    background: transparent !important;
}

/* ── Hero product stage ── */
.zh-hero-visual {
    display: grid;
    gap: 0.9rem;
}

.inn-hero-stage {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #0b1f36;
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(148, 163, 184, 0.18);
    min-height: 340px;
    transform-origin: center;
}

.inn-hero-slides {
    position: relative;
    aspect-ratio: 3 / 2;
    min-height: 320px;
}

.inn-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.04) translateY(8px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

.inn-hero-slide.is-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    z-index: 1;
}

.inn-hero-slide img,
.inn-hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inn-hero-slide figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #e0f2fe;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}

.inn-hero-dots {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    display: flex;
    gap: 0.4rem;
}

.inn-hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

.inn-hero-dot.is-active {
    width: 22px;
    background: #7dd3fc;
}

.inn-live-hud {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.inn-hud-pill,
.inn-hud-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.18);
}

.inn-hud-pill.is-pulse::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: inn-pulse 1.6s ease infinite;
}

@keyframes inn-pulse {
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.inn-mini-sim {
    margin-top: 0 !important;
    max-width: none !important;
    animation: inn-float 5s ease-in-out infinite;
}

@keyframes inn-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── Platform sims (Hexaware / Keka / Infosys-style photo cards) ── */
.inn-platform {
    position: relative;
    padding-top: 4.25rem !important;
    padding-bottom: 4rem !important;
    overflow: hidden;
    background: transparent !important;
    color: var(--inn-ink);
}

.inn-platform-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(70% 50% at 15% 20%, rgba(56, 189, 248, 0.22), transparent 55%),
        radial-gradient(60% 45% at 90% 80%, rgba(99, 102, 241, 0.28), transparent 50%);
    animation: inn-orb 12s ease-in-out infinite alternate;
}

.inn-platform .hp-wrap { position: relative; z-index: 1; }

.inn-platform-head {
    max-width: 760px;
    margin-bottom: 2rem;
}

.inn-platform .hx-eyebrow {
    color: var(--hp-home-accent, #2563eb) !important;
}

.inn-platform-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--inn-ink);
}

.inn-platform-title em {
    font-style: normal;
    color: var(--hp-home-accent, #2563eb);
}

.inn-platform-sub {
    margin: 0;
    max-width: 580px;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--inn-muted);
}

.inn-sim-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.inn-sim-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    width: 100%;
}

.inn-sim-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(2, 6, 23, 0.35);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
    color: #0f172a;
}

.inn-sim-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.45);
}

.inn-sim-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0b1f36;
}

.inn-sim-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.7s ease;
}

.inn-sim-media--svg {
    background: linear-gradient(160deg, #0b1f36 0%, #12233d 55%, #1e3a8a 100%);
}

.inn-sim-media--svg img {
    object-fit: contain;
    padding: 0.75rem;
    transform: none;
    animation: none;
}

.inn-sim-card:hover .inn-sim-media img,
.inn-sim-card.is-live .inn-sim-media img {
    transform: scale(1.04);
}

.inn-sim-card:hover .inn-sim-media--svg img,
.inn-sim-card.is-live .inn-sim-media--svg img {
    transform: scale(1.03);
}

.inn-sim-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 2px;
    background: rgba(61, 54, 255, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.inn-sim-float {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    min-width: 88px;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.25);
    text-align: left;
    animation: inn-float 4.5s ease-in-out infinite;
}

.inn-sim-float strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.inn-sim-float small {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.inn-sim-body {
    padding: 1.1rem 1.15rem 1.25rem;
}

.inn-sim-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--inn-ink);
}

.inn-sim-body p {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: var(--inn-muted);
    min-height: 2.4em;
}

.inn-progress {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.inn-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3d36ff, #38bdf8);
    transition: width 0.6s ease;
}

.inn-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.inn-feed li {
    font-size: 0.8rem;
    color: #94a3b8;
    padding-left: 1rem;
    position: relative;
}

.inn-feed li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
}

.inn-feed li.is-on {
    color: #0f172a;
    font-weight: 600;
}

.inn-feed li.is-on::before {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.inn-ring-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.inn-ring-row strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--inn-stage);
    letter-spacing: -0.03em;
}

.inn-ring-row span {
    color: var(--inn-muted);
    font-size: 0.85rem;
}

.inn-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.inn-kpi-row div {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 0.55rem 0.4rem;
    text-align: center;
}

.inn-kpi-row em {
    display: block;
    font-style: normal;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--inn-ink);
}

.inn-kpi-row small {
    color: var(--inn-muted);
    font-size: 0.7rem;
}

/* Service card SVG media */
.hx-card-visual--svg,
.hx-card-visual--photo {
    background: #0b1f36 !important;
}

.hx-card-visual--svg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.65rem;
    display: block;
}

.hx-card-visual--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Industries */
.inn-industry-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: inn-card-rise 0.7s ease both;
    animation-delay: var(--inn-delay, 0s);
}

.inn-industry-card:hover {
    transform: translateY(-5px);
    border-color: #93c5fd !important;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
}

.inn-industry-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #dbeafe, #e0e7ff);
    color: #1d4ed8;
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
}

@keyframes inn-card-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About visual */
.inn-about-visual {
    display: grid;
    gap: 0.85rem;
}

.inn-about-shot {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    margin-bottom: 0.35rem;
}

.inn-about-shot img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.inn-why-badge {
    transition: transform 0.25s ease;
}

.inn-why-badge:hover {
    transform: translateX(4px);
}

@media (max-width: 980px) {
    .inn-sim-grid,
    .inn-sim-grid--duo {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inn-hero-slide,
    .inn-sim-card,
    .inn-industry-card,
    .inn-mini-sim,
    .zh-orb-a,
    .zh-orb-b {
        animation: none !important;
        transition: none !important;
    }
}
