:root {
    /* Brand Colors */
    --primary: #2563eb;
    --primary-rgb: 37, 99, 235;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --bg-light: #f8fafc;
    --white: #ffffff;

    /* Text */
    --text-main: #334155;
    --text-muted: #64748b;

    /* UI Elements */
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
    --transition-cubic: cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing Scale */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

.badge-accent {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

/* Premium Animated Background */
.hero-animated-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 153, 51, 0.12) 0%,
            rgba(255, 255, 255, 1) 30%,
            rgba(37, 99, 235, 0.06) 60%,
            rgba(19, 136, 8, 0.10) 100%);
    background-size: 300% 300%;
    animation: heroGradientShift 12s ease-in-out infinite;
    z-index: 0;
}

@keyframes heroGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Page Entrance */
.page-entrance {
    animation: pageEntranceFade 0.8s var(--transition-cubic) forwards;
}

@keyframes pageEntranceFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AI Journey / Vertical Timeline */
.ai-journey-graphic {
    margin-top: 3.5rem;
    position: relative;
    padding-left: 60px;
}

.ai-journey-graphic::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: rgba(37, 99, 235, 0.12);
    z-index: 0;
}

.journey-node {
    position: relative;
    margin-bottom: 3.2rem;
}

.journey-node:last-child {
    margin-bottom: 0;
}

.journey-node .node-icon {
    position: absolute;
    left: -60px;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: var(--transition);
}

.journey-node:hover .node-icon {
    transform: scale(1.1);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
        transform: translateY(0) scale(1.0);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
        transform: translateY(0) scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
        transform: translateY(0) scale(1.0);
    }
}

/* Decorative Floating */
.floating-node {
    animation: floating-node 6s ease-in-out infinite;
}

@keyframes floating-node {

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

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

.card-premium {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    /* Increased lift */
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    /* Soft glow */
    color: var(--white);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 80px 0;
}

.flex-split {
    display: flex;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .flex-split {
        flex-direction: column;
        gap: 2.5rem;
    }
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-cta {
    background: var(--primary);
    color: var(--white);
    padding: 0.65rem 1.75rem;
    /* Reduced height, increased width for elegance */
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    cursor: pointer;
}

.btn-cta {
    position: relative;
    z-index: 10;
}

.btn-cta.active {
    background: var(--primary);
    color: var(--white);
    /* Keep primary brand color but maybe darken or inset shadow */
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.7rem 1.4rem;
    /* Match btn-cta height minus border */
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
            rgba(255, 153, 51, 0.55) 0%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(19, 136, 8, 0.55) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span.typed-text {
    color: var(--primary);
}

.hero-cta-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-glyph {
    opacity: 0.35;
    font-size: 0.8em;
    font-weight: 300;
    margin: 0 0.2rem;
    vertical-align: middle;
}

.hero-glyph::before {
    content: "•";
    /* Subtle dot glyph */
}

.hero-msme-text {
    color: var(--secondary);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0;
}

.hero-microcopy {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    display: block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-lead {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--secondary) !important;
    margin-bottom: 1rem !important;
    max-width: 800px !important;
}

.hero-subtext {
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    color: var(--text-muted) !important;
    max-width: 850px !important;
    margin-bottom: 3rem !important;
    opacity: 0.9;
}

/* Hero Trust Row */
.hero-trust-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-item i {
    color: var(--primary);
    font-size: 1.1rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero-trust-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
}

/* Services */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title span {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

/* Featured / Parallax */
.parallax-section {
    background: linear-gradient(180deg,
            rgba(19, 136, 8, 0.08) 0%,
            rgba(255, 255, 255, 1) 100%);
    color: var(--secondary);
    text-align: center;
    padding: 120px 0;
}

.parallax-section h2 {
    color: var(--secondary);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.parallax-title {
    margin-bottom: 1.5rem;
}

.parallax-desc {
    font-size: 1.5rem;
    max-width: 850px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.parallax-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Works / Alternating */
.work-row,
.alternate-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.work-row.reverse,
.alternate-row:nth-child(even) {
    flex-direction: row-reverse;
}

.work-img,
.feature-img-box {
    flex: 1;
    display: flex;
    /* Added flex to center children */
    justify-content: center;
    /* Horizontal centering */
    align-items: center;
    /* Vertical centering */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.work-img:has(.mobile-mockup) {
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
    /* Allow phone shadow to breathe */
}

.placeholder-icon-box {
    background: #e2e8f0;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    /* Move shadow here for placeholders */
}

.placeholder-icon-box i {
    font-size: 8rem;
    color: #cbd5e1;
}

/* Showcase Section (ChatGPT Inspired) */
.showcase-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.showcase-card {
    background: #f7f9fb;
    /* Soft, modern slate-blue tinted background */
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.showcase-content {
    max-width: 500px;
    z-index: 5;
}

.badge-tag,
.showcase-label {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.85rem;
    color: #2563eb;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    display: block;
}

.showcase-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.showcase-desc {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.showcase-features {
    display: flex;
    gap: 30px;
}

.s-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #1e293b;
}

.s-feature i {
    color: #2563eb;
    font-size: 1.25rem;
}

.showcase-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.visual-bg-accent {
    position: absolute;
    width: 450px;
    height: 450px;
    background: #e0f2fe;
    /* Matches app skyline base */
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 1;
    animation: pulse-bg 8s infinite alternate ease-in-out;
}

@keyframes pulse-bg {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.mobile-mockup {
    width: 320px;
    min-width: 320px;
    /* Prevent squishing */
    height: 600px;
    background: #FFFFFF;
    border-radius: 48px;
    box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.25);
    border: 12px solid #0f172a;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Hide all scrollbars within any mockup */
.mobile-mockup * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.mobile-mockup *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Ensure content is still scrollable but scrollbars are invisible */
.mobile-mockup .app-body,
.mobile-mockup .ai-chat-body-scroller,
.mobile-mockup .schemes-body {
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

@media (max-width: 1200px) {
    .showcase-card {
        padding: 60px;
    }

    .showcase-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .showcase-card {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
    }

    .showcase-content {
        margin: 0 auto;
        max-width: 100%;
    }

    .showcase-features {
        justify-content: center;
    }

    .showcase-visual {
        margin-top: 40px;
    }
}

/* Base Mockup UI overrides for premium feel */
.app-screen,
.app-screen-ai {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #FFFFFF;
}

.app-header-layered {
    background: #e0f2fe;
    padding: 0.75rem 1.25rem 0;
    position: relative;
    height: 160px;
    display: flex;
    flex-direction: column;
}

.app-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #1e293b;
    margin-bottom: 1.25rem;
    font-weight: 700;
    padding: 0 5px;
}

.status-icons {
    display: flex;
    gap: 6px;
}

.app-top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
    position: relative;
}

.menu-btn-round,
.settings-btn-round {
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.user-greeting {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.lang-tag-pill {
    background: #FFFFFF;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #2563eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mumbai-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background:
        linear-gradient(transparent, #e0f2fe 90%),
        url('https://img.icons8.com/color/480/gateway-of-india.png') no-repeat bottom left 40px,
        url('https://img.icons8.com/color/480/taj-mahal.png') no-repeat bottom right 40px;
    background-size: 70px, 100px;
    opacity: 0.9;
}

.app-body {
    background: #FFFFFF;
    border-radius: 30px 30px 0 0;
    padding: 1.25rem;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
}

.app-body::-webkit-scrollbar {
    display: none;
}

.app-section-title {
    font-weight: 800;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 1rem;
    display: block;
}

.app-card {
    background: #FFFFFF;
    padding: 1.25rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 0.5rem;
}

.card-icon-round {
    width: 40px;
    height: 40px;
    background: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.card-text strong {
    display: block;
    font-size: 0.85rem;
    color: #1e293b;
}

.card-text span {
    font-size: 0.7rem;
    color: #64748b;
}

.app-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 1rem 0;
}

/* Benefit Lists */
.benefit-list {
    margin-top: 2rem;
}

.benefit-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Feature Links */
.feature-link {
    color: var(--primary);
    font-weight: 700;
}

/* App & Mockup Specifics */
.mic-icon {
    color: #2563eb;
}

.chevron-right {
    margin-left: auto;
    opacity: 0.3;
    font-size: 0.8rem;
}

.schemes-options-icon {
    margin-left: auto;
    font-size: 0.9rem;
    color: #94a3b8;
}

.schemes-wizard-content {
    padding: 1.25rem;
}

.schemes-card-spacer {
    margin-bottom: 15px;
}

.schemes-check-btn {
    width: 100%;
    border-radius: 12px;
    font-size: 0.9rem;
    padding: 0.8rem;
}

.schemes-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 250px;
    gap: 1.5rem;
}

.ios-loader {
    position: relative;
    width: 32px;
    height: 32px;
}

.ios-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
}

.ios-spinner i {
    position: absolute;
    top: -10px;
    left: -1px;
    width: 2px;
    height: 6px;
    background: #2563eb;
    border-radius: 1px;
    transform-origin: center 10px;
    animation: ios-spinner-fade 1s linear infinite;
}

.ios-spinner i:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1s;
}

.ios-spinner i:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -0.916s;
}

.ios-spinner i:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.833s;
}

.ios-spinner i:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.75s;
}

.ios-spinner i:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.666s;
}

.ios-spinner i:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.583s;
}

.ios-spinner i:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.ios-spinner i:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.416s;
}

.ios-spinner i:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.333s;
}

.ios-spinner i:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.25s;
}

