/* ============================================
   Inner Pages Additional Styles
   ============================================ */

/* Page Content */
.page-content {
    padding: 0 0 60px;
}

/* Page Header */
.page-header {
    padding: 130px 0 50px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    position: relative;
}

/* Solution Detail Pages */
.solution-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.solution-detail.alt {
    background: var(--bg-secondary);
}

.solution-detail h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.solution-detail .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.solution-detail p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.solution-detail-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    margin-bottom: 24px;
    color: var(--accent-primary);
    font-size: 2rem;
}

.solution-detail-icon.featured {
    background: var(--accent-primary);
    color: white;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--accent-secondary);
    font-size: 1rem;
}

/* Solution Visual */
.solution-visual {
    padding: 20px;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
}

/* Document Preview */
.doc-preview {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 20px;
}

.doc-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.doc-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.doc-dot.red { background: #ff5f57; }
.doc-dot.yellow { background: #febc2e; }
.doc-dot.green { background: #28c840; }

.doc-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doc-line {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.doc-line.full { width: 100%; }
.doc-line.half { width: 50%; }
.doc-line.three-quarter { width: 75%; }

.ai-analysis {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.analysis-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.analysis-result {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.result-tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.result-tag.success {
    background: rgba(34, 211, 238, 0.15);
    color: var(--accent-secondary);
}

.result-tag.warning {
    background: rgba(251, 188, 46, 0.15);
    color: #febc2e;
}

.result-tag.info {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
}

/* Chart Mockup */
.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 150px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 10px;
    margin-bottom: 20px;
}

.chart-bar {
    flex: 1;
    background: var(--accent-primary);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.chart-bar.highlight {
    background: var(--accent-secondary);
}

.chart-insights {
    display: flex;
    gap: 20px;
}

.insight-item {
    flex: 1;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.insight-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.insight-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

/* Globe Mockup */
.globe-mockup {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.globe {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.3;
}

.compliance-badges-mini {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mini-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   ULTRA FUTURISTIC AI DASHBOARD CARD - HORIZONTAL LAYOUT
   ============================================ */

.ai-dashboard-card {
    --glow-primary: rgba(99, 102, 241, 0.7);
    --glow-secondary: rgba(34, 211, 238, 0.7);
    --glow-accent: rgba(168, 85, 247, 0.6);
    --glow-success: rgba(34, 197, 94, 0.6);

    background: linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 1));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 24px;
    padding: 24px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px;
    box-shadow:
        0 0 60px rgba(99, 102, 241, 0.25),
        0 0 100px rgba(99, 102, 241, 0.15),
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(99, 102, 241, 0.03);
    min-height: 420px;
    max-height: 520px;
    animation: cardBreathing 4s ease-in-out infinite;
}

@keyframes cardBreathing {
    0%, 100% {
        box-shadow:
            0 0 60px rgba(99, 102, 241, 0.25),
            0 0 100px rgba(99, 102, 241, 0.15),
            0 30px 60px rgba(0, 0, 0, 0.5),
            inset 0 0 60px rgba(99, 102, 241, 0.03);
    }
    50% {
        box-shadow:
            0 0 80px rgba(99, 102, 241, 0.35),
            0 0 120px rgba(99, 102, 241, 0.2),
            0 30px 60px rgba(0, 0, 0, 0.5),
            inset 0 0 80px rgba(99, 102, 241, 0.05);
    }
}

/* Grid Background */
.dashboard-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Glow Orbs */
.dashboard-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orbDrift 8s ease-in-out infinite;
}

.orb-1 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    top: -60px;
    left: -40px;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 70%);
    bottom: -40px;
    right: -30px;
    animation-delay: 3s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--glow-accent) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 5s;
    opacity: 0.5;
}

@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(20px, -20px) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-15px, 15px) scale(0.95); opacity: 0.5; }
}

/* Scan Line */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glow-secondary), transparent);
    animation: scanMove 5s linear infinite;
    opacity: 0.4;
    z-index: 10;
    pointer-events: none;
}

