/* ============================================
   INTELLIMIND ANALYTICS — Design System
   Based on Quantara Template
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #000000;
    --bg-secondary: #070b14;
    --bg-card: #0a0f18;
    --bg-card-hover: #111827;
    --border-subtle: #1a2a3a;
    --border-card: #1e3050;
    --text-primary: #ffffff;
    --text-secondary: #8892a4;
    --text-muted: #555e6e;
    --accent-cyan: #4ecdc4;
    --accent-purple: #7b68ee;
    --accent-blue: #2196F3;
    --accent-gradient: linear-gradient(135deg, #4ecdc4, #7b68ee);
    --glow-cyan: rgba(78, 205, 196, 0.15);
    --glow-purple: rgba(123, 104, 238, 0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --nav-height: 72px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-smooth);
}

img {
    max-width: 100%;
    display: block;
}

/* ===== UTILITY CLASSES ===== */
.accent-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 8px 20px 8px 10px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.nav-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease-in-out;
}

.nav-logo:hover::before {
    left: 150%;
}

.nav-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(78, 205, 196, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
}

.nav-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.1) rotate(5deg);
}

.nav-logo-text {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-primary);
    transition: all 0.4s ease;
}

.nav-logo:hover .nav-logo-text {
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.6);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    padding: 6px 8px;
}

.nav-link {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--text-primary);
    color: var(--bg-primary);
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}


/* Unified Section Labels */
.section-label-animated {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 4px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    white-space: nowrap;
}

.section-label-animated.align-right {
    transform: translateX(30px);
}

.section-label-animated.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.section-label-icon {
    width: 20px;
    height: 20px;
    animation: floatAlive 3s ease-in-out infinite;
    color: var(--text-main);
}

@keyframes floatAlive {

    0%,
    100% {
        transform: translateY(0) scale(1);
        filter: brightness(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }

    50% {
        transform: translateY(-4px) scale(1.1);
        filter: brightness(1.5) drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    }
}

/* Ecosystem SVG Particle Animation */
.section-label-icon rect {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.section-label-animated.is-visible .section-label-icon rect:nth-child(2) {
    animation: particleTop 3s ease-in-out infinite;
}

.section-label-animated.is-visible .section-label-icon rect:nth-child(3) {
    animation: particleBottom 3s ease-in-out infinite;
}

.section-label-animated.is-visible .section-label-icon rect:nth-child(4) {
    animation: particleLeft 3s ease-in-out infinite;
}

.section-label-animated.is-visible .section-label-icon rect:nth-child(5) {
    animation: particleRight 3s ease-in-out infinite;
}

@keyframes particleTop {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes particleBottom {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

@keyframes particleLeft {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-3px);
    }
}

@keyframes particleRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: filter 1s ease-out;
}

.hero-grid-bg.warp-active {
    filter: brightness(2.5) contrast(1.5) hue-rotate(10deg);
}

#heroCanvas {
    width: 100%;
    height: 100%;
}

.hero-hidden-message {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.8), 0 0 40px rgba(123, 104, 238, 0.6);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-align: center;
}

.hero-hidden-message.warp-show {
    opacity: 0.9;
    filter: blur(1px);
    transform: translateX(-50%) scale(1.05);
    letter-spacing: 5px;
}

.hero-floating-labels {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.1s linear;
}

.floating-label svg {
    color: var(--text-main);
}

.fl-left {
    top: 30%;
    left: 8%;
}

.fl-right {
    top: 45%;
    right: 6%;
}

.fl-bottom {
    bottom: 18%;
    left: 38%;
}

.fl-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatLoop 6s ease-in-out infinite;
    position: relative;
}

.fl-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    width: 40px;
    height: 40px;
    filter: blur(4px);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: starPulse 2.5s ease-in-out infinite alternate;
    pointer-events: none;
}

.fl-left .fl-inner {
    animation-delay: 0s;
}

.fl-right .fl-inner {
    animation-delay: -2s;
}

.fl-bottom .fl-inner {
    animation-delay: -4s;
}

.fl-left .fl-inner::before {
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(78, 205, 196, 0.6) 20%, transparent 70%);
}

.fl-right .fl-inner::before {
    animation-delay: -1.2s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(123, 104, 238, 0.6) 20%, transparent 70%);
}

