/* Outstanding Features - Premium Demo Design */

/* ===== DEMO INTRO SECTION ===== */
.demo-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.demo-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 24px;
}

.demo-intro-badge-dot {
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.demo-intro-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.demo-intro-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.6;
}

/* ===== ULTRA-REALISTIC DEMO CONTAINER ===== */
.demo-window-container {
    width: 100%;
    max-width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
    perspective: 2500px;
    animation: demoFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes demoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-window {
    background: linear-gradient(180deg, #1a1a1f 0%, #0f0f12 50%, #0a0a0d 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 4px 8px rgba(0,0,0,0.4),
        0 16px 32px rgba(0,0,0,0.5),
        0 32px 64px rgba(0,0,0,0.4),
        0 0 100px rgba(255,255,255,0.02);
    max-width: 1400px;
    margin: 0 auto;
    transform: rotateX(2deg) scale(0.985);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.demo-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.demo-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.015) 0%, transparent 50%, rgba(255,255,255,0.008) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.015) 2px,
            rgba(0,0,0,0.015) 4px
        );
    pointer-events: none;
    z-index: 100;
    border-radius: 16px;
}

.demo-window:hover {
    transform: rotateX(0deg) scale(1);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08),
        0 8px 16px rgba(0,0,0,0.4),
        0 24px 48px rgba(0,0,0,0.5),
        0 48px 96px rgba(0,0,0,0.4),
        0 0 120px rgba(255,255,255,0.03);
}

/* Ultra-Realistic macOS Header */
.demo-header {
    background: linear-gradient(180deg, #3d3d42 0%, #2c2c30 50%, #232326 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
}

.demo-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.demo-header::after {
    content: 'CognitX';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.demo-dots {
    display: flex;
    gap: 8px;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
    transition: all 0.15s ease;
}

.demo-dot::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
}

.demo-dot.red {
    background: linear-gradient(180deg, #ff5f56 0%, #e0443d 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), inset 0 -1px 2px rgba(0,0,0,0.25);
}
.demo-dot.yellow {
    background: linear-gradient(180deg, #ffbd2e 0%, #dea123 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), inset 0 -1px 2px rgba(0,0,0,0.25);
}
.demo-dot.green {
    background: linear-gradient(180deg, #27c93f 0%, #1aab32 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), inset 0 -1px 2px rgba(0,0,0,0.25);
}

/* App Layout */
.demo-app {
    display: flex;
    min-height: 580px;
    position: relative;
    z-index: 2;
}

/* Ultra-Realistic Sidebar */
.demo-sidebar {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    background: linear-gradient(180deg, #141416 0%, #111113 50%, #0e0e10 100%);
    border-right: 1px solid rgba(255,255,255,0.04);
    padding: 20px 0;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.demo-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    pointer-events: none;
}

.demo-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
}

.demo-sidebar-section {
    padding: 0 16px;
    margin-bottom: 24px;
}

.demo-sidebar-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.25);
    margin-bottom: 12px;
    font-weight: 600;
    padding-left: 12px;
}

.demo-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    position: relative;
}

.demo-nav-item:hover {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.85);
}

.demo-nav-item.active {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.demo-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: #fff;
    border-radius: 0 2px 2px 0;
    opacity: 0.9;
}

.demo-nav-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.demo-connected {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.demo-connected-app {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.demo-connected-app::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #111113;
}

.demo-connected-app:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.demo-connected-app img {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
    opacity: 0.85;
}

/* Main Content Area */
.demo-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0d0d0f 0%, #0a0a0c 50%, #080809 100%);
    position: relative;
}

.demo-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse 100% 80% at 50% -30%, rgba(255,255,255,0.015) 0%, transparent 100%);
    pointer-events: none;
}

