/* ===================================
   VARIABLES
=================================== */

@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,600;9..144,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap');

:root {
    --navbar-height: 84px;
    --bg-primary: #111827;
    --bg-secondary: #050816;
    --primary: #00D084;
    --primary-hover: #00F5A0;
    --text: #ffffff;
    --text-secondary: #64748B;
    --border: rgba(255, 255, 255, .08);
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, .08);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, .08);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --transition: 300ms cubic-bezier(.4, 0, .2, 1);
    --font-tech: 'Bruno Ace', sans-serif;     /* Futuristic headings ke liye */
    --font-heading: 'Fraunces', serif;        /* Main titles aur headings ke liye */
    --font-body: 'Inter', sans-serif;         /* Normal paragraphs aur body text ke liye */
}

/* ===================================
   RESET & GLOBAL
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: #111827;
    color: #111827;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.bruno, .step-title-heading {
    font-family: var(--font-tech);
}
button, input {
    font-family: inherit;
}
/* .bruno{
    font-family: "Bruno Ace", sans-serif;
    font-weight: 800;
    font-style: normal;
} */

/* Portal Reveal Styles */
.hero-fixed {
    height: 200vh;
    position: relative;
    background: #111827;
}

.hero-fixed__inner {
    position: sticky;
    top: 36vh;
    padding-left: 20%;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
}

.hero-fixed-text{
    font-size:0.39rem;
    letter-spacing:0.35em;
     text-transform:uppercase;
     color:var(--primary);
     margin-bottom:1.2rem;
    /* font-size: 10px; */
}

.hero-fixed__title {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 8vw, 6rem);
    line-height: 1.02;
    color: #ffffff;
}

.hero-fixed__sub {
    margin-top: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.portal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2001;
    /* Hero se bhi upar */
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Shuru mein portal ko hidden rakhein taaki text akele pehle na dikhe */
.portal-overlay {
    /* opacity: 0; */
    visibility: hidden;
    transition: opacity 0.5s ease;
}

/* Jaise hi video load hogi, ye class body par aate hi sab kuch ek sath dikhega */
body.video-loaded .portal-overlay {
    opacity: 1;
    visibility: visible;
}


/* Portal Logo Animations */
.spin { animation: spin 10s linear infinite; transform-origin: 30px 32px; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

.pulse-a { animation-delay: 0s; }
.pulse-b { animation-delay: 0.4s; }
.pulse-c { animation-delay: 0.8s; }
.pulse-d { animation-delay: 1.2s; }

.core-pulse {
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.75));
    animation: core-pulse 3.2s ease-in-out infinite;
    transform-origin: 30px 32px;
}
@keyframes core-pulse {
    0%,100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.12); opacity: 1; }
}

.glow { filter: drop-shadow(0 0 4px rgba(103,232,249,0.85)); }

.portal-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: none;
    object-position: center;
}

/* Mobile */
@media (max-width: 768px) {
    .portal-video {
        object-fit: contain;
        object-position: center;
    }
}


.portal-svg {
    width: 100vw;
    height: 100vh;
    overflow: visible;
}

.scroll-spacer {
    height: 220vh;
    position: relative;
    z-index: 0;
}

