/* Platform Page - Autopilot Hero Section Styles */

.nf-autopilot-hero {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--nf-white) 0%, #fdfbf7 100%);
}

.nf-autopilot-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.nf-autopilot-orb-2,
.nf-autopilot-orb-1 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.nf-autopilot-orb-1 {
    top: 0;
    right: 0;
    width: 900px;
    height: 900px;
    opacity: 0.15;
    background: radial-gradient(circle, rgba(243, 91, 4, 0.2) 0%, transparent 70%);
    animation: pulseSlow 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.nf-autopilot-orb-2 {
    bottom: 0;
    left: 0;
    width: 700px;
    height: 700px;
    opacity: 0.1;
    background: radial-gradient(circle, rgba(30, 26, 70, 0.15) 0%, transparent 70%);
    animation: pulseSlower 12s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.nf-autopilot-title {
    color: var(--nf-secondary-700);
    margin-bottom: 1rem;
}

.nf-autopilot-gradient {
    background: var(--nf-primary-500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    font-style: normal;
}

.nf-autopilot-subtitle {
    color: #475569;
    max-width: 33rem;
    margin-bottom: 1.5rem;
}

.nf-autopilot-cta {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
}

/* Metrics Visual Container */
.nf-metrics-visual {
    position: relative;
}

.nf-metrics-orb {
    position: absolute;
    top: 0;
    right: 0;
    width: 288px;
    height: 288px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, rgba(255, 138, 61, 0.3), transparent);
    opacity: 0.3;
    filter: blur(40px);
}

.nf-metrics-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nf-metrics-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nf-floating-col-1 {
    animation: float1 6s ease-in-out infinite;
}

.nf-floating-col-2 {
    margin-top: 3rem;
    animation: float2 7s ease-in-out infinite;
}

/* Metric Cards */
.nf-metric-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nf-metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.nf-card-label.nf-metric-label-white{
    color: rgba(255, 255, 255, 0.8);
}

.nf-card-white {
    background: var(--nf-white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(243, 91, 4, 0.08);
}

.nf-card-dark {
    background: linear-gradient(135deg, var(--nf-secondary-700) 0%, var(--n2) 100%);
    color: var(--nf-white);
    box-shadow: 0 20px 60px rgba(30, 26, 70, 0.25);
}

/* Card Decorations */
.nf-card-decoration {
    position: absolute;
    border-radius: 50%;
}

.nf-decoration-white, 
.nf-decoration-green {
    top: 0;
    right: 0;
}

.nf-decoration-green {
    width: 80px;
    height: 80px;
    background: #10B981;
    opacity: 0.1;
    transform: translate(40%, -40%);
}

.nf-decoration-white {
    width: 96px;
    height: 96px;
    background: var(--nf-white);
    opacity: 0.05;
    transform: translate(30%, -30%);
}

.nf-decoration-orange {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(243, 91, 4, 0.05), transparent);
    opacity: 0.4;
    border-radius: 0;
}

.nf-decoration-blue {
    top: -24px;
    right: 0;
    width: 128px;
    height: 128px;
    opacity: 0.05;
    color: #3B82F6;
}

.nf-decoration-blue svg{
    height: 120%;
    width: 120%;
}

/* Card Content */
.nf-card-content {
    position: relative;
    z-index: 10;
}

.nf-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.nf-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
}

.nf-card-icon svg{
    height: 18px;
    width: 18px;
}

.nf-icon-green {
    background-color: #10B981;
    color: var(--nf-white);
}

.nf-icon-orange {
    background-color: var(--nf-primary-500);
    color: var(--nf-white);
}

.nf-icon-blue {
    background-color: #3B82F6;
    color: var(--nf-white);
}

.nf-icon-orange-dark {
    background-color: rgba(243, 91, 4, 0.2);
    color: var(--nf-primary-500);
}

.nf-card-label {
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

/* Card Values */
.nf-card-value {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

/* metric value (not a heading) — H2 step comes from the .h2 utility */
.nf-autopilot-hero .nf-value-number {
    line-height: 1;
    color: #10B981;
}

.nf-value-percent {
    color: #64748b;
}

.nf-value-text {
    color: var(--nf-primary-500);
    line-height: 1;
}

.nf-card-title {
    margin-bottom: 0.25rem;
}

.nf-card-description {
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* Governance List */
.nf-governance-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nf-governance-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Caption step comes from .nf-caption; keep the card's own text colour */
    color: inherit;
}

.nf-governance-item svg {
    color: #10B981;
    height: 14px;
    width: 14px;
    flex-shrink: 0;
}

.nf-governance-item span {
    opacity: 0.9;
}

.smon {
    margin-top: 48px;
    padding: 22px 32px;
    background: var(--nf-secondary-700);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px
}

.smoni {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: var(--nf-orange-15);
}

.smoni svg {
    width: 18px;
    height: 18px;
}

.smont {
    color: rgba(255, 255, 255, 0.55);
}

.smont strong {
    color: #fff
}

/* Works like a real team member */
/* steps */
.lc-steps {
    display: flex;
    flex-direction: column;
    position: relative
}

.lc-steps::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 22px;
    height: calc(100% - 44px);
    width: 2px;
    background: linear-gradient(to bottom, var(--nf-primary-500) 0%, var(--nf-orange-25) 70%, transparent 100%);
    border-radius: 2px
}

.lc-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 14px 0;
    position: relative
}

.lc-step:first-child {
    padding-top: 0
}

.lc-step:last-child {
    padding-bottom: 0
}

.lc-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--nf-white);
    border: 1.5px solid var(--nf-gray-200);
    position: relative;
    z-index: 1;
    transition: border-color .25s, background .25s, box-shadow .25s;
    box-shadow: 0 2px 8px rgba(30, 26, 70, 0.05)
}

