/* CQ Intelligence Page - Complete Override Styles */

/* Important overrides to ensure our styles take precedence */
.cq-intelligence-page {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6 !important;
    color: #1d0c46 !important;
    background: #ffffff !important;
}

/* Override any conflicting container styles */
.cq-intelligence-page .container {
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
}

/* Override any conflicting main content styles */
.cq-intelligence-page .main-content {
    margin: 0 !important;
    padding: 0 !important;
}

.cq-intelligence-page * {
    box-sizing: border-box;
}

/* Hero Section */
.cq-intelligence-page .hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #DDE2EE 50%, #ffffff 100%) !important;
    padding: 120px 0 80px !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.hero-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-section .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 80px;
    position: relative;
    min-height: 100vh;
}

.hero-section .hero-text {
    text-align: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: -120px;
}

.hero-section .hero-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1d0c46;
    text-align: center;
}

.hero-section .hero-subtitle {
    font-size: 1.25rem;
    color: #6b5b7a;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Hero Visual - AI Conversation */
.hero-visual {
    position: relative;
    width: 100%;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 40px;
    overflow: visible;
}

.ai-conversation {
    max-width: 800px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.user-prompt {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    margin-top: -100px;
}

.user-prompt p {
    margin: 0;
    color: #1d0c46;
    font-size: 1.125rem;
    font-style: italic;
}

.orchestrator-agent {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.agent-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.agent-label {
    color: #1d0c46;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.agent-description {
    color: #6b5b7a;
    font-size: 0.9rem;
    opacity: 0.8;
}

.specialized-agents {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.agent-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(29, 12, 70, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.cmo-agent {
    border-color: rgba(52, 152, 219, 0.3);
}

.sentinel-agent {
    border-color: rgba(155, 89, 182, 0.3);
}

.growth-agent {
    border-color: rgba(46, 204, 113, 0.3);
}

.agent-card .agent-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.agent-name {
    color: #1d0c46;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.agent-role {
    color: #6b5b7a;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.agent-status {
    color: #1d0c46;
    font-size: 0.75rem;
    opacity: 0.7;
    font-style: italic;
}

.neural-network-animation {
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


.ai-insight-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 30px;
    color: #1d0c46;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 100px;
}

/* AI Agents Workflow Section Styles */
.ai-agents-section .ai-conversation {
    max-width: 1200px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
}

.ai-agents-section {
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.ai-agents-section .user-prompt {
    flex: 0 0 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-agents-section .orchestrator-agent {
    flex: 0 0 180px;
    text-align: center;
}

.ai-agents-section .specialized-agents {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    max-width: 200px;
}

.ai-agents-section .agent-card {
    flex: none;
    width: 100%;
    max-width: none;
}

.ai-agents-section .synthesized-answer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 20px;
    color: #1d0c46;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    flex: 0 0 250px;
    position: relative;
    z-index: 2;
}

.ai-response {
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.response-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d0c46;
}

.response-content p {
    color: #6b5b7a;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.response-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.action-tag {
    background: rgba(29, 12, 70, 0.1);
    color: #1d0c46;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(29, 12, 70, 0.2);
}

/* AI Agents Workflow Specific Styles */
.ai-agents-section .answer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ai-agents-section .answer-icon {
    font-size: 1.5rem;
}

.ai-agents-section .answer-header span {
    color: #1d0c46;
    font-size: 1.2rem;
    font-weight: 600;
}

.ai-agents-section .answer-content {
    color: #1d0c46;
    margin-bottom: 20px;
}

.ai-agents-section .answer-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.ai-agents-section .action-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-agents-section .action-item {
    background: rgba(29, 12, 70, 0.1);
    color: #1d0c46;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(29, 12, 70, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-agents-section .action-icon {
    font-size: 1rem;
}

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

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Content Sections */
.cq-intelligence-page .beyond-dashboard-section,
.cq-intelligence-page .ai-agents-section,
.cq-intelligence-page .questions-section,
.cq-intelligence-page .future-section {
    padding: 100px 0 !important;
    margin: 0 !important;
}

.cq-intelligence-page .beyond-dashboard-section {
    background: #ffffff !important;
}

.cq-intelligence-page .ai-agents-section {
    background: #DDE2EE !important;
}

.cq-intelligence-page .questions-section {
    background: #ffffff !important;
}

.cq-intelligence-page .future-section {
    background: #DDE2EE !important;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    overflow: hidden;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #1d0c46;
    line-height: 1.3;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    hyphens: auto;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b5b7a;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
}

/* Comparison Visual */
.comparison-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

.dashboard-view, .intelligence-view {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
}

.dashboard-view h3, .intelligence-view h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1d0c46;
}

.complex-dashboard {
    height: 300px;
    background: rgba(29, 12, 70, 0.05);
    border-radius: 12px;
    padding: 16px;
    overflow: hidden;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: 100%;
}

.chart-widget {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 8px;
    border: 1px solid rgba(29, 12, 70, 0.1);
    display: flex;
    flex-direction: column;
}

.chart-header {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1d0c46;
    margin-bottom: 4px;
    text-align: center;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 100%;
    padding: 4px;
}

.bar {
    flex: 1;
    background: #1d0c46;
    border-radius: 1px;
    min-height: 4px;
}

.line-chart {
    position: relative;
    height: 100%;
    padding: 4px;
}

.line-path {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #1d0c46;
    transform: translateY(-50%);
}

.data-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.point {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #1d0c46;
    border-radius: 50%;
}

.point:nth-child(1) { top: 20%; left: 10%; }
.point:nth-child(2) { top: 40%; left: 30%; }
.point:nth-child(3) { top: 60%; left: 50%; }
.point:nth-child(4) { top: 30%; left: 70%; }

.pie-chart {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(
        #1d0c46 0deg 120deg,
        rgba(29, 12, 70, 0.6) 120deg 240deg,
        rgba(29, 12, 70, 0.3) 240deg 360deg
    );
    margin: 0 auto;
    margin-top: 8px;
}

.funnel-steps {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
    padding: 4px;
}

.funnel-step {
    background: #1d0c46;
    color: white;
    font-size: 0.6rem;
    text-align: center;
    padding: 2px;
    border-radius: 2px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geo-grid, .device-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
    padding: 4px;
}

.geo-item, .device-item {
    background: rgba(29, 12, 70, 0.1);
    color: #1d0c46;
    font-size: 0.6rem;
    text-align: center;
    padding: 2px;
    border-radius: 2px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-interface {
    height: 300px;
    background: rgba(29, 12, 70, 0.02);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-message.user {
    align-items: flex-end;
}

.chat-message.ai {
    align-items: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message.user .message-content {
    background: #1d0c46;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.ai .message-content {
    background: rgba(255, 255, 255, 0.8);
    color: #1d0c46;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(29, 12, 70, 0.1);
}

.ai-response-header {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.ai-insight {
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.ai-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.action-item {
    background: rgba(29, 12, 70, 0.05);
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    border-left: 3px solid #1d0c46;
}

/* AI Agents Workflow */
.agents-workflow {
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.workflow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.user-node, .orchestrator-node, .answer-node {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 20px 40px;
    color: #1d0c46;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    text-align: center;
}

.specialist-agents {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.agent-node {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
}

.agent-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(29, 12, 70, 0.15);
}

.agent-node i {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #1d0c46;
    display: block;
}

.agent-node h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d0c46;
}

.agent-node p {
    color: #6b5b7a;
    font-size: 0.9rem;
    margin: 0;
}

/* Questions Grid */
.questions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.question-category {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    text-align: center;
}

.question-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(29, 12, 70, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #1d0c46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.category-icon i {
    font-size: 24px;
    color: white;
}

.question-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d0c46;
}

.question-category p {
    color: #6b5b7a;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1rem;
}

.question-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.question-category li {
    background: rgba(29, 12, 70, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #1d0c46;
    text-align: left;
    border-left: 3px solid #1d0c46;
}

/* Future Visual */
.future-visual {
    margin: 3rem auto;
    max-width: 800px;
    padding: 0 20px;
}

.autonomous-interface {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
}

/* Automation Progression Visual */
.automation-progression {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.automation-stage {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    max-width: 300px;
    position: relative;
    overflow: hidden;
}

.automation-stage.current {
    border-color: rgba(255, 193, 7, 0.3);
}

.automation-stage.future {
    border-color: rgba(29, 12, 70, 0.3);
}

.automation-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

.automation-stage.current::before {
    background: linear-gradient(90deg, #FFC107, #FF9800);
}

.automation-stage.future::before {
    background: linear-gradient(90deg, #1d0c46, #6b5b7a);
}

.stage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stage-title {
    color: #1d0c46;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stage-description {
    color: #6b5b7a;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.stage-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature {
    background: rgba(29, 12, 70, 0.05);
    color: #1d0c46;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(29, 12, 70, 0.1);
}

.automation-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.arrow-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFC107, #1d0c46);
    border-radius: 2px;
    position: relative;
}

.arrow-line::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid #1d0c46;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.arrow-head {
    color: #1d0c46;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Automation Timeline */
.automation-timeline {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.automation-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg, #FFC107, #1d0c46);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(29, 12, 70, 0.1);
    border: 3px solid rgba(29, 12, 70, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.timeline-dot.active {
    background: linear-gradient(135deg, #FFC107, #FF9800);
    border-color: #FFC107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.timeline-dot::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1d0c46;
}

.timeline-dot.active::after {
    background: white;
}

.timeline-content h4 {
    color: #1d0c46;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #6b5b7a;
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.cta-section .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #1d0c46;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.125rem;
    color: #6b5b7a;
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #1d0c46;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 12, 70, 0.3);
}

.btn-large:hover {
    background: #2d1c56;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 12, 70, 0.4);
}

/* Loading Animation */
.loading-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: #1d0c46;
    border-radius: 50%;
    display: inline-block;
    animation: loading 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .comparison-visual {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 12px;
    }
    
    .specialist-agents {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .automation-progression {
        flex-direction: column;
        gap: 30px;
    }
    
    .automation-arrow {
        transform: rotate(90deg);
    }
    
    .automation-timeline {
        flex-direction: column;
        gap: 30px;
    }
    
    .automation-timeline::before {
        top: 50px;
        left: 20px;
        right: 20px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, #FFC107, #1d0c46);
    }
    
    .hero-section .hero-text {
        margin-top: -40px;
    }
    
    .hero-section .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-visual {
        height: 600px;
    }
    
    .ai-conversation {
        gap: 60px;
    }
    
    .user-prompt {
        margin-top: -60px;
    }
    
    .ai-insight-card {
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .hero-section .hero-text {
        margin-top: -30px;
    }
    
    .hero-section .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        height: 550px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .ai-conversation {
        gap: 20px;
    }
    
    .ai-agents-section .ai-conversation {
        flex-direction: column;
        gap: 20px;
        max-width: 600px;
    }
    
    .ai-agents-section .user-prompt,
    .ai-agents-section .orchestrator-agent,
    .ai-agents-section .synthesized-answer {
        flex: none;
        width: 100%;
    }
    
    .ai-agents-section .specialized-agents {
        flex-direction: column;
        gap: 15px;
        max-width: 400px;
        width: 100%;
    }
    
    .ai-agents-section .agent-card {
        max-width: none;
    }
    
    .user-prompt {
        margin-top: -40px;
    }
    
    .ai-insight-card {
        margin-top: 40px;
    }
    
    .beyond-dashboard-section,
    .ai-agents-section,
    .questions-section,
    .future-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .dashboard-view, .intelligence-view {
        padding: 12px;
        min-height: auto;
    }
    
    .complex-dashboard {
        height: auto;
        min-height: 400px;
        padding: 10px;
    }
    
    .chat-interface {
        height: auto;
        min-height: 300px;
        padding: 10px;
        gap: 8px;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 8px;
    }
    
    .chart-widget {
        padding: 8px;
        min-height: 60px;
    }
    
    .chart-header {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }
    
    .message-content {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    
    .agent-node,
    .question-category {
        padding: 30px;
    }
    
    .autonomous-interface {
        padding: 30px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section .container,
    .section-header,
    .comparison-visual,
    .agents-workflow,
    .questions-grid,
    .future-visual,
    .cta-section .container {
        padding: 0 16px;
    }
    
    .hero-section .hero-text {
        margin-top: -20px;
    }
    
    .hero-section .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-visual {
        height: 500px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .ai-conversation {
        gap: 15px;
    }
    
    .ai-agents-section .ai-conversation {
        flex-direction: column;
        gap: 15px;
        max-width: 400px;
    }
    
    .ai-agents-section .user-prompt,
    .ai-agents-section .orchestrator-agent,
    .ai-agents-section .synthesized-answer {
        flex: none;
        width: 100%;
    }
    
    .ai-agents-section .specialized-agents {
        flex-direction: column;
        gap: 12px;
        max-width: 300px;
        width: 100%;
    }
    
    .ai-agents-section .agent-card {
        max-width: none;
        padding: 15px;
    }
    
    .ai-agents-section .orchestrator-agent {
        padding: 15px;
    }
    
    .ai-agents-section .synthesized-answer {
        padding: 15px;
    }
    
    .user-prompt {
        margin-top: -30px;
    }
    
    .ai-insight-card {
        margin-top: 30px;
    }
    
    .agent-node,
    .question-category {
        padding: 20px;
    }
    
    .autonomous-interface {
        padding: 20px;
    }
    
    .dashboard-view, .intelligence-view {
        padding: 8px;
        min-height: auto;
    }
    
    .complex-dashboard {
        height: auto;
        min-height: 500px;
        padding: 8px;
    }
    
    .chat-interface {
        height: auto;
        min-height: 350px;
        padding: 8px;
        gap: 6px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 8px;
    }
    
    .chart-widget {
        padding: 10px;
        min-height: 70px;
    }
    
    .chart-header {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }
    
    .bar {
        min-height: 8px;
    }
    
    .point {
        width: 4px;
        height: 4px;
    }
    
    .pie-chart {
        width: 40px;
        height: 40px;
        margin-top: 8px;
    }
    
    .funnel-step, .geo-item, .device-item {
        font-size: 0.65rem;
        padding: 4px;
    }
    
    .message-content {
        font-size: 0.75rem;
        padding: 8px 10px;
        max-width: 90%;
    }
    
    .ai-response-header {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }
    
    .ai-insight {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .action-item {
        font-size: 0.65rem;
        padding: 4px 6px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}