.fl-bottom .fl-inner::before {
    animation-delay: -2s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(78, 205, 196, 0.3) 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 6px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: textBlurReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.hero-tagline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 80px;
    background: radial-gradient(ellipse at center, rgba(78, 205, 196, 0.3) 0%, rgba(123, 104, 238, 0.2) 30%, transparent 70%);
    filter: blur(12px);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: corePulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
    animation: textBlurReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: textBlurReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.text-cycle {
    display: inline-block;
    color: var(--accent-cyan);
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
    white-space: nowrap;
}

.text-cycle.fade-out {
    opacity: 0;
    transform: translateY(-15px);
    filter: blur(8px);
}

.text-cycle.fade-in {
    opacity: 0;
    transform: translateY(15px);
    filter: blur(8px);
}

.scramble-text {
    font-family: var(--font-mono);
    min-width: 80px;
    display: inline-block;
    white-space: nowrap;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes textBlurReveal {
    0% {
        opacity: 0;
        filter: blur(16px);
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

@keyframes floatLoop {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes starPulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.6);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.4);
    }
}

@keyframes corePulse {
    0% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scaleX(0.8) scaleY(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scaleX(1.3) scaleY(1.3);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== PARTNERS ===== */
.partners {
    padding: 20px 0 60px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-header {
    text-align: right;
    padding-right: 40px;
    margin-bottom: 30px;
}

.partners-marquee {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-separator {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 1) 50%, transparent 100%);
    background-size: 200% 100%;
    -webkit-mask-image: repeating-linear-gradient(to right, #000, #000 4px, transparent 4px, transparent 8px);
    mask-image: repeating-linear-gradient(to right, #000, #000 4px, transparent 4px, transparent 8px);
    animation: dashAnim 1.2s linear infinite;
}

@keyframes dashAnim {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.partners-track {
    display: inline-flex;
    gap: 60px;
    padding: 0 30px;
    padding-bottom: 30px;
    /* Space for the bottom divider */
    animation: marquee 30s linear infinite;
    align-items: center;
    position: relative;
}


.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.4s ease;
    filter: grayscale(100%) opacity(0.5);
    cursor: default;
}

.partner-logo-item svg {
    color: currentColor;
    transition: transform 0.4s ease;
}

.partner-logo-item:hover {
    color: var(--text-main);
    filter: grayscale(0%) opacity(1);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.partner-logo-item:hover svg {
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ===== SOLUTIONS SECTION (Sticky Scroll) ===== */
.solutions-section {
    position: relative;
}

.solutions-sticky-container {
    height: 400vh;
    position: relative;
}

.solutions-sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 80px 1fr 1.2fr;
    grid-template-rows: auto 1fr;
    padding: 100px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

/* Plus grid — breathing animation */
.plus-grid {
    grid-column: 1 / -1;
    grid-row: 1;
    position: absolute;
    top: 80px;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plus-row {
    display: flex;
    gap: 16px;
}

.plus-row span {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.5s, transform 0.5s, text-shadow 0.5s;
    font-weight: 300;
    display: inline-block;
}

.plus-grid.active .plus-row span {
    animation: plusBreathe 3s ease-in-out infinite;
}

.plus-grid.active .plus-row:nth-child(1) span {
    color: #4ecdc4;
    text-shadow: 0 0 8px rgba(78, 205, 196, 0.5);
}

.plus-grid.active .plus-row:nth-child(1) span:nth-child(1) {
    animation-delay: 0s;
}

.plus-grid.active .plus-row:nth-child(1) span:nth-child(2) {
    animation-delay: 0.15s;
}

.plus-grid.active .plus-row:nth-child(1) span:nth-child(3) {
    animation-delay: 0.3s;
}

.plus-grid.active .plus-row:nth-child(1) span:nth-child(4) {
    animation-delay: 0.45s;
}

.plus-grid.active .plus-row:nth-child(2) span {
    color: #5bc9b8;
    text-shadow: 0 0 8px rgba(91, 201, 184, 0.4);
}

.plus-grid.active .plus-row:nth-child(2) span:nth-child(1) {
    animation-delay: 0.1s;
}

.plus-grid.active .plus-row:nth-child(2) span:nth-child(2) {
    animation-delay: 0.25s;
}

.plus-grid.active .plus-row:nth-child(2) span:nth-child(3) {
    animation-delay: 0.4s;
}

.plus-grid.active .plus-row:nth-child(2) span:nth-child(4) {
    animation-delay: 0.55s;
}

.plus-grid.active .plus-row:nth-child(3) span {
    color: #68c5ac;
    text-shadow: 0 0 6px rgba(104, 197, 172, 0.3);
}

.plus-grid.active .plus-row:nth-child(3) span:nth-child(1) {
    animation-delay: 0.2s;
}

.plus-grid.active .plus-row:nth-child(3) span:nth-child(2) {
    animation-delay: 0.35s;
}

.plus-grid.active .plus-row:nth-child(3) span:nth-child(3) {
    animation-delay: 0.5s;
}

.plus-grid.active .plus-row:nth-child(3) span:nth-child(4) {
    animation-delay: 0.65s;
}

.plus-grid.active .plus-row:nth-child(4) span {
    color: #7bc1a0;
    text-shadow: 0 0 6px rgba(123, 193, 160, 0.3);
}

.plus-grid.active .plus-row:nth-child(4) span:nth-child(1) {
    animation-delay: 0.3s;
}

.plus-grid.active .plus-row:nth-child(4) span:nth-child(2) {
    animation-delay: 0.45s;
}

.plus-grid.active .plus-row:nth-child(4) span:nth-child(3) {
    animation-delay: 0.6s;
}

.plus-grid.active .plus-row:nth-child(4) span:nth-child(4) {
    animation-delay: 0.75s;
}

@keyframes plusBreathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.solutions-section-label {
    grid-column: 2;
    grid-row: 1;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    padding-left: 40px;
    margin-bottom: 20px;
}

/* Step indicators — pulse ring */
.step-indicators {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 40px;
}

.step-indicator {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease-out);
    position: relative;
}

.step-indicator::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    transition: all 0.5s var(--ease-out);
    opacity: 0;
}

.step-indicator .step-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.5s;
}

.step-indicator.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 0 40px rgba(78, 205, 196, 0.15);
}

.step-indicator.active::after {
    border-color: rgba(78, 205, 196, 0.4);
    opacity: 1;
    animation: stepPulseRing 2s ease-in-out infinite;
}

.step-indicator.active .step-num {
    color: var(--bg-primary);
}

@keyframes stepPulseRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.step-connector {
    width: 1.5px;
    height: 20px;
    background: var(--text-muted);
    opacity: 0.3;
    transition: background 0.5s, opacity 0.5s;
}

/* Solutions visual (center) */
.solutions-visual {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Floating particles canvas behind the platform */
.solutions-particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.iso-platform {
    position: relative;
    width: 100%;
    max-width: 500px;
    z-index: 1;
    animation: isoFloat 6s ease-in-out infinite;
}

@keyframes isoFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg);
    }

    25% {
        transform: translateY(-8px) rotateX(0.5deg);
    }

    50% {
        transform: translateY(-14px) rotateX(0deg);
    }

    75% {
        transform: translateY(-6px) rotateX(-0.5deg);
    }
}

/* Ambient glow behind the platform */
.iso-platform::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(78, 205, 196, 0.06) 0%, rgba(123, 104, 238, 0.04) 40%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: ambientGlow 4s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes ambientGlow {
    0% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Floating particles (CSS pseudo-elements) */
.iso-platform::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-cyan);
    top: 20%;
    left: 15%;
    box-shadow:
        60px -20px 0 0 rgba(78, 205, 196, 0.6),
        120px 10px 0 -1px rgba(123, 104, 238, 0.5),
        200px -30px 0 0 rgba(78, 205, 196, 0.4),
        280px 20px 0 -1px rgba(123, 104, 238, 0.6),
        340px -10px 0 0 rgba(78, 205, 196, 0.3),
        30px 180px 0 -1px rgba(123, 104, 238, 0.4),
        150px 200px 0 0 rgba(78, 205, 196, 0.5),
        250px 190px 0 -1px rgba(123, 104, 238, 0.3),
        320px 160px 0 0 rgba(78, 205, 196, 0.4),
        80px 100px 0 -1px rgba(123, 104, 238, 0.5);
    animation: floatingDots 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes floatingDots {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-12px) translateX(3px);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-6px) translateX(-2px);
        opacity: 0.5;
    }

    75% {
        transform: translateY(-18px) translateX(4px);
        opacity: 0.8;
    }
}

