/* =========================================
       1. Base & Variables
       ========================================= */
:root {
    --bg-light: #ffffff;
    --gradient-blue: #bcd7ff;
    --gradient-green: #b0ffd0;
    --gradient-violet: #d8b7f8;
    --gradient-pink: #b6fbff;
    --gradient-yellow: #f4d7ab;
    --transition-reveal: cubic-bezier(0.23, 1, 0.32, 1);

    /* Core Clean Palette (from Spatial Hero) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Vibrant Accents (from Spatial Hero) */
    --accent-blue: #2563eb;
    --accent-cyan: #06b6d4;
    --accent-indigo: #6366f1;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --glow-blue: rgba(37, 99, 235, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
}

body {
    background: white;
    overflow-x: hidden;
    color: #0f172a;
}

.font-mono-tech {
    font-family: 'JetBrains Mono', monospace;
}

/* =========================================
       2. Reveal Animation Styles
       ========================================= */
.reveal {
    opacity: 0;
    pointer-events: none;
}

.reveal-visible {
    animation: motion-revealIn 1.8s var(--transition-reveal) forwards;
    pointer-events: auto;
}

.reveal:nth-child(2) {
    animation-delay: 0.15s;
}

.reveal:nth-child(3) {
    animation-delay: 0.3s;
}

.reveal:nth-child(4) {
    animation-delay: 0.45s;
}

.reveal:nth-child(5) {
    animation-delay: 0.60s;
}

@keyframes motion-revealIn {
    0% {
        opacity: 0;
        clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
        transform: translateY(0);
    }
}

/* =========================================
       3. Shared Components (Buttons & Headings)
       ========================================= */