@keyframes scanMove {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* SVG Connection Lines */
.connection-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.conn-line {
    stroke: rgba(99, 102, 241, 0.4);
    stroke-width: 1;
    stroke-dasharray: 8 4;
    fill: none;
    animation: dashFlow 1s linear infinite;
}

.conn-line-2 {
    stroke: rgba(34, 211, 238, 0.3);
    stroke-dasharray: 6 3;
}

@keyframes dashFlow {
    to { stroke-dashoffset: -24; }
}

.conn-node {
    fill: var(--glow-secondary);
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.7s; fill: var(--glow-primary); }
.node-3 { animation-delay: 1.4s; }

@keyframes nodePulse {
    0%, 100% { r: 3; opacity: 0.5; }
    50% { r: 6; opacity: 1; box-shadow: 0 0 10px currentColor; }
}

/* Status Header */
.dashboard-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 0.1em;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusBlink 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #22c55e;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.status-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   HORIZONTAL CONTENT LAYOUT
   ============================================ */

.dashboard-content {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 5;
    margin-bottom: 20px;
}

/* Chat Section */
.dashboard-chat-section {
    flex: 1;
    min-width: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-header i {
    color: var(--glow-secondary);
    font-size: 0.9rem;
}

/* Dashboard card scrollbar */
.ai-dashboard-card {
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.4) transparent;
}

.ai-dashboard-card::-webkit-scrollbar {
    width: 8px;
}

.ai-dashboard-card::-webkit-scrollbar-track {
    background: transparent;
}

.ai-dashboard-card::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 4px;
}

.ai-dashboard-card::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.6);
}

/* Chat window - fixed height during animation */
.chat-window {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 16px;
    height: 180px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: height 0.5s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}

/* Chat window scrollbar */
.chat-window::-webkit-scrollbar {
    width: 4px;
}

.chat-window::-webkit-scrollbar-track {
    background: transparent;
}

.chat-window::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 2px;
}

.chat-window::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Conversation complete - expand chat to fit content */
.chat-window.conversation-complete {
    height: auto;
    min-height: 180px;
    max-height: 400px;
    overflow-y: auto;
}

/* Hide chat scrollbar when conversation complete (let card scroll instead) */
.chat-window.conversation-complete::-webkit-scrollbar {
    display: none;
}

.chat-window.conversation-complete {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Chat Bubbles */
.chat-bubble {
    display: flex;
    gap: 10px;
    max-width: 95%;
    animation: bubbleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes bubbleIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-bubble {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-bubble {
    align-self: flex-start;
}

.bubble-content {
    flex: 1;
}

.bubble-text {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.user-bubble .bubble-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.ai-bubble .bubble-text {
    background: rgba(99, 102, 241, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bubble-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
    padding: 0 8px;
}

.user-bubble .bubble-time {
    text-align: right;
}

.bubble-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #22d3ee);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.bubble-meta {
    margin-top: 6px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: rgba(34, 211, 238, 0.8);
    background: rgba(34, 211, 238, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.ai-badge i {
    font-size: 0.6rem;
}

/* AI Thinking Box */
.ai-thinking-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    animation: thinkingIn 0.4s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes thinkingIn {
    to { opacity: 1; }
}

.thinking-dots {
    display: flex;
    gap: 5px;
}

.thinking-dots span {
    width: 8px;
    height: 8px;
    background: var(--glow-secondary);
    border-radius: 50%;
    animation: thinkBounce 1.2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--glow-secondary);
}

.thinking-dots span:nth-child(1) { animation-delay: 0s; }
.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes thinkBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-8px); opacity: 1; }
}

.thinking-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Chart Section */
.dashboard-chart-section {
    flex: 1.2;
    min-width: 0;
    animation: sectionIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

@keyframes sectionIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.chart-container {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 20px;
    height: 200px;
    display: flex;
    position: relative;
}

.chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 12px;
    padding-bottom: 24px;
    position: relative;
}

.chart-bars::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.bar-item {
    flex: 1;
    max-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.bar-fill {
    width: 100%;
    height: 0;
    max-height: 120px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.9), rgba(99, 102, 241, 0.5));
    border-radius: 6px 6px 0 0;
    position: relative;
    transform-origin: bottom;
    cursor: pointer;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.bar-fill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 6px 6px 0 0;
}

.bar-fill:hover {
    filter: brightness(1.2);
    transform: scaleX(1.1);
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
        opacity: 0.5;
    }
    60% {
        opacity: 1;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.bar-item.highlight .bar-fill {
    background: linear-gradient(180deg, rgba(34, 211, 238, 1), rgba(34, 211, 238, 0.6));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.6), 0 0 60px rgba(34, 211, 238, 0.3);
}

.bar-item.highlight .bar-fill::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.3), transparent);
    animation: barGlow 2s ease-in-out infinite;
}