.page-content {
    position: relative;
    z-index: 3;
    background: #050816;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

/* ===================================
   HEADER & NAVBAR
=================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .15);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

header.nav-hidden {
    transform: translateY(-100%);
}

nav {
    max-width: 1300px;
    height: var(--navbar-height);
    margin: auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: inline-block;
    text-decoration: none;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-main {
    display: flex;
    align-items: center;
    gap: 0px;
}

.logo-source {
    font-family: var(--font-tech);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-q-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-tagline {
    font-family: var(--font-tech);
    font-size: 8px;
    font-weight: 600;
    color: #4fe0d7;
    letter-spacing: 0.8px;
    white-space: nowrap;
    margin-top: -4px;
}

.logo-tagline span {
    color: #ffffff;
    font-weight: 700;
}

.quantum-q-svg {
    overflow: visible;
    transform: rotateX(15deg) rotateY(-15deg);
    transform-style: preserve-3d;
}

.orbitl-1 {
    transform-origin: 70px 70px;
    animation: rotateOrbitl1 9s linear infinite;
}

.orbitl-2 {
    transform-origin: 70px 70px;
    animation: rotateOrbitl2 12s linear infinite reverse;
}

.orbitl-3 {
    transform-origin: 70px 70px;
    animation: rotateOrbitl3 15s linear infinite;
}

@keyframes rotateOrbitl1 {
    from {
        transform: rotate(0deg) rotateX(20deg);
    }

    to {
        transform: rotate(360deg) rotateX(20deg);
    }
}

@keyframes rotateOrbitl2 {
    from {
        transform: rotate(0deg) rotateY(-20deg);
    }

    to {
        transform: rotate(360deg) rotateY(-20deg);
    }
}

@keyframes rotateOrbitl3 {
    from {
        transform: rotate(0deg) rotateZ(45deg);
    }

    to {
        transform: rotate(360deg) rotateZ(45deg);
    }
}

.q-circle,
.q-tail {
    transition: var(--transition);
}

.brand-logo:hover .q-circle,
.brand-logo:hover .q-tail {
    stroke: #00F5A0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.5vw, 36px);
    list-style: none;
}

.nav-links a {
    position: relative;
    color: var(--text);
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.q-radar-nav-link,
.q-lense-nav-link,
.q-procure-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 1px;
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 17px);
    color: var(--text);
    position: relative;
    text-decoration: none;
    transition: var(--transition);
}

.q-radar-nav-link svg,
.q-lense-nav-link svg,
.q-procure-nav-link svg {
    margin-bottom: 0px !important;
    transform: translateY(1px);
}

.q-radar-nav-link:hover,
.q-lense-nav-link:hover,
.q-procure-nav-link:hover {
    color: var(--primary) !important;
}

.q-radar-nav-link::after,
.q-lense-nav-link::after,
.q-procure-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition);
}

.q-radar-nav-link:hover::after,
.q-radar-nav-link.active::after,
.q-lense-nav-link:hover::after,
.q-lense-nav-link.active::after,
.q-procure-nav-link:hover::after,
.q-procure-nav-link.active::after {
    transform: scaleX(1);
}

.q-procure-nav-link span {
    transform: translateY(-3px);
}

.login-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 600;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 208, 132, .25);
}

.menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    background: none;
    border: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    border-radius: 100px;
    background: #fff;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===================================
   HERO SECTION
=================================== */
.hero {
    position: relative;
    height: 100vh;
    padding-top: var(--navbar-height);
    overflow: hidden;
    padding-bottom: 0px;
    background: #050816;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 8, 22, .92), rgba(5, 8, 22, .55), rgba(5, 8, 22, .90));
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 30%, rgba(0, 208, 132, .15), transparent 35%), radial-gradient(circle at 15% 70%, rgba(0, 119, 255, .12), transparent 30%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    background: radial-gradient(circle at 30% 40%, rgba(23, 60, 255, .25), transparent 35%), radial-gradient(circle at 80% 20%, rgba(0, 208, 132, .18), transparent 35%), #050816;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    filter: blur(15px);
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 260px;
    height: 260px;
    top: -80px;
    left: -100px;
}

.circle-2 {
    width: 180px;
    height: 180px;
    right: -60px;
    bottom: 20px;
    animation-delay: 2s;
}

.hero-container {
    max-width: 1400px;
    margin: auto;
    width: 100%;
    min-height: calc(100vh - var(--navbar-height));
    padding: 20px 40px;
    gap: 40px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    animation: fadeUp .9s ease;
}

.hero-content>* {
    opacity: 0;
    transform: translateY(50px);
    animation: heroReveal .8s forwards;
}

.hero-tag {
    animation-delay: .2s;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(0, 208, 132, .08);
    border: 1px solid rgba(0, 208, 132, .25);
    color: #B9FFD8;
    padding: 8px 18px;
    font-size: clamp(16px, 1.8vw, 25px);
    font-weight: 600;
    backdrop-filter: blur(15px);
    width: fit-content;
}

.hero-title {
    animation-delay: .4s;
    margin: 18px 0 12px;
    line-height: 1.05;
    font-size: clamp(2.2rem, 4vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -3px;
    color: #ffffff;
    font-family: Bruno Ace, sans-serif;
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    animation-delay: .6s;
    max-width: 560px;
    margin-bottom: 20px;
    font-size: clamp(16px, 1.4vw, 25px);
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 208, 132, .25);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, .15);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .05);
    color: white;
    border-color: #00D084;
    box-shadow: 0 12px 25px rgba(15, 23, 42, .08);
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1s ease, transform 8s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img,
.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(5, 8, 22, .95) 0%, rgba(5, 8, 22, .60) 45%, rgba(5, 8, 22, .95) 100%), linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .45));
}