.section-heading {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

/* Distinct Gradients for Headings */
.hero-gradient {
    background: linear-gradient(135deg, #0f13f9, #ff007b, #ff7b00);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientMove 5s ease infinite;
}

.gradient-grid {
    background-image: linear-gradient(to right, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-deep-dive {
    background-image: linear-gradient(to right, #7125eb, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-cta {
    background-image: linear-gradient(to right, #ea580c, #e11d48);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Standardized Buttons */
.cta-group {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hero,
.btn-grid,
.btn-deep-dive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(180deg, #8b6dfa 0%, #6344f5 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(255, 255, 255, 0.08) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    text-decoration: none;
    width: max-content;
}

.btn-hero::before,
.btn-grid::before,
.btn-deep-dive::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    border-radius: 50px;
    pointer-events: none;
}

.btn-hero:hover,
.btn-grid:hover,
.btn-deep-dive:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 20px rgba(232, 227, 255, 0.8), 0 0 40px rgba(205, 194, 255, 0.4), 0 0 60px rgba(139, 109, 250, 0.2);
    background: linear-gradient(180deg, #997eff 0%, #7053ff 100%);
}

.btn-hero:active,
.btn-grid:active,
.btn-deep-dive:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) inset;
}

/* Outline Button Variation */
.btn-outline {
    background: transparent;
    color: #6344f5;
    border-color: #6344f5;
    box-shadow: none;
    text-decoration: none;
}

.btn-outline::before {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-outline:hover {
    background: linear-gradient(180deg, #8b6dfa 0%, #6344f5 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(232, 227, 255, 0.8), 0 0 40px rgba(205, 194, 255, 0.4), 0 0 60px rgba(139, 109, 250, 0.2);
}

.btn-outline:hover::before {
    opacity: 1;
}

/* Secondary Button */
.btn-secondary {
    color: #1e1b4b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* =========================================
       4. Unified Header Navigation
       ========================================= */
header {
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 42px;
    object-fit: contain;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 40px;
    height: auto;
}

.logo-text h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    background-image: linear-gradient(to right, #0603ae, #ba1de1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: "Plus Jakarta Sans", sans-serif;

}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #6344f5;
}

/* =========================================
       5. UNIQUE Hero Section (Spatial Intelligence)
       ========================================= */
.hero-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 70px);
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    z-index: 0;
    filter: blur(120px);
    opacity: 0.7;
    background-image:
        radial-gradient(at 10% 20%, #bcd7ff 0px, transparent 45%),
        radial-gradient(at 80% 10%, #d8b7f8 0px, transparent 45%),
        radial-gradient(at 50% 50%, #b0ffd0 0px, transparent 45%),
        radial-gradient(at 20% 80%, #b6fbff 0px, transparent 45%),
        radial-gradient(at 90% 90%, #f4d7ab 0px, transparent 45%);
    animation: meshMove 20s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 30px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.95) 100%);
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
}

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 100%;
    animation: fade-in-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--slate-900);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan), var(--accent-indigo), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% auto;
    animation: text-flow 6s linear infinite;
}

.main-desc {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 2rem;
    margin-top: 0;
    max-width: 32rem;
}

.action-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(180deg, #8b6dfa 0%, #6344f5 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    text-decoration: none;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    border-radius: 50px;
    pointer-events: none;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    border-radius: 50px;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(180deg, #997eff 0%, #7053ff 100%);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Topographic Map & Components */
.topo-stage {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.topo-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
}

.svg-terrain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contour-line {
    fill: none;
    stroke: var(--slate-100);
    stroke-width: 1.5;
    transition: stroke 0.5s ease;
}

.map-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66%;
    height: 66%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.ripple-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.insight-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--accent-blue);
    opacity: 0;
    animation: expand-ripple 6s cubic-bezier(0.1, 0.5, 0.8, 1) infinite;
}

.r-1 {
    animation-delay: 0s;
}

.r-2 {
    animation-delay: 2s;
}

.r-3 {
    animation-delay: 4s;
}

.map-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 2px solid var(--slate-100);
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1), inset 0 0 0 4px var(--slate-50);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
}

.component {
    position: absolute;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.cpu {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    border-radius: 16px;
    transform: translateZ(20px);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    box-shadow: 0 20px 40px rgba(30, 27, 75, 0.1), inset 0 2px 4px rgba(255, 255, 255, 1);
}

.cpu-inner {
    width: 50px;
    height: 50px;
    background: #1e1b4b;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cpu-inner-title {
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: -0.015em;
}

.cpu-inner-subtitle {
    color: #c4b5fd;
    font-family: 'JetBrains Mono', monospace;
    font-size: 6px;
    margin-top: 2px;
}

.cpu-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    animation: pulseChip 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.map-pin {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 20;
    box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.08);
    transform: translate(-50%, -50%);
    animation: float-pin 4s ease-in-out infinite alternate;
    transition: border-color 0.3s ease;
    white-space: nowrap;
}

.map-pin:hover {
    border-color: var(--accent-blue);
    z-index: 40;
    cursor: pointer;
}

.pin-agri {
    top: 20%;
    left: 25%;
    animation-delay: 0s;
}

.pin-WL {
    top: 49%;
    left: 10%;
    animation-delay: 1s;
}

.pin-grid {
    top: 30%;
    left: 75%;
    animation-delay: -1s;
}

.pin-mfg {
    top: 75%;
    left: 30%;
    animation-delay: -2s;
}

.pin-log {
    top: 70%;
    left: 80%;
    animation-delay: -3s;
}

.pin-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: var(--slate-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    border: 1px solid var(--slate-100);
}

.pin-icon svg {
    width: 12px;
    height: 12px;
}

.pin-text h4 {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--slate-900);
}

.pin-text p {
    margin: 0.1rem 0 0 0;
    font-size: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
}

.sync-light {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.pin-grid .sync-light {
    background: var(--accent-indigo);
}

.pin-grid .pin-icon {
    color: var(--accent-indigo);
    background: #eef2ff;
}

.pin-mfg .sync-light {
    background: var(--accent-green);
}

.pin-mfg .pin-icon {
    color: var(--accent-green);
    background: #ecfdf5;
}

.pin-log .sync-light {
    background: var(--accent-orange);
}

.pin-log .pin-icon {
    color: var(--accent-orange);
    background: #fffbeb;
}

/* Spatial Hero Specific Animations */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes text-flow {
    to {
        background-position: 300% center;
    }
}

@keyframes expand-ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.6;
        border-width: 2px;
    }

    100% {
        width: 100%;
        height: 100%;
        opacity: 0;
        border-width: 1px;
    }
}

@keyframes float-pin {
    0% {
        margin-top: 0px;
    }

    100% {
        margin-top: -10px;
    }
}

@keyframes pulseChip {
    to {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
    }
}

/* =========================================
       6. Industry Grid Section
       ========================================= */
.industries-grid-section {
    padding: 100px 20px;
    background-color: #ffffff;
    position: relative;
}

.grid-container {
    max-width: 1150px;
    margin: 0 auto;
}

.grid-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-inline: auto;
}