@keyframes barGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.bar-value {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bar-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.bar-item.highlight .bar-label {
    color: var(--glow-secondary);
}

.bar-badge {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    color: #0f172a;
    background: #22d3ee;
    padding: 2px 8px;
    border-radius: 8px;
    opacity: 0;
    animation: badgeIn 0.4s ease forwards;
    animation-delay: 2.8s;
}

@keyframes badgeIn {
    to { opacity: 1; }
}

.chart-y-axis {
    position: absolute;
    left: 8px;
    top: 20px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   FOOTER - INSIGHTS & ACTIONS
   ============================================ */

.dashboard-footer {
    position: relative;
    z-index: 5;
    animation: footerIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 3s;
    opacity: 0;
}

@keyframes footerIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Insights Row */
.insights-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.insight-tile {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insight-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insight-tile:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}

.insight-tile:hover::before {
    opacity: 1;
}

.insight-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(34, 211, 238, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glow-secondary);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.insight-tile:hover .insight-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.insight-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.insight-name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.insight-change {
    font-size: 1rem;
    font-weight: 700;
}

.insight-change.positive {
    color: #22c55e;
}

.insight-change.negative {
    color: #ef4444;
}

.insight-spark {
    width: 50px;
    height: 20px;
    color: #22c55e;
    opacity: 0.8;
}

/* Actions Row */
.actions-row {
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--glow-primary), var(--glow-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover {
    color: white;
}

.action-btn i,
.action-btn span {
    position: relative;
    z-index: 1;
}

.action-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: scale(1.2);
}

.action-btn.primary {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(99, 102, 241, 0.2));
    border-color: rgba(34, 211, 238, 0.3);
}

.action-btn.primary:hover {
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .ai-dashboard-card {
        max-height: none;
        min-height: 500px;
    }

    .dashboard-content {
        flex-direction: column;
    }

    .dashboard-chart-section {
        animation-name: sectionInVertical;
    }

    @keyframes sectionInVertical {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .chart-container {
        height: 180px;
    }

    .insights-row {
        flex-wrap: wrap;
    }

    .insight-tile {
        min-width: calc(50% - 6px);
    }
}

@media (max-width: 576px) {
    .ai-dashboard-card {
        padding: 16px;
        max-height: 700px;
    }

    .chat-window {
        height: 150px;
    }

    .chat-window.conversation-complete {
        height: auto;
        max-height: 300px;
    }

    .chart-container {
        height: 150px;
        padding: 16px;
    }

    .chart-bars {
        gap: 8px;
    }

    .bar-fill {
        max-width: 40px;
    }

    .insights-row {
        flex-direction: column;
    }

    .insight-tile {
        min-width: 100%;
    }

    .actions-row {
        flex-wrap: wrap;
    }

    .action-btn {
        min-width: calc(50% - 5px);
    }
}

/* Main Container - Ultra Glow */
.ultra-visual-card {
    --glow-primary: rgba(99, 102, 241, 0.6);
    --glow-secondary: rgba(34, 211, 238, 0.6);
    --glow-accent: rgba(168, 85, 247, 0.6);
    --glow-pink: rgba(236, 72, 153, 0.5);

    background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.98));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 28px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 50px rgba(99, 102, 241, 0.3),
        0 0 100px rgba(99, 102, 241, 0.15),
        0 0 150px rgba(34, 211, 238, 0.1),
        inset 0 0 60px rgba(99, 102, 241, 0.05);
    animation: ultraCardBreathing 4s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ultra-visual-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 0 80px rgba(99, 102, 241, 0.5),
        0 0 120px rgba(99, 102, 241, 0.3),
        0 0 180px rgba(34, 211, 238, 0.2),
        inset 0 0 80px rgba(99, 102, 241, 0.08);
}

@keyframes ultraCardBreathing {
    0%, 100% {
        box-shadow:
            0 0 50px rgba(99, 102, 241, 0.3),
            0 0 100px rgba(99, 102, 241, 0.15),
            0 0 150px rgba(34, 211, 238, 0.1),
            inset 0 0 60px rgba(99, 102, 241, 0.05);
    }
    50% {
        box-shadow:
            0 0 70px rgba(99, 102, 241, 0.4),
            0 0 120px rgba(99, 102, 241, 0.25),
            0 0 180px rgba(34, 211, 238, 0.15),
            inset 0 0 80px rgba(99, 102, 241, 0.08);
    }
}

/* Animated Grid Background */
.ultra-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Animated Border Ring */
.ultra-ring-border {
    position: absolute;
    inset: -3px;
    border-radius: 31px;
    background: linear-gradient(
        45deg,
        var(--glow-primary),
        var(--glow-secondary),
        var(--glow-accent),
        var(--glow-secondary),
        var(--glow-primary)
    );
    background-size: 400% 400%;
    animation: ringGradient 8s ease infinite;
    z-index: -1;
    opacity: 0.6;
}

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