.iso-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(78, 205, 196, 0.05));
    transition: filter 0.8s var(--ease-out);
}

.iso-module {
    transition: all 0.6s var(--ease-out);
    transform-origin: center;
}

.iso-module.highlighted {
    animation: moduleReveal 0.8s var(--ease-out) forwards;
}

@keyframes moduleReveal {
    0% {
        transform: scale(0.92);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.iso-module.highlighted path {
    stroke: var(--accent-cyan);
    fill: rgba(78, 205, 196, 0.05);
    transition: all 0.6s var(--ease-out);
}

.iso-module.highlighted rect,
.iso-module.highlighted circle,
.iso-module.highlighted ellipse,
.iso-module.highlighted path:not(:first-child):not(:nth-child(2)):not(:nth-child(3)) {
    opacity: 1 !important;
    transition: opacity 0.6s var(--ease-out);
}

/* Glow on highlighted modules */
.iso-module.highlighted circle,
.iso-module.highlighted ellipse {
    filter: drop-shadow(0 0 6px rgba(78, 205, 196, 0.6));
}

.iso-module.highlighted rect {
    filter: drop-shadow(0 0 6px rgba(123, 104, 238, 0.6));
}

.iso-highlight {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.2), rgba(123, 104, 238, 0.1) 40%, transparent 70%);
    pointer-events: none;
    transition: all 1s var(--ease-out);
    opacity: 0;
    animation: highlightPulse 3s ease-in-out infinite;
}

@keyframes highlightPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter: blur(20px);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        filter: blur(30px);
    }
}

/* Solutions info (right side) */
.solutions-info {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
}