.ios-spinner i:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.166s;
}

.ios-spinner i:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: -0.083s;
}

@keyframes ios-spinner-fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.loader-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: -0.01em;
}

.schemes-list-container {
    padding: 1.25rem;
}

.scheme-name {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.scheme-desc {
    font-size: 0.7rem;
    color: #64748b;
}

.eligible-icon {
    color: #2563eb;
}

.app-pagination span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e2e8f0;
}

.app-pagination span.active {
    background: #2563eb;
    width: 16px;
    border-radius: 10px;
}

.app-search-bar {
    background: #f1f5f9;
    border: none;
    padding: 0 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 52px;
    margin-bottom: 0.5rem;
}

.app-search-bar i {
    color: #94a3b8;
    font-size: 0.85rem;
    flex-shrink: 0;
}

#app-typing-target {
    font-size: 0.85rem;
    color: #1e293b;
}

.typing-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

.app-cursor,
.ai-cursor {
    color: #2563eb;
    margin-left: 2px;
    font-weight: 100;
    animation: blink 1s infinite;
}

.search-hint {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.75rem;
}

.help-grid-title {
    font-weight: 800;
    margin: 1.5rem 0 1rem;
    font-size: 1rem;
    color: #1e293b;
}

.help-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.help-item {
    background: #f8fafc;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.help-item-text strong {
    display: block;
    font-size: 0.85rem;
    color: #1e293b;
}

.help-item-text span {
    font-size: 0.7rem;
    color: #64748b;
}

.help-item i {
    font-size: 0.75rem;
    color: #cbd5e1;
}

.ai-header-fixed {
    background: #FFFFFF;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    z-index: 20;
}

/* Move status bar space to a separate helper or just use padding consistently */
.app-screen-ai::before {
    content: '';
    height: 24px;
    /* Status bar space */
    width: 100%;
    background: #FFFFFF;
    display: block;
}