/* Ambient Light Orbs */
.ambient-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    top: -80px;
    left: -60px;
    animation-delay: 0s;
}

.orb-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 70%);
    bottom: -60px;
    right: -40px;
    animation-delay: 3s;
}

.orb-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--glow-accent) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: 5s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
        opacity: 0.5;
    }
}

/* Particle System - Enhanced */
.ultra-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.ultra-particle {
    position: absolute;
    border-radius: 50%;
    animation: ultraParticleFloat 12s ease-in-out infinite;
}

.ultra-particle:nth-child(1) {
    width: 6px;
    height: 6px;
    background: var(--glow-secondary);
    box-shadow: 0 0 10px var(--glow-secondary), 0 0 20px var(--glow-secondary);
    left: 15%;
    top: 25%;
    animation-delay: 0s;
}

.ultra-particle:nth-child(2) {
    width: 4px;
    height: 4px;
    background: var(--glow-primary);
    box-shadow: 0 0 8px var(--glow-primary), 0 0 16px var(--glow-primary);
    left: 75%;
    top: 35%;
    animation-delay: 1s;
}

.ultra-particle:nth-child(3) {
    width: 8px;
    height: 8px;
    background: var(--glow-accent);
    box-shadow: 0 0 12px var(--glow-accent), 0 0 24px var(--glow-accent);
    left: 45%;
    top: 15%;
    animation-delay: 2s;
}

.ultra-particle:nth-child(4) {
    width: 5px;
    height: 5px;
    background: var(--glow-secondary);
    box-shadow: 0 0 10px var(--glow-secondary), 0 0 20px var(--glow-secondary);
    left: 85%;
    top: 65%;
    animation-delay: 3s;
}

.ultra-particle:nth-child(5) {
    width: 4px;
    height: 4px;
    background: var(--glow-primary);
    box-shadow: 0 0 8px var(--glow-primary), 0 0 16px var(--glow-primary);
    left: 25%;
    top: 75%;
    animation-delay: 4s;
}

.ultra-particle:nth-child(6) {
    width: 7px;
    height: 7px;
    background: var(--glow-pink);
    box-shadow: 0 0 12px var(--glow-pink), 0 0 24px var(--glow-pink);
    left: 65%;
    top: 85%;
    animation-delay: 5s;
}

@keyframes ultraParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(15px, -25px) scale(1.3);
        opacity: 1;
    }
    50% {
        transform: translate(-10px, -50px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translate(-25px, -30px) scale(1.1);
        opacity: 0.9;
    }
}

/* Scan Line Effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glow-secondary), transparent);
    animation: scanDown 4s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes scanDown {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* Status Bar */
.ultra-status-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-secondary);
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px var(--accent-secondary);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 20px var(--accent-secondary), 0 0 30px var(--accent-secondary);
    }
}

.status-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* Document Header - Glowing Dots */
.ultra-doc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.ultra-doc-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.ultra-doc-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ultra-doc-dot:hover {
    transform: scale(1.3);
}

.ultra-doc-dot:hover::after {
    opacity: 1;
}

.ultra-doc-dot.red {
    background: #ff5f57;
    box-shadow: 0 0 15px rgba(255, 95, 87, 0.8);
}
.ultra-doc-dot.red::after {
    background: radial-gradient(circle, rgba(255, 95, 87, 0.4) 0%, transparent 70%);
}

.ultra-doc-dot.yellow {
    background: #febc2e;
    box-shadow: 0 0 15px rgba(254, 188, 46, 0.8);
}
.ultra-doc-dot.yellow::after {
    background: radial-gradient(circle, rgba(254, 188, 46, 0.4) 0%, transparent 70%);
}

.ultra-doc-dot.green {
    background: #28c840;
    box-shadow: 0 0 15px rgba(40, 200, 64, 0.8);
}
.ultra-doc-dot.green::after {
    background: radial-gradient(circle, rgba(40, 200, 64, 0.4) 0%, transparent 70%);
}

/* AI Chat Container - Glassmorphism */
.ultra-chat-container {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(34, 211, 238, 0.05) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    z-index: 5;
    box-shadow:
        inset 0 0 30px rgba(99, 102, 241, 0.05),
        0 0 20px rgba(99, 102, 241, 0.1);
}

.ultra-chat-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