.solutions-title-main {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.solutions-title-main .accent-text {
    font-weight: 500;
}

.solutions-steps-text {
    position: relative;
    min-height: 120px;
}

.solution-text-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    filter: blur(4px);
    transition: all 0.7s var(--ease-out);
    pointer-events: none;
}

.solution-text-item.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.solution-text-item h3 {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 12px;
    letter-spacing: -1px;
    transition: text-shadow 0.5s;
}

.solution-text-item.active h3 {
    text-shadow: 0 0 40px rgba(78, 205, 196, 0.15);
}

.solution-text-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 400px;
}

.solutions-keywords {
    display: flex;
    gap: 60px;
    margin-top: 60px;
}

.keyword-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kw-top {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.kw-bottom {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ===== TOGGLE SECTION ===== */
.toggle-section {
    position: relative;
}

.toggle-sticky-container {
    height: 250vh;
    position: relative;
}

.toggle-sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 50px;
}

.toggle-main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.toggle-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.toggle-label-manual,
.toggle-label-smart {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 200;
    transition: opacity 0.5s, color 0.5s;
}

.toggle-label-manual {
    color: var(--text-muted);
}

.toggle-label-smart {
    color: var(--text-primary);
}

.toggle-switch {
    width: 100px;
    height: 50px;
    background: #1a1a2e;
    border-radius: 50px;
    padding: 5px;
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border-subtle);
    transition: box-shadow 0.5s;
}

.toggle-switch.active {
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.2), 0 0 40px rgba(78, 205, 196, 0.05);
}

.toggle-knob {
    width: 40px;
    height: 40px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: transform 0.6s var(--ease-out);
    position: relative;
}

.toggle-switch.active .toggle-knob {
    transform: translateX(50px);
}

/* Cards grid */
.toggle-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    /* Removed old baggage */
}

/* Removed old baggage */

.toggle-card-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.toggle-card-inner:hover {
    border-color: rgba(78, 205, 196, 0.4);
    transform: translateY(-6px);
    box-shadow:
        0 12px 40px rgba(78, 205, 196, 0.08),
        0 0 0 1px rgba(78, 205, 196, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Shimmer effect */
.card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(78, 205, 196, 0.03) 45%,
            rgba(123, 104, 238, 0.04) 55%,
            transparent 100%);
    pointer-events: none;
    z-index: 10;
}

.toggle-card-inner:hover .card-shimmer {
    animation: shimmerSlide 1.2s ease-in-out;
}

@keyframes shimmerSlide {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Card header with icon */
.toggle-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.card-header-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.toggle-card-inner:hover .card-header-icon {
    transform: rotate(15deg) scale(1.1);
}

.toggle-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toggle-card-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
    transition: color 0.3s;
}

.toggle-card-inner:hover .toggle-card-label {
    color: var(--accent-cyan);
}

/* ===== GAUGE CHART ===== */
.inventory-gauge svg {
    width: 140px;
    height: 80px;
}

.gauge-fill {
    transition: stroke-dashoffset 1.5s var(--ease-out);
    transition-delay: 0.8s;
}

.toggle-cards.visible .gauge-fill {
    stroke-dashoffset: 40;
    /* Example fill */
}

/* ===== TICKET VALUE DISPLAY ===== */
.ticket-value-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ticket-amount {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #fff;
    display: flex;
    align-items: baseline;
}

.ticket-currency {
    font-size: 1rem;
    color: var(--text-muted);
    margin-right: 4px;
}

.ticket-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.ticket-trend.up {
    color: var(--accent-cyan);
    background: rgba(78, 205, 196, 0.1);
}

.ticket-trend svg {
    width: 12px;
    height: 12px;
}

/* ===== ANOMALY DOT ===== */
.anomaly-dot {
    filter: drop-shadow(0 0 8px rgba(255, 75, 43, 0.6));
}

/* ===== TIMELINE CHART ===== */
.timeline-chart svg {
    width: 100%;
    height: 80px;
}

.timeline-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 2s var(--ease-out);
}

.toggle-cards.visible .timeline-path {
    stroke-dashoffset: 0;
}

.timeline-area {
    opacity: 0;
    transition: opacity 1s ease;
    transition-delay: 1.5s;
}

.toggle-cards.visible .timeline-area {
    opacity: 1;
}

/* ===== KPI INTELLIGENCE CLOUD (ABSTRATO/3D) ===== */
.kpi-intelligence-cloud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: all 1.2s var(--ease-out);
    perspective: 1000px;
}

.toggle-switch.active~.kpi-intelligence-cloud {
    opacity: 1;
}

.kpi-tag {
    position: absolute;
    background: rgba(78, 205, 196, 0.05);
    border: 1px solid rgba(78, 205, 196, 0.1);
    color: rgba(78, 205, 196, 0.6);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
    backdrop-filter: blur(2px);
    transition: transform 0.1s ease-out, opacity 0.8s ease-out;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.05);
}