.hero-pagination {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-pagination span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: .35s;
}

.hero-pagination span.active {
    width: 34px;
    border-radius: 20px;
    background: #00D084;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    z-index: 20;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 30px;
    position: relative;
}

.scroll-indicator span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00D084;
    animation: scrollDown 1.8s infinite;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 14px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================================
   QUANTUM AI SECTION (BASE)
==================================================== */
.quantum-section {
    background: var(--bg-primary);
    color: #f7f9fc;
    padding: 10px 0;
    overflow: hidden;
}

.quantum-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
}

.q-top-header {
    text-align: center;
    width: 100%;
    margin-bottom: 0px;
}

.q-top-header h2 {
    font-size: clamp(28px, 4.5vw, 54px);
    line-height: 1.05;
    letter-spacing: -.05em;
    color: #fff;
    margin: 0;
}

.q-gradient-text {
    background: linear-gradient(90deg, #4fe0d7, #65a7ff, #9e7dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ====================================================
   NEW 3D ANGLED ORBITS STYLING
==================================================== */
.system-viewport {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity;
    opacity: 1;
}

.angle-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-15deg);
}

.system-wrapper {
    position: absolute;
    width: 1050px;
    height: 1050px;
    transform: scaleY(0.35);
    display: flex;
    justify-content: center;
    align-items: center;
}

.engine-wrap {
    position: absolute;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantum-image {
    position: absolute;
    width: 450px;
    height: 450px;
    pointer-events: none;
    z-index: 5;
}

.engine {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    box-shadow: none;
    animation: none;
}

.core-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 40px rgba(143, 108, 255, 0.5));
    animation: spin 50s linear infinite;
}

.piece {
    position: absolute;
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 0 20px rgba(0, 180, 255, .2));
}

.piece1 {
    width: 90px;
    left: 20%;
    top: 20%;
}

.piece2 {
    width: 100px;
    right: 20%;
    top: 70%;
}

.piece3 {
    width: 95px;
    left: 44%;
    top: -32%;
}

.piece4 {
    width: 80px;
    right: 35%;
    bottom: -42%;
}

.piece5 {
    width: 70px;
    left: 35%;
    bottom: 125%;
}

.piece6 {
    width: 80px;
    right: 50%;
    top: 150%;
}

.orbit {
    position: absolute;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.orbit-1 {
    width: 350px;
    height: 350px;
    animation: spin 150s linear infinite 0s;
}

.orbit-1 .planet-counter {
    animation: counter 150s linear infinite 0s;
}

.orbit-2 {
    width: 500px;
    height: 500px;
    animation: spin 150s linear infinite -25s;
}

.orbit-2 .planet-counter {
    animation: counter 150s linear infinite -25s;
}

.orbit-3 {
    width: 650px;
    height: 650px;
    animation: spin 150s linear infinite -50s;
}

.orbit-3 .planet-counter {
    animation: counter 150s linear infinite -50s;
}

.orbit-4 {
    width: 800px;
    height: 800px;
    animation: spin 150s linear infinite -75s;
}

.orbit-4 .planet-counter {
    animation: counter 150s linear infinite -75s;
}

.orbit-5 {
    width: 950px;
    height: 950px;
    animation: spin 150s linear infinite -100s;
}

.orbit-5 .planet-counter {
    animation: counter 150s linear infinite -100s;
}

.orbit-6 {
    width: 1100px;
    height: 1100px;
    animation: spin 150s linear infinite -125s;
}

.orbit-6 .planet-counter {
    animation: counter 150s linear infinite -125s;
}

.planet-anchor {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 0;
}

.planet-counter {
    position: absolute;
    width: 0;
    height: 0;
}

.planet-unsquish {
    position: absolute;
    transform: scaleY(2.85);
}

.planet {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
}

.planet-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transform: rotate(15deg);
}