/* Chat Messages */
.ultra-chat-message {
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: ultraMessageIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ultra-chat-message.user {
    animation-delay: 0.3s;
}

.ultra-chat-message.bot {
    animation-delay: 0.8s;
}

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

.ultra-chat-message .msg-text {
    display: inline-block;
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 88%;
    position: relative;
}

/* User Message - Vibrant Gradient */
.ultra-chat-message.user .msg-text {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 1) 0%,
        rgba(79, 70, 229, 1) 50%,
        rgba(139, 92, 246, 1) 100%
    );
    color: white;
    border-bottom-right-radius: 6px;
    box-shadow:
        0 8px 32px rgba(99, 102, 241, 0.5),
        0 0 60px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Bot Message - Glass Effect */
.ultra-chat-message.bot .msg-text {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(34, 211, 238, 0.08) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--text-primary);
    border-bottom-left-radius: 6px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(99, 102, 241, 0.05);
}

/* AI Thinking - Enhanced */
.ultra-thinking {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.12) 0%,
        rgba(34, 211, 238, 0.08) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    width: fit-content;
    margin-bottom: 16px;
    opacity: 0;
    animation: thinkingFade 0.4s ease forwards;
    animation-delay: 0.4s;
    box-shadow:
        0 0 30px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.05);
}

@keyframes thinkingFade {
    to { opacity: 1; }
}

.ultra-thinking-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: ultraThinkingBounce 1.2s ease-in-out infinite;
    box-shadow:
        0 0 10px var(--glow-secondary),
        0 0 20px var(--glow-secondary);
}

.ultra-thinking-dot:nth-child(1) { animation-delay: 0s; }
.ultra-thinking-dot:nth-child(2) { animation-delay: 0.2s; }
.ultra-thinking-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes ultraThinkingBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-12px) scale(1.2);
        opacity: 1;
        box-shadow:
            0 0 15px var(--glow-secondary),
            0 0 30px var(--glow-secondary),
            0 0 45px var(--glow-secondary);
    }
}

/* Typing Cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 18px;
    background: var(--accent-secondary);
    margin-left: 4px;
    animation: cursorBlink 0.8s ease-in-out infinite;
    box-shadow: 0 0 10px var(--glow-secondary);
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Chart Section */
.ultra-chart-section {
    margin-bottom: 24px;
    position: relative;
    z-index: 5;
}

.ultra-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ultra-chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ultra-chart-title i {
    color: var(--accent-secondary);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.ultra-chart-legend {
    display: flex;
    gap: 16px;
}

.ultra-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ultra-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    box-shadow: 0 0 8px currentColor;
}

.ultra-legend-dot.sales {
    background: var(--accent-primary);
    color: var(--glow-primary);
}

.ultra-legend-dot.target {
    background: rgba(34, 211, 238, 0.4);
    color: var(--glow-secondary);
}

/* Chart Container */
.ultra-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 16px;
    height: 140px;
    padding: 24px 20px 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.8) 0%,
        rgba(15, 23, 42, 0.6) 100%
    );
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 40px rgba(99, 102, 241, 0.05),
        0 0 30px rgba(99, 102, 241, 0.1);
}

/* Grid Lines */
.ultra-chart::before {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 60px;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        rgba(99, 102, 241, 0.2) 0px,
        rgba(99, 102, 241, 0.2) 1px,
        transparent 1px,
        transparent 20px
    );
}

/* Glow Line */
.ultra-chart::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--glow-primary), var(--glow-secondary), var(--glow-primary));
    opacity: 0.5;
    animation: glowLine 3s ease-in-out infinite;
}

@keyframes glowLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Chart Bar Wrapper */
.ultra-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 50px;
}

/* Chart Bars - Ultra Glow */
.ultra-chart-bar {
    width: 100%;
    max-width: 44px;
    border-radius: 8px 8px 0 0;
    position: relative;
    transform: scaleY(0);
    transform-origin: bottom;
    animation: ultraBarGrow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ultra-chart-bar:hover {
    filter: brightness(1.3);
    transform: scaleY(1.05) !important;
}

@keyframes ultraBarGrow {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.ultra-chart-bar.q1 {
    height: 55%;
    background: linear-gradient(180deg, #818cf8 0%, #6366f1 50%, #4f46e5 100%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    animation-delay: 0.5s;
}

.ultra-chart-bar.q1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    border-radius: 8px 8px 0 0;
}

.ultra-chart-bar.q2 {
    height: 70%;
    background: linear-gradient(180deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
    animation-delay: 0.7s;
}

.ultra-chart-bar.q2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    border-radius: 8px 8px 0 0;
}

.ultra-chart-bar.q3 {
    height: 82%;
    background: linear-gradient(180deg, #c084fc 0%, #a855f7 50%, #9333ea 100%);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
    animation-delay: 0.9s;
}

.ultra-chart-bar.q3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    border-radius: 8px 8px 0 0;
}

.ultra-chart-bar.q4 {
    height: 100%;
    background: linear-gradient(180deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%);
    box-shadow:
        0 0 40px rgba(34, 211, 238, 0.8),
        0 0 60px rgba(34, 211, 238, 0.5),
        0 0 80px rgba(34, 211, 238, 0.3);
    animation-delay: 1.1s;
    position: relative;
}

.ultra-chart-bar.q4::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.4), transparent);
    z-index: -1;
    animation: q4Glow 2s ease-in-out infinite;
}