.kpi-tag:nth-child(even) {
    background: rgba(123, 104, 238, 0.05);
    border-color: rgba(123, 104, 238, 0.1);
    color: rgba(123, 104, 238, 0.6);
}

.kpi-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(4px);
}

.kpi-tag:hover {
    background: rgba(78, 205, 196, 0.08);
    border-color: rgba(78, 205, 196, 0.3);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.1);
}

.kpi-group[data-dept="people"] .kpi-tag:hover {
    color: #f472b6;
    border-color: rgba(244, 114, 182, 0.3);
    background: rgba(244, 114, 182, 0.08);
}

.kpi-group[data-dept="finance"] .kpi-tag:hover {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.08);
}

/* ===== STATUS CARD ===== */
.card-status .toggle-card-body {
    align-items: stretch;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
    transition-delay: calc(0.8s + var(--row-index, 0) * 0.15s);
}

.toggle-cards.visible .status-row {
    opacity: 1;
    transform: translateX(0);
}

.status-row:last-child {
    border-bottom: none;
}

.status-name {
    font-weight: 500;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.status-badge.success {
    background: rgba(78, 205, 196, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(78, 205, 196, 0.25);
}

/* ===== TOGGLE DASHBOARD GRID (SVG/CSS Optimized) ===== */
.toggle-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out);
}

.toggle-dashboard-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

.chart-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.chart-widget:hover {
    transform: translateY(-5px);
    border-color: rgba(78, 205, 196, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.chart-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.chart-type {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-visual {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    position: relative;
}

/* SVG Line Chart Animation */
.svg-chart {
    width: 90%;
    height: 90%;
    filter: drop-shadow(0 5px 15px rgba(78, 205, 196, 0.1));
}

.line-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 2s var(--ease-out);
}

.toggle-dashboard-grid.visible .line-path {
    stroke-dashoffset: 0;
}

.area-path {
    opacity: 0;
    transition: opacity 1s ease;
    transition-delay: 1s;
}

.toggle-dashboard-grid.visible .area-path {
    opacity: 1;
}

/* SVG Donut Animation */
.svg-donut {
    width: 120px;
    height: 120px;
}

.animated-circle {
    transition: stroke-dashoffset 2s var(--ease-out);
}

.toggle-dashboard-grid.visible .animated-circle {
    stroke-dashoffset: 70;
    /* 72% fill roughly */
}

.donut-percent {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
}

/* CSS Bubbles */
.bubbles-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(78, 205, 196, 0.2);
    border-radius: 50%;
    animation: rotateRing 10s linear infinite;
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.dot-particle {
    position: absolute;
    top: var(--t);
    left: var(--l);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: driftBubble 4s ease-in-out infinite alternate;
    animation-delay: var(--d);
}

@keyframes driftBubble {
    from {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    to {
        transform: translate(10px, -15px);
        opacity: 0.9;
    }
}

/* CSS Bar Chart */
.bar-visual {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    width: 100%;
    padding: 0 10px;
}

.bar-item {
    flex: 1;
    background: linear-gradient(to top, rgba(78, 205, 196, 0.1), var(--accent-cyan));
    border-radius: 4px 4px 0 0;
    height: 0;
    transition: height 1.5s var(--ease-out);
    transition-delay: var(--d);
}

.toggle-dashboard-grid.visible .bar-item {
    height: var(--h);
}

.chart-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.stat-trend {
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.stat-trend.positive {
    color: #4ade80;
}

.toggle-footer-notice {
    margin-top: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.notice-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.notice-link:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.3);
}

.notice-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 500px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

/* ===== PREMIUM GLASS CARDS REDESIGN ===== */
.toggle-card {
    transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
}

.toggle-cards.visible .toggle-card {
    opacity: 1;
    transform: translateY(0);
}

.toggle-card-inner {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s var(--ease-out);
}

.toggle-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(78, 205, 196, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.toggle-card:hover .toggle-card-inner {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(78, 205, 196, 0.1);
}

.toggle-card:hover .toggle-card-inner::before {
    opacity: 1;
}

.card-tech-corners {
    opacity: 0.3;
}

.toggle-card:hover .card-tech-corners {
    opacity: 1;
}

.kpi-label-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-cyan);
    opacity: 0.5;
    margin-bottom: 12px;
}

.kpi-main-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 15px 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.currency,
.percentage {
    font-size: 1rem;
    color: var(--text-secondary);
}

.kpi-trend {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 5px;
}

.kpi-trend.positive {
    color: #4ade80;
}

/* Pulse Animations for Charts */
.mini-bar-pulse,
.mini-rings-pulse,
.anomaly-radar,
.wave-pulse {
    height: 3px;
    background: var(--accent-cyan);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.mini-bar-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: sweep 2s linear infinite;
}

@keyframes sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.toggle-switch.active~.toggle-cards .toggle-card {
    filter: none;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toggle-hud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s var(--ease-out);
}

.toggle-switch.active~.toggle-hud-overlay {
    opacity: 1;
}

#toggleDataStream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

/* Scanner Line */
.hud-scanner {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 10%;
    background: linear-gradient(to bottom, transparent, rgba(78, 205, 196, 0.4), transparent);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.2);
    display: none;
}

.toggle-switch.active~.toggle-hud-overlay .hud-scanner {
    display: block;
    animation: scanVertical 3s linear infinite;
}

@keyframes scanVertical {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

/* Tech Corners */
.hud-corners .corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 4px;
    transition: all 0.6s var(--ease-out);
}

.corner.top-left {
    top: 20px;
    left: 20px;
    border-right: 0;
    border-bottom: 0;
}

.corner.top-right {
    top: 20px;
    right: 20px;
    border-left: 0;
    border-bottom: 0;
}

.corner.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: 0;
    border-top: 0;
}