.ai-header-fixed span {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-header-fixed i {
    color: #2563eb;
    font-size: 1.1rem;
    cursor: pointer;
}

.ai-chat-body-scroller {
    background: #f8fafc;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.ai-chat-body-scroller::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.ai-message-content {
    flex: 1;
    min-width: 150px;
    white-space: pre-wrap;
    /* Preserve newlines */
    line-height: 1.5;
}

.chat-bubble-user-app {
    background: #2563eb;
    color: #FFFFFF;
    padding: 0.85rem 1.1rem;
    border-radius: 18px 18px 4px 18px;
    align-self: flex-end;
    font-size: 0.9rem;
    max-width: 80%;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.chat-bubble-ai-app {
    background: #FFFFFF;
    border: 1px solid #f1f5f9;
    padding: 1.25rem;
    border-radius: 20px 20px 20px 4px;
    align-self: flex-start;
    display: flex;
    gap: 12px;
    width: 90%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    animation: bubbleAppear 0.4s ease-out forwards;
}

@keyframes bubbleAppear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ai-message-content {
    flex: 1;
    min-width: 150px;
    /* Ensure content area doesn't collapse */
}

.ai-avatar-circle {
    width: 28px;
    height: 28px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.ai-message-content {
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.5;
    white-space: pre-line;
}

/* Thinking Animation */
.ai-thinking-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.ai-thinking-dots span {
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    display: inline-block;
    animation: thinkingBounce 1.4s infinite ease-in-out both;
}

.ai-thinking-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.ai-thinking-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes thinkingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* GOVERNMENT SCHEMES MOCKUP - Premium Refinement */
.schemes-header {
    background: #FFFFFF;
    padding: 1.5rem 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.schemes-header span {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
}

.schemes-header i {
    color: #2563eb;
    font-size: 1.1rem;
}

.schemes-body {
    background: #f8fafc;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.schemes-body::-webkit-scrollbar {
    display: none;
}

.eligibility-banner {
    background: rgba(239, 246, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 1.25rem;
    border-bottom: 1px solid rgba(191, 219, 254, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: schemes-results-reveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.eligibility-banner p {
    font-size: 0.8rem;
    color: #1e40af;
    font-weight: 700;
    margin: 0 !important;
}

@keyframes schemes-results-reveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.udyam-input-box {
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.udyam-input-box i {
    color: #94a3b8;
}

.udyam-input-box span {
    font-size: 0.85rem;
    color: #1e293b;
}

.scheme-card-item {
    background: #FFFFFF;
    border: 1px solid #f1f5f9;
    padding: 1.25rem;
    border-radius: 24px;
    /* Matches the rounded look in screenshot */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    margin-bottom: 12px;
}

/* MARKET DISCOVERY / TRADE SHOWS STYLES */
.expos-body {
    background: #f8fafc;
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.expos-search-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
    padding: 1rem 0;
}

.search-entry-pill {
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.search-entry-pill i {
    color: #2563eb;
    font-size: 0.9rem;
}

.search-entry-pill span {
    font-size: 0.85rem;
    color: #1e293b;
    font-weight: 500;
}

.discovery-pulse-container {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-pulse {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-pulse::after {
    content: '\f3c5';
    /* fa-map-marker-alt */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #2563eb;
    font-size: 1.5rem;
    z-index: 2;
}

.location-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(.33);
    }

    80%,
    100% {
        opacity: 0;
    }
}

.flag-mini {
    position: absolute;
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    border: 1px solid #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 0.7rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0);
}

.flag-mini.f-1 {
    top: 0;
    right: 10px;
    animation: flag-pop 4s infinite 0.5s;
}

.flag-mini.f-2 {
    bottom: 20px;
    left: 0;
    animation: flag-pop 4s infinite 1.5s;
}

.flag-mini.f-3 {
    top: 30px;
    left: -10px;
    animation: flag-pop 4s infinite 2.5s;
}

@keyframes flag-pop {
    0% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }

    20% {
        opacity: 1;
        transform: scale(1) translateY(-5px);
    }

    80% {
        opacity: 1;
        transform: scale(1) translateY(-5px);
    }

    100% {
        opacity: 0;
        transform: scale(0.5) translateY(-10px);
    }
}

.discovery-text {
    position: absolute;
    bottom: -40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    width: 200px;
    text-align: center;
}

.scheme-tag {
    background: #ecfdf5;
    color: #10b981;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* GLOBAL SHARED STYLES RESTORATION */
.work-text,
.feature-content {
    flex: 1;
}

.work-text span,
.feature-content span {
    color: var(--primary);
    font-weight: 700;
}

.work-text h3,
.feature-content h2 {
    font-size: 2rem;
    margin: 1rem 0;
}

/* Testimonials Details */
.quote-icon {
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.testimonial-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.text-rose {
    color: #881337;
}

.text-sky {
    color: #0c4a6e;
}

.text-green {
    color: #14532d;
}

.text-orange {
    color: #7c2d12;
}

.user-img-small {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin: 0;
}

.user-name {
    font-size: 1rem;
    margin: 0;
}

.user-company {
    font-size: 0.8rem;
}

.testimonial-result {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.testimonial-result i {
    font-size: 0.9rem;
}

/* Testimonials Carousel (MeetPrism Inspired) */
.testimonials {
    background: #FFFFFF;
    padding: 100px 0;
    overflow: hidden;
}

/* Testimonials Carousel */
.testimonials {
    background: #FFFFFF;
    padding: 80px 0;
    /* Updated as requested */
}

.testimonial-slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-top: 24px;
    /* Updated as requested */
    margin-bottom: 40px;
}

.testimonial-track {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    /* Start from center */
    transform: translateX(-50%);
    /* Centering adjustment handled by JS */
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    will-change: transform;
}

.testimonial-card {
    min-width: 360px;
    max-width: 360px;
    margin: 0 25px;
    background: #f8fafc;
    border-radius: 30px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.6;
    /* Side cards */
    filter: none;
    /* No blur */
    transform: scale(0.97);
    /* User requested 0.97 */
    transition: all 250ms ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.testimonial-card.is-active {
    opacity: 1;
    /* Center/Active card sharp */
    filter: none;
    /* No blur */
    transform: scale(1.0);
    /* Scale 1.0 */
    background: #FFFFFF;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.12);
    z-index: 10;
}

/* Distinct Card Backgrounds (Optional, based on screenshot variety) */
.testimonial-card:nth-child(4n+1) {
    background: #fff1f2;
    border-color: #ffe4e6;
}

/* Rose */
.testimonial-card:nth-child(4n+2) {
    background: #f0f9ff;
    border-color: #e0f2fe;
}

/* Sky */
.testimonial-card:nth-child(4n+3) {
    background: #f0fdf4;
    border-color: #dcfce7;
}

/* Green */
.testimonial-card:nth-child(4n+4) {
    background: #fff7ed;
    border-color: #ffedd5;
}

/* Orange */



/* Internal Card Layout */
.card-content {
    flex: 1;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    /* Elongated active dot */
    border-radius: 10px;
}

.user-img {
    width: 70px;
    height: 70px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.testimonial-card p {
    font-size: 1.2rem;
    /* Increased font size */
    color: #1e293b;
    /* Darker for contrast */
    font-style: normal;
    line-height: 1.7;
    font-weight: 500;
}

.section-title h2 {
    margin-bottom: 10px;
    /* Updated as requested */
}

/* Carousel Nav Arrows */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-control {
        display: none;
        /* Hide on mobile */
    }
}

.user-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0.25rem 0;
}

.testimonial-card span.user-company {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.1rem;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 85vw;
        max-width: 85vw;
        padding: 2.5rem 1.75rem;
        margin: 0 10px;
        opacity: 0.2;
    }

    .testimonial-card.is-active {
        transform: scale(1.02);
        opacity: 1;
        filter: grayscale(0%) blur(0);
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Counters */
.counters {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 80px 0;
    /* Reduced height by 20% from 100px */
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Base border */
}

.counters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
            #ff9933 0%,
            #ff9933 33.33%,
            #ffffff 33.33%,
            #ffffff 66.66%,
            #138808 66.66%,
            #138808 100%);
    z-index: 10;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

/* Mockup Bottom Nav */
.mockup-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #FFFFFF;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 30;
    padding-bottom: 5px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    cursor: default;
}

.nav-item i {
    font-size: 1.2rem;
}

.nav-item span {
    font-size: 0.65rem;
    font-weight: 600;
}

.nav-item.active {
    color: #2563eb;
}

.counter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.counter-item strong {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.counter-item span {
    font-size: 0.75rem;
    /* Microtext */
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    opacity: 0.6;
}

.beta-tag {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.5;
    vertical-align: super;
    margin-left: 6px;
}

/* Media Queries & Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .work-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .work-row.reverse {
        flex-direction: column;
    }

    .mobile-mockup {
        transform: translateY(0);
        margin: 2rem auto;
    }
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-desc {
    margin-top: 1rem;
    color: #94a3b8;
}

.newsletter-desc {
    color: #94a3b8;
    margin-bottom: 1rem;
}

/* Form Status Messages */
.form-status {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    min-height: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-status.success {
    color: #10b981;
    font-weight: 600;
}

.form-status.error {
    color: #ef4444;
    font-weight: 600;
}

.success-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.newsletter-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.newsletter-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    /* Enhanced glow */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0;
    /* Changed to use padding for better divider control */
}

.footer-grid>div {
    padding: 0 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    /* Rounded */
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    /* Focus ring */
}

.footer-grid>div:first-child {
    padding-left: 0;
}

.footer-grid>div:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    /* Low opacity divider */
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
    /* Slightly reduced */
    display: block;
}

/* Expert CTA Banner */
.expert-cta-banner {
    background: #f8fafc;
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.expert-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.expert-cta-text h4 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin: 0;
    /* Clear internal margins */
}

/* Ecosystem Animation */
.hero.has-bg-animation {
    position: relative;
    min-height: 490px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 !important;
}

.hero.has-bg-animation .hero-ecosystem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
    transform: scale(1.3);
    /* Slightly larger for background effect */
}

.hero.has-bg-animation .ecosystem-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    max-width: 1000px;
    width: 100%;
}

.hero.has-bg-animation .container {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.hero-ecosystem {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.ecosystem-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    padding: 3rem 2rem;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    max-width: 850px;
    width: 95%;
    position: relative;
}

.ecosystem-diagram {
    position: relative;
    height: 220px;
    width: 100%;
}

.eco-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.eco-line {
    fill: none;
    stroke: rgba(var(--primary-rgb), 0.2);
    stroke-width: 3;
    stroke-dasharray: 8 8;
    animation: lineFlow 30s linear infinite;
}

@keyframes lineFlow {
    from {
        stroke-dashoffset: 500;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.eco-node {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 2;
    box-shadow: var(--shadow-md);
    border: 3px solid transparent;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eco-node i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.eco-node span {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    width: 120%;
}

.eco-node.active {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.4);
    transform: translate(-50%, -50%) scale(1.15);
}

.eco-node.active i {
    transform: scale(1.2);
}

@keyframes float {

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

    50% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes fadeInLabel {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 0.7;
        transform: translateY(0);
    }
}

@keyframes expertFocus {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.3);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.6), 0 0 30px rgba(37, 99, 235, 0.5);
    }
}

@keyframes expertHalo {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(0.95);
    }

    70% {
        transform: scale(1.05);
    }
}

@keyframes progressDot {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(calc(70vw * 0.7));
        opacity: 0;
    }
}

@keyframes gradientParallax {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-40px, -40px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.eco-dot {
    fill: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary));
}

.ecosystem-microcopy {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .ecosystem-card {
        padding: 2rem 1rem;
    }

    .eco-node {
        width: 70px;
        height: 70px;
    }

    .eco-node i {
        font-size: 1.2rem;
    }

    .eco-node span {
        font-size: 0.6rem;
    }
}

/* Pre-Footer CTA */
.pre-footer-cta {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pre-footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            var(--india-orange) 0%,
            var(--india-orange) 33.33%,
            #ffffff 33.33%,
            #ffffff 66.66%,
            var(--india-green) 66.66%,
            var(--india-green) 100%);
    z-index: 10;
}

.pre-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: var(--secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.icon-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

.icon-btn.email:hover {
    background: var(--primary);
    color: white;
}

.icon-btn.linkedin:hover {
    background: #0077b5;
    color: white;
}

.icon-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

/* Expert Timeline Component */
.expert-timeline-section {
    background: #f8fafc;
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    flex: 0 0 auto;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.timeline-step:hover {
    transform: translateY(-6px);
}

.timeline-step.visible .timeline-icon {
    animation: iconBounce 0.6s ease-out;
}

.timeline-step::after {
    display: none;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-icon {
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
    transform: scale(1.1);
}

.timeline-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.timeline-label {
    text-align: center;
}

.timeline-label h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.3px;
}

.timeline-label p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* Trust Row */
.trust-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: 1.1rem;
    color: var(--primary);
    opacity: 0.8;
}

.trust-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: -0.2px;
}

.timeline-progress-bg {
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: rgba(37, 99, 235, 0.12);
    z-index: 0;
    border-radius: 10px;
}

.timeline-progress-moving {
    position: absolute;
    top: 28.5px;
    left: 15%;
    width: 0;
    /* Controlled by JS */
    height: 6px;
    z-index: 1;
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
    pointer-events: none;
}

.timeline-progress-dot {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.8), 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    z-index: 2;
    animation: timelineDotPulse 2s infinite ease-in-out;
}

@keyframes timelineDotPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.8), 0 0 0 4px rgba(var(--primary-rgb), 0.1);
        transform: translateY(-50%) scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(var(--primary-rgb), 1), 0 0 0 8px rgba(var(--primary-rgb), 0.15);
        transform: translateY(-50%) scale(1.15);
    }
}