.ultra-chart-bar.q4::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    border-radius: 2px;
    animation: shineMove 2s ease-in-out infinite;
}

@keyframes q4Glow {
    0%, 100% {
        opacity: 0.5;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

@keyframes shineMove {
    0% { left: 20%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 80%; opacity: 0; }
}

.chart-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.ultra-bar-wrapper:hover .chart-label {
    color: var(--accent-secondary);
    text-shadow: 0 0 10px var(--glow-secondary);
}

.ultra-bar-wrapper.q4 .chart-label {
    color: var(--accent-secondary);
    text-shadow: 0 0 10px var(--glow-secondary);
}

/* Insight Cards - Shimmer Effect */
.ultra-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
    position: relative;
    z-index: 5;
}

.ultra-insight-card {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.12) 0%,
        rgba(139, 92, 246, 0.08) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 18px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ultra-insight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 80%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.ultra-insight-card:hover::before {
    transform: translateX(100%);
}

.ultra-insight-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--glow-primary), var(--glow-secondary), var(--glow-accent));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ultra-insight-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: transparent;
    box-shadow:
        0 0 40px rgba(99, 102, 241, 0.5),
        0 0 80px rgba(99, 102, 241, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.4);
}

.ultra-insight-card:hover::after {
    opacity: 1;
}

.ultra-insight-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(34, 211, 238, 0.2));
    border-radius: 14px;
    margin-bottom: 14px;
    color: var(--accent-secondary);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.ultra-insight-card:hover .ultra-insight-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
}

.ultra-insight-category {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.ultra-insight-change {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
}

/* Action Buttons - Neon Glow */
.ultra-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 5;
}

.ultra-action-btn {
    flex: 1;
    min-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(139, 92, 246, 0.1) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ultra-action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--glow-primary) 0%,
        var(--glow-secondary) 50%,
        var(--glow-accent) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ultra-action-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--glow-primary), var(--glow-secondary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.ultra-action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: transparent;
    box-shadow:
        0 0 30px rgba(99, 102, 241, 0.5),
        0 0 60px rgba(99, 102, 241, 0.3),
        0 15px 35px rgba(0, 0, 0, 0.4);
}

.ultra-action-btn:hover::before {
    opacity: 1;
}

.ultra-action-btn:hover::after {
    opacity: 0.6;
    animation: btnGlowPulse 1.5s ease-in-out infinite;
}

@keyframes btnGlowPulse {
    0%, 100% { opacity: 0.4; filter: blur(8px); }
    50% { opacity: 0.7; filter: blur(12px); }
}

.ultra-action-btn i,
.ultra-action-btn span {
    position: relative;
    z-index: 1;
}

.ultra-action-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.ultra-action-btn:hover i {
    transform: scale(1.3);
    animation: iconBuzz 0.5s ease;
}

@keyframes iconBuzz {
    0%, 100% { transform: scale(1.3) rotate(0deg); }
    25% { transform: scale(1.4) rotate(-10deg); }
    75% { transform: scale(1.4) rotate(10deg); }
}

/* Connection Lines - Enhanced */
.ultra-connections {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.ultra-connection-line {
    position: absolute;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--glow-primary) 0px,
        var(--glow-primary) 8px,
        transparent 8px,
        transparent 16px
    );
    animation: ultraLineFlow 2s linear infinite;
}

.ultra-connection-line.line-1 {
    top: 25%;
    left: 0;
    right: 0;
    animation-duration: 3s;
}

.ultra-connection-line.line-2 {
    bottom: 25%;
    left: 10%;
    right: 10%;
    animation-duration: 2.5s;
    background: repeating-linear-gradient(
        90deg,
        var(--glow-secondary) 0px,
        var(--glow-secondary) 6px,
        transparent 6px,
        transparent 14px
    );
}

.ultra-connection-line.line-3 {
    top: 50%;
    left: 20%;
    width: 30%;
    animation-duration: 1.8s;
    background: repeating-linear-gradient(
        90deg,
        var(--glow-accent) 0px,
        var(--glow-accent) 4px,
        transparent 4px,
        transparent 12px
    );
}