/* Chat Area */
.demo-chat {
    flex: 1;
    padding: 36px 40px;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

.demo-message {
    max-width: 90%;
    margin-bottom: 28px;
    animation: messageIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.demo-message.user {
    margin-left: auto;
}

.demo-message-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.demo-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
}

.demo-avatar.ai {
    background: linear-gradient(135deg, #1a1a1e 0%, #141417 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.demo-avatar.ai::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 11px;
    background: rgba(255,255,255,0.06);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.2s;
}

.demo-message:hover .demo-avatar.ai::after {
    opacity: 1;
}

.demo-avatar.user {
    background: linear-gradient(135deg, #252528 0%, #1c1c1f 100%);
    border: 1px solid rgba(255,255,255,0.06);
}

.demo-message-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.2px;
}

.demo-message-time {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

.demo-message-content {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 16px 20px;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    line-height: 1.7;
    transition: all 0.2s ease;
}

.demo-message-content:hover {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.demo-message.user .demo-message-content {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
}

/* Sources Badge */
.demo-sources-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.demo-sources-label {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.demo-source-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 5px 10px 5px 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    transition: all 0.15s ease;
    font-weight: 500;
}

.demo-source-badge:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}

.demo-source-badge img {
    width: 14px;
    height: 14px;
    max-width: 14px;
    max-height: 14px;
    object-fit: contain;
    opacity: 0.9;
}

/* Ultra-Realistic Data Cards */
.demo-data-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.demo-data-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 16px 18px;
    transition: all 0.2s ease;
    position: relative;
}

.demo-data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.demo-data-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.demo-data-card-label {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    font-weight: 500;
}

.demo-data-card-value {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.demo-data-card-change {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.demo-data-card-change.positive {
    color: #4ade80;
}
.demo-data-card-change.negative {
    color: #f87171;
}
.demo-data-card-change.warning {
    color: #fbbf24;
}

/* Neutral Insight Box */
.demo-insight-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.demo-insight-box::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    width: 3px;
    height: calc(100% - 24px);
    background: rgba(255,255,255,0.2);
    border-radius: 0 2px 2px 0;
}

.demo-insight-icon {
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.demo-insight-text {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Minimal Table */
.demo-table {
    width: 100%;
    margin-top: 16px;
    border-collapse: separate;
    border-spacing: 0;
    text-transform: none !important;
}

.demo-table thead {
    background: rgba(255,255,255,0.02);
}

.demo-table th {
    text-align: left;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase !important;
    letter-spacing: 0.8px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-weight: 600;
}

.demo-table th:first-child {
    border-radius: 6px 0 0 0;
}

.demo-table th:last-child {
    border-radius: 0 6px 0 0;
}

.demo-table td {
    padding: 12px 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-transform: none !important;
    transition: background 0.15s;
}

.demo-table tbody tr:hover td {
    background: rgba(255,255,255,0.02);
}

.demo-table tbody tr:last-child td {
    border-bottom: none;
}

.demo-table .status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.demo-table .status.warning {
    background: rgba(251,191,36,0.12);
    color: #fbbf24;
}

.demo-table .status.danger {
    background: rgba(248,113,113,0.12);
    color: #f87171;
}

/* Ultra-Realistic Input Area */
.demo-input-area {
    padding: 20px 32px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    border-top: 1px solid rgba(255,255,255,0.04);
    position: relative;
}

.demo-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.2s ease;
}

.demo-input-wrapper:focus-within {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}

.demo-input-icon {
    color: rgba(255,255,255,0.3);
}

.demo-input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    outline: none;
}

.demo-input::placeholder {
    color: rgba(255,255,255,0.25);
}

/* Neutral Elegant Suggestions */
.demo-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
    justify-content: center;
    padding: 16px 0;
}

/* Demo Welcome State */
.demo-welcome {
    text-align: center;
    padding: 40px 20px 30px;
}

.demo-welcome-icon {
    margin-bottom: 20px;
    opacity: 0.8;
}

.demo-welcome-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
}

.demo-welcome-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Simple Demo Pills */
.demo-suggestions-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0 20px 30px;
}

.demo-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.demo-pill svg {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.5);
}