.corner.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: 0;
    border-top: 0;
}

.toggle-switch.active~.toggle-hud-overlay .corner {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.2);
    width: 60px;
    height: 60px;
}

/* Rotating Tech Rings */
.hud-tech-rings .tech-ring {
    position: absolute;
    border: 1px dashed rgba(78, 205, 196, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 500px;
    height: 500px;
    animation: rotateCW 20s linear infinite;
}

.ring-2 {
    width: 700px;
    height: 700px;
    animation: rotateCCW 30s linear infinite;
}

@keyframes rotateCW {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateCCW {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

/* Exaggerated Glow on Active */
.toggle-switch.active~.toggle-cards .toggle-card-inner {
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.05);
}

/* KPI Cloud Parallax enhancement */
.kpi-tag {
    transform: translateZ(0);
    /* Enable GPU */
}

/* ===== SCATTER CHART ANIMATIONS ===== */
.scatter-chart svg {
    width: 100%;
    height: auto;
}

.scatter-trend {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.5s;
}

.toggle-cards.visible .scatter-trend {
    stroke-dashoffset: 0;
}

.scatter-area {
    transition: opacity 1.2s ease;
    transition-delay: 1.2s;
}

.toggle-cards.visible .scatter-area {
    opacity: 1;
}

.scatter-dot {
    transition: r 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(0.6s + var(--dot-i, 0) * 0.06s);
}

.toggle-cards.visible .scatter-dot {
    r: 3.5;
}

/* Dot pulse on hover */
.toggle-card-inner:hover .scatter-dot {
    animation: dotPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--dot-i, 0) * 0.1s);
}

@keyframes dotPulse {

    0%,
    100% {
        r: 3.5;
    }

    50% {
        r: 4.5;
    }
}

/* ===== WORKFLOW SECTION ===== */
.workflow-section {
    position: relative;
}

.workflow-sticky-container {
    height: 400vh;
    position: relative;
}

.workflow-sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

.workflow-glow-bg {
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 80, 140, 0.3), rgba(20, 40, 80, 0.1) 50%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.workflow-progress {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
}

.workflow-progress-bar {
    width: 3px;
    height: 300px;
    background: var(--border-subtle);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.workflow-progress-fill {
    width: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    position: absolute;
    top: 0;
    height: 20%;
    transition: height 0.6s var(--ease-out);
}

.workflow-step-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
}

.wf-step-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color 0.4s;
    letter-spacing: 1px;
}

.wf-step-label.active {
    color: var(--text-primary);
    font-weight: 700;
}

.workflow-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    padding: 8px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin-bottom: 60px;
    z-index: 2;
}

.workflow-content-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 100%;
    max-width: 1000px;
    z-index: 2;
    position: relative;
}

#workflowParticles {
    position: absolute;
    inset: -100px;
    z-index: -1;
    pointer-events: none;
}

.workflow-text-panel {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 200px;
}

.wf-text-item {
    position: absolute;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out);
}

.wf-text-item.active {
    opacity: 1;
    transform: translateY(0);
}

.wf-text-item h2 {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
    filter: blur(10px);
    transition: filter 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.wf-text-item.active h2 {
    filter: blur(0);
}

.wf-text-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 380px;
}

.workflow-visual-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 300px;
}

.wf-visual {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.7s var(--ease-out);
}