.planet-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    transition: transform 1.5s ease;
}

.planet-text {
    white-space: nowrap;
    color: #dce4ef;
    font-size: 13px;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.85);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.orbit:has(.planet:hover) {
    animation-play-state: paused !important;
    border-color: rgba(255, 255, 255, 0.6);
    z-index: 999;
}

.orbit:has(.planet:hover) .planet-counter {
    animation-play-state: paused !important;
}

.planet:hover .planet-icon {
    transform: scale(1.2);
}

.planet:hover .planet-text {
    border-color: #65a7ff;
    background: rgba(30, 41, 59, 0.95);
    color: #fff;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes counter {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* ====================================================
   CUSTOMER INTELLIGENCE CONSULTING SECTION
==================================================== */
.consulting-section {
    background: var(--bg-primary);
    padding: 80px 0 100px 0;
    position: relative;
    color: #fff;
    text-align: center;
}

.consulting-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.consulting-advisory-header {
    margin-bottom: 50px;
}

.advisory-tag {
    font-size: 13px;
    font-weight: 700;
    color: #00D084;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.consulting-advisory-header h2 {
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #ffffff, #aeb8c5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.consulting-advisory-header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(15px, 1.2vw, 18px);
    max-width: 600px;
    margin: 0 auto;
}

/* Three Sections Layout with Borders */
.consulting-nodes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    margin-bottom: 40px;
}

.consulting-node {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.consulting-node:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.node-num {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.consulting-node h4 {
    font-size: 18px;
    font-weight: 500;
    color: #dce4ef;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.node-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* Hover Effect: Bolder and Green Change */
.consulting-node:hover h4 {
    color: #00D084;
    font-weight: 700;
    transform: translateY(-3px);
}

.consulting-node:hover .node-num {
    color: #00D084;
}

.consulting-node:hover .node-line {
    width: 60px;
    background: #00D084;
}

/* Original Button Styles Preserved */
.consulting-action {
    margin-top: 20px;
}

.consulting-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.3);
}

.consulting-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 208, 132, 0.4);
}