.demo-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.demo-pill:hover svg {
    opacity: 1;
    transform: translateX(0);
}

.demo-pill.featured {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
}

.demo-pill.featured:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.4);
}

.demo-pill.featured svg {
    color: #a5b4fc;
}

@media (max-width: 600px) {
    .demo-suggestions-simple {
        flex-direction: column;
        align-items: stretch;
    }

    .demo-pill {
        justify-content: space-between;
    }

    .demo-pill svg {
        opacity: 0.5;
        transform: translateX(0);
    }
}

/* Legacy Demo Suggestions Grid - kept for backwards compatibility */
.demo-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 24px 30px;
}

@media (max-width: 900px) {
    .demo-suggestions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.demo-suggestion-category {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-category-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    padding-left: 4px;
    margin-bottom: 4px;
}

.demo-suggestion {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.demo-suggestion::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-suggestion:hover {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.demo-suggestion:hover::before {
    opacity: 1;
}

.demo-suggestion.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.demo-suggestion.featured:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.demo-suggestion-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.demo-suggestion:hover .demo-suggestion-icon-wrap {
    transform: scale(1.1);
}

.demo-suggestion-icon-wrap.revenue {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    color: #22c55e;
}

.demo-suggestion-icon-wrap.burn {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    color: #fbbf24;
}

.demo-suggestion-icon-wrap.deals {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
    color: #ef4444;
}

.demo-suggestion-icon-wrap.churn {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0.1) 100%);
    color: #f97316;
}

.demo-suggestion-icon-wrap.workflow {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #6366f1;
}

.demo-suggestion-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.demo-suggestion-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-suggestion-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-suggestion-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    flex-shrink: 0;
}

/* Legacy demo suggestion icon */
.demo-suggestion-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    flex-shrink: 0;
}

.demo-suggestion:hover .demo-suggestion-icon {
    opacity: 0.9;
}

/* Demo Input Area Enhanced */
.demo-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    gap: 12px;
    transition: all 0.3s ease;
}

.demo-input-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.demo-input-icon {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.demo-input-text {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

#demo-typing-text {
    color: rgba(255, 255, 255, 0.7);
}

.demo-typing-cursor {
    color: #6366f1;
    animation: blink 1s step-end infinite;
    margin-left: 1px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.demo-input-send {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.demo-input-wrapper:hover .demo-input-send {
    opacity: 1;
    transform: scale(1.05);
}

/* Subtle Loading Animation */
.demo-loading {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
}

.demo-loading-dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: loadingPulse 1.2s ease-in-out infinite;
}

.demo-loading-dot:nth-child(2) { animation-delay: 0.15s; }
.demo-loading-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes loadingPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Shimmer effect */
.shimmer {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.02) 25%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.02) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Neutral Charts */
.demo-chart-container {
    background: rgba(255,255,255,0.025);
    border-radius: 10px;
    padding: 20px;
    margin: 14px 0;
    border: 1px solid rgba(255,255,255,0.05);
    width: 100%;
    box-sizing: border-box;
}
.demo-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.demo-chart-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: -0.2px;
}
.demo-chart-legend {
    display: flex;
    gap: 16px;
}
.demo-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}
.demo-chart-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

/* Bar Chart - Minimal Style */
.demo-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
    padding: 16px 0 0 0;
    position: relative;
}
.demo-bar-chart::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    height: 1px;
    background: rgba(255,255,255,0.05);
}
.demo-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}
.demo-bar-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 85px;
    padding-bottom: 8px;
}
.demo-bar {
    width: 24px;
    border-radius: 4px 4px 1px 1px;
    transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.demo-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    border-radius: 4px 4px 0 0;
}
.demo-bar.actual {
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
}
.demo-bar.actual.warning {
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
}
.demo-bar.forecast {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}
.demo-bar.forecast::after {
    display: none;
}
.demo-bar-value {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease 0.6s;
}
.demo-bar[style*="height"]:not([style*="height: 0"]) .demo-bar-value {
    opacity: 1;
}
.demo-bar-label {
    margin-top: 10px;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

/* Y-axis labels */
.demo-chart-yaxis {
    position: absolute;
    left: -35px;
    top: 0;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255,255,255,0.3);
}