.wf-visual.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.wf-visual svg {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ===== WORKFLOW TAGS ===== */
.wf-tags {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.wf-tag {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(78, 205, 196, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(78, 205, 196, 0.2);
    opacity: 0;
    /* Hidden initially, will be shown by animation */
}

.wf-text-item.active .wf-tag {
    animation: wfTagEnter 0.5s var(--ease-out) forwards;
}

.wf-text-item.active .wf-tag:nth-child(1) {
    animation-delay: 0.2s;
}

.wf-text-item.active .wf-tag:nth-child(2) {
    animation-delay: 0.3s;
}

.wf-text-item.active .wf-tag:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wfTagEnter {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== WORKFLOW SVG ANIMATIONS ===== */
.wf-base {
    transition: fill 0.8s ease;
}

.wf-visual.active .wf-base:nth-child(1) {
    fill: #0d1424;
}

.wf-visual.active .wf-base:nth-child(2) {
    fill: #111a2d;
}

.wf-visual.active .wf-base:nth-child(3) {
    fill: #17243e;
}

/* Floating Dots */
.wf-floating-dot {
    opacity: 0;
    transition: opacity 0.5s;
}

.wf-visual.active .wf-floating-dot {
    opacity: 1;
    animation: wfFloat 3s ease-in-out infinite alternate;
    animation-delay: var(--float-delay, 0s);
}

@keyframes wfFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* Glow Pulse */
.wf-anim-glow {
    opacity: 0.4;
    transition: opacity 0.5s;
}

.wf-visual.active .wf-anim-glow {
    animation: wfGlow 2s ease-in-out infinite alternate;
}

@keyframes wfGlow {
    0% {
        opacity: 0.4;
        filter: drop-shadow(0 0 2px currentColor);
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 10px currentColor);
    }
}

/* Path Drawing */
.wf-anim-draw {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.5s ease-out 0.3s;
}

.wf-visual.active .wf-anim-draw {
    stroke-dashoffset: 0;
}

.wf-anim-draw-arrow {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    transition: stroke-dashoffset 1s ease-out 0.3s;
}

.wf-visual.active .wf-anim-draw-arrow {
    stroke-dashoffset: 0;
}

.wf-anim-draw-line {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    transition: stroke-dashoffset 1.5s ease-out;
}

.wf-visual.active .wf-anim-draw-line {
    stroke-dashoffset: 0;
    animation: wfLinePulse 2s ease-in-out 1.5s infinite alternate;
}

@keyframes wfLinePulse {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* Spin Animation */
.wf-anim-spin {
    transform-origin: 150px 85px;
    transition: transform 1s ease;
}

.wf-visual.active .wf-anim-spin {
    animation: wfSpin 8s linear infinite;
}

@keyframes wfSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Pulse Animation */
.wf-anim-pulse {
    transition: transform 0.3s, fill 0.3s;
}

.wf-visual.active .wf-anim-pulse {
    animation: wfPulseCenter 2s ease-in-out infinite alternate;
}

@keyframes wfPulseCenter {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Neural Nodes Staggered Fade */
.nn-node {
    opacity: 0;
    transform: scale(0.5);
    transform-origin: center;
    transition: all 0.5s var(--ease-out);
}

.wf-visual.active .nn-node {
    opacity: 0.6;
    transform: scale(1);
    animation: wfNodePulse 2s ease-in-out infinite alternate;
}

@keyframes wfNodePulse {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 0.8;
    }
}

/* Dashboard Elements */
.wf-dash-box {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.2s ease-out;
}

.wf-visual.active .wf-dash-box {
    stroke-dashoffset: 0;
}

.wf-dash-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.8s ease-out 0.5s;
}

.wf-visual.active .wf-dash-line {
    stroke-dashoffset: 0;
}

.wf-anim-bar {
    transform-origin: center bottom;
    transform: scaleY(0);
    transition: transform 0.6s var(--ease-out);
    transition-delay: calc(0.6s + var(--bar-delay, 0s));
}

.wf-visual.active .wf-anim-bar {
    transform: scaleY(1);
}

/* ===== INTEGRATIONS ===== */
.integrations-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 60px;
    line-height: 1.7;
}

/* Blur and Particles for Integrations Title */
.particles-title {
    position: relative;
    z-index: 1;
}

/* Override reveal-up base css that conflicts with blur animation */
.particles-title.reveal-up {
    transition: none;
    opacity: 0;
    filter: blur(16px);
    transform: translateY(30px) scale(0.95);
}

.particles-title.reveal-up.visible {
    animation: textBlurReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.particles-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(78, 205, 196, 0.25) 0%, rgba(123, 104, 238, 0.15) 30%, transparent 60%);
    filter: blur(20px);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: corePulse 3s ease-in-out infinite alternate;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s var(--ease-out) 0.5s;
}

.particles-title.visible::before {
    opacity: 1;
}

.particles-title::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-cyan);
    top: 50%;
    left: 50%;
    box-shadow:
        120px -60px 0 0 rgba(78, 205, 196, 0.6),
        160px 40px 0 -1px rgba(123, 104, 238, 0.5),
        -140px -30px 0 0 rgba(78, 205, 196, 0.4),
        -160px 60px 0 -1px rgba(123, 104, 238, 0.6),
        250px -20px 0 0 rgba(78, 205, 196, 0.3),
        -250px 20px 0 -1px rgba(123, 104, 238, 0.4),
        50px -90px 0 0 rgba(78, 205, 196, 0.5),
        -60px 90px 0 -1px rgba(123, 104, 238, 0.5);
    animation: floatingDots 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 1.5s var(--ease-out) 0.8s;
}