.grid-header p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
}

.industry-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    height: 480px;
    margin-bottom: 24px;
}

.ind-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    position: relative;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.35, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ind-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6344f5, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 10;
}

.ind-card:hover::after {
    transform: scaleX(1);
}

.card-default-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: opacity 0.5s ease;
}

.ind-card:hover .card-default-view {
    opacity: 0;
    pointer-events: none;
}

.card-default-view img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: height 0.4s ease;
}

.card-default-view h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 24px 24px 12px 24px;
}

.card-default-view p {
    color: #475569;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0 24px 24px 24px;
    flex-grow: 1;
}

.card-default-view .card-text-link {
    margin: auto auto 24px 24px;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.card-default-view .card-text-link:hover {
    gap: 12px;
}

.card-hover-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    padding: 30px;
    box-sizing: border-box;
}

.ind-card:hover .card-hover-view {
    opacity: 1;
    pointer-events: auto;
}

.hover-img {
    float: left;
    width: 25%;
    height: 25%;
    object-fit: cover;
    margin-right: 30px;
    margin-bottom: 20px;
}

.hover-content {
    height: 100%;
}

.hover-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 15px;
}

.hover-content p {
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.glowing-dots {
    list-style: none;
    padding: 0;
    margin: 0;
    clear: none;
}

.glowing-dots li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
}

.glowing-dots li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan);
}

.corner-btn {
    position: absolute;
    bottom: 30px;
    text-decoration: none;
    right: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* =========================================
       7. Deep Dive Feature Section
       ========================================= */
.deep-dive-section {
    padding: 100px 20px;
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.deep-dive-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.image-bg-container {
    position: relative;
    width: 100%;
    height: 750px;
    background: linear-gradient(145deg, #b4d9ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.image-rotator {
    position: relative;
    width: 70%;
    height: 70%;
    z-index: 3;
}

.image-rotator img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
}

.image-rotator img.active {
    opacity: 1;
    transform: scale(1);
}

.bg-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: .9;
}

.diag-line {
    fill: none;
    stroke-width: 4;
    opacity: .5;
    stroke-linecap: round;
    stroke-dasharray: 12 10;
    animation: lineMove 6s linear infinite;
}

.l1 {
    stroke: #6366f1;
}

.l2 {
    stroke: #06d477;
    animation-delay: 1s;
}

.l3 {
    stroke: #c60bf5;
    animation-delay: 2s;
}

@keyframes lineMove {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -200;
    }
}

.flow-line {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: drawLine 6s ease-in-out infinite;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 900;
    }

    40% {
        stroke-dashoffset: 0;
    }

    70% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -900;
    }
}

.deep-dive-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.deep-dive-content p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 30px;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.metric-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.metric-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
       8. Call to Action Section
       ========================================= */
.cta-banner-section {
    padding: 80px 20px;
    text-align: center;
    background: #ffffff;
}

.cta-banner-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner-container p {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* =========================================
       9. Unified Footer Section
       ========================================= */
.footer {
    border-top: 1px solid #e5e5e5;
    padding: 30px 56px;
    background: #ffffff;
    color: #111;
    margin-top: 30px;
    position: relative;
    z-index: 5;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-brand img {
    width: 140px;
    margin-bottom: 16px;
}

.subtext {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    font-size: 13px;
    margin-bottom: 8px;
    cursor: pointer;
    color: #222;
}

.footer-col a {
    text-decoration: none;
    color: #222;
}

.footer-col a:hover {
    text-decoration: none;
    color: #0004ff;
}


.address {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.btn-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(180deg, #8b6dfa 0%, #6344f5 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    text-decoration: none;
    width: max-content;
}

.btn-footer-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    border-radius: 50px;
    pointer-events: none;
}

.btn-footer-cta:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(180deg, #997eff 0%, #7053ff 100%);
}

.btn-footer-cta:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) inset;
}