@media (max-width: 768px) {
    .timeline-steps {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 0;
    }

    .timeline-progress-bg,
    .timeline-progress-moving {
        display: none;
        /* Hide horizontal progress line on mobile */
    }

    .timeline-step::after {
        display: none;
    }

    .trust-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    /* Fix hero animation for mobile */
    .live-match-card {
        padding: 1.5rem;
    }

    .ai-node-wrapper {
        width: 80px;
        height: 80px;
    }

    .ai-core {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

/* Tooltip Logic */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--secondary) transparent transparent transparent;
}

.tooltip-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.footer-links h4 {
    margin-bottom: 1.25rem;
    /* Slightly reduced */
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
    /* Tightened */
}

.footer-links a {
    color: #94a3b8;
    position: relative;
    padding-bottom: 2px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    margin-top: 4rem;
    color: #64748b;
    font-size: 0.9rem;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 1.25rem;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .work-row,
    .work-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .work-img,
    .work-text {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        height: auto;
        padding: 140px 0 80px;
    }

    .hero h1,
    h1 {
        font-size: 2.5rem !important;
    }

    .hero p,
    p {
        font-size: 1.05rem !important;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hero-btns .nav-link {
        margin-left: 0 !important;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .parallax-section {
        background-attachment: scroll;
        /* Better performance on mobile */
        padding: 80px 0;
    }

    .parallax-section h2 {
        font-size: 2.25rem;
    }

    .parallax-section p {
        font-size: 1.2rem !important;
    }

    .counters-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-grid>div {
        padding: 0;
        border-right: none !important;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links form {
        flex-direction: column;
    }

    .pre-footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* --- Reveal Animations --- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delay Utilites */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Cursor animation for typing effect */
.cursor {
    display: inline-block;
    background-color: var(--primary);
    margin-left: 0.1rem;
    width: 2.4px;
    /* Reduced from 3px by 20% */
    height: 1.2em;
    vertical-align: middle;
    animation: blink 1.2s infinite ease-in-out;
}

.cursor.typing {
    animation: none;
}

/* Event List UI (Trade Shows Mockup) */
.event-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.event-date-tag {
    background: var(--primary);
    color: white;
    padding: 8px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    min-width: 45px;
    line-height: 1.1;
}

.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-name {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 700;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location-chip {
    font-size: 0.65rem;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.event-type {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }

    .service-card {
        padding: 2.5rem 1.5rem;
    }
}

/* --- Expertise Ecosystem & Partners --- */

.expertise-ecosystem {
    padding: 100px 0;
    background: #ffffff;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.expertise-card {
    background: #f8fafc;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0) 0%, rgba(37, 99, 235, 0.4) 50%, rgba(37, 99, 235, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.expertise-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-icon {
    width: 64px;
    height: 64px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.expertise-card:hover .expertise-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.expertise-card h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

.expertise-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.expertise-tags li {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
    padding: 4px 12px;
    border-radius: 50px;
}

/* Expert Join CTA */
.expert-join-cta {
    margin-top: 6rem;
}

.cta-inner {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    padding: 4.5rem;
    border-radius: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-text,
.cta-action {
    position: relative;
    z-index: 2;
}

.cta-text h3 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.cta-text p {
    color: #94a3b8;
    font-size: 1.25rem;
    max-width: 600px;
}

/* Sleek Apple-style Expert Registration Form */
.expert-form-container {
    background: #ffffff;
    border-radius: 38px;
    padding: 4.5rem;
    margin: 2.5rem auto 0;
    width: 100%;
    max-width: 850px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    animation: appleScaleDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appleScaleDown {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sleek-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    animation: fadeUpItem 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUpItem {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding-left: 4px;
}

.form-group input,
.form-group select {
    padding: 1.1rem 1.4rem;
    background: #fdfdfd;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    font-size: 1.05rem;
    font-family: inherit;
    color: var(--secondary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.form-group input::placeholder {
    color: #94a3b8;
    opacity: 0.6;
}

/* Multi-select styling */
.multi-select-container {
    position: relative;
    width: 100%;
}

.multi-select-header {
    padding: 1.1rem 1.4rem;
    background: #fdfdfd;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    font-size: 1.05rem;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.multi-select-header:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.multi-select-header i {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.multi-select-header.active i {
    transform: rotate(180deg);
}

.multi-select-dropdown {
    position: relative;
    margin-top: 1rem;
    width: 100%;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 5;
    padding: 1.8rem;
    display: none;
    max-height: 500px;
    overflow-y: auto;
}

.multi-select-dropdown.active {
    display: block;
    animation: personaFadeIn 0.3s ease;
}

.industry-category {
    margin-bottom: 2rem;
}

.industry-category:last-child {
    margin-bottom: 0.5rem;
}

.category-header {
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1.5px solid #f8fafc;
}

.industry-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding-left: 0.2rem;
}

.industry-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #475569;
    user-select: none;
    transition: all 0.2s;
}

.industry-option:hover {
    color: var(--primary);
}

.industry-option strong {
    color: var(--secondary);
    font-size: 1rem;
}

/* Custom Checkbox */
.custom-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #e2e8f0;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    flex-shrink: 0;
}

.hidden-checkbox:checked+.custom-checkbox {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.custom-checkbox i {
    color: white;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}

.hidden-checkbox:checked+.custom-checkbox i {
    opacity: 1;
    transform: scale(1);
}

.hidden-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

@media (max-width: 640px) {
    .industry-options {
        grid-template-columns: 1fr;
    }
}

.form-group input:hover,
.form-group select:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08), 0 4px 12px rgba(37, 99, 235, 0.05);
    transform: translateY(-1px);
}

.form-footer {
    margin-top: 1.5rem;
    animation: fadeUpItem 0.6s ease-out forwards;
    opacity: 0;
}

.full-width {
    width: 100%;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expert-form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 992px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 3.5rem 2rem;
    }

    .cta-text p {
        margin: 0 auto;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* Partner Marquee */
.partner-marquee-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.marquee-title {
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 3rem;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: scroll-marquee 40s linear infinite;
    padding-left: 2rem;
}

.marquee-item {
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-item span {
    font-size: 1.75rem;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.marquee-item:hover span {
    color: var(--primary);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-content {
        gap: 2rem;
    }

    .marquee-item span {
        font-size: 1.25rem;
    }
}

/* Live Match Engine Animations */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    font-weight: 300;
    color: var(--primary);
}

.route-line-anim {
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1s linear;
}

.process-ring circle.ring-fill {
    transition: stroke-dashoffset 1.5s ease-out;
}

.match-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.msme-node {
    align-items: flex-start;
}

.expert-node {
    align-items: flex-end;
}

.b2b-node {
    flex: 0 0 auto;
    margin: 0 2rem;
}

/* Transition classes for JS */
.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.fade-out {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.processing-spinner {
    transform-origin: center center;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Missing Keyframes */
@keyframes gradientParallax {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes glowPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
}

@keyframes progressDot {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Live Match Visibility Classes */
/* Experts Hero Card Structured Styles */
/* Live Match Engine Card (Unified with MSME Style) */
.live-match-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.trust-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    gap: 3rem;
    z-index: 10;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-strip-icon {
    color: var(--primary);
    font-size: 1rem;
}

.glow-pulse-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

.processing-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.processing-spinner.visible {
    opacity: 1 !important;
}

#match-flow-path.visible,
#flow-dot-1.visible {
    opacity: 1 !important;
}

.match-badge.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.expert-profile-card.visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.expert-profile-card.matched {
    transform: scale(1.1) !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15) !important;
}

.outcome-pill.visible {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
}

.trust-strip.visible {
    opacity: 1 !important;
}

/* Expert Hero State Machine */
/* Default / Inactive State for all animated elements */
.live-match-card .match-badge,
.live-match-card .outcome-pill,
.live-match-card .trust-strip,
.live-match-card #match-flow-path,
.live-match-card #flow-dot-1,
.expert-state-layer {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    filter: blur(2px);
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.5s step-end;
    pointer-events: none;
}

/* Containers that stay visible (No Blank State) */
.live-match-card .chat-bubble,
.live-match-card .expert-profile-card,
.live-match-card .processing-spinner {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    visibility: visible;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Spinner specific: visible but dim/static by default, active in searching */
.live-match-card .processing-spinner {
    opacity: 0.3;
    pointer-events: none;
    /* Removed translate since we wrap it in relative container now */
    top: 0;
    left: 0;
    transform: none;
}

/* Expert Card Container Base */
.expert-profile-card {
    position: relative;
    min-height: 80px;
    overflow: hidden;
    /* Always visible, maybe slightly dimmed if needed, but keeping it fully visible avoids 'blank' */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

/* Expert Layer Layout Structure */
.expert-state-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    width: 100%;
    height: 100%;
    /* Enforce Icon-Left */
    justify-content: flex-start;
    text-align: left;
    flex-direction: row;
}

/* SEARCHING STATE */

.live-match-card[data-state="searching"] .processing-spinner {
    opacity: 1;
    /* Highlight */
}

.live-match-card[data-state="searching"] #match-flow-path,
.live-match-card[data-state="searching"] #flow-dot-1 {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
    visibility: visible;
    transition: opacity 0.5s, transform 0s;
}

/* Delay expert card appearance until "flow" reaches it (approx 1.2s) */
.live-match-card[data-state="searching"] .expert-profile-card {
    opacity: 1;
    transform: scale(1);
}

.live-match-card[data-state="searching"] .state-searching {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    visibility: visible;
    position: absolute;
    pointer-events: auto;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Immediate appearance (NO DELAY) to fix blank state */
}

/* MATCHED STATE */
.live-match-card[data-state="matched"] .chat-bubble {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    visibility: visible;
}

.live-match-card[data-state="matched"] .match-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    visibility: visible;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.live-match-card[data-state="matched"] .expert-profile-card {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.live-match-card[data-state="matched"] .state-matched {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    visibility: visible;
    position: absolute;
    pointer-events: auto;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hide active path/dot when matched to stop motion cleanly */
.live-match-card[data-state="matched"] #match-flow-path,
.live-match-card[data-state="matched"] #flow-dot-1 {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Keep spinner visible but dim */
.live-match-card[data-state="matched"] .processing-spinner {
    opacity: 0.3;
    filter: blur(1px);
    /* Removed translate */
    transform: none;
}

.live-match-card[data-state="matched"] .expert-glow-ring {
    opacity: 1;
}

/* Always Visible Track */
.flow-path-track {
    opacity: 0.12;
    transition: opacity 0.3s;
}

/* BOOKED STATE */
.live-match-card[data-state="booked"] .chat-bubble {
    opacity: 1;
    filter: blur(0);
    visibility: visible;
}

.live-match-card[data-state="booked"] .expert-profile-card {
    opacity: 1;
    transform: scale(1.05);
}

.live-match-card[data-state="booked"] .outcome-pill {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    visibility: visible;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.live-match-card[data-state="booked"] .trust-strip {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    visibility: visible;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.live-match-card[data-state="booked"] .state-matched {
    opacity: 1;
    visibility: visible;
    filter: blur(0);
}

.outcome-toast.visible {
    animation: slideInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Ensure cursor blink exists */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    font-weight: 300;
    color: var(--primary);
}

.analysis-badge.visible,
.match-success-badge.visible {
    animation: fadeInUp 0.4s ease forwards;
}

/* Spinner Stroke Animation */
@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

/* Missing Inner Classes for Hero Card */
.msme-label-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    opacity: 0.7;
}

.msme-icon-wrapper {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msme-icon {
    font-size: 0.8rem;
    color: #64748b;
}

.msme-label-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.core-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
    color: white;
    position: relative;
    z-index: 2;
}

.b2b-brain-icon {
    font-size: 1.5rem;
}

.b2b-partner-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.8rem;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 120px;
    line-height: 1.2;
}

.expert-glow-ring {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 2px solid rgba(37, 99, 235, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.expert-profile-icon-wrapper {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.expert-profile-text-content {
    text-align: left;
}

.expert-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    transition: opacity 0.2s;
}

.expert-sub {
    font-size: 0.7rem;
    color: #64748b;
}

.outcome-icon {
    color: #4ade80;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}

.trust-strip-icon {
    color: #94a3b8;
}

.btn-cta.hero-cta {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    margin-top: 0.5rem;
    display: inline-block;
}

.chat-bubble.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.route-active {
    stroke-dashoffset: 0 !important;
}

/* MSME Premium Hero & Demo Styling */
.msme-hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}


.msme-hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.msme-hero-content {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.msme-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.msme-cursor {
    color: var(--primary);
    animation: blink 1s step-end infinite;
}

.msme-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 500;
}

/* Glassmorphism Demo Card */
.msme-demo-card {
    max-width: 900px;
    margin: 0 auto;
    min-height: 280px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 3rem 2rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    display: flex;
    align-items: center;
}

.msme-demo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.msme-demo-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    will-change: transform, opacity;
}

.demo-bubble {
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 500;
    min-width: 220px;
    text-align: left;
    height: 60px;
    display: flex;
    align-items: center;
}

.demo-cursor {
    color: var(--primary);
    animation: blink 1s step-end infinite;
}

.demo-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #94a3b8;
}

/* AI Center Node */
.ai-node-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.ai-core {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    position: relative;
    z-index: 3;
}


.ai-rotating-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    z-index: 2;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes aiPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes gradientParallax {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-2%, -2%);
    }
}

/* Expert Match Card */
.match-card-container {
    width: 240px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-status-badge {
    background: #10b981;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.match-profile-card {
    background: #ffffff;
    width: 100%;
    padding: 0.75rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.card-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translateX(-100%);
}

.match-profile-card.searching .card-shimmer {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.profile-icon {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.5s ease;
}

.profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.profile-info strong {
    font-size: 0.9rem;
    color: #1e293b;
    display: block;
}

.profile-info span {
    font-size: 0.75rem;
    color: #94a3b8;
}

.match-toast {
    position: absolute;
    bottom: -50px;
    background: #1e293b;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.match-toast i {
    color: #4ade80;
}

/* SVG Connection Lines */
.demo-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Responsive Overrides */

/* MSME Specific Styles */

/* Premium MSME Hero Overrides */
@media (max-width: 768px) {
    .msme-hero {
        padding: 80px 0 60px;
    }

    .msme-demo-card {
        min-height: 320px;
        padding: 2rem 1rem;
    }

    .msme-demo-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .demo-bubble {
        min-width: 100%;
        font-size: 0.85rem;
    }

    .match-card-container {
        width: 100%;
    }

    .demo-svg {
        display: none;
    }

    .msme-demo-node {
        gap: 0.75rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .msme-hero-gradient,
    .ai-glow,
    .ai-rotating-ring,
    .msme-cursor,
    .demo-cursor,
    .card-shimmer {
        animation: none !important;
    }

    .msme-demo-node {
        transition: none !important;
    }
}

/* Premium MSME Ecosystem Animation Styles */
.msme-ecosystem-card {
    width: 100%;
    max-width: 1050px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 40px;
    padding: 4.5rem 2rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.ecosystem-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* Changed from center to stretch */
    width: 100%;
    position: relative;
    z-index: 2;
}

.ecosystem-zone {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Added for vertical centering */
    gap: 1.2rem;
    position: relative;
}

.zone-inputs {
    align-items: flex-start;
}

.zone-center {
    flex: 0 0 200px;
    align-items: center;
    justify-content: center;
}

.zone-outputs {
    align-items: flex-end;
}

.zone-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

/* Query Bubbles (Inputs) */
.query-bubble {
    background: white;
    padding: 0.9rem 1.4rem;
    border-radius: 20px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.query-bubble i {
    color: var(--primary);
    font-size: 1rem;
}

.query-bubble.active {
    opacity: 1;
    transform: translateX(0);
}

/* AI Brain Node */
.ai-brain-node {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-core {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.node-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: brainNodePulse 4s ease-in-out infinite;
}

.node-ring {
    position: absolute;
    width: 84px;
    height: 84px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: brainSpin 2s linear infinite;
}

.node-label {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
}

/* Output Cards */
.output-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.9rem 1.2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 15px;
    width: 260px;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.output-card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.query-bubble.fade-out,
.output-card.fade-out {
    opacity: 0 !important;
    transform: scale(0.95) !important;
    transition: all 0.8s ease-in-out !important;
}

.output-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Color Variants */
.output-card-green .output-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.output-card-blue .output-icon {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.output-card-purple .output-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.output-card-green {
    background: rgba(236, 253, 245, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.output-card-blue {
    background: rgba(239, 246, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.output-card-purple {
    background: rgba(245, 243, 255, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.output-text {
    display: flex;
    flex-direction: column;
}

.output-text strong {
    font-size: 0.85rem;
    color: #1e293b;
    display: block;
}

.output-text span {
    font-size: 0.75rem;
    color: #64748b;
}

/* SVG Flow */
.ecosystem-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.flow-path {
    fill: none;
    stroke: rgba(37, 99, 235, 0.08);
    stroke-width: 2;
    stroke-dasharray: 6, 4;
}

/* Mobile Responsiveness for Ecosystem */
@media (max-width: 991px) {
    .msme-ecosystem-card {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .ecosystem-container {
        flex-direction: column;
        gap: 3rem;
    }

    .ecosystem-zone {
        align-items: center;
        width: 100%;
    }

    .output-card {
        width: 100%;
        max-width: 320px;
    }

    .ecosystem-svg {
        display: none;
    }
}

/* MSME Problem Section (Apple Style) */
.problem-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.problem-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 153, 51, 0.05) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(19, 136, 8, 0.05) 100%);
    z-index: -1;
}

.problem-header {
    margin-bottom: 5rem;
}

.problem-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.problem-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.problem-ticker-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.problem-ticker {
    display: flex;
    width: 100%;
}

.ticker-track {
    display: flex;
    gap: 1.5rem;
    white-space: nowrap;
}

.ticker-rtl .ticker-track {
    animation: ticker-rtl 40s linear infinite;
}

.ticker-ltr .ticker-track {
    animation: ticker-ltr 45s linear infinite;
}

.problem-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    min-width: 320px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.07);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.problem-card p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
    white-space: normal;
}

@media (max-width: 991px) {

    .problem-header h2,
    .section-header h2 {
        font-size: 2.5rem;
    }

    .problem-card {
        flex: 1 1 250px;
    }
}

@media (max-width: 576px) {
    .problem-section {
        padding: 80px 0;
    }

    .problem-header h2,
    .section-header h2 {
        font-size: 2.1rem;
        letter-spacing: -1px;
    }
}

/* MSME Journey Section - Vertical */
.msme-journey-section {
    padding: 120px 0;
    background: #fdfdfd;
    overflow: hidden;
}

.journey-timeline-wrapper {
    margin-top: 6rem;
    position: relative;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 0;
}

/* Progress Tracking System */
.journey-progress-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(37, 99, 235, 0.05);
    z-index: 1;
}

.ai-central-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.brain-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
    border-radius: 50%;
    animation: brainPulse 3s infinite;
    pointer-events: none;
}

.journey-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* Controlled by JS */
    background: var(--primary);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    transition: height 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.journey-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 2;
}

.journey-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    /* Increased gap to accommodate larger cards */
    align-items: center;
    position: relative;
    margin-bottom: 5rem;
}

/* Strategic Narrative Arc: Larger First and Last cards */
.journey-step:first-child .step-card,
.journey-step:last-child .step-card {
    padding: 4.8rem 4.2rem;
    background: #ffffff;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
}

.journey-step:first-child .step-card h3,
.journey-step:last-child .step-card h3 {
    font-size: 2rem;
}

.journey-step:last-child {
    margin-bottom: 0;
}

/* Central Node */
.journey-step::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 3px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    z-index: 5;
    transition: all 0.5s ease;
}

.journey-step.active::after {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
    width: 24px;
    height: 24px;
}

.journey-step:nth-child(even) .step-card {
    grid-column: 2;
}

.journey-step:nth-child(odd) .step-card {
    grid-column: 1;
}

.step-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 40px;
    padding: 4.2rem;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 10;
}

.step-pain-point {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}



.step-card:hover,
.journey-step.active .step-card {
    transform: translateY(-12px) scale(1.02);
    background: #ffffff;
    box-shadow: 0 60px 120px rgba(37, 99, 235, 0.12);
    border-color: var(--primary);
}

.journey-step .step-card,
.journey-step:nth-child(odd) .step-card {
    text-align: left;
    align-items: flex-start;
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.04);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    flex-shrink: 0;
}

.journey-step.active .step-icon {
    background: var(--primary);
    color: #ffffff;
    animation: iconPulse 2s infinite;
}

.step-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

.step-bullets {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
}

.step-bullets li {
    position: relative;
    padding-left: 22px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 1.1rem;
    color: #475569;
    font-weight: 600;
}

.step-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
    opacity: 0.7;
}

.step-bullets li i {
    display: none;
}

@media (max-width: 991px) {
    .journey-timeline-wrapper {
        max-width: 100%;
        padding: 20px 0;
    }

    .journey-progress-line {
        left: 30px;
        transform: none;
    }

    .ai-central-brain {
        left: 30px;
        width: 40px;
        height: 40px;
    }

    .journey-step {
        grid-template-columns: 1fr;
        padding-left: 70px;
        gap: 0;
        margin-bottom: 3rem;
    }

    .journey-step::after {
        left: 30px;
    }

    .step-card {
        padding: 2rem;
        border-radius: 24px;
        width: 100%;
    }

    .step-card-header {
        gap: 1rem;
        flex-direction: row !important;
        /* Force icons next to text even on mobile */
        text-align: left;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .step-card h3 {
        font-size: 1.3rem;
    }

    .step-bullets li {
        font-size: 0.95rem;
    }
}

/* Persona Selector Section */
.persona-section {
    padding: 100px 0;
    background: #f8fafc;
}

.persona-selector-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.persona-chips-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}

.persona-chips-scroll::-webkit-scrollbar {
    display: none;
}

.persona-pill {
    flex: 0 0 auto;
    padding: 0.8rem 1.8rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.persona-pill i {
    font-size: 1rem;
    opacity: 0.6;
}

.persona-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--primary);
}

.persona-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.persona-pill.active i {
    opacity: 1;
}

/* Display Panel */
.persona-display-panel {
    width: 100%;
    max-width: 800px;
    min-height: 220px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Dynamic Persona Enhancements */
.gradient-text-anim {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s linear infinite;
}

.card-elevation-high {
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
    background: rgba(255, 255, 255, 0.95);
    /* Slightly more opaque */
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.persona-chips-scroll.shadow-sm {
    box-shadow: none;
    /* Reset container shadow just in case */
    padding-bottom: 10px;
    /* Reduced padding */
}

.persona-chips-scroll.shadow-sm .persona-pill {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    /* Reduced shadow */
    border-color: rgba(0, 0, 0, 0.03);
}

.persona-chips-scroll.shadow-sm .persona-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.persona-chips-scroll.shadow-sm .persona-pill.active {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.persona-content {
    display: none;
    animation: personaFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.persona-content.active {
    display: block;
}

.persona-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.persona-benefits {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.persona-benefits li {
    position: relative;
    padding-left: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.15rem;
    color: #475569;
    font-weight: 500;
}

.persona-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .persona-display-panel {
        padding: 2rem;
        border-radius: 24px;
    }

    .persona-content h3 {
        font-size: 1.4rem;
    }

    .persona-benefits li {
        font-size: 1rem;
    }
}

/* Solution Reveal Section fixes */
.problem-footer {
    margin-top: 6rem;
    padding-bottom: 2rem;
    text-align: center;
}

.transition-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.animated-arrow {
    color: var(--primary);
    animation: arrowBounce 2s infinite;
    display: inline-block;
}

.solution-reveal-section {
    padding: 100px 0;
    position: relative;
    background: #f8fafc;
}

.solution-header {
    text-align: center;
    margin-bottom: 4rem;
}

.solution-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-top: 1rem;
    letter-spacing: -1.5px;
}

/* MSME Specific Keyframes */
@keyframes brainPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(2.5);
        opacity: 0.15;
    }

    100% {
        transform: scale(1);
        opacity: 0.4;
    }
}

@keyframes brainNodePulse {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes brainSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ticker-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

@keyframes ticker-ltr {
    0% {
        transform: translateX(calc(-100% / 2));
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

@keyframes personaFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes arrowBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* Section Separator */
.section-separator-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.03));
    pointer-events: none;
    z-index: 1;
}

/* Contact Page AI Enhancements */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}


/* Contact Page Layout Constraints */
.hero-text {
    flex: 0 0 50%;
    max-width: 550px;
}

@media (max-width: 992px) {
    .hero-text {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .counters-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* MSME Query Tag Positioning Fix - Minimal Style */
.zone-inputs .zone-tag {
    position: absolute;
    top: -40px;
    /* Locked High */
    left: 0;
    /* Locked Left */
    transform: none;
    /* Removed Center Transform */
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.zone-outputs .zone-tag {
    position: absolute;
    top: -40px;
    /* Locked High */
    right: 0;
    /* Locked Right */
    left: auto;
    /* Reset Left */
    transform: none;
    /* Removed Center Transform */
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    background: transparent;
    padding: 0;
    box-shadow: none;
    text-align: right;
}

.ecosystem-zone {
    position: relative;
    /* Add space for the top tags */
    margin-top: 20px;
    padding-top: 40px;
    /* Ensure content starts below the tags */
}

/* Mobile Responsive Adjustments for MSME Ecosystem */
@media (max-width: 991px) {
    .ecosystem-container {
        flex-direction: column;
        gap: 4rem;
        align-items: center;
    }

    .ecosystem-zone {
        width: 100%;
        align-items: center;
        margin-top: 0;
        padding-top: 30px;
    }

    .zone-inputs,
    .zone-outputs {
        align-items: center;
        /* Center bubbles on mobile */
    }

    .query-bubble,
    .output-card {
        width: 100%;
        max-width: 400px;
        /* Limit width for readability */
        margin: 0 auto;
    }

    /* Adjust tags for mobile center alignment */
    .zone-inputs .zone-tag,
    .zone-outputs .zone-tag {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: -10px;
        /* Bring closer */
        text-align: center;
    }

    .msme-ecosystem-card {
        padding: 3rem 1.5rem;
        height: auto;
        min-height: auto;
    }

    /* Hide SVG paths on mobile as they won't align */
    .ecosystem-svg {
        display: none;
    }
}