html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Inter', sans-serif;
}

.hero-background {
    position: relative;
    isolation: isolate;
    background-color: #f0fdf4;
    background-image:
        linear-gradient(90deg, rgba(240, 253, 244, 0.46) 0%, rgba(240, 253, 244, 0.26) 34%, rgba(236, 253, 245, 0.16) 50%, rgba(240, 253, 244, 0.26) 66%, rgba(240, 253, 244, 0.46) 100%),
        linear-gradient(135deg, rgba(5, 150, 105, 0.11), rgba(20, 184, 166, 0.07)),
        url('http://uiprime.com/assets/hero-workflow-background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-blend-mode: normal, color, normal;
}

.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.08), transparent 30%);
    pointer-events: none;
}

.workflow-static-visual {
    position: relative;
    overflow: hidden;
}

.workflow-static-lines {
    position: absolute;
    inset: 1.25rem 1.75rem 4.8rem;
    width: calc(100% - 3.5rem);
    height: calc(100% - 6.05rem);
    pointer-events: none;
    z-index: 0;
}

.workflow-static-lines .flow-track {
    fill: none;
    stroke: #ccfbf1;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.workflow-static-lines .flow-dot {
    filter: drop-shadow(0 6px 10px rgba(5, 150, 105, 0.24));
}

@media (max-width: 1023px) {
    .workflow-static-lines {
        display: none;
    }
}

/* Custom scrollbar matching UiPrime theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0fdf4;
    /* Very light green background for the track */
}

::-webkit-scrollbar-thumb {
    background: #0b7855;
    /* Your requested green */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #11825e;
    /* Slightly darker green for hover effect */
}

.top-contact-bar {
    background: #0b7855;
    min-height: 28px;
}

.top-contact-scroll {
    overflow-x: auto;
    scrollbar-width: none;
}

.top-contact-scroll::-webkit-scrollbar {
    display: none;
}

.top-contact-marquee {
    display: flex;
    width: 100%;
    min-width: 100%;
    justify-content: center;
    transform: translateX(70px);
}

.floating-nav {
    margin-top: 4px;
}

.floating-nav-inner {
    min-height: 80px;
    border: 1px solid rgba(16, 185, 129, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.nav-logo-uiprime {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.priyam-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
}

.priyam-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.priyam-tagline {
    margin-top: 2px;
    padding-left: 2px;
    font-size: 10px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.priyam-tagline strong {
    font-weight: 800;
}

.footer-logo-row {
    align-items: center;
    gap: 1.35rem;
}

.footer-uiprime-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-priyam-logo {
    width: 210px;
}

.footer-priyam-tagline {
    color: #ffffff;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.hero-slide {
    display: none;
    position: relative;
    isolation: isolate;
}

.hero-slide.is-active {
    display: flex;
}

.hero-dot.is-active {
    width: 2rem;
    background: #059669;
}

.floating-nav-inner,
a,
button,
.group,
img {
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-nav-inner:hover {
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
    transform: translateY(-1px);
}

.hero-slide.is-active img {
    animation: heroFloat 6s ease-in-out infinite;
}

[data-aos] {
    pointer-events: auto;
}

[data-aos="fade-up-soft"] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
}

[data-aos="fade-up-soft"].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

[data-aos="tilt-card"] {
    opacity: 0;
    transform: perspective(900px) rotateY(-14deg) translate3d(-34px, 18px, 0) scale(0.96);
    transform-origin: left center;
}

[data-aos="tilt-card"].aos-animate {
    opacity: 1;
    transform: perspective(900px) rotateY(0) translate3d(0, 0, 0) scale(1);
}

[data-aos="pop-reveal"] {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.9);
    filter: blur(8px);
}

[data-aos="pop-reveal"].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

[data-aos="wipe-left"] {
    opacity: 0;
    clip-path: inset(0 100% 0 0 round 1.5rem);
    transform: translate3d(-18px, 0, 0);
}

[data-aos="wipe-left"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 1.5rem);
    transform: translate3d(0, 0, 0);
}

[data-aos="rise-rotate"] {
    opacity: 0;
    transform: translate3d(0, 34px, 0) rotate(-2deg) scale(0.97);
    transform-origin: center bottom;
}

[data-aos="rise-rotate"].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.01);
    }
}

.robot-body {
    animation: robotFloat 2.8s ease-in-out infinite;
    transform-origin: center;
}

.robot-arm-left,
.robot-arm-right {
    transform-box: fill-box;
    transform-origin: center top;
    animation: robotArmWave 1.8s ease-in-out infinite;
}

.robot-arm-right {
    animation-delay: -0.9s;
}

.robot-antenna-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: antennaPulse 1.6s ease-in-out infinite;
}

.robot-eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: robotBlink 3.2s ease-in-out infinite;
}

@keyframes robotFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    35% {
        transform: translateY(-8px) rotate(-1deg);
    }

    70% {
        transform: translateY(-3px) rotate(1deg);
    }
}

@keyframes robotArmWave {

    0%,
    100% {
        transform: rotate(0deg) translateY(0);
    }

    50% {
        transform: rotate(8deg) translateY(-3px);
    }
}

@keyframes antennaPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.22);
        opacity: 0.82;
    }
}

@keyframes robotBlink {

    0%,
    88%,
    100% {
        transform: scaleY(1);
    }

    92%,
    95% {
        transform: scaleY(0.25);
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 88px;
    }

    .floating-nav {
        margin-top: 6px;
    }

    .floating-nav-inner {
        min-height: 64px;
        border-radius: 32px;
    }

    .nav-logo-uiprime {
        height: 46px;
    }
}

@media (max-width: 1023px) {
    .top-contact-marquee {
        transform: translateX(35px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-contact-marquee {
        animation: none;
    }

    .hero-slide.is-active img {
        animation: none;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
    }
}