@media (max-width: 768px) {
    .consulting-nodes {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .consulting-node:not(:last-child)::after {
        display: none;
    }
}

@keyframes spinInline {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ringpulseInline {
    0% {
        opacity: 0.9;
        transform: scale(0.75);
    }

    70% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes tailglowInline {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

.sweep-inline {
    transform-origin: 16px 16px;
    animation: spinInline 4.5s linear infinite;
}

.ring-inline {
    transform-origin: 16px 16px;
    animation: ringpulseInline 2.6s ease-out infinite;
}

.ring-inline.r2 {
    animation-delay: 1.3s;
}

.tail-inline {
    animation: tailglowInline 2s ease-in-out infinite;
}

@keyframes ringpulselenseInline {
    0% {
        opacity: 0.9;
        transform: scale(0.75);
    }

    70% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes glintmovelenseInline {
    0% {
        transform: translate(-30%, -30%) rotate(20deg);
        opacity: 0;
    }

    15% {
        opacity: 0.9;
    }

    55% {
        opacity: 0;
    }

    100% {
        transform: translate(130%, 130%) rotate(20deg);
        opacity: 0;
    }
}

@keyframes tailglowlenseInline {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

.ring-pulse-lense-inline {
    transform-origin: 15px 15px;
    animation: ringpulselenseInline 2.6s ease-out infinite;
}

.glint-lense-inline {
    animation: glintmovelenseInline 3.2s ease-in-out infinite;
}

.tail-line-lense-inline {
    animation: tailglowlenseInline 2s ease-in-out infinite;
}

@keyframes ringpulseProcureInline {
    0% {
        opacity: 0.9;
        transform: scale(0.75);
    }

    70% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes dashdrawProcureInline {
    0% {
        stroke-dashoffset: 24;
    }

    45% {
        stroke-dashoffset: 0;
    }

    75% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    90% {
        stroke-dashoffset: 0;
        opacity: 0;
    }

    100% {
        stroke-dashoffset: 24;
        opacity: 0;
    }
}

@keyframes tailglowProcureInline {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

.ring-pulse-procure {
    transform-origin: 16px 16px;
    animation: ringpulseProcureInline 2.6s ease-out infinite;
}

.check-draw-procure {
    stroke-dasharray: 24;
    animation: dashdrawProcureInline 3s ease-in-out infinite;
}

.tail-line-procure {
    animation: tailglowProcureInline 2s ease-in-out infinite;
}

/* ====================================================
   CONSULTING MODAL FORM STYLING
==================================================== */
.consulting-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.consulting-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.consulting-modal {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(5, 8, 22, 0.99));
    border: 1px solid rgba(0, 208, 132, 0.3);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.consulting-modal-overlay.active .consulting-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.consulting-modal h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #fff;
}

.consulting-modal p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.consulting-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #dce4ef;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 15px;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 208, 132, 0.2);
}

/* ====================================================
   LIVE RECOMMENDATION TICKER STYLING (2-LINES OPPOSITE)
==================================================== */
.ticker-section {
    background: var(--bg-primary);
    padding: 0 0 100px 0;
}

.ticker-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ticker-title {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    color: #4fe0d7;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .13em;
    background: rgba(255, 255, 255, .02);
}

.ticker-window-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, .035);
    padding: 18px 0;
    box-shadow: var(--shadow-sm);
}

.ticker-window {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.ticker-track {
    display: inline-flex;
    gap: 30px;
    width: max-content;
}

.ticker-left {
    animation: tickerLeft 520s linear infinite;
}

.ticker-right {
    animation: tickerRight 520s linear infinite;
}

.ticker-window:hover .ticker-track {
    animation-play-state: paused;
}

.tick {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dce4ef;
    font-size: 15px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 20px 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.ticker-flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
}

.category-badge {
    background: rgba(0, 208, 132, 0.12);
    color: #00D084;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 208, 132, 0.25);
}

.recommendation-text {
    color: #f1f5f9;
}

@keyframes tickerLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes tickerRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* LAYERED FLOATING ELEMENTS */
.floating-badge {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: badgeFloat 4s ease-in-out infinite alternate;
}

.badge-qradar {
    background: #00D084;
    top: 5px;
    left: 5px;
    box-shadow: 0 15px 35px rgba(0, 208, 132, 0.4);
}

.badge-qlense {
    background: #9e7dff;
    top: 5px;
    right: 5px;
    box-shadow: 0 15px 35px rgba(158, 125, 255, 0.4);
    animation-delay: 0.5s;
}

.badge-qprocure {
    background: #65a7ff;
    top: 5px;
    left: 5px;
    box-shadow: 0 15px 35px rgba(101, 167, 255, 0.4);
    animation-delay: 1s;
}

.pos-bottom-left {
    bottom: 5px;
    left: 0px;
    animation-delay: 0.6s;
}

.floating-mini-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 12;
    animation: cardFloat 5s ease-in-out infinite alternate;
}

.floating-mini-card img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-mini-card div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.floating-mini-card strong {
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
}

.floating-mini-card span {
    color: #00D084;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 600;
}

.pos-bottom-right {
    bottom: 5px;
    right: 0px;
    animation-delay: 0.3s;
}

@keyframes badgeFloat {
    0% {
        transform: translateY(0) rotate(5deg);
    }

    100% {
        transform: translateY(52px) rotate(5deg);
    }
}

@keyframes cardFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-35px);
    }
}

/* JS CONNECTION SHAPES */
.connection-shape {
    position: absolute;
    border-radius: 40px;
    opacity: 0.6;
    filter: blur(14px);
    z-index: 0;
    will-change: transform;
}

.shape-1-to-2 {
    width: 240px;
    height: 240px;
    background: linear-gradient(135deg, rgba(101, 167, 255, 0.6), rgba(158, 125, 255, 0.1));
    top: 250px;
    right: 5%;
}

.shape-2-to-3 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.6), rgba(79, 224, 215, 0.1));
    top: 800px;
    left: 5%;
}

