/* Product Demos Section Styles */
.product-demos-section {
    background: white;
    padding: 8rem 0;
}

.product-demos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8rem;
}

.product-demos-header {
    text-align: center;
    margin-bottom: 5rem;
}

.product-demos-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.product-demos-header p {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 400;
}

.use-case-item {
    margin-bottom: 8rem;
    scroll-margin-top: 2rem;
}

.use-case-item:last-child {
    margin-bottom: 0;
}

.use-case-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    min-height: 500px;
}

.use-case-item.reverse .use-case-content {
    flex-direction: row-reverse;
}

.use-case-text {
    flex: 0.7;
    max-width: 420px;
}

.use-case-text h3 {
    font-size: 2.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}

.use-case-text p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.use-case-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-text li {
    font-size: 1.1rem;
    color: #64748b;
    padding: 0.6rem 0;
    position: relative;
    padding-left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.use-case-text li .material-icons {
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 18px;
}

.use-case-text li:before {
    display: none;
}

.use-case-visual {
    flex: 1.4;
    max-width: 700px;
    height: 600px;
    display: flex;
    flex-direction: column;
    margin-left: 2rem;
}

/* Chat Interface Styles */
.chat-interface {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
}

.chat-title {
    font-weight: 600;
    color: #0f172a;
}

.chat-status {
    font-size: 1rem;
    color: #10b981;
    display: flex;
    align-items: center;
}

.chat-status:before {
    content: "●";
    margin-right: 0.5rem;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    align-items: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 4px 12px;
    max-width: 80%;
}

.bot-message .message-content {
    background: #f1f5f9;
    color: #334155;
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 12px 4px;
    max-width: 80%;
}

.slides-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.preview-slide {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px;
    aspect-ratio: 16/9;
    font-size: 9px;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.preview-slide:nth-child(1) { animation-delay: 0.2s; }
.preview-slide:nth-child(2) { animation-delay: 0.4s; }
.preview-slide:nth-child(3) { animation-delay: 0.6s; }
.preview-slide:nth-child(4) { animation-delay: 0.8s; }

.chat-input {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    min-height: 60px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

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

/* RFP Generation Interface */
.generation-interface {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.generation-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.generation-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.generation-title {
    font-weight: 600;
    color: #0f172a;
    flex: 1;
    font-size: 1rem;
    line-height: 1.4;
}

.generation-attachments {
    display: flex;
    flex-direction: row;
    gap: 0.375rem;
    align-items: center;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #64748b;
    transition: all 0.2s ease;
}

.attachment-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.attachment-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.attachment-icon svg {
    width: 10px;
    height: 10px;
}

.attachment-icon.pdf {
    background: #ef4444;
    color: white;
}

.attachment-icon.txt {
    background: #64748b;
    color: white;
}

.attachment-icon.pptx {
    background: #d97706;
    color: white;
}

.attachment-item span {
    font-weight: 500;
    white-space: nowrap;
}

.generation-progress .progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.generation-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease-out;
}

.progress-text {
    font-size: 1rem;
    color: #64748b;
}

.generation-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    min-height: 0;
}

.rfp-sections {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.section-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.section-status.complete {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.section-status.generating {
    background: #f59e0b;
    animation: pulse 1.5s infinite;
}

.section-status.pending {
    background: #e2e8f0;
}

.section-name {
    flex: 1;
    font-weight: 500;
    color: #374151;
    margin: 0 1rem;
}

.section-slides {
    font-size: 1rem;
    color: #64748b;
}

.generated-preview {
    flex: 1;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
}

/* Slide Editing Interface */
.edit-interface {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.edit-workspace {
    height: 100%;
    display: flex;
}

.slide-editor {
    flex: 1.5;
    padding: 1rem;
    border-right: 1px solid #e2e8f0;
}

.slide-canvas {
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    transition: all 0.5s ease;
}

.slide-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.chart-bar {
    width: 40px;
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
    border-radius: 4px 4px 0 0;
    transition: all 0.5s ease;
}

.edit-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}

.edit-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.edit-input {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 60px;
}

.typing-command {
    color: #64748b;
    font-size: 1rem;
}

.typing-cursor {
    color: #3b82f6;
    animation: blink 1s infinite;
}

/* Animations */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

@keyframes rfpProgress {
    0% { width: 0%; }
    25% { width: 30%; }
    50% { width: 60%; }
    75% { width: 85%; }
    100% { width: 100%; }
}

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

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

/* Add spinning animation for loading indicator */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-selection {
    display: flex;
    gap: 4px;
    margin-left: auto;
    margin-right: 1rem;
}

.selected-slide {
    width: 12px;
    height: 8px;
    background: #10b981;
    border-radius: 2px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.selected-slide.selecting {
    background: #f59e0b;
    animation: pulse 1.5s ease-in-out infinite;
}

.selected-slide.pending {
    background: #e2e8f0;
    border: 1px dashed #cbd5e1;
}

.generation-tools {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.tools-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.tools-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tool-icon {
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tool-icon svg {
    width: 16px;
    height: 16px;
}

.tool-icon:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tool-icon.active {
    background: #10b981;
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.tool-icon.current {
    background: #f59e0b;
    color: white;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* Confidence Gauge Styles */
.confidence-gauge {
    margin-top: 1.5rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
}

.gauge-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1rem;
}

.gauge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.gauge-circle {
    position: relative;
    width: 80px;
    height: 80px;
    background: conic-gradient(
        #10b981 0deg 280deg,
        #e2e8f0 280deg 360deg
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gaugeProgressColor 3s ease-out;
}

.gauge-circle::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    z-index: 1;
}

.gauge-center {
    position: relative;
    z-index: 2;
    text-align: center;
}

.gauge-percentage {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
}

.gauge-text {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.125rem;
}

.gauge-description {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

@keyframes gaugeProgressColor {
    0% {
        background: conic-gradient(
            #e2e8f0 0deg 360deg
        );
    }
    25% {
        background: conic-gradient(
            #f59e0b 0deg 70deg,
            #e2e8f0 70deg 360deg
        );
    }
    50% {
        background: conic-gradient(
            #f59e0b 0deg 140deg,
            #e2e8f0 140deg 360deg
        );
    }
    75% {
        background: conic-gradient(
            #fbbf24 0deg 210deg,
            #e2e8f0 210deg 360deg
        );
    }
    100% {
        background: conic-gradient(
            #10b981 0deg 280deg,
            #e2e8f0 280deg 360deg
        );
    }
}

.section-item.active {
    background: #f8fafc;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.slide-selection-panel {
    margin-top: 1.5rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.selection-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.selection-counter {
    font-size: 1rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.available-slides {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slide-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slide-option:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.slide-option.selected {
    border-color: #10b981;
    background: #f0fdf4;
}

.slide-option.selecting {
    border-color: #f59e0b;
    background: #fffbeb;
    animation: pulse 1.5s ease-in-out infinite;
}

.slide-thumbnail {
    width: 48px;
    height: 27px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.slide-content-mini {
    padding: 3px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.slide-title-mini {
    height: 3px;
    background: #e2e8f0;
    border-radius: 1px;
    width: 70%;
}

.slide-chart-mini {
    flex: 1;
    background: #f1f5f9;
    border-radius: 1px;
}

.slide-bars-mini {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    padding: 2px 0;
}

.bar-mini {
    width: 3px;
    background: #cbd5e1;
    border-radius: 0.5px;
}

.slide-pie-mini {
    flex: 1;
    background: radial-gradient(circle at 50% 50%, #cbd5e1 0%, #cbd5e1 30%, #e2e8f0 30%, #e2e8f0 60%, #f1f5f9 60%);
    border-radius: 50%;
}

.slide-info {
    flex: 1;
}

.slide-name {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.125rem;
}

.slide-source {
    font-size: 0.85rem;
    color: #64748b;
}

.selection-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.selection-checkbox.checked {
    background: #10b981;
    color: white;
}

.selection-checkbox.selecting {
    background: #f59e0b;
    color: white;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Simple Slide Editing Interface */
.simple-edit-interface {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.simple-slide-preview {
    flex: 1;
    background: #f8fafc;
    position: relative;
}

.slide-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.slide-title-bar {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.slide-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.slide-content-area {
    padding: 2rem;
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.slide-title-edit {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    padding: 0.5rem 1rem;
    border: 2px dashed transparent;
    border-radius: 6px;
    transition: all 0.8s ease;
    animation: titleChange 4s ease-in-out infinite;
}

.slide-chart-edit {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.75rem;
    height: 120px;
    padding: 1rem 0;
}

.chart-bar-edit {
    width: 32px;
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
    border-radius: 4px 4px 0 0;
    transition: all 0.8s ease;
    position: relative;
}

.simple-command-area {
    background: #f8fafc;
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.command-example {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    opacity: 0;
    animation: commandAppear 4s ease-in-out infinite;
}

.edit-preview-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #64748b;
    opacity: 0;
    animation: previewAppear 4s ease-in-out infinite;
    animation-delay: 1s;
}

.preview-indicator {
    display: flex;
    gap: 3px;
}

.loading-dot {
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    animation: loadingDots 1.2s ease-in-out infinite;
}

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

/* Animations for the editing demo */
@keyframes titleChange {
    0%, 25% { 
        color: #0f172a;
        border-color: transparent;
    }
    30%, 70% { 
        color: #3b82f6;
        border-color: #3b82f6;
    }
    75%, 100% { 
        color: #0f172a;
        border-color: transparent;
    }
}

@keyframes commandAppear {
    0%, 15% { opacity: 0; transform: translateY(10px); }
    20%, 80% { opacity: 1; transform: translateY(0); }
    85%, 100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes previewAppear {
    0%, 25% { opacity: 0; }
    30%, 70% { opacity: 1; }
    75%, 100% { opacity: 0; }
}

@keyframes loadingDots {
    0%, 80%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

/* New Slide Edit Preview Styles */
.preview-slide-edit {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.75rem;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: slideIn 0.5s ease-out forwards;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slide-header-edit {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    padding: 0.25rem;
    background: #f8fafc;
    border-radius: 3px;
    border: 1px solid #e2e8f0;
}

.slide-chart-mini-edit {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
}

.chart-bar-mini-edit {
    width: 8px;
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
    border-radius: 1px 1px 0 0;
    transition: all 0.3s ease;
    animation: barGrow 0.8s ease-out forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

/* Responsive Design Improvements */
@media (max-width: 1024px) {
    .product-demos-section {
        padding: 6rem 0;
    }
    
    .use-case-item {
        margin-bottom: 6rem;
    }
    
    .use-case-content {
        flex-direction: column;
        gap: 3rem;
        min-height: auto;
        text-align: center;
    }
    
    .use-case-text {
        max-width: 100%;
        flex: none;
    }
    
    .use-case-visual {
        max-width: 100%;
        flex: none;
        width: 100%;
        height: 450px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .product-demos-section {
        padding: 2rem 0;
        position: relative;
        z-index: 1;
        isolation: isolate;
    }
    
    .product-demos-container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .product-demos-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .product-demos-header h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .product-demos-header p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .use-case-item {
        margin-bottom: 2.5rem;
        background: #ffffff;
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border: 1px solid #f1f5f9;
    }
    
    .use-case-content {
        flex-direction: column !important;
        gap: 1.5rem;
        min-height: auto;
        align-items: stretch;
        position: relative;
        z-index: 1;
    }
    
    .use-case-text {
        flex: none;
        max-width: 100%;
        order: 1;
        position: relative;
        z-index: 2;
    }
    
    .use-case-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
        position: relative;
        z-index: 3;
    }
    
    .use-case-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
        line-height: 1.6;
    }
    
    .use-case-text ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .use-case-text li {
        flex: 0 0 auto;
        background: rgba(59, 130, 246, 0.08);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 20px;
        padding: 0.5rem 1rem;
        margin: 0;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        white-space: nowrap;
    }
    
    .use-case-text li .material-icons {
        position: static;
        font-size: 16px;
        margin: 0;
    }
    
    .use-case-visual {
        flex: none;
        max-width: 100%;
        height: 300px;
        margin-left: 0;
        order: 2;
        position: relative;
        z-index: 1;
        margin-top: 1.5rem;
        clear: both;
        isolation: isolate;
    }
    
    .chat-interface,
    .generation-interface {
        height: 300px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .product-demos-container {
        padding: 0 0.75rem;
    }
    
    .product-demos-header h2 {
        font-size: 1.5rem;
    }
    
    .product-demos-header p {
        font-size: 0.9rem;
    }
    
    .use-case-item {
        padding: 1rem;
        margin-bottom: 2rem;
        position: relative;
        z-index: 1;
        isolation: isolate;
        overflow: hidden;
        clear: both;
    }
    
    .use-case-text h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .use-case-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .use-case-text ul {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .use-case-text li {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .use-case-text li .material-icons {
        font-size: 14px;
    }
    
    .use-case-visual {
        height: 250px;
    }
    
    .chat-interface,
    .generation-interface {
        height: 250px;
    }
}

/* PowerPoint Integration Section */
.integration-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 8rem 0;
    position: relative;
}

.integration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.integration-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8rem;
}

.integration-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    min-height: 600px;
}

.integration-text {
    flex: 1;
    max-width: 580px;
}

.integration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.integration-badge svg {
    width: 16px;
    height: 16px;
}

.integration-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}

.integration-text p {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.integration-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.integration-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.feature-content p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.integration-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.powerpoint-demo {
    width: 100%;
    max-width: 600px;
    height: 450px;
    position: relative;
}

.demo-placeholder {
    width: 100%;
    height: 100%;
    background: white;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.demo-placeholder:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.placeholder-content {
    text-align: center;
    color: #94a3b8;
}

.placeholder-content svg {
    margin-bottom: 1rem;
    opacity: 0.6;
}

.placeholder-content p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.placeholder-content span {
    font-size: 1rem;
    color: #94a3b8;
    padding: 0.3rem 0.8rem;
    background: #f1f5f9;
    border-radius: 20px;
    display: inline-block;
}

/* Responsive Design for Integration Section */
@media (max-width: 1024px) {
    .integration-section {
        padding: 6rem 0;
    }
    
    .integration-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .integration-text {
        max-width: 100%;
    }
    
    .powerpoint-demo {
        max-width: 500px;
        height: 375px;
    }
}

@media (max-width: 768px) {
    .integration-section {
        padding: 4rem 0;
    }
    
    .integration-container {
        padding: 0 1rem;
    }
    
    .integration-content {
        gap: 2rem;
    }
    
    .integration-text h2 {
        font-size: 2rem;
    }
    
    .integration-text p {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .integration-features {
        gap: 1.5rem;
    }
    
    .powerpoint-demo {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .integration-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .powerpoint-demo {
        height: 250px;
    }
} 