.footer-bottom {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    font-size: 12px;
    color: #555;
}
.address span.reveal {
    display: block;
}

.footer-brand .logo {
    display: flex;
    flex-direction: row;    
    align-items: center;    
    justify-content: flex-start; 
    gap: 12px;                
    margin-bottom: 16px;    
}

.footer-brand .logo img {
    width: 35px;             
    height: auto;
    margin-bottom: 0 !important; 
    display: block;
}


.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
   font-weight: 700;
  background-image: linear-gradient(to right, #0603ae, #ba1de1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: "Plus Jakarta Sans", sans-serif;
    margin: 0;
    white-space: nowrap;     
}

/* =========================================
       10. Media Queries (Cleaned & Unified)
       ========================================= */

/* Min-Width Queries (Scaling Up) */
@media (min-width: 768px) {
    .hero-section {
        padding: 4rem 2rem;
    }

    .main-heading {
        font-size: 3.5rem;
    }

    .main-desc {
        font-size: 1.15rem;
    }

    .map-core {
        width: 70px;
        height: 70px;
    }

    .cpu {
        width: 100px;
        height: 100px;
        margin-top: -50px;
        margin-left: -50px;
    }

    .cpu-inner {
        width: 65px;
        height: 65px;
    }

    .cpu-inner-title {
        font-size: 1rem;
    }

    .cpu-inner-subtitle {
        font-size: 7px;
    }

    .map-pin {
        padding: 0.6rem 0.85rem;
        border-radius: 14px;
    }

    .pin-icon {
        width: 28px;
        height: 28px;
    }

    .pin-icon svg {
        width: 14px;
        height: 14px;
    }

    .pin-text h4 {
        font-size: 0.75rem;
    }

    .pin-text p {
        font-size: 0.55rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 0 3rem;
    }

    .hero-grid-container {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: left;
        align-items: flex-start;
        max-width: 38rem;
    }

    .action-group {
        justify-content: flex-start;
    }

    .main-heading {
        font-size: 4.25rem;
    }

    .map-core {
        width: 80px;
        height: 80px;
    }

    .cpu {
        width: 120px;
        height: 120px;
        margin-top: -60px;
        margin-left: -60px;
    }

    .cpu-inner {
        width: 80px;
        height: 80px;
    }

    .cpu-inner-title {
        font-size: 1.125rem;
    }

    .cpu-inner-subtitle {
        font-size: 8px;
    }

    .map-pin {
        padding: 0.75rem 1rem;
        border-radius: 16px;
    }

    .pin-icon {
        width: 32px;
        height: 32px;
    }

    .pin-icon svg {
        width: 16px;
        height: 16px;
    }

    .pin-text h4 {
        font-size: 0.8rem;
    }

    .pin-text p {
        font-size: 0.6rem;
    }

    .sync-light {
        top: -4px;
        right: -4px;
        width: 10px;
        height: 10px;
    }
}