/* ====================================================
   MODERN FOOTER & CTA SECTION
==================================================== */
.site-footer {
    background: var(--bg-primary);
    padding: 60px 40px 20px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta {
    max-width: 1200px;
    margin: 0 auto 80px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(6, 16, 29, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content h2 {
    font-size: clamp(26px, 3vw, 32px);
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: clamp(14px, 1.2vw, 16px);
}

.cta-actions {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 40px;
    /* Apne logo ke size ke mutabiq adjust kar sakte hain */
    width: auto;
    margin-bottom: 0 !important;
}

.footer-company-info {
    display: flex;
    align-items: center; 
    gap: 4px; /* Words ('A', 'Bharyat...', 'Company') ke beech ka gap */
    margin-top: 0; /* Pehle ka 16px hata diya taaki text niche na jaye */
    margin-left: 0; 
    width: max-content;
}

.footer-company-info span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap; /* Isse text kabhi do line me nahi tootega */
}

.footer-company-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px; /* Font size ko bada kiya gaya hai */
    font-weight: 800;
    color: #4fe0d7; /* Teal/Cyan color */
    letter-spacing: -0.5px;
    line-height: 1;
}

/* 'Bharyat Advanced Systems' ke liye CSS */
.footer-company-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px; /* Sabhi text ka size uniform rakha gaya hai */
    font-weight: 800;
    color: #ffffff; /* White color */
    letter-spacing: -0.5px;
    line-height: 1;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 208, 132, 0.3);
}

.footer-links {
    display: flex;
    gap: 80px;
    flex: 1;
    justify-content: flex-end;
}

.link-group h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 600;
}

.link-group ul {
    list-style: none;
    padding: 0;
}

.link-group ul li {
    margin-bottom: 14px;
}