.particles-title.visible::after {
    opacity: 1;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    cursor: default;

    /* Animation initial state */
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(4px);
    transition-property: opacity, transform, filter, border-color, box-shadow, background;
    transition-duration: 0.6s, 0.6s, 0.6s, 0.4s, 0.4s, 0.4s;
    transition-timing-function: var(--ease-out);
    transition-delay: calc(var(--card-index, 0) * 0.08s), calc(var(--card-index, 0) * 0.08s), calc(var(--card-index, 0) * 0.08s), 0s, 0s, 0s;
}

.integrations-grid.visible .integration-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.integrations-grid.visible .integration-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(78, 205, 196, 0.5);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 40px rgba(78, 205, 196, 0.15),
        0 0 0 1px rgba(78, 205, 196, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    /* Remove the delay on hover transitions so it reacts instantly */
    transition-delay: 0s;
}

.integrations-grid.visible .integration-card:hover .integration-icon {
    filter: grayscale(0%) opacity(1) drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
    transform: scale(1.15);
}

.integration-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.integration-icon svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.integration-card span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: color 0.4s var(--ease-out);
}

.integrations-grid.visible .integration-card:hover span {
    color: var(--text-primary);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 120px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    background: linear-gradient(135deg, rgba(30, 36, 44, 0.4) 0%, rgba(13, 17, 23, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    padding: 80px 60px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4);
}

.contact-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(78, 205, 196, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(123, 104, 238, 0.1), transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.contact-content-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-container {
        padding: 50px 30px;
    }
}

.contact-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 480px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
}

.whatsapp-btn {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px -10px rgba(37, 211, 102, 0.6);
}

.email-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.3);
}

.contact-right {
    display: flex;
    justify-content: center;
}

.glass-info-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.info-icon.glow-cyan {
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.2);
    color: var(--accent-cyan);
}

.info-icon.glow-purple {
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.2);
    color: var(--accent-purple);
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.info-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.info-value.hover-cyan:hover {
    color: var(--accent-cyan);
}

.info-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 60px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
}

.footer-brand-name {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.footer-links-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-block h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.footer-links-block a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links-block a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-tagline {
    font-family: var(--font-mono);
    letter-spacing: 3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .solutions-sticky-content {
        grid-template-columns: 60px 1fr;
    }

    .solutions-visual {
        display: none;
    }

    .solutions-info {
        grid-column: 2;
    }

    .toggle-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-content-area {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 50px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-hidden-message {
        font-size: 1.2rem;
        white-space: normal;
        padding: 0 20px;
    }

    .partners {
        padding: 40px 20px;
    }

    .partners-logos {
        justify-content: center;
    }

    .solutions-sticky-container {
        height: auto;
    }

    .solutions-sticky-content {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 80px 20px 60px;
        gap: 40px;
    }

    .step-indicators {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .step-connector {
        width: 20px;
        height: 1.5px;
    }

    .solutions-visual {
        display: none;
    }

    .solutions-info {
        padding-left: 0;
        text-align: center;
    }

    .solution-text-item {
        position: relative;
        display: none;
    }

    .solution-text-item.active {
        display: block;
    }

    .solution-text-item p {
        max-width: 100%;
    }

    .solutions-keywords {
        justify-content: center;
    }

    .toggle-sticky-container {
        height: auto;
    }

    .toggle-sticky-content {
        position: relative;
        height: auto;
        padding: 60px 20px;
    }

    .toggle-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .toggle-cards {
        grid-template-columns: 1fr;
        opacity: 1;
        transform: none;
    }

    .toggle-card {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .status-row {
        opacity: 1;
        transform: none;
    }

    .donut-ring-outer {
        stroke-dasharray: 212 71 !important;
    }

    .donut-ring-inner {
        stroke-dasharray: 141 47 !important;
    }

    .scatter-dot {
        r: 3.5 !important;
    }

    .scatter-trend {
        stroke-dashoffset: 0 !important;
    }

    .scatter-area {
        opacity: 1 !important;
    }

    .workflow-sticky-container {
        height: auto;
    }

    .workflow-sticky-content {
        position: relative;
        height: auto;
        padding: 60px 20px;
    }

    .workflow-progress {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        flex-direction: row;
        margin-bottom: 30px;
    }

    .workflow-progress-bar {
        width: 200px;
        height: 3px;
    }

    .workflow-progress-fill {
        height: 100%;
        width: 20%;
        top: 0;
        left: 0;
    }

    .workflow-step-labels {
        flex-direction: row;
        height: auto;
        width: 200px;
    }

    .workflow-content-area {
        grid-template-columns: 1fr;
    }

    .wf-text-item {
        position: relative;
        display: none;
    }

    .wf-text-item.active {
        display: block;
    }

    .wf-visual {
        position: relative;
        display: none;
    }

    .wf-visual.active {
        display: block;
    }

    .integrations-section {
        padding: 80px 20px;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-container {
        padding: 30px;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
}