@media (min-width: 1025px) {
    .industry-row {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .industry-row>.ind-card:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .industry-row>.ind-card:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }

    .industry-row>.ind-card:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 1 / 3;
    }

    .industry-row:has(.ind-card:hover) .ind-card:not(:hover) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .industry-row .ind-card:hover {
        grid-column: span 2;
        grid-row: span 2;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        border-color: #cbd5e1;
    }

    .industry-row:has(> .ind-card:nth-child(1):hover)>.ind-card:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        z-index: 2;
    }

    .industry-row:has(> .ind-card:nth-child(1):hover)>.ind-card:nth-child(2) {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .industry-row:has(> .ind-card:nth-child(1):hover)>.ind-card:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }

    .industry-row:has(> .ind-card:nth-child(2):hover)>.ind-card:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .industry-row:has(> .ind-card:nth-child(2):hover)>.ind-card:nth-child(2) {
        grid-column: 2 / 4;
        grid-row: 1 / 3;
        z-index: 2;
    }

    .industry-row:has(> .ind-card:nth-child(2):hover)>.ind-card:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .industry-row:has(> .ind-card:nth-child(3):hover)>.ind-card:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .industry-row:has(> .ind-card:nth-child(3):hover)>.ind-card:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .industry-row:has(> .ind-card:nth-child(3):hover)>.ind-card:nth-child(3) {
        grid-column: 2 / 4;
        grid-row: 1 / 3;
        z-index: 2;
    }

    .industry-row:has(.ind-card:hover) .ind-card:not(:hover) .card-default-view img {
        height: 100px;
    }

    .industry-row:has(.ind-card:hover) .ind-card:not(:hover) .card-default-view p,
    .industry-row:has(.ind-card:hover) .ind-card:not(:hover) .card-default-view .card-text-link {
        display: none;
    }

    .industry-row:has(.ind-card:hover) .ind-card:not(:hover) .card-default-view h3 {
        margin: 15px 20px;
        font-size: 1.1rem;
    }
}

@media (min-width: 1280px) {
    .hero-grid-container {
        gap: 4rem;
    }

    .main-heading {
        font-size: 4.5rem;
    }

    .topo-container {
        max-width: 650px;
    }
}

/* Max-Width Queries (Scaling Down) */
@media (max-width: 1200px) {
    .image-bg-container {
        height: 550px;
    }

    .image-rotator {
        width: 80%;
        height: 70%;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 0 40px;
    }

    nav ul {
        gap: 20px;
    }

    .deep-dive-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .metric-grid {
        text-align: left;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* UPDATED MOBILE CARDS LOGIC - Show full cards directly on mobile */
    .industry-row {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
    }

    .ind-card,
    .ind-card:hover,
    .healthcare-card:hover {
        grid-column: auto !important;
        grid-row: auto !important;
        height: auto !important;
        min-height: auto !important;
    }

    .card-default-view {
        display: none !important;
    }

    .card-hover-view {
        position: relative !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        height: auto !important;
        padding: 32px;
        display: flex;
        flex-direction: column;
        background: #ffffff;
    }

    .hover-img {
        width: 100%;
        height: 220px;
        float: none;
        margin-right: 0;
        margin-bottom: 24px;
        border-radius: 8px;
    }

    .corner-btn {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 24px;
        display: block;
        align-self: flex-start;
        text-decoration: none;
    }
}

@media (max-width: 900px) {
    .deep-dive-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .image-bg-container {
        height: 420px;
    }

    .image-rotator {
        width: 90%;
        height: 75%;
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
        min-height: 60px;
        padding: 15px 2px;
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* Centered Footer Mobile View */
    .footer {
        padding: 48px 5% 24px;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .footer-brand,
    .footer-col {
        min-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand img {
        width: 120px;
    }

    .footer-brand .logo {
        display: flex;
        justify-content: center;
    }

    .footer-brand .subtext {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .btn-footer-cta {
        margin: 0 auto;
        text-decoration: none;
    }

    .footer-bottom {
        margin-top: 30px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .image-bg-container {
        height: 320px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image-rotator {
        width: 90%;
        height: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image-rotator img {
        object-fit: contain;
        object-position: center;
    }

    .ind-card .card-content {
        height: auto;
    }

    .btn-footer-cta {
        margin: 0 auto;
        text-decoration: none;
    }

    .footer-bottom {
        margin-top: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 5px 1px;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        font-size: 11px;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .btn-hero,
    .btn-secondary,
    .btn-grid,
    .btn-deep-dive {
        width: 100%;
        padding: 14px 20px;
    }

    .subtext {
        font-size: 12px;
    }

    .footer-col li {
        font-size: 12px;
    }

    .btn-footer-cta {
        width: 100%;
        padding: 14px 30px;
        font-size: 1.1rem;
        white-space: nowrap;
    }
     .footer-brand .logo{
    margin-left: 30px;
  } 
}