@keyframes ultraLineFlow {
    from { background-position: 0 0; }
    to { background-position: 32px 0; }
}

.ultra-connection-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: ultraDotPulse 2s ease-in-out infinite;
}

.ultra-connection-dot.dot-1 {
    top: 25%;
    left: 15%;
    background: var(--accent-secondary);
    box-shadow:
        0 0 15px var(--glow-secondary),
        0 0 30px var(--glow-secondary);
    animation-delay: 0s;
}

.ultra-connection-dot.dot-2 {
    top: 25%;
    right: 20%;
    background: var(--accent-primary);
    box-shadow:
        0 0 15px var(--glow-primary),
        0 0 30px var(--glow-primary);
    animation-delay: 1s;
}

.ultra-connection-dot.dot-3 {
    bottom: 25%;
    left: 40%;
    background: var(--glow-accent);
    box-shadow:
        0 0 15px var(--glow-accent),
        0 0 30px var(--glow-accent);
    animation-delay: 0.5s;
}

@keyframes ultraDotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.8);
        opacity: 1;
    }
}

/* Data Flow Animation */
.data-flow {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow:
        0 0 10px var(--glow-secondary),
        0 0 20px var(--glow-secondary);
    animation: dataFlowMove 4s ease-in-out infinite;
}

.data-flow.flow-1 {
    top: 25%;
    left: 10%;
    animation-delay: 0s;
}

.data-flow.flow-2 {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.data-flow.flow-3 {
    bottom: 25%;
    left: 50%;
    animation-delay: 1s;
}

@keyframes dataFlowMove {
    0% {
        left: 10%;
        opacity: 0;
    }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% {
        left: 90%;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ultra-visual-card {
        padding: 24px;
    }

    .ultra-chart {
        height: 120px;
        gap: 10px;
    }

    .ultra-chart-bar {
        max-width: 36px;
    }

    .ultra-insights-grid {
        grid-template-columns: 1fr;
    }

    .ultra-action-btn {
        min-width: 100%;
        padding: 12px 16px;
    }

    .ultra-connection-line,
    .ultra-connection-dot,
    .data-flow {
        display: none;
    }
}

/* Agent Chat - Original (kept for compatibility) */
.agent-chat {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 20px;
}

.chat-message {
    margin-bottom: 16px;
}

.chat-message .msg-text {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 90%;
}

.chat-message.user {
    text-align: right;
}

.chat-message.user .msg-text {
    background: var(--accent-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.bot {
    text-align: left;
}

.chat-message.bot .msg-text {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

/* Chart Mockup */
.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 150px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 10px;
    margin-bottom: 20px;
}

.chart-bar {
    flex: 1;
    background: var(--accent-primary);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.chart-bar.highlight {
    background: var(--accent-secondary);
}

.msg-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    padding-left: 16px;
}

.msg-actions .action {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.msg-actions .action.complete {
    color: var(--accent-secondary);
}

.chat-result {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.chat-result ul {
    margin: 8px 0 0 16px;
    padding: 0;
}

/* Section CTA */
.section-cta {
    text-align: center;
    padding: 80px 0;
    margin-top: 40px;
}

.section-cta h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.section-cta p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============================================
   Industries Page
   ============================================ */
.industry-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.industry-detail1{
     padding: 80px 0;
}

.industry-detail.alt {
    background: var(--bg-secondary);
}

.industry-icon-lg {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.1));
    border-radius: 24px;
    margin-bottom: 24px;
    color: var(--accent-primary);
    font-size: 2.5rem;
}

.industry-detail h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.industry-detail .lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.industry-benefits {
    margin-top: 32px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    color: var(--accent-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.industry-stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
}

.industry-stats-card h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-box {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 4px;
}

.stat-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   Capabilities Page
   ============================================ */
.capability-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.capability-detail.alt {
    background: var(--bg-secondary);
}

.capability-header {
    margin-bottom: 24px;
}

.capability-icon-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    margin-bottom: 20px;
    color: var(--accent-primary);
    font-size: 2rem;
}

.capability-detail h2 {
    font-size: 2rem;
    margin: 0;
}

.capability-detail .lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.mcp-benefits, .model-capabilities {
    margin-top: 32px;
}

.mcp-benefit, .model-cap {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.mcp-benefit:last-child, .model-cap:last-child {
    border-bottom: none;
}

.mcp-benefit i, .model-cap i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    color: var(--accent-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.mcp-benefit h4, .model-cap h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.mcp-benefit p, .model-cap p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* MCP Architecture */
.mcp-architecture {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
}

.arch-layer {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.layer-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
}

.system-layer {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--accent-primary);
}

.system-icons, .llm-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sys-icon, .llm-icon {
    padding: 8px 16px;
    background: var(--bg-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.mcp-layer {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid var(--accent-secondary);
}

.mcp-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mcp-features span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mcp-features i {
    color: var(--accent-secondary);
}

.llm-layer {
    background: rgba(244, 114, 182, 0.1);
    border: 1px solid var(--accent-tertiary);
}

.arch-connector {
    padding: 8px;
    text-align: center;
    color: var(--text-muted);
}

/* Model Development Flow */
.model-development-flow {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
}

.model-development-flow h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-align: center;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flow-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Tech Specs */
.tech-specs {
    padding: 80px 0;
}

.tech-specs h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    text-align: center;
}

.spec-card i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.spec-card h4 {
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.spec-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.spec-card li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
}

.spec-card li:last-child {
    border-bottom: none;
}

/* ============================================
   Case Studies Page
   ============================================ */
.case-study-detail {
    padding: 80px 0;
}

.case-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 80px 0;
}



.case-study-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    margin-bottom: 16px;
}

.case-study-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.case-study-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: 0;
}

.case-challenge, .case-solution, .case-results {
    margin-bottom: 40px;
}

.case-challenge h3, .case-solution h3, .case-results h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.case-challenge p, .case-solution p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.solution-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-points li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.solution-points li:last-child {
    border-bottom: none;
}

.solution-points strong {
    color: var(--text-primary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-metric {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.result-metric .metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 8px;
}

.result-metric .metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.case-sidebar .sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.case-sidebar .sidebar-card h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.case-sidebar .sidebar-card p, .case-sidebar .sidebar-card ul {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0;
}

.case-sidebar .sidebar-card ul {
    list-style: none;
    padding: 0;
}

.case-sidebar .sidebar-card li {
    padding: 4px 0;
}

/* ============================================
   Resources Page
   ============================================ */
.resources-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.resources-section h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
}

.resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: var(--transition-base);
}

.resource-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.resource-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.resource-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.resource-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.resource-link {
    color: var(--accent-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resource-link:hover {
    gap: 12px;
}

.api-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
}

.api-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.api-header i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.api-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.api-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.api-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.api-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.api-features li i {
    color: var(--accent-secondary);
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
}

.blog-image {
    height: 160px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 3rem;
}

.blog-content {
    padding: 24px;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin: 12px 0;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.blog-link {
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================
   About Page
   ============================================ */
.about-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mission-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.mission-stat .stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 4px;
}

.mission-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    text-align: center;
}

.value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: var(--accent-primary);
    font-size: 1.75rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    height: 100%;
}

.team-avatar {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: var(--text-muted);
    font-size: 2rem;
}

.team-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.partners-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.partner-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.partner-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.partner-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.careers-cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.1));
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    margin-top: 60px;
}