.lc-step:hover .lc-step-icon {
    border-color: var(--nf-primary-500);
    background: var(--nf-primary-500);
    box-shadow: 0 4px 16px rgba(243, 91, 4, 0.22)
}

.lc-step:hover .lc-step-icon svg {
    stroke: #fff
}

.lc-step-icon svg {
    width: 18px;
    height: 18px;
    transition: stroke .25s
}

.lc-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--nf-primary-500);
    font-family: var(--nf-font-display);
    font-size: 8px;
    font-weight: 900;
    color: var(--nf-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px var(--nf-white);
    z-index: 2
}

.lc-step-body {
    padding-top: 8px;
    flex: 1
}

/* semantic <h3>; Body S step comes from .nf-body-sm */
.lc-step-title {
    font-weight: 600;
    color: var(--nf-secondary-700);
    margin-bottom: 4px;
}

/* type comes from the global p rule (--nf-text-body) */
.lc-step-desc {
    color: var(--nf-gray-600);
    margin-bottom: 0;
}


.nf-realteam-alt-section {
    background:
        radial-gradient(circle at 20% 25%, var(--nf-orange-06) 0%, rgba(243, 91, 4, 0.03) 25%, transparent 45%),
        radial-gradient(circle at 80% 75%, rgba(30, 26, 70, 0.05) 0%, rgba(30, 26, 70, 0.02) 30%, transparent 55%),
        var(--nf-gray-50);
    padding: 6rem 0;
}

.nf-realteam-alt-section .alt-team-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 8rem;
    align-items: flex-start;
}

p.section-desc {
    color: var(--nf-gray-600);
    margin-bottom: 0;
}

/* Tabbed Slider for Industries */
.nf-industries-swiper {
    max-width: 770px;
    overflow: visible !important;
}

.nf-industries-slider {
    background: var(--nf-white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.nf-tabs-menu {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.nf-tab-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    background-color: var(--nf-white);
    color: #64748b;
    font: var(--nf-text-body-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--nf-font-display);
}

.nf-tab-btn:focus,
.nf-tab-btn:hover {
    background-color: var(--nf-white);
    border-color: var(--nf-primary-500);
    color: var(--nf-primary-500);
}

.nf-tab-btn.active {
    background: linear-gradient(135deg, var(--nf-primary-500) 0%, #FF8A3D 100%);
    border-color: var(--nf-primary-500);
    color: var(--nf-white);
    box-shadow: 0 8px 25px rgba(243, 91, 4, 0.3);
}

.nf-industry-slide {
    background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
    border-radius: 2rem;
    border: 2px solid #e2e8f0;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.nf-industry-slide::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 100%;
}

.nf-industry-slide[title="Manufacturing Industry Automation"]::before {
    filter: brightness(0.6);
    background-image: url('/wp-content/uploads/2026/08/manufacturing-industry.webp');
}

.nf-industry-slide[title="Banking Industry Automation"]::before {
    background-image: url('/wp-content/uploads/2026/08/banking-industry.webp');
}
.nf-industry-slide[title="Healthcare Industry Automation"]::before {
    background-image: url('/wp-content/uploads/2026/08/healthcare-industry.webp');
}
.nf-industry-slide[title="Insurance Industry Automation"]::before {
    background-image: url('/wp-content/uploads/2026/08/insurance-industry.webp');
}
.nf-industry-slide[title="Operations Industry Automation"]::before {
    background-image: url('/wp-content/uploads/2026/08/operations-industry.webp');
}


/* .nf-industry-slide img {
    object-fit: cover;
    object-position: 100% 50%;
    position: absolute;
    inset: 0%;
    width: 100%;
    max-width: 100%;
    height: 100%;
} */

.nf-connect-slide-fg {
    z-index: 2;
    height: 100%;
    padding: 1.5rem;
    background-image: linear-gradient(135deg, var(--nf-secondary-700), #0000);
    flex-flow: column;
    justify-content: space-between;
    display: flex;
    position: relative;
}

.nf-industry-slide p {
    color: var(--nf-white);
    margin: 0;
}

.nf-industries-slider .container-lg:before {
    content: "";
    position: absolute;
    background: var(--nf-white);
    height: 100%;
    right: calc(100% - 41%);
    left: 0;
    z-index: 2;
}

.nf-industries-title-block {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* WHY */
#why {
    background: var(--nf-secondary-700);
    color: var(--nf-white);
}

.why-layout {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 100px;
    align-items: start
}

.why-left {
    position: sticky;
    top: 88px
}

.why-desc {
    color: var(--nf-gray-300);
    margin-bottom: 36px;
}

.why-cards {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.wyc {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px 20px;
    transition: box-shadow .25s, background .25s;
    display: flex;
    align-items: flex-start;
    gap: 24px
}

.wyc:hover {
    background: var(--n2);
    box-shadow: 0 4px 28px rgba(30, 26, 70, 0.07);
    border-color: rgba(255, 255, 255, 0.04)
}

.wycicon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--nf-orange-06);
    border: 1px solid var(--o12);
}

.wycicon svg {
    width: 22px;
    height: 22px;
}

.wyc h3 {
    color: var(--nf-white);
    margin-bottom: 8px;
    font-weight: 600;
}

.wyc p {
    color: var(--nf-gray-300);
    margin-bottom: 0;
}

.why-badge {
    padding: 20px 24px;
    background: var(--nf-orange-08);
    border: 1px solid rgba(243, 91, 4, 0.2);
    border-radius: 10px;
    border-left: 3px solid var(--nf-primary-500);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.why-badge span {
    color: var(--nf-primary-500);
}

.wycicon svg,
.lc-step-icon svg,
.smoni svg {
    stroke: var(--nf-primary-500);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.nf-card-icon,
.smoni,
.lc-step-icon,
.wycicon{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


/* CTA STRIP */
#cta {
    background: var(--nf-primary-500);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

#cta:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 44px 44px;
}

#cta:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, .1) 0%, transparent 45%), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .07) 0%, transparent 40%);
}

/* stacked: copy spans the full width, button sits underneath */
.ctaw {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.ctal h2 {
    color: var(--nf-white);
    margin-bottom: 12px
}

.ctal p {
    color: rgba(255, 255, 255, 0.72);
}

.ctar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    flex-shrink: 0
}

/* Animations */
@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }
}

@keyframes pulseSlow {

    0%,
    100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.25;
    }
}

@keyframes pulseSlower {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.2;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {

    .nf-autopilot-hero {
        padding: 6rem 0;
    }

    .ctar {
        flex-direction: row;
        flex-wrap: wrap
    }
}

@media (max-width: 991px) {
    .nf-industries-title-block{
        margin-bottom: 2rem;
    }
    .alt-team-grid .nf-section-title,
    .why-left .nf-section-title,
    .nf-industries-title-block .nf-section-title{
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .nf-autopilot-hero {
        padding: 4rem 0;
    }

    #cta {
        padding: 56px 0;
    }

    .lc-step{
        column-gap: 14px;
    }

    .nf-tab-btn{
        padding: 0.3rem 0.9rem;
    }

    .nf-tabs-menu{
        gap: 0.8rem 0.5rem;
    }

    .smon {
        padding: 20px;
    }

}

@media (max-width: 576px) {
    .nf-autopilot-cta {
        gap: 0.75rem;
    }

}