    /* Container and Layout */
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 24px;
        position: relative;
        z-index: 2;
    }

    .section {
        margin-bottom: 80px;
    }

    /* Revolutionary Card Design */
    .card {
        background: var(--bg-primary);
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-lg);
        padding: 40px;
        margin-bottom: 40px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--primary-gradient);
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }

    .card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: var(--shadow-xl);
    }

    .card-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 32px;
        padding-bottom: 24px;
        border-bottom: 2px solid rgba(0, 106, 78, 0.08);
    }

    .card-icon {
        width: 56px;
        height: 56px;
        border-radius: var(--border-radius);
        background: var(--primary-gradient);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-light);
        font-size: 24px;
        box-shadow: var(--shadow);
    }

    .card h2 {
        font-family: 'Space Grotesk', sans-serif;
        color: var(--text-primary);
        margin: 0;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    .card-subtitle {
        color: #1a1a2e;
        background-color: rgba(255, 255, 255, 0.9);
        font-size: 1.1rem;
        margin-top: 8px;
        line-height: 1.5;
        padding: 4px 8px;
        border-radius: 4px;
        display: inline-block;
    }

    /* Revolutionary Chat Interface */
    .chat-container {
        height: 500px;
        border-radius: var(--border-radius-lg);
        overflow: hidden;
        position: relative;
        background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(0, 106, 78, 0.06);
        background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
        border: 1px solid rgba(0, 106, 78, 0.06);
        box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .chat-messages {
        height: 100%;
        overflow-y: auto;
        padding: 24px;
        scroll-behavior: smooth;
    }

    .chat-messages::-webkit-scrollbar {
        width: 6px;
    }

    .chat-messages::-webkit-scrollbar-track {
        background: transparent;
    }

    .chat-messages::-webkit-scrollbar-thumb {
        background: var(--primary-gradient);
        border-radius: 3px;
    }

    .message {
        margin-bottom: 24px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        animation: messageSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .message-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 600;
        flex-shrink: 0;
    }

    .user-message {
        flex-direction: row-reverse;
    }

    .user-message .message-avatar {
        background: var(--primary-gradient);
        color: var(--text-light);
    }

    .agent-message .message-avatar {
        background: var(--success-gradient);
        color: var(--text-light);
    }

    .message-content {
        max-width: 75%;
        padding: 16px 20px;
        border-radius: var(--border-radius-lg);
        position: relative;
        font-size: 15px;
        line-height: 1.6;
        box-shadow: var(--shadow-sm);
    }

    .user-message .message-content {
        background: var(--sa-green);
        color: #ffffff;
        border-bottom-right-radius: 8px;
        border: 2px solid var(--sa-gold);
        box-shadow: var(--shadow);
    }

    .agent-message .message-content {
        background: #ffffff;
        color: #1a1a2e;
        border: 2px solid var(--sa-green);
        border-bottom-left-radius: 8px;
        box-shadow: var(--shadow);
    }

    .message-content strong {
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
    }

    @keyframes messageSlideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Confidence Score with Animation */
    .confidence-score {
        background: var(--success-gradient);
        color: var(--text-light);
        padding: 8px 16px;
        border-radius: var(--border-radius-xl);
        font-size: 0.85rem;
        font-weight: 600;
        margin-top: 12px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: var(--shadow-sm);
        animation: pulse 2s infinite;
    }

    .confidence-score i {
        font-size: 12px;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    /* Revolutionary Input Design */
    .input-group {
        display: flex;
        gap: 16px;
        margin-top: 24px;
        align-items: flex-end;
    }

    .input-wrapper {
        flex: 1;
        position: relative;
    }

    .input-group textarea {
        width: 100%;
        padding: 20px 24px;
    border: 2px solid rgba(0, 106, 78, 0.12);
        border-radius: var(--border-radius-lg);
        font-size: 16px;
        font-family: inherit;
        resize: none;
        min-height: 80px;
        max-height: 200px;
        background: var(--bg-primary);
        color: var(--text-primary);
        transition: var(--transition);
        box-shadow: var(--shadow-sm);
    }

    .input-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(0, 106, 78, 0.08);
        transform: translateY(-2px);
    }

    .input-group textarea::placeholder {
        color: var(--text-secondary);
        font-style: italic;
    }

    .char-counter {
        position: absolute;
        bottom: 8px;
        right: 16px;
        font-size: 12px;
        color: var(--text-muted);
        background: var(--bg-primary);
        padding: 2px 6px;
        border-radius: 4px;
    }

    .button-group {
        display: flex;
        gap: 12px;
        align-items: stretch;
    }
    
    .button-group .btn {
        flex: 1;
        min-width: 0;
    }
    
    #extract-insights-button {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        transition: all 0.3s ease;
    }
    
    #extract-insights-button:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }
    
    #extract-insights-button:disabled {
        background: #6c757d;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    /* Revolutionary Button Design */
    .btn {
        padding: 16px 32px;
        background: var(--primary-gradient);
        color: var(--text-light);
        border: none;
        border-radius: var(--border-radius-lg);
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;
        font-family: inherit;
        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        position: relative;
        overflow: hidden;
        box-shadow: var(--shadow);
        min-width: 140px;
        text-decoration: none;
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .btn:hover::before {
        left: 100%;
    }

    .btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: var(--shadow-lg);
    }

    .btn:active {
        transform: translateY(-1px) scale(1.02);
    }

    .btn:disabled {
        background: linear-gradient(135deg, #ccc 0%, #999 100%);
        cursor: not-allowed;
        transform: none;
        opacity: 0.6;
    }

    .btn-secondary {
        background: var(--secondary-gradient);
    }

    .btn-success {
        background: var(--success-gradient);
    }

    .btn-warning {
        background: var(--warning-gradient);
        color: var(--text-primary);
    }

    .btn-danger {
        background: var(--danger-gradient);
    }

    .btn-outline {
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        backdrop-filter: blur(10px);
    }

    .btn-outline:hover {
        background: var(--primary-gradient);
        color: var(--text-light);
        border-color: transparent;
    }

    .btn-lg {
        padding: 20px 40px;
        font-size: 18px;
        border-radius: var(--border-radius-xl);
    }

    .btn-sm {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Stunning Progress Bar */
    .progress-container {
        margin: 32px 0;
        position: relative;
    }

    .progress-bar {
        width: 100%;
        height: 12px;
        background: rgba(0, 106, 78, 0.06);
        border-radius: var(--border-radius-xl);
        overflow: hidden;
        position: relative;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .progress-fill {
        height: 100%;
        background: var(--primary-gradient);
        transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        border-radius: var(--border-radius-xl);
    }

    .progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }

    .progress-label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    .progress-text {
        font-weight: 600;
        color: #1a1a2e;
        background-color: rgba(255, 255, 255, 0.95);
        font-size: 14px;
        padding: 4px 8px;
        border-radius: 4px;
        display: inline-block;
    }

    .progress-percentage {
        font-weight: 700;
        color: var(--primary-color);
        font-size: 16px;
    }