.careers-cta h2 {
    margin-bottom: 16px;
}

.careers-cta p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 48px;
}

.contact-form-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.contact-form-wrapper > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-form .form-control, .contact-form .form-select {
    background:#e6e6ed ;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.contact-form .form-control:focus, .contact-form .form-select:focus {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
}

.contact-form .form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.contact-form .form-check {
    margin: 20px 0;
}

.contact-form .form-check-input {
    background-color: var(--bg-primary);
    border-color: var(--border-light);
}

.contact-form .form-check-input:checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.contact-form .form-check-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
}

.info-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 14px;
    margin-bottom: 16px;
    color: var(--accent-primary);
    font-size: 1.5rem;
}
.info-icon:hover{
    transform: translateY(-3px);
    background: rgba(99, 102, 241, 0.2);
}

.social-icons-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.social-icons-row .info-icon {
    margin-bottom: 0;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-icons-row .info-icon:hover {
    transform: translateY(-3px);
    background: rgba(99, 102, 241, 0.2);
}


.contact-info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.info-link {
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-office {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
}

.contact-office h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.contact-office address {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
    font-style: normal;
    font-size: 0.9rem;
}

.contact-office address i {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

/* FAQ Section */
.faq-section {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid var(--border-subtle);
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
}

.faq-item h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    margin-bottom: 12px;
}

.faq-item h4 i {
    color: var(--accent-primary);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    padding-left: 36px;
}

/* Responsive */
@media (max-width: 991px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 140px 0 60px;
    }

    .solution-detail, .industry-detail, .capability-detail {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

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

    .partners-showcase {
        grid-template-columns: 1fr;
    }

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

    .careers-cta {
        padding: 48px 24px;
    }
}