/* Line Chart - Premium Style */
.demo-line-chart {
    position: relative;
    height: 280px;
    margin-top: 20px;
    padding: 20px 0;
    width: 100%;
}
.demo-line-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: block;
}
.demo-line-chart-grid {
    stroke: rgba(255,255,255,0.08);
    stroke-width: 1;
    stroke-dasharray: 4 4;
}
.demo-line-chart-path {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.demo-line-chart-area {
    opacity: 0.2;
}
.demo-line-chart-dot {
    fill: #fff;
    stroke-width: 3;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    opacity: 0;
    animation: dotAppear 0.3s ease forwards;
}
.demo-line-chart-dot:nth-child(1) { animation-delay: 0.5s; }
.demo-line-chart-dot:nth-child(2) { animation-delay: 0.7s; }
.demo-line-chart-dot:nth-child(3) { animation-delay: 0.9s; }
.demo-line-chart-dot:nth-child(4) { animation-delay: 1.1s; }
.demo-line-chart-dot:nth-child(5) { animation-delay: 1.3s; }
.demo-line-chart-dot:nth-child(6) { animation-delay: 1.5s; }

@keyframes dotAppear {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

/* Donut Chart */
.demo-donut-chart {
    display: flex;
    align-items: center;
    gap: 24px;
}
.demo-donut-svg {
    width: 100px;
    height: 100px;
    transform: rotate(-90deg);
}
.demo-donut-segment {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dasharray 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.demo-donut-center {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.demo-donut-labels {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.demo-donut-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}
.demo-donut-label-bar {
    width: 4px;
    height: 16px;
    border-radius: 2px;
}
.demo-donut-label-value {
    margin-left: auto;
    font-weight: 600;
    color: #fff;
}

/* Chart axis labels */
.demo-chart-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 5px;
}
.demo-chart-axis span {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes barGrow {
    from { height: 0; }
}

/* Responsive */
@media (max-width: 1100px) {
    .demo-sidebar { display: none; }
    .demo-data-cards { grid-template-columns: 1fr 1fr; }
    .demo-window-container { padding: 0 30px; }
}

@media (max-width: 700px) {
    .demo-data-cards { grid-template-columns: 1fr; }
    .demo-header::after { display: none; }
    .demo-chat { padding: 24px 20px; }
    .demo-input-area { padding: 20px; }
    .demo-suggestion { padding: 12px 18px; font-size: 13px; }
}

/* Demo Workflow Steps */
.demo-workflow-container {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}
.demo-workflow-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.demo-workflow-badge {
    margin-left: auto;
    font-size: 10px;
    color: #22c55e;
    background: rgba(34,197,94,0.15);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.demo-workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.demo-wf-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.demo-wf-step.visible {
    opacity: 1;
    transform: translateY(0);
}
.demo-wf-num {
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #171717;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}
.demo-wf-content {
    flex: 1;
}
.demo-wf-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.demo-wf-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}
.demo-wf-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}
.demo-wf-step.visible .demo-wf-icon {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}
.demo-wf-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.demo-wf-connector {
    width: 2px;
    height: 0;
    background: rgba(255,255,255,0.2);
    margin-left: 29px;
    transition: height 0.3s ease;
}
.demo-wf-connector.visible {
    height: 12px;
}

/* Demo Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.demo-intro {
    animation: fadeInUp 0.8s ease-out;
}

.demo-window {
    animation: fadeInScale 0.6s ease-out 0.2s both;
}

.demo-suggestion-category {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.demo-suggestion-category:nth-child(1) {
    animation-delay: 0.3s;
}

.demo-suggestion-category:nth-child(2) {
    animation-delay: 0.4s;
}

.demo-suggestion-category:nth-child(3) {
    animation-delay: 0.5s;
}

/* Glow effect on hover for featured suggestion */
.demo-suggestion.featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.demo-suggestion.featured:hover::after {
    opacity: 0.4;
}

/* Smooth ripple effect on click */
.demo-suggestion:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* How It Works - Step Mockups */
.step-visual-container {
    padding: 20px;
}
.step-number-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #171717;
    background: linear-gradient(135deg, #f0f0f0, #e5e5e5);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.step-features {
    margin-top: 24px;
}
.step-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}
.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

/* ROI Calculator - Stunning Dark Theme */
.roi-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.roi-inputs {
    background: linear-gradient(145deg, #151515 0%, #0d0d0d 100%);
    border-radius: 24px;
    padding: 44px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 4px 24px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.roi-group {
    margin-bottom: 36px;
}

.roi-group:last-child {
    margin-bottom: 0;
}

.roi-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.roi-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 30px rgba(255,255,255,0.15);
}

.roi-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.roi-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-top: 14px;
    letter-spacing: -0.5px;
}

.roi-results {
    background: linear-gradient(145deg, #1a1a1a 0%, #111 100%);
    border-radius: 24px;
    padding: 44px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.5),
        0 0 80px rgba(255,255,255,0.02),
        inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.roi-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.roi-results-header {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
    font-weight: 600;
}

.roi-stat {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.roi-stat:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.roi-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.roi-stat-value {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}

.roi-stat.highlight {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    margin: 10px -24px -24px;
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.roi-annual-value {
    font-size: 56px !important;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(255,255,255,0.3);
}

@media (max-width: 900px) {
    .roi-calculator {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Workflow Steps - Outstanding Design */
.workflow-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.workflow-box {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 24px;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.02),
        0 12px 24px rgba(0,0,0,0.04),
        0 24px 48px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

.workflow-input {
    padding: 36px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: relative;
}

.workflow-input::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

.workflow-input-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.workflow-input-label svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.workflow-input-text {
    font-size: 20px;
    color: #111;
    line-height: 1.6;
    font-style: italic;
    font-weight: 400;
}

.workflow-output {
    padding: 36px 40px;
}

.workflow-output-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.workflow-output-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #171717 0%, #2a2a2a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.workflow-output-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.workflow-output-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.3px;
}

.workflow-output-badge {
    margin-left: auto;
    font-size: 11px;
    color: #22c55e;
    background: rgba(34,197,94,0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 14px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.workflow-step.building {
    animation: stepBuild 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.workflow-step.built {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0%;
    background: #171717;
    transition: height 0.4s ease 0.3s;
}

.workflow-step.built::before {
    height: 100%;
}

.workflow-step:hover {
    background: #fafafa;
    transform: translateX(4px) scale(1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.12);
}

/* Connecting line between steps */
.workflow-connector {
    width: 2px;
    height: 0;
    background: #171717;
    margin-left: 41px;
    transition: height 0.4s ease;
    opacity: 0;
}

.workflow-connector.visible {
    height: 20px;
    opacity: 0.3;
}

/* Building indicator */
.workflow-building-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.workflow-building-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

.workflow-building-indicator.complete {
    background: #f0fdf4;
    border-color: rgba(34, 197, 94, 0.2);
}

.workflow-building-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: #171717;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.workflow-building-indicator.complete .workflow-building-spinner {
    border: none;
    animation: none;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-building-indicator.complete .workflow-building-spinner::after {
    content: '✓';
    color: white;
    font-size: 11px;
    font-weight: bold;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.workflow-building-text {
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.workflow-building-indicator.complete .workflow-building-text {
    color: #166534;
}

@keyframes stepBuild {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Typing effect for step content */
.workflow-step-content h4,
.workflow-step-content p {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.workflow-step.built .workflow-step-content h4 {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.workflow-step.built .workflow-step-content p {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.35s;
}

/* Icon reveal - premium tool icons */
.workflow-step-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.workflow-step.built .workflow-step-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition-delay: 0.4s;
}

.workflow-step:hover .workflow-step-icon {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: scale(1.05);
}

/* Highlight effect on newly built step */
.workflow-step.just-built {
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border-color: #171717;
}

.workflow-num {
    width: 36px;
    height: 36px;
    background: #171717;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.workflow-step.built .workflow-num {
    opacity: 1;
    transform: scale(1);
}

.workflow-step.building .workflow-num {
    animation: numBuild 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes numBuild {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    60% {
        opacity: 1;
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.workflow-step-content {
    flex: 1;
}

.workflow-step h4 {
    font-size: 15px;
    color: #111;
    margin: 0 0 6px 0;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.workflow-step p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.workflow-step-icon img {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .workflow-input, .workflow-output {
        padding: 24px;
    }
    .workflow-input-text {
        font-size: 16px;
    }
    .workflow-step {
        padding: 16px 18px;
    }
}

/* Connector Grid */
.connector-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.connector-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    cursor: pointer;
}

.connector-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.connector-item img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    margin-bottom: 12px;
    object-fit: contain;
}

.connector-item span {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.connector-item:hover span {
    color: #fff;
}

.connector-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-out;
    z-index: 100;
    text-align: left;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}


.connector-item:hover .connector-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.connector-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #1a1a1a;
}

.connector-tooltip-title {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.connector-tooltip-query {
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 14px;
    border-radius: 8px;
    font-style: italic;
}

/* Connector item hover effect */
.connector-item:hover {
    transform: translateY(-6px);
    z-index: 10;
}

.connector-item img {
    transition: transform 0.25s ease;
}

.connector-item:hover img {
    transform: scale(1.08);
}

.connector-more {
    background: rgba(255,255,255,0.05);
}

.connector-more .count {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

/* Trust Badges */
.trust-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.trust-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-icon {
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.trust-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
}

.trust-desc {
    font-size: 13px;
    color: #666;
}

/* Responsive */
@media (max-width: 900px) {
    .roi-calculator { grid-template-columns: 1fr; }
    .connector-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { gap: 40px; flex-wrap: wrap; }
}

@media (max-width: 600px) {
    .connector-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { flex-direction: column; gap: 30px; }
}

/* ===== HOW IT WORKS - ZIG ZAG SECTION ===== */

/* Step Badge */
.hiw-step-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0d0d0d 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.hiw-step-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

/* Visual Wrapper */
.hiw-visual-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* ===== FLOATING TILES (advisor.html style) ===== */
.floating-tiles-container {
    width: 100%;
    max-width: 480px;
}

.tiles-section {
    margin-bottom: 30px;
}

.tiles-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 16px;
}

.tiles-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.float-tile {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gentleFloat 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow:
        0 0 20px rgba(133, 164, 255, 0.15),
        0 0 30px rgba(188, 162, 255, 0.15),
        0 0 50px rgba(137, 210, 255, 0.2);
}

.float-tile:nth-child(1) { animation-delay: 0s; }
.float-tile:nth-child(2) { animation-delay: 0.5s; }
.float-tile:nth-child(3) { animation-delay: 1s; }
.float-tile:nth-child(4) { animation-delay: 1.5s; }

@keyframes gentleFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.float-tile:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow:
        0 0 30px rgba(0, 128, 255, 0.25),
        0 0 60px rgba(138, 180, 248, 0.3),
        0 0 90px rgba(185, 135, 255, 0.35);
}

.float-tile img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.float-tile.tile-more {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.float-tile .more-count {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

/* ===== ASK PANEL (Professional Design) ===== */
.ask-panel {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow:
        0 12px 48px rgba(0,0,0,0.12),
        0 4px 12px rgba(0,0,0,0.08);
    max-width: 520px;
    width: 100%;
}

/* Query Box */
.ask-query-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8f9fb;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.ask-query-icon {
    color: #6366f1;
    flex-shrink: 0;
    margin-top: 2px;
}

.ask-query-text {
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

/* Sources Row */
.ask-sources-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.ask-sources-label {
    font-size: 11px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ask-source-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f1f3;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: #555;
    font-weight: 500;
}

.ask-source-tag img {
    width: 12px;
    height: 12px;
}

/* Result Card */
.ask-result-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
    border-radius: 18px;
    padding: 24px;
}

.ask-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ask-result-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.ask-result-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ask-result-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Metrics Grid */
.ask-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.ask-metric {
    text-align: center;
}

.ask-metric-value {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.ask-metric-value.positive {
    color: #22c55e;
}

.ask-metric-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mini Chart */
.ask-mini-chart {
    height: 60px;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.ask-mini-chart svg {
    width: 100%;
    height: 100%;
}

/* Insight Footer */
.ask-result-insight {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
}

.ask-result-insight svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ask-result-insight span {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.5;
}

/* ===== WORKFLOW PANEL (Professional Design) ===== */
.wf-panel {
    background: #fff;
    border-radius: 24px;
    padding: 36px 48px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        0 8px 20px rgba(0,0,0,0.04);
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: floatNatural 6s ease-in-out infinite;
    border: 1px solid rgba(0,0,0,0.06);
}

@keyframes floatNatural {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.wf-panel::before {
    display: none;
}

/* Panel Header */
.wf-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.wf-panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
}

.wf-panel-title svg {
    opacity: 0.6;
    fill: #555;
}

.wf-panel-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    background: rgba(0, 0, 0, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wf-status-dot {
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Workflow Steps */
.wf-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wf-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    position: relative;
}

.wf-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.wf-step-number {
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    animation: breathe 3s ease-in-out infinite;
}

.wf-step:nth-child(2) .wf-step-number {
    animation-delay: 0.3s;
}

.wf-step:nth-child(3) .wf-step-number {
    animation-delay: 0.6s;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    }
}

.wf-step-line {
    width: 2px;
    height: 36px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 100%);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.wf-step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
    border-radius: 2px;
    animation: flowNatural 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes flowNatural {
    0% { top: -12px; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 36px; opacity: 0; }
}

.wf-step-content {
    flex: 1;
    padding-top: 6px;
}

.wf-step-label {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.wf-step-value {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
}

.wf-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.wf-step-icon.trigger {
    background: rgba(0, 0, 0, 0.04);
    color: #555;
    box-shadow: none;
    animation: glowNeutral 4s ease-in-out infinite;
}

.wf-step-icon.query {
    background: rgba(0, 0, 0, 0.04);
    color: #555;
    box-shadow: none;
    animation: glowNeutral 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.wf-step-icon.action {
    background: rgba(0, 0, 0, 0.04);
    color: #555;
    box-shadow: none;
    animation: glowNeutral 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes glowNeutral {
    0%, 100% { background: rgba(0, 0, 0, 0.04); }
    50% { background: rgba(0, 0, 0, 0.08); }
}

/* Panel Footer */
.wf-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.wf-last-run {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
}

.wf-last-run svg {
    fill: #666;
}

.wf-run-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.wf-run-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* Zig-Zag Layout Adjustments */
.hiw-section {
    padding: 80px 80px;
    overflow: hidden;
}

.hiw-section::after {
    content: '';
    display: table;
    clear: both;
}

.hiw-section .one_half {
    width: 50%;
    float: left;
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 450px;
}

.hiw-section .one_half.last {
    float: right;
}

.hiw-text-content {
    max-width: 480px;
}

.hiw-text-content .block-title {
    color: #111 !important;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hiw-text-content p {
    color: #555 !important;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Responsive for Zig-Zag */
@media (max-width: 1024px) {
    .hiw-section {
        padding: 50px 30px;
    }

    .hiw-section .one_half,
    .hiw-section .one_half.last {
        width: 100%;
        float: none;
        padding: 30px 0;
        min-height: auto;
    }

    .hiw-text-content {
        max-width: 100%;
    }

    .hiw-text-content .block-title {
        font-size: 40px;
    }

    .floating-tiles-container {
        max-width: 100%;
        margin: 0 auto;
    }

    .float-tile {
        width: 80px;
        height: 80px;
    }

    .float-tile img {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .hiw-section {
        padding: 40px 20px;
    }

    .hiw-visual-wrap {
        padding: 20px 0;
    }

    .hiw-screen-content {
        padding: 20px;
        min-height: 280px;
    }

    .tiles-row {
        gap: 12px;
    }

    .float-tile {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }

    .float-tile img {
        width: 30px;
        height: 30px;
    }

    .float-tile .more-count {
        font-size: 18px;
    }

    .hiw-text-content .block-title {
        font-size: 32px;
    }

    .hiw-text-content p {
        font-size: 15px;
    }

    .ask-panel {
        padding: 20px;
    }

    .ask-metrics-grid {
        gap: 10px;
    }

    .ask-metric-value {
        font-size: 20px;
    }

    .ask-query-text {
        font-size: 14px;
    }

    .wf-panel {
        padding: 20px;
    }

    .wf-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .wf-step {
        padding: 12px 0;
    }

    .wf-step-value {
        font-size: 13px;
    }
}

/* ===== GLOW BOX - COGNITX LOGO ===== */
.glow-box-wrapper {
    margin: 50px auto 30px auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glow-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 60px;
    border-radius: 20px;
    border: 2px solid rgba(99, 102, 241, 0.4);
    background: rgba(10, 10, 10, 0.95);
    box-shadow:
        0 0 25px rgba(99, 102, 241, 0.3),
        0 0 50px rgba(99, 102, 241, 0.2),
        0 0 80px rgba(56, 189, 248, 0.3),
        0 0 120px rgba(56, 189, 248, 0.2),
        0 0 160px rgba(56, 189, 248, 0.1),
        inset 0 0 40px rgba(99, 102, 241, 0.05);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow:
            0 0 25px rgba(99, 102, 241, 0.3),
            0 0 50px rgba(99, 102, 241, 0.2),
            0 0 80px rgba(56, 189, 248, 0.3),
            0 0 120px rgba(56, 189, 248, 0.2),
            0 0 160px rgba(56, 189, 248, 0.1),
            inset 0 0 40px rgba(99, 102, 241, 0.05);
        border-color: rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow:
            0 0 35px rgba(99, 102, 241, 0.4),
            0 0 70px rgba(99, 102, 241, 0.3),
            0 0 100px rgba(56, 189, 248, 0.4),
            0 0 150px rgba(56, 189, 248, 0.25),
            0 0 200px rgba(56, 189, 248, 0.15),
            inset 0 0 60px rgba(99, 102, 241, 0.08);
        border-color: rgba(99, 102, 241, 0.6);
    }
}

.glow-box .gradient-text {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(99, 102, 241, 0.5);
    margin: 0;
}

.glow-tagline {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

/* Glow Box Animation States */
.glow-box.lights-off {
    box-shadow: none;
    border-color: rgba(99, 102, 241, 0.1);
    background: rgba(10, 10, 10, 0.98);
    animation: none;
}

.glow-box.lights-off .gradient-text {
    opacity: 0.3;
    text-shadow: none;
}

.glow-box.lights-on {
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: glowPulse 4s ease-in-out infinite;
}

.glow-box.lights-on .gradient-text {
    opacity: 1;
    transition: opacity 0.8s ease;
}

/* Responsive Glow Box */
@media (max-width: 768px) {
    .glow-box {
        padding: 25px 40px;
    }

    .glow-box .gradient-text {
        font-size: 40px;
    }

    .glow-tagline {
        font-size: 11px;
        letter-spacing: 3px;
    }
}

/* ===== PARTNERS SECTION ===== */

.home-partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.home-section-header {
    margin-bottom: 40px;
}

.home-partners-container .clients-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-partners-container .clients-table li {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.home-partners-container .clients-table li:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .home-partners-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-section-header {
        margin-bottom: 30px;
    }
}