.link-group ul li a {
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

.link-group ul li a:hover {
    color: var(--primary);
    transform: translateX(6px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 25px auto 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ====================================================
   SOURCEQ STACKING & CLEAN GLASS EFFECT FIX (NON-STICKY HEADER)
==================================================== */
.sourceq-section {
    background: var(--bg-primary);
    padding: 60px 0 100px 0;
    position: relative;
    color: white;
}

.sourceq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.sourceq-header {
    position: relative;
    top: unset;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 0 40px 0;
    text-align: center;
    margin-bottom: 0;
}

.sourceq-header h2 {
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 8px;
    background: linear-gradient(90deg, #ffffff, #aeb8c5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sourceq-header p {
    font-size: clamp(15px, 1.3vw, 18px);
    color: #64748B;
}

/* ====================================================
   SOURCEQ STACKING CARDS (INTERNAL STYLE FIX)
==================================================== */
.sourceq-stack-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-row {
    position: sticky;
    top: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(5, 8, 22, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(101, 167, 255, 0.2);
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    margin-bottom: 40px;
}

.step-title-heading {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: "Bruno Ace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 38px;
    color: #EAEEF4;
    margin: 15px 0 20px 0;
}




.sourceq-stack-wrapper .step-row:nth-child(1) {
    top: 120px;
    z-index: 10;
}

.sourceq-stack-wrapper .step-row:nth-child(2) {
    top: 150px;
    z-index: 20;
}

.sourceq-stack-wrapper .step-row:nth-child(3) {
    top: 180px;
    z-index: 30;
}


.step-row:hover {
    border-color: rgba(0, 208, 132, 0.4);
}

.step-row.reverse {
    flex-direction: row-reverse;
}

.step-text {
    flex: 1;
    max-width: 500px;
}

.step-number {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 208, 132, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 208, 132, 0.3);
}

.step-number+span {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    margin-left: 8px;
}

.step-text h3 {
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.step-text p {
    font-size: clamp(15px, 1.2vw, 17px);
    color: #aeb8c5;
    line-height: 1.6;
    margin-bottom: 30px;
}

.step-features {
    list-style: none;
    padding: 0;
}

.step-features li {
    font-size: clamp(14px, 1.1vw, 16px);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dce4ef;
}

.step-features li::before {
    content: "✓";
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 100%;
}

.floating-search-box {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 290px;
    height: 56px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border: 2px solid #00D084;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 15;
    box-shadow: 0 0 25px rgba(0, 208, 132, 0.45), 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: searchBoxFloat 4s ease-in-out infinite alternate;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.floating-search-box:focus-within {
    border-color: #00F5A0;
    box-shadow: 0 0 35px rgba(0, 245, 160, 0.7), 0 20px 40px rgba(0, 0, 0, 0.6);
}

@keyframes searchBoxFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(22px);
    }
}

.dashboard-mockup {
    width: 100%;
    height: 350px;
    max-width: 100%;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.dashboard-mockup:hover {
    transform: translateY(-10px);
}

.dashboard-mockup.analytics {
    background: linear-gradient(135deg, #2e1065, #172554);
}

.dashboard-mockup.procurement {
    background: linear-gradient(135deg, #064e3b, #022c22);
}

img.card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    object-position: 0% 0%;
    animation: waterFloatMotion 14s ease-in-out infinite;
    transition: filter 400ms cubic-bezier(.4, 0, .2, 1), transform 400ms cubic-bezier(.4, 0, .2, 1);
}

@keyframes waterFloatMotion {
    0% {
        object-position: 0% 0%;
    }

    50% {
        object-position: 4% 6%;
    }

    100% {
        object-position: 0% 0%;
    }
}

.dashboard-mockup>img:first-child {
    animation: dashboardImageFloat 8s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
}

@keyframes dashboardImageFloat {
    0% {
        transform: scale(1.04) translate3d(0, 0, 0) rotate(0deg);
    }

    25% {
        transform: scale(1.055) translate3d(-3px, -2px, 0) rotate(0.15deg);
    }

    50% {
        transform: scale(1.045) translate3d(3px, 2px, 0) rotate(-0.15deg);
    }

    75% {
        transform: scale(1.055) translate3d(-2px, 2px, 0) rotate(0.1deg);
    }

    100% {
        transform: scale(1.04) translate3d(0, 0, 0) rotate(0deg);
    }
}

.dashboard-mockup.search-active img.card-bg {
    filter: blur(8px) brightness(0.4);
    transform: scale(1.05);
}

.dashboard-mockup.search-active .blur-target-group {
    filter: blur(8px);
    pointer-events: none;
}

.dashboard-mockup.search-active .expandable-search-bar {
    width: calc(100% - 40px) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.expandable-search-bar input::placeholder {
    color: #64748B;
}

.search-close-btn:hover {
    color: #fff !important;
}

/* ===================================
   RESPONSIVE MEDIA QUERIES
=================================== */
@media (max-width: 1366px) and (max-height: 768px) {
    .hero-container {
        height: auto;
        min-height: calc(100vh - var(--navbar-height));
        padding: 40px;
    }

    .system-viewport {
        height: 420px;
    }

    .angle-wrapper {
        transform: rotate(-15deg) scale(0.65);
    }
}

@media (max-width:1200px) {
    .angle-wrapper {
        transform: rotate(-15deg) scale(0.7);
    }
}

@media (max-width:992px) {
    .hero-fixed__inner {
    position: sticky;
    top: 42vh;
    padding-left: 20%;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
}
.hero-fixed-text{
    font-size:0.29rem;
    letter-spacing:0.1em;
     text-transform:uppercase;
     color:var(--primary);
     margin-bottom:1.2rem;
    /* font-size: 10px; */
}
    nav {
        padding: 0 24px;
    }

    .login-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: var(--transition);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        gap: 28px;
        padding: 36px 24px;
        align-items: flex-start;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
        text-align: center;
        height: auto;
    }

    .hero-content {
        align-items: center;
        max-width: 100%;
    }

    .hero-tag {
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(2.4rem, 7vw, 4rem);
    }

    .hero-description {
        max-width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
    }

    .system-viewport {
        height: 380px;
    }

    .angle-wrapper {
        transform: rotate(-15deg) scale(0.5);
    }

    .engine-wrap {
        transform: scale(0.7);
    }

    .sourceq-header {
        position: relative;
        top: unset;
    }

    .step-row,
    .step-row.reverse {
        flex-direction: column !important;
        /* text-align: center; */
        padding: 16px 14px !important;
        gap: 10px !important;
        margin-bottom: 24px !important;
    }

    /* 2. Step number aur badge ka margin hata dein */
    .step-number {
        margin-bottom: 5px !important;
        padding: 5px 12px !important;
        font-size: 14px !important;
    }

    /* 3. Heading ka top/bottom margin zero karein */
    .step-title-heading {
        margin: 5px 0 !important;
        font-size: 21px !important;
    }

    /* 4. Description paragraph ka margin zero karein */
    .step-text p {
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }

    /* 5. Features list items ka margin bilkul kam karein */
    .step-features {
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }

    .step-features li {
        font-size: 13.5px !important;
        margin-bottom: 5px !important; /* Top-bottom spacing minimum */
    }

    /* 6. Dashboard mockup ki height ko compact karein taaki image/visual poori dikhe */
    .dashboard-mockup {
        height: 180px !important;
        margin-top: 4px !important;
        margin-bottom: 0 !important;
    }



    .sourceq-stack-wrapper .step-row:nth-child(1) {
        top: 90px;
        margin-bottom: 40px !important;
    }

    .sourceq-stack-wrapper .step-row:nth-child(2) {
        top: 110px;
        margin-bottom: 40px !important;
    }

    .sourceq-stack-wrapper .step-row:nth-child(3) {
        top: 130px;
    }





    .step-text {
        order: 1;
        max-width: 100%;
    }

    .step-features {
        text-align: left;
        display: inline-block;
    }

    .step-visual {
        order: 2;
        width: 100%;
    }

    /* ===================================
   MOBILE ONLY SEARCH BAR OVERFLOW FIX
=================================== */
    @media (max-width: 768px) {
        .floating-search-box {
            width: calc(100% - 32px) !important;
            max-width: 290px !important;
            left: 16px !important;
            right: 16px !important;
            margin: 0 auto !important;
            box-sizing: border-box !important;
        }
    }

    .dashboard-mockup {
        height: 280px;
    }

    .ticker-container {
        padding: 0 24px;
    }

    .ticker-track {
        gap: 30px;
        animation-duration: 80s;
    }

    .tick {
        font-size: 14px;
    }

    .ticker-left {
        animation-duration: 390s !important;
        /* Mobile par speed slow karne ke liye duration badha di gayi hai */
    }

    /* .ticker-right {
        animation-duration: 250s !important;
    } */
    .site-footer {
        padding: 40px 24px 20px;
    }

    .footer-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 25px;
        margin-bottom: 50px;
    }

    .cta-actions,
    .cta-actions a {
        width: 100%;
        text-align: center;
        flex-direction: column;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
        justify-content: flex-start;
    }
}

/* ===================================
   SIRF TEXT SECTION MOBILE RESPONSIVE FIX
=================================== */
@media (max-width: 768px) {

    .hero-fixed__inner {
    position: sticky;
    top: 43.5vh;
    padding-left: 20%;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
}
.hero-fixed-text{
    font-size:0.24rem;
    letter-spacing:0.1em;
     text-transform:uppercase;
     color:var(--primary);
     margin-bottom:1.2rem;
    /* font-size: 10px; */
}
    /* Tablet / Medium Screens ke liye text ko control karein */
    #portalTextGroup {
        transform: translate(-2px, 0px);
    }

    /* Text font size adjustment */
    .portal-overlay svg text[font-size="16"] {
        font-size: 12px !important;
    }

    .portal-overlay svg text[font-size="6.5"] {
        font-size: 5px !important;
    }
}

@media (max-width: 480px) {
    .hero-fixed__inner {
    position: sticky;
    top: 44vh;
    padding-left: 30.5%;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
}
.hero-fixed-text{
    font-size:0.16rem;
    letter-spacing:0.3em;
     text-transform:uppercase;
     color:var(--primary);
     margin-bottom:1.2rem;
    /* font-size: 10px; */
}
/* .hero-fixed__title {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: clamp(1.2rem, 2vw, 3rem);
    line-height: 1.02;
    color: #ffffff;
} */

    /* Chote Mobile Screens ke liye text ko aur adjust karein */
    #portalTextGroup {
        transform: translate(-2px, 0px); /* Positive se hata kar negative karein taaki left aaye */
    }

    .portal-overlay svg text[font-size="16"] {
        font-size: 10px !important;
    }

    .portal-overlay svg text[font-size="6.5"] {
        font-size: 4px !important